how to read .mp4 videos in matlab

3 ビュー (過去 30 日間)
Megha Kolhekar
Megha Kolhekar 2011 年 10 月 20 日
I want to extract DCT coefficients and motion vectors in a .mp4 video for encryption/ decryption. How do I read the video sequence to get the frames?

採用された回答

Wayne King
Wayne King 2011 年 10 月 20 日
On Windows 7, you can use VideoReader to read a .mp4 file.
See the help for an example of reading one frame at a time.
If you have the DSP System Toolbox, or the Computer Vision Toolbox, you can use the System objects: signalblks.MultimediaFileReader or vision.VideoFileReader to read an mp4 file one frame at a time. If you have either of these products and want an example, write back (say which version you have, e.g. R2011b, R2011a, etc.)

その他の回答 (1 件)

Megha Kolhekar
Megha Kolhekar 2011 年 10 月 21 日
Thanks Wayne.
I do not have DSP toolbox. But I do have R2011a. I will check for the example.
Thanks.
  1 件のコメント
Lambis Apostolidis
Lambis Apostolidis 2012 年 4 月 23 日
Hi,
I'm looking for the exact same information. Did you finally found a solution? Can you provide me some instructions?
Thanks

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by