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",
91 ビュー (過去 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 で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!