Opened 11 years ago

Last modified 10 years ago

#3085 open enhancement

Audio in broken transport stream can be decoded with other software

Reported by: ramitb Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: mpegts aac
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: When trying to convert a file I get the following error:

[aac @ 03254800] 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.

Is this something that is supported and need to be enabled or something which needs support?

Can one choose the library used for decoding?(fdk or libvo or aac)?

ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
 configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++ --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass   libavutil      52. 40.100 / 52. 40.100
libavcodec     55. 18.102 / 55. 18.102
libavformat    55. 12.102 / 55. 12.102
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 81.101 /  3. 81.101
libswscale      2.  4.100 /  2.  4.100
libswresample   0. 17.102 /  0. 17.102
libpostproc    52.  3.100 / 52.  3.100

Change History (29)

comment:1 by Carl Eugen Hoyos, 11 years ago

Resolution: needs_more_info
Status: newclosed

If you want to report a bug, please reopen this ticket if you can provide a failing command line, complete, uncut console output and a sample.

If you have a question about FFmpeg, please read http://ffmpeg.org/contact.html

comment:2 by ramitb, 11 years ago

The file has been uploaded to the ffmpeg servers (H264aac.ts)

Here is the console output (same issue happens with lib_fdk also)

ffmpeg -i "h264aac.ts" -vn -sn -acodec aac -strict 2 -ab 160k -map
0:a test.mp4
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disab
le-shared --enable-libsoxr --enable-fontconfig --enable-libass   libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[aac @ 03bc4f60] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 03bc4f60] channel element 1.1 is not allocated
[aac @ 03bc4f60] channel element 3.7 is not allocated
[aac @ 03bc4f60] Number of bands (35) exceeds limit (33).
[aac @ 03bc4f60] Number of bands (35) exceeds limit (19).
[aac @ 03bc4f60] channel element 3.6 is not allocated
[aac @ 03bc4f60] Sample rate index in program config element does not match the sample rate index configured by the cont
ainer.
[aac @ 03bc4f60] decode_pce: Input buffer exhausted before END element found
[aac @ 03bc4f60] channel element 1.1 is not allocated
[aac @ 03bc4f60] channel element 3.1 is not allocated
[aac @ 03bc4f60] channel element 1.5 is not allocated
[aac @ 03bc4f60] Reserved bit set.
[aac @ 03bc4f60] channel element 2.7 is not allocated
[aac @ 03bc4f60] channel element 3.2 is not allocated
[aac @ 03bc4f60] channel element 2.12 is not allocated
[aac @ 03bc4f60] channel element 2.2 is not allocated
[aac @ 03bc4f60] Reserved bit set.
[aac @ 03bc4f60] channel element 3.5 is not allocated
[mpegts @ 03bda520] decoding for stream 1 failed
[mpegts @ 03bda520] PES packet size mismatch
[mpegts @ 03bda520] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb
/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'h264aac.ts':
  Duration: 00:00:19.12, start: 599.960011, bitrate: 4387 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb/s
[abuffer @ 03bc2780] Value inf for parameter 'time_base' out of range [0 - 2.14748e+009]
    Last message repeated 1 times
[abuffer @ 03bc2780] Error setting option time_base to value 1/0.
[graph 0 input from stream 0:1 @ 03bc2700] Error applying options to the filter.
Error opening filters!

comment:3 by ramitb, 11 years ago

Resolution: needs_more_info
Status: closedreopened

comment:4 by ramitb, 11 years ago

Also happens without the -map 0:a

