RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work",

121 views (last 30 days)
Kfir Weissman
Kfir Weissman on 10 Feb 2022
Edited: Yongjian Feng on 10 Feb 2022
i already add ffmpeg to my system PATH
how can i solve this issue?

Answers (1)

Yongjian Feng
Yongjian Feng on 10 Feb 2022
Edited: Yongjian Feng on 10 Feb 2022
Try this on matlab command line window:
getenv('PATH')
This will tell you what PATH matlab is using. You might need to restart matlab to get the latest PATH?
  3 Comments
Yongjian Feng
Yongjian Feng on 10 Feb 2022
This PATH value shall come from your system PATH.
  1. Try to restart matlab after you change you system PATH
  2. You can also set env var inside matlab. Try
PATH=getenv('PATH');
% For windows
NewPath = [PATH ';new_path_to_ffprobe'];
% For linux/Mac: NewPath = [PATH ':new_path_to_ffprobe'];
setenv('PATH', NewPath);

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by