[FFmpeg-devel] aac_ac3_parser.c bug with splitted headers+ patch

Nir Drang nir
Wed May 14 11:24:22 CEST 2008

Hi I have sent u the PATCH but since than
Nothing happened and I cant c my post thread on the list...
Why ?

-----Original Message-----
From: ffmpeg-devel-bounces at mplayerhq.hu
[mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of Stefano Sabatini
Sent: Sunday, May 11, 2008 7:18 PM
To: ffmpeg-devel at mplayerhq.hu
Subject: Re: [FFmpeg-devel] aac_ac3_parser.c bug with splitted headers+

On date Sunday 2008-05-11 20:00:02 +0200, Nir Drang encoded:
> Hi ,
> This is my first post so If I have violated any rules regarding posting
> messages please let me know.
> I have created a ts file with aac audio and h.264 using a trranscoding
> from mpeg2+ac3 using ffmpeg .
> Now when I try to convert the output to mp4 I noticed that the audio frame
> rate is wrong and other strange stuff happening.
> I debugged it and discovered that when the aac header (7 bytes) was
> cross ts packets there is a bug.
> In my scenario 6 header bytes were in one ts packet and 1 header byte was
> the second packet.
> It looked like the code doesn't handle this situation quite well.
> I have patched it and requesting your comments to my patch , I might have
> broke something else :

Please use svn diff FILES > PATCH
and post the patch as an attachment to your mail.

Also read this if you didn't already do it:

Best regards.
FFmpeg = Foolish Fantastic MultiPurpose Erotic Gadget
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu

More information about the ffmpeg-devel mailing list