[FFmpeg-devel] [PATCH] Ac3/AAC parser: remove incomplete first frames

Michael Niedermayer michaelni
Mon Jan 25 02:55:29 CET 2010

On Sun, Jan 24, 2010 at 11:18:53PM +0100, Reimar D?ffinger wrote:
> On Sun, Jan 24, 2010 at 10:53:42PM +0100, Reimar D?ffinger wrote:
> > On Sun, Jan 24, 2010 at 04:43:51PM -0500, Justin Ruggles wrote:
> > > I don't know why there would be "annoying sounds" after seeking.  Maybe
> > > there is data left in the parser buffer?  Do you have a sample I could
> > > test?  Is this happening with ffplay?
> > 
> > I think I can slightly hear it when wildly seeking around in
> > http://samples.mplayerhq.hu/A-codecs/AC3/ac3-sound-sample.vob
> Actually just quickly clicking at the same point should make it
> quite easy to hear (you need to choose the spot a bit, it's
> not easy to hear everywhere).
> You should be able to hear a difference compared to attached patch
> (in contrast to the last one I hope this one actually works -
> that completely undocumented pc->index magic had me a bit confused).

your patch looks like it simply drops the first frame, valid and complete
or not. 
You can add that kind of workaround easily to the application using lav*

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100125/f93996f4/attachment.pgp>

More information about the ffmpeg-devel mailing list