[FFmpeg-user] Unable to convert HE-AAC audio to other format.
William Juwono
william_juwono at hotmail.com
Fri Dec 26 10:26:16 CET 2014
Hi All,
I'm having problem converting the following audio properly using the latest git version of ffmpeg.The audio played fine using vlc. Tried various options, it always resulted in partially distorted audio.
It is taken from the ts stream captured from broadcast tv.
http://s000.tinyupload.com/?file_id=07670942323801636409
-----------------$ffmpeg -i outaudio.tsffmpeg version git-2014-12-26-7c210c4 Copyright (c) 2000-2014 the FFmpeg developers built on Dec 26 2014 16:36:06 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-55) configuration: --prefix=/root/ffmpeg_snapshot//ffmpeg_build --extra-cflags=-I/root/ffmpeg_snapshot//ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_snapshot//ffmpeg_build/lib --bindir=/root/ffmpeg_snapshot//bin --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libx264 libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 16.100 / 56. 16.100 libavformat 56. 16.102 / 56. 16.102 libavdevice 56. 3.100 / 56. 3.100 libavfilter 5. 5.101 / 5. 5.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100[aac_latm @ 0xa7aa140] Number of bands (8) exceeds limit (3).Input #0, mpegts, from 'outaudio.ts': Duration: 00:00:20.57, start: 1.400000, bitrate: 143 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, 5.1, fltpAt least one output file must be specified----------------------
when trying to convert, ie: to mp3:
---------------ffmpeg -i outaudio.ts -acodec libmp3lame -ab 128k -ac 2 out.mp3
it generates alot of messages:
[aac_latm @ 0x74477e0] Number of bands (8) exceeds limit (3).Error while decoding stream #0:0: Invalid data found when processing input[aac_latm @ 0x74477e0] Reserved bit set.Error while decoding stream #0:0: Invalid data found when processing input[aac_latm @ 0x74477e0] Number of bands (5) exceeds limit (3).Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Number of bands (6) exceeds limit (3).Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Reserved bit set.Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Number of bands (10) exceeds limit (3).Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] SSR 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_latm @ 0x74477e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcomeGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Number of bands (56) exceeds limit (35).Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Number of bands (56) exceeds limit (35).Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] Pulse data corrupt or invalid.Error while decoding stream #0:0: Invalid data found when processing inputGuessed Channel Layout for Input Stream #0.0 : 5.1Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to rate:48000 fmt:fltp ch:6 chl:5.1[aac_latm @ 0x74477e0] SSR 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_latm @ 0x74477e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcomeGuessed Channel Layout for Input Stream #0.0 : 5.1
-------------------------------------------
Anyone can help?
ThanksWilliam
More information about the ffmpeg-user
mailing list