how to read a video in matlab?

1 回表示 (過去 30 日間)
Vinay Kumar
Vinay Kumar 2014 年 10 月 18 日
回答済み: Prateekshya 2024 年 10 月 4 日
I have downloaded a cvid codec, still am not able to read the video. I am using matlab R2013a. I am getting this error.
Error using VideoReader/init (line 450) Unable to determine the codec required.
Error in VideoReader (line 147) obj.init(fileName);

回答 (1 件)

Prateekshya
Prateekshya 2024 年 10 月 4 日
Hello Vinay,
The error suggests that MATLAB is unable to find the required file. You may check for the following to ensure things are going good.
  • Ensure that the codec is installed correctly on your operating system.
  • MATLAB R2013a might have limited support for certain codecs and video formats. Try converting your video to a more commonly supported format such as H.264 encoded .mp4.
  • Use tools like VLC Media Player, HandBrake, or FFmpeg to convert your video file.
I hope this helps!

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by