[Ffmpeg-devel] [PATCH] Basic H.264 encoder

Panagiotis Issaris takis.issaris
Wed Apr 12 16:01:49 CEST 2006


Hi everyone,

The last couple of weeks we've been developing a basic H.264
encoder, mostly to gain some experience with the standard. Since
libavcodec contains highly optimized implementations of needed
functions, it seemed only natural to implement it as a libavcodec
encoder.

This test codec is not meant for direct adoption into the
libavcodec tree, but we do believe it may be useful for many
fellow developers. It is available at the following site:
http://research.edm.uhasselt.be/h264/

A quick summary of what the encoder does:
?- it always uses one slice per frame
?- intra 16x16 encoding is used for I slices
?- motion vectors are set to zero
?- the previous frame is used for inter coding
?- no macroblock partitioning is used
?- the image width and height are reduced to a multiple of 16
?- for debugging purposes, the NAL units are written to a file
? ?/tmp/teststream.264 and reconstructed frames are appended to
? ?the file /tmp/teststream.yuv

We would like some suggestions about how we should proceed
further to integrate a LGPL H.264 encoder into libavcodec. Is
there an encoder we can use as an example about how the code
should be structured? For example, we've noticed a large
difference in the way the H.261 (and also H.263) and Snow codecs
are organized.

With friendly regards,
Jori & Takis





More information about the ffmpeg-devel mailing list