YUV4MPEG reader
Version 1.2.0.0 (1.91 KB) by
Endre Oma
Reads a .y4m file (YUV4MPEG) and returns a MATLAB movie
Reads a .y4m file and creates a MATLAB movie (a struct array with the fields cdata and colourmap).
Will read the reference uncompressed video files used for comparing video codecs, eg. those on https://media.xiph.org/video/derf/
Examples:
mov = yuv4mpeg2mov('SomeFile.y4m);
[mov, videoInfo] = yuv4mpeg2mov('SomeFile.y4m');
videoInfo is a struct containting information regarding size, number of frames, fps, colour sampling.
Cite As
Endre Oma (2026). YUV4MPEG reader (https://in.mathworks.com/matlabcentral/fileexchange/50690-yuv4mpeg-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Find more on Audio and Video Data in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: YUV-File to Matlab-Movie
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
