[FFmpeg-trac] #5119(avformat:new): Skip ID3 tag in aac file

FFmpeg trac at avcodec.org
Sun Jan 3 00:00:01 CET 2016


#5119: Skip ID3 tag in aac file
--------------------------------------+-----------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  wish        |              Component:  avformat
                Version:  git-master  |               Keywords:  aac id3v2
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+-----------------------------------
 http://thread.gmane.org/gmane.comp.video.ffmpeg.user/60140
 A user uploaded an apparently broken aac file with an id3v2 tag. When
 decoding the file an error message is shown and remuxing is impossible
 unless {{{-skip_initial_bytes 0x670}}} is used.
 {{{
 $ ffmpeg -i CPEBach_Sample_File_cut.aac -acodec copy out.m4a
 ffmpeg version N-77668-g7812997 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 12.100 / 55. 12.100
   libavcodec     57. 21.100 / 57. 21.100
   libavformat    57. 21.100 / 57. 21.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 23.100 /  6. 23.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [aac @ 0x36aea20] Error decoding AAC frame header.
 [aac @ 0x36ad3c0] Estimating duration from bitrate, this may be inaccurate
 Input #0, aac, from 'CPEBach_Sample_File_cut.aac':
   Metadata:
     encoder         : Lavf53.24.2
     album           : Composer_of_the_Week - Carl_Philipp_Emmanuel_Bach
     date            : 2011
     genre           : Radio_Programme
     title           : of the Week - Carl Philipp Emmanuel Bach 1714-1788
 1. The Belligerent Flautist
     artist          : BBC Radio 4
     track           : 01
   Duration: 00:00:42.95, bitrate: 190 kb/s
     Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 190 kb/s
 [ipod @ 0x36c1440] Codec for stream 0 does not use global headers but
 container format requires global headers
 Output #0, ipod, to 'out.m4a':
   Metadata:
     track           : 01
     album           : Composer_of_the_Week - Carl_Philipp_Emmanuel_Bach
     date            : 2011
     genre           : Radio_Programme
     title           : of the Week - Carl Philipp Emmanuel Bach 1714-1788
 1. The Belligerent Flautist
     artist          : BBC Radio 4
     encoder         : Lavf57.21.100
     Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
 190 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [ipod @ 0x36c1440] Malformed AAC bitstream detected: use the audio
 bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option
 with ffmpeg)
 av_interleaved_write_frame(): Operation not permitted
 size=       1kB time=00:00:00.02 bitrate= 194.0kbits/s speed= 394x
 video:0kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Conversion failed!
 }}}
 The bitstream filter cannot help.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5119>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list