[FFmpeg-trac] #2380(avformat:open): files with "malformated aac bitstream" can not be remuxed
FFmpeg
trac at avcodec.org
Wed Mar 20 09:28:40 CET 2013
#2380: files with "malformated aac bitstream" can not be remuxed
-------------------------------------+-------------------------------------
Reporter: julian | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: mov flv | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: FFmpeg => avformat
* priority: normal => important
* version: 1.2 => git-master
* keywords: => mov flv regression
Comment:
For future tickets: Please always provide the failing command line
together with complete, uncut console output.
Regression since c22f2527, also reproducible with -f flv, the mkv sample
works fine with -t 15 (fails with -t 16), the aac sample works with -t
25).
{{{
$ ffmpeg -i ticket2380.mkv -vn -acodec copy out.mov
ffmpeg version N-51111-gdb8403d Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 20 2013 08:42:26 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 19.101 / 52. 19.101
libavcodec 55. 1.100 / 55. 1.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 47.104 / 3. 47.104
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, matroska,webm, from 'ticket2380.mkv':
Metadata:
creation_time : 2013-03-20 08:12:44
Duration: 00:01:00.01, start: 0.000000, bitrate: 190 kb/s
Stream #0:0(jpn): Audio: aac, 96000 Hz, stereo, fltp (default)
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf55.0.100
Stream #0:0(jpn): Audio: aac (mp4a / 0x6134706D), 96000 Hz, stereo
(default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov @ 0x31496a0] malformated aac bitstream, use -absf aac_adtstoasc
av_interleaved_write_frame(): Operation not permitted
}}}
{{{
$ ffmpeg -i ticket2380.aac -absf aac_adtstoasc -vn -acodec copy out.mov
ffmpeg version N-51111-gdb8403d Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 20 2013 08:42:26 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 19.101 / 52. 19.101
libavcodec 55. 1.100 / 55. 1.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 47.104 / 3. 47.104
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[aac @ 0x278df40] max_analyze_duration 5000000 reached at 5013333
microseconds
[aac @ 0x278df40] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'ticket2380.aac':
Duration: 00:01:06.27, bitrate: 173 kb/s
Stream #0:0: Audio: aac, 48000 Hz, stereo, fltp, 173 kb/s
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf55.0.100
Stream #0:0: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 173
kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov @ 0x279eea0] malformated aac bitstream, use -absf aac_adtstoasc
av_interleaved_write_frame(): Operation not permitted
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2380#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list