Skip to content

balbekov/PyH264

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyH264

Experimental implementation of H264 in pure Python. This is intended to be a learning codec, so it's intended to be easy to understand but is inefficient as a result. This also is terrific as a software model for an HDL (hardware) implementation.

This uses quite suboptimal data structures (for example, each macroblock is an object) for educational use. As a result, each frame takes several seconds to encode.

What's supported:

  • Fixed 16x16 macroblocks
  • Quantization, with configurable Qp
  • Intra frame compression

What's currently not supported:

  • Inter frame compression
  • I-frames
  • Motion prediction
  • Transport stream generation (bitmap only)

About

Python implementation of H264

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages