H.264 Baseline Codec [reading and writing videos]

This codes are based on H.264 Baseline Codec done by Dr. Abdullah Al Muhit

You are now following this Submission

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 (2026). 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 .

Acknowledgements

Inspired by: H.264 Baseline Codec v2

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

I removed some unnecessary function and commands

1.0.0.0