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

Vitor Sessak vitor1001
Tue Sep 25 19:51:12 CEST 2007


Vladimir Voroshilov wrote:
> Hi, Vitor
> 2007/9/25, Vitor Sessak <vitor1001 at gmail.com>:
>> Actually, I wanted to make explicit the similarity to the smjpeg audio
>> decoder. But I found a way of doing it without duplicating code. New
>> patch attached.
> Page[1] says (and all my samples confirm this), that AMV audio samples
> has additional 8 bytes (instead of 4) at the top:
> 1-2 predictor
> 3-4 index
> 5-8 sample size
> Thus your patch should be modified to skip additional 4 bytes before
> converting nibbles.

You're absolutely right (it fixed pops). New patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: amv_audio4.diff
Type: text/x-patch
Size: 2927 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070925/0834bd7a/attachment.bin>

More information about the ffmpeg-devel mailing list