ffmpeg -i "h264aac.ts" -vn -sn -acodec aac -strict 2 -ab 160k test.
mp4
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disab
le-shared --enable-libsoxr --enable-fontconfig --enable-libass   libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[aac @ 032e3d00] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 032e3d00] channel element 1.1 is not allocated
[aac @ 032e3d00] channel element 3.7 is not allocated
[aac @ 032e3d00] Number of bands (35) exceeds limit (33).
[aac @ 032e3d00] Number of bands (35) exceeds limit (19).
[aac @ 032e3d00] channel element 3.6 is not allocated
[aac @ 032e3d00] Sample rate index in program config element does not match the sample rate index configured by the cont
ainer.
[aac @ 032e3d00] decode_pce: Input buffer exhausted before END element found
[aac @ 032e3d00] channel element 1.1 is not allocated
[aac @ 032e3d00] channel element 3.1 is not allocated
[aac @ 032e3d00] channel element 1.5 is not allocated
[aac @ 032e3d00] Reserved bit set.
[aac @ 032e3d00] channel element 2.7 is not allocated
[aac @ 032e3d00] channel element 3.2 is not allocated
[aac @ 032e3d00] channel element 2.12 is not allocated
[aac @ 032e3d00] channel element 2.2 is not allocated
[aac @ 032e3d00] Reserved bit set.
[aac @ 032e3d00] channel element 3.5 is not allocated
[mpegts @ 032fa460] decoding for stream 1 failed
[mpegts @ 032fa460] PES packet size mismatch
[mpegts @ 032fa460] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb
/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'h264aac.ts':
  Duration: 00:00:19.12, start: 599.960011, bitrate: 4387 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb/s
[abuffer @ 032e4f20] Value inf for parameter 'time_base' out of range [0 - 2.14748e+009]
    Last message repeated 1 times
[abuffer @ 032e4f20] Error setting option time_base to value 1/0.
[graph 0 input from stream 0:1 @ 032e4ea0] Error applying options to the filter.
Error opening filters!

comment:5 by Carl Eugen Hoyos, 11 years ago

What happens if you try the following? Is an output file created? Does it play as expected?

$ ffmpeg -i h264aac.ts out.wav

comment:6 by ramitb, 11 years ago

