videowriter error: 'The specified profile is not valid.'

조회 수: 5 (최근 30일)
Adam
Adam 2017년 11월 3일
이동: Walter Roberson 2025년 10월 7일 14:34
Hello,
I am trying to create a video in Matlab from a time series of plots.
On my Mac OSX running Matlab 2016b system the code works fine, however, when I run it in Ubuntu on Matlab Matlab 2017b (on a computing server), I get the following error.
Could someone help?
Thank you!
>> myfun
Error using VideoWriter (line 169)
The specified profile is not valid.
Error in myfun (line 49)
v = VideoWriter([pwd,'/','myfile.mp4'],'MPEG-4');

답변 (1개)

David Miller
David Miller 2025년 10월 7일 14:26
이동: Walter Roberson 2025년 10월 7일 14:34
MPEG-4 is not supported on Linux even in newer releases.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by