[FFmpeg-devel] Awakening of FFH264
Kvikant, Christian
kvide
Mon Mar 22 18:05:51 CET 2010
A bit later than anticipated but here is a patch against r22635 that
reintroduces FFH264 into FFmpeg.
configure | 2
libavcodec/Makefile | 6
libavcodec/allcodecs.c | 2
libavcodec/h264.c | 4
libavcodec/h264_loopfilter.c | 64 -
libavcodec/h264data.h | 63
libavcodec/h264dspenc.c | 664 ++++++++++
libavcodec/h264dspenc.h | 73 +
libavcodec/h264enc.c | 2726
++++++++++++++++++++++++++++++++++++++++---
libavcodec/h264enc.h | 143 ++
libavcodec/h264enc_cavlc.c | 452 +++++++
libavcodec/h264encdata.h | 113 +
12 files changed, 4090 insertions(+), 222 deletions(-)
Some of the work include:
- Original code has been ported against trunk
- Corrected macro block generation
- Moved some functions to a H264DSPEncContext for future porting to
arm/neon
- Added generation of VUI / SAR information to SPS
- Added access unit delimiters, available through CODEC_FLAG2_AUD
To include the encoder use:
./configure --enable-encoder=h264
To test out the encoder try:
./ffmpeg -i ./input.avi -an -vcodec ffh264 ?s 320x240 ?qscale 25
./output.avi
The encoder has been successfully compiled and used with Fedora,
Win32/Mingw and OS X Snow Leopard. It has also been tested with
gst-ffmpeg. The generated output has been tested to work with VLC,
QuickTime 7, JM Reference Software and iPhone?s media player.
TODO:
- File names should be reconsidered
- Code review
- Add regression tests
Mvh,
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffh264.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100322/33d22a44/attachment.txt>
More information about the ffmpeg-devel
mailing list