ffmpeg -i "H264AAC.ts" out.wav
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disab
le-shared --enable-libsoxr --enable-fontconfig --enable-libass   libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[aac @ 03d13680] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 03d13680] channel element 1.1 is not allocated
[aac @ 03d13680] channel element 3.7 is not allocated
[aac @ 03d13680] Number of bands (35) exceeds limit (33).
[aac @ 03d13680] Number of bands (35) exceeds limit (19).
[aac @ 03d13680] channel element 3.6 is not allocated
[aac @ 03d13680] Sample rate index in program config element does not match the sample rate index configured by the cont
ainer.
[aac @ 03d13680] decode_pce: Input buffer exhausted before END element found
[aac @ 03d13680] channel element 1.1 is not allocated
[aac @ 03d13680] channel element 3.1 is not allocated
[aac @ 03d13680] channel element 1.5 is not allocated
[aac @ 03d13680] Reserved bit set.
[aac @ 03d13680] channel element 2.7 is not allocated
[aac @ 03d13680] channel element 3.2 is not allocated
[aac @ 03d13680] channel element 2.12 is not allocated
[aac @ 03d13680] channel element 2.2 is not allocated
[aac @ 03d13680] Reserved bit set.
[aac @ 03d13680] channel element 3.5 is not allocated
[mpegts @ 03d2a1c0] decoding for stream 1 failed
[mpegts @ 03d2a1c0] PES packet size mismatch
[mpegts @ 03d2a1c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb
/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'H264AAC.ts':
  Duration: 00:00:19.12, start: 599.960011, bitrate: 4387 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: aac ([15][0][0][0] / 0x000F), 3.0, fltp, 305 kb/s
[abuffer @ 04aad8c0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+009]
    Last message repeated 1 times
[abuffer @ 04aad8c0] Error setting option time_base to value 1/0.
[graph 0 input from stream 0:1 @ 04aad840] Error applying options to the filter.
Error opening filters!

comment:7 by Carl Eugen Hoyos, 11 years ago

Does the sample play with WMP?

comment:8 by ramitb, 11 years ago

Yes it does. For audio I need kmplayer I think due to AAC but it does play in wmp

comment:9 by Terran Vigil, 11 years ago

Also seeing this issue. We don't see it with 0.11.1.

in reply to:  9 comment:10 by Carl Eugen Hoyos, 11 years ago

Replying to terran:

Also seeing this issue.

Please provide the sample.

comment:11 by Carl Eugen Hoyos, 11 years ago

Keywords: mpegts aac added
Priority: normalwish
Version: unspecifiedgit-master

What produced the original sample H264AAC.ts?

comment:12 by Oscar Calvo, 11 years ago

Priority: wishimportant

This problems repros for all videos taken with a Nokia Lumia 920 or a Nokia Lumia 1020 phone.

I have attached a sample video.

comment:13 by Carl Eugen Hoyos, 11 years ago

Priority: importantwish

Is this a regression?
(Did it work with older versions of FFmpeg?)

comment:14 by Oscar Calvo, 11 years ago

I don't know

comment:15 by steffen.weber, 11 years ago

Videos taken with a Nokia Lumia 1320 cause this problem, too.

in reply to:  15 comment:16 by Carl Eugen Hoyos, 11 years ago

Replying to steffen.weber:

Videos taken with a Nokia Lumia 1320 cause this problem, too.

I would be surprised and this was not reproducible with the sample that was attached here (I removed it because samples that do not allow to reproduce an issue only lead to confusion).
Before uploading another sample, please make sure that what you claim is reproducible.

comment:17 by steffen.weber, 11 years ago

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
...

in reply to:  17 comment:18 by Carl Eugen Hoyos, 11 years ago

Replying to 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 version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers

[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.

Please test current FFmpeg git head before reporting problems.

Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

comment:19 by steffen.weber, 11 years ago

It works using "ffmpeg version N-60799-g20fa3fb". Thanks!

comment:20 by Oscar Calvo, 11 years ago

Resolution: invalid
Status: reopenedclosed

I have verified that latest version fixes the problem.

comment:21 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: closedreopened

I don't know if this is a valid ticket (WMP does not play audio for the sample) but it has not improved since the ticket was created.

comment:22 by ramitb, 11 years ago

Status: reopenedopen

This problem still exists so I'm reopening the ticket.
The audio sample can be played back wtih KMPlayer so it's a valid file.

The source was a WTV file whcih was remuxed into a TS file.

in reply to:  22 comment:23 by Carl Eugen Hoyos, 11 years ago

Replying to ramitbhalla:

The source was a WTV file whcih was remuxed into a TS file.

Please provide the original wtv file.

comment:24 by ramitb, 11 years ago

Uploading the file, it is called H264 Copy Remux Fail (LATM AAC).wtv

comment:25 by Carl Eugen Hoyos, 11 years ago

Summary: Support for more than one AAC RDB per ADTS frameBroken transport stream

Sample is attached to ticket #2220

Remuxing works fine here, even with very old versions of FFmpeg.
How did you remux the file?

comment:26 by ramitb, 11 years ago

CAn't remember how exactly I remuxed this it has been a while. 99% I used something like -ss 2 or -ss 3 or -ss 5 before the input file while creating it. Not sure if it has something to do with it. However, the issue still exists right?

comment:27 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavcodec
Summary: Broken transport streamAudio in broken transport stream can be decoded with other software

in reply to:  17 comment:28 by Michael Niedermayer, 10 years ago

Replying to steffen.weber:

I've uploaded a demo video created with the Nokia Lumia 1320 here: http://ftp.computerbase.de/Nokia-Lumia-1320-Test.mp4

2015-01-02 00:36:59 ERROR 404: Not Found.

comment:29 by jave, 10 years ago

Hi I have probably similar problem with Lumia 635 video

ffmpeg -v
ffmpeg version 1.2.6 Copyright (c) 2000-2014 the FFmpeg developers

built on Jan 8 2015 21:15:44 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, 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=core2 -O2 -pipe -fomit-frame-pointer' --extra-cflags='-march=core2 -O2 -pipe -fomit-frame-pointer' --extra-cxxflags='-march=core2 -O2 -pipe -fomit-frame-pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --enable-nonfree --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --enable-ffplay --disable-vaapi --enable-vdpau --enable-zlib --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --enable-libfaac --disable-libtheora --enable-libtwolame --enable-libx264 --enable-lib libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100

Video file snippet stored:
The video sample: http://ulozto.net/xQbQTjpk/eiy2xe0ihoolie5g-mp4
(for english switch web interface to ENG by UK flag in right top corner)

Last edited 10 years ago by jave (previous) (diff)
Note: See TracTickets for help on using tickets.