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

9 vues (au cours des 30 derniers jours)
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{:});

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 30 Sep 2022
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.

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by