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",

조회 수: 78 (최근 30일)
i already add ffmpeg to my system PATH
how can i solve this issue?

답변 (1개)

Yongjian Feng
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
Walter Roberson 2022년 2월 10일
That depends on which operating system you are using, and which operating system version.
Yongjian Feng
Yongjian Feng 2022년 2월 10일
편집: Yongjian Feng 2022년 2월 10일
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);

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by