Opened 9 years ago
#5119 new defect
Skip ID3 tag in aac file
Reported by: | Carl Eugen Hoyos | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | aac id3v2 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Attachments (1)
Note:
See TracTickets
for help on using tickets.