[FFmpeg-trac] #3085(undetermined:reopened): Support for more than one AAC RDB per ADTS frame
FFmpeg
trac at avcodec.org
Fri Feb 21 10:20:52 CET 2014
#3085: Support for more than one AAC RDB per ADTS frame
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: enhancement | Status: reopened
Priority: wish | Component:
Version: git-master | undetermined
Keywords: mpegts aac | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by steffen.weber):
I've uploaded a demo video created with the Nokia Lumia 1320 here:
http://ftp.computerbase.de/Nokia-Lumia-1320-Test.mp4
{{{
$ ffmpeg -i Nokia-Lumia-1320-Test.mp4 out.mp4
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 19 2014 17:56:22 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.3,
pie-0.5.5)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar
--optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2
-pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static
--enable-gpl --enable-postproc --enable-avfilter --enable-avresample
--disable-stripping --enable-version3 --enable-nonfree --disable-
indev=v4l2 --disable-outdev=v4l2 --disable-indev=alsa --disable-indev=oss
--disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-
outdev=sdl --enable-bzlib --disable-runtime-cpudetect --disable-debug
--disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv
--enable-network --disable-openssl --disable-ffplay --disable-vaapi
--disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-
amrwbenc --enable-libmp3lame --disable-libaacplus --enable-libfaac
--enable-libtheora --disable-libtwolame --disable-libwavpack --enable-
libx264 --disable-libxvid --disable-libcdio --disable-libiec61883
--disable-libdc1394 --disable-libcaca --disable-openal --disable-libv4l2
--disable-libpulse --disable-x11grab --disable-libflite --disable-frei0r
--disable-fontconfig --disable-ladspa --disable-libass --disable-
libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-
libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme
--disable-libgsm --disable-libmodplug --enable-libopus --disable-libquvi
--disable-librtmp --disable-libssh --disable-libschroedinger --disable-
libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-
armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp
--disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-
mipsfpu --disable-altivec --disable-vis --disable-amd3dnow --disable-
amd3dnowext --disable-avx2 --disable-fma4 --cpu=host
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[aac @ 0x143fb80] Input buffer exhausted before END element found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Nokia-Lumia-1320-Test.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp423gp6isom
creation_time : 2014-02-21 07:43:22
Duration: 00:00:10.08, start: 0.000000, bitrate: 20169 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 20031 kb/s, 30.01 fps, 30 tbr, 30k tbn, 60k
tbc (default)
Metadata:
creation_time : 2014-02-21 07:43:23
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono,
fltp, 543 kb/s (default)
Metadata:
creation_time : 2014-02-21 06:43:23
handler_name : AudioHandler
[libx264 @ 0x15d65c0] using SAR=1/1
[libx264 @ 0x15d65c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX
[libx264 @ 0x15d65c0] profile High, level 4.0
[libx264 @ 0x15d65c0] 264 - core 138 - H.264/MPEG-4 AVC codec - Copyleft
2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18
lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp423gp6isom
encoder : Lavf55.19.104
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 15360 tbn, 30 tbc
(default)
Metadata:
creation_time : 2014-02-21 07:43:23
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 48000
Hz, mono, s16, 128 kb/s (default)
Metadata:
creation_time : 2014-02-21 06:43:23
handler_name : AudioHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[aac @ 0x143fb80] Input buffer exhausted before END element found
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] More than one AAC RDB per ADTS frame is not implemented.
Update your FFmpeg version to the newest one from Git. If the problem
still occurs, it means that your file has a feature which has not been
implemented.
[aac @ 0x143fb80] Sample rate index in program config element does not
match the sample rate index configured by the container.
[aac @ 0x143fb80] Inconsistent channel configuration.
[aac @ 0x143fb80] get_buffer() failed
Error while decoding stream #0:1: Invalid argument
[aac @ 0x143fb80] Sample rate index in program config element does not
match the sample rate index configured by the container.
[aac @ 0x143fb80] Inconsistent channel configuration.
[aac @ 0x143fb80] get_buffer() failed
Error while decoding stream #0:1: Invalid argument
[aac @ 0x143fb80] channel element 1.7 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] channel element 3.10 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] channel element 2.15 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] channel element 2.11 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] channel element 3.8 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] Input buffer exhausted before END element found
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] Dependent coupling is not supported together with LTP
Last message repeated 19 times
[aac @ 0x143fb80] channel element 1.15 is not allocated
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x143fb80] channel element 3.0 is not allocated1.62 bitrate=
0.2kbits/s
...
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3085#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list