how to read .mp4 videos in matlab
3 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Wayne King
on 20 Oct 2011
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.)
0 Comments
More Answers (1)
Megha Kolhekar
on 21 Oct 2011
1 Comment
Lambis Apostolidis
on 23 Apr 2012
Hi,
I'm looking for the exact same information. Did you finally found a solution? Can you provide me some instructions?
Thanks
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!