Advice on VideoReader including missing codec
10 views (last 30 days)
Show older comments
I have some mpeg videos that I would like to scroll through, and export/crop individual frames for inclusion in a report. I do not have any image processing toolboxes.
- Is VideoReader the right tool, or overkill? I just need illustrative pictures at known times of interest. However, I must do this for many videos.
- VideoReader returns the following error to readerobj = VideoReader('2_1017.mpg'): The file requires the following codec(s) to be installed on your system: MPEG-2. Do I just install a codec pack like this one or is there more to it? Why do I need an additional codec if Windows Media Player can play this file on my Windows 7 machine?
0 Comments
Accepted Answer
Walter Roberson
on 26 Sep 2012
VideoReader() is probably the right tool.
You might have to install codecs if you are running MATLAB in 32 bit mode when your existing codecs are 64 bit, or vice versas.
4 Comments
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!