[libav-bugs] [Bug 391] New: Muxers that write extradata early are not compatible with extradata generating bsfs

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sat Nov 10 02:37:56 CET 2012


http://bugzilla.libav.org/show_bug.cgi?id=391

           Summary: Muxers that write extradata early are not compatible
                    with extradata generating bsfs
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: alex.converse at gmail.com


Created attachment 366
  --> http://bugzilla.libav.org/attachment.cgi?id=366
output file

Muxers that write extradata early are not compatible with extradata generating
bsfs. 

The muxer expects extradata is ready in init() but it isn't generated until the
first frame is generated.

One example of this is bsf:a aac_adtstoasc with the flv container.

$ ./avconv -i /data/streams/fate-suite/aac/ct_faac-adts.aac -codec:a copy
-bsf:a aac_adtstoasc aac.flv
avconv version v9_beta2-198-g4b60fac, Copyright (c) 2000-2012 the Libav
developers
  built on Nov  9 2012 17:24:03 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
[aac @ 0x15c4760] max_analyze_duration reached
[aac @ 0x15c4760] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from '/data/streams/fate-suite/aac/ct_faac-adts.aac':
  Duration: 00:00:19.82, bitrate: 120 kb/s
    Stream #0.0: Audio: aac, 44100 Hz, stereo, s16, 120 kb/s
Output #0, flv, to 'aac.flv':
  Metadata:
    encoder         : Lavf54.19.0
    Stream #0.0: Audio: aac, 44100 Hz, stereo, 120 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press ctrl-c to stop encoding
size=     301kB time=19.99 bitrate= 123.4kbits/s    
video:0kB audio:293kB global headers:0kB muxing overhead 2.952140%

generates a file without extradata (attached).

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list