Why do I get an error when trying to read the .mov file by using VideoReader in MATLAB?

조회 수: 9 (최근 30일)
I can watch a movie file(.mov) by using Windows Media Player, but it failed to read in MATLAB as below.
>> vidObj = VideoReader('sample1.mov');
Error using VideoReader/initReader
Failed to initialize internal resources.
Error in audiovideo.internal.IVideoReader (line 136)
initReader(obj, fileName, currentTime);
Error in VideoReader (line 104)
obj@audiovideo.internal.IVideoReader(varargin{:});

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 9월 30일
Transcode the MOV file(s) to AVI using a 3rd party tool such as Handbrake, ffmpeg - this might be a better workaround for users who are unable to install 3rd party tools on their system (FFMPEG does not need to be installed; it is a simple command line type of executable and the call for transcoding to AVI is trivial). Please install the K-lite codec pack.

추가 답변 (0개)

카테고리

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