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",
58 次查看(过去 30 天)
显示 更早的评论
i already add ffmpeg to my system PATH
how can i solve this issue?
0 个评论
回答(1 个)
Yongjian Feng
2022-2-10
编辑:Yongjian Feng
2022-2-10
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 个评论
Walter Roberson
2022-2-10
That depends on which operating system you are using, and which operating system version.
Yongjian Feng
2022-2-10
编辑:Yongjian Feng
2022-2-10
This PATH value shall come from your system PATH.
- Try to restart matlab after you change you system PATH
- 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);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!