[FFmpeg-trac] #2782(avformat:closed): aac - Malformed AAC bitstream - incorrectly fixed with -bsf:a aac_adtstoasc' option

FFmpeg trac at avcodec.org
Wed Jul 17 14:53:58 CEST 2013


#2782: aac - Malformed AAC bitstream - incorrectly fixed with -bsf:a
aac_adtstoasc' option
------------------------------------+--------------------------------------
             Reporter:  feelart     |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:  worksforme
             Keywords:  aac mov     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------

Comment (by feelart):

 Indeed, adding "-acodec aac -strict -2" to the command line makes it
 playable, otherwise not.

 But interestingly,
 {{{
 ffmpeg -i Alice.aac -c:a copy -bsf:a aac_adtstoasc tMP4.mp4
 }}}
 Ouput plays, but aacgain can't normalize it.

 While,

 {{{
 ffmpeg -t 159 -i Alice.aac -c:a copy -bsf:a aac_adtstoasc tMP4.mp4
 }}}
 159 sec being the true duration, then aacgain do normalize tMP4.mp4
 If you put - t 160 or more, again aacgain can't normalize it.

 So something is wrong, guessing in closing stream.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2782#comment:12>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list