[FFmpeg-devel] [PATCH] Video decoder and demuxer for AMV files
Wed Sep 26 20:14:48 CEST 2007
2007/9/26, Vitor Sessak <vitor1001 at gmail.com>:
> 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 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.
Attached (untested) patch has also encoding capability.
Please test it (i don't know how).
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4354 bytes
Desc: not available
More information about the ffmpeg-devel