[FFmpeg-user] Is latm decode with fdkaac possible?

Andy Furniss adf.lists at gmail.com
Sun Nov 9 18:37:20 CET 2014


Carl Eugen Hoyos wrote:
> Andy Furniss <adf.lists <at> gmail.com> writes:
>
>> I am asking just in case feeding latm
>> encapsulated aac to fdkaac is in someway
>> possible
>
> Yes, it is (afair).
>
> Why?
>
> I believe you know what I am usually (always, in
> every single email) asking here: No, I don't do
> it to make user's lifes as hard as possible but
> because it is needed to provide a useful answer.
>
> Carl Eugen
>
> (Command line and complete, uncut console output
> missing.)

:-) yea though if the answer was just no it would have saved extended 
experements.

I haven't tried loads of variants yet but for now -

first without fdk - file plays ok with players also.

ffmpeg -i Bt5th.latm

ffmpeg version N-67488-g4e17943 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Nov  9 2014 17:23:50 with gcc 4.8.3 (GCC)
   configuration: --prefix=/usr --enable-gpl --enable-nonfree 
--enable-libfdk-aac --enable-libmp3lame --enable-libx264 
--enable-libx265 --enable-x11grab
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.100 / 56. 12.100
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  2.100 / 56.  2.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
Input #0, loas, from 'Bt5th.latm':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Audio: aac_latm (LC), 48000 Hz, stereo, fltp


ffmpeg -c:a libfdk_aac -i Bt5th.latm -f null -
ffmpeg version N-67488-g4e17943 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Nov  9 2014 17:23:50 with gcc 4.8.3 (GCC)
   configuration: --prefix=/usr --enable-gpl --enable-nonfree 
--enable-libfdk-aac --enable-libmp3lame --enable-libx264 
--enable-libx265 --enable-x11grab
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.100 / 56. 12.100
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  2.100 / 56.  2.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 4002
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 1001
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 400a
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 1001
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 4002

snip more of the same

[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 4002
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 4004
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 4002
     Last message repeated 1 times
[libfdk_aac @ 0x1d86b80] aacDecoder_DecodeFrame() failed: 1001
[loas @ 0x1d86220] decoding for stream 0 failed
[loas @ 0x1d86220] Estimating duration from bitrate, this may be inaccurate
[loas @ 0x1d86220] Could not find codec parameters for stream 0 (Audio: 
aac, 0 channels, s16, 147 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
Bt5th.latm: could not find codec parameters
Input #0, loas, from 'Bt5th.latm':
   Duration: 00:30:12.24, bitrate: 147 kb/s
     Stream #0:0: Audio: aac, 0 channels, s16, 147 kb/s
Output #0, null, to 'pipe:':
Output file #0 does not contain any stream




More information about the ffmpeg-user mailing list