H.264 Baseline Codec [reading and writing videos]
This is an slightly updated version of Dr. Abdullah Al Muhit H.264 baseline codec. It includes I, P frames, CAVLC coder, Exp Golomb Coder, integer transform and other basic functionalities of H.264 or MPEG-4 AVC (Advanced Video Coding).
This version reads any sequence of video frames compatible with Matlab (I used xylophone.mpg, available in matlab). The modified codec could save and play the original and decoded video and many other simple options (re-sizing and storing).
Cite As
Khalfan Almarashda (2024). H.264 Baseline Codec [reading and writing videos] (https://www.mathworks.com/matlabcentral/fileexchange/45151-h-264-baseline-codec-reading-and-writing-videos), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Acknowledgements
Inspired by: H.264 Baseline Codec v2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.