how to read m2v and .264 video files

3 次查看(过去 30 天)
Matlab does not support .m2v and .264 formats in 2015 version. How to read these videos of these file formats?

采纳的回答

Dinesh Iyer
Dinesh Iyer 2015-10-26
Ganesh,
It would be nice to know what specific error message you are getting when you are attempting to read this file.
I am not sure which platform you are on. If on Windows, are you able to play these files using Windows Media Player? If they do not work on Windows Media Player, then VideoReader cannot support it. If they do work on Media Player, then it might be a bug with VideoReader. Try to install codecs like ffdshow and K-lite codec pack and then give it a shot.
Upload sample videos if you can if you are still having trouble.
Dinesh

更多回答(1 个)

Ganesh K Davanagege
Ganesh K Davanagege 2015-10-27
Dear Dinesh,
I am working on Windows. I have tried three options. ffmpeg in command window, winFF - windows based ffmpeg program and video converters like handbrake, format factory and any video converter.
I am reading .264 videos which are IP distorted videos and wireless distortion videos (which contain RTP packets).
Along with this, I am reading MPEG2 compressed videos in m2v format.
I have installed K Lite codec pack and ffdshow on my computer.
I have included the snapshot of the screen which appeared when I tried to convert .264 to MP4

Community Treasure Hunt

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

Start Hunting!

Translated by