[FFmpeg-devel] [PATCH] Video decoder and demuxer for AMV files

Vladimir Voroshilov voroshil
Mon Sep 24 15:14:36 CEST 2007

Hi, All.

amv_codec_ffmpeg.patch: Decoder for modified MJPEG, used it AMV files.

All video frames in this file are JPEG's without header, with applied
coded entropy data (i.e. added 0x00 bytes after each 0xff), enclosed
in SOI and EOI markers.
sp5x decoder code was reused.

amv_demux_ffmpeg.patch: AMV file demuxer.

AMV files contains ugly headers: strh sections are filled by zero,
strf sections contains movie duration, image size and frame duration
for video and waveformatex structure for audio respectively.
Index is absent.
Patch uses simplified version of avi_read_header routine for
extracting needed info.

I tested patches with several samples from mplayes samples collection
(SP5x files was tested too to avoid regression in decoder) and are
works enough good for me.

P.S. I also use new fourcc (AMVV) to allow further interaction with mplayer.

Opinions? Suggestions?

Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amv_codec_ffmpeg.patch
Type: text/x-diff
Size: 1772 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070924/6a70df9a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amv_demux_ffmpeg.patch
Type: text/x-diff
Size: 7864 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070924/6a70df9a/attachment-0001.patch>

More information about the ffmpeg-devel mailing list