[FFmpeg-user] logging noise with channel change since avcodec/aacdec: Skip processing channel elements which have not been present
Andy Furniss
adf.lists at gmail.com
Wed Dec 3 11:55:43 CET 2014
First noticed with mplayer - test cooked up for ffmpeg.
Since -
avcodec/aacdec: Skip processing channel elements which have not been present
author Michael Niedermayer <michaelni at gmx.at>
Sun, 9 Nov 2014 03:25:12 +0000 (04:25 +0100)
committer Michael Niedermayer <michaelni at gmx.at>
Sun, 9 Nov 2014 10:41:13 +0000 (11:41 +0100)
commit 55d592f7d9847a22b594ebe413508d1f77a13ed6
"Playing" an aac stream that switches channel layout will produce lots
of logging output in the 5.1 -> 2 case.
The wav is OK = identical to one with above commit reverted.
Logging happens at default level with mplayer and ffmpeg.
ffmpeg -loglevel verbose -i 51to2ch.latm -ac 2 test1.wav
ffmpeg version N-68178-g242f115 Copyright (c) 2000-2014 the FFmpeg
developers
built on Dec 3 2014 10:23:13 with gcc 4.9.2 (GCC)
configuration: --prefix=/usr --enable-gpl --enable-nonfree
--enable-libfdk-aac --enable-libmp3lame --enable-libx264
--enable-libx265 --enable-x11grab
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.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 '51to2ch.latm':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: aac_latm (LC), 48000 Hz, 5.1, fltp
[graph 0 input from stream 0:0 @ 0x30bb400] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3f
[audio format for output stream 0:0 @ 0x30bb2e0] auto-inserting filter
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the
filter 'audio format for output stream 0:0'
[auto-inserted resampler 0 @ 0x30e8e40] ch:6 chl:5.1 fmt:fltp r:48000Hz
-> ch:2 chl:stereo fmt:s16 r:48000Hz
Output #0, wav, to 'test1.wav':
Metadata:
ISFT : Lavf56.15.102
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (aac_latm (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[aac_latm @ 0x30de040] audio config changed
[aac_latm @ 0x30de040] ChannelElement 3.0 missing
[aac_latm @ 0x30de040] ChannelElement 1.1 missing
[aac_latm @ 0x30de040] ChannelElement 0.0 missing
Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1 to
rate:48000 fmt:fltp ch:2 chl:stereo
[graph 0 input from stream 0:0 @ 0x30e6de0] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3
[audio format for output stream 0:0 @ 0x30e9140] auto-inserting filter
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the
filter 'audio format for output stream 0:0'
[auto-inserted resampler 0 @ 0x30ec400] ch:2 chl:stereo fmt:fltp
r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
[aac_latm @ 0x30de040] ChannelElement 3.0 missing
[aac_latm @ 0x30de040] ChannelElement 1.1 missing
[aac_latm @ 0x30de040] ChannelElement 0.0 missing
[aac_latm @ 0x30de040] ChannelElement 3.0 missing
[aac_latm @ 0x30de040] ChannelElement 1.1 missing
[aac_latm @ 0x30de040] ChannelElement 0.0 missing
[aac_latm @ 0x30de040] ChannelElement 3.0 missing
[aac_latm @ 0x30de040] ChannelElement 1.1 missing
<big snip>
[aac_latm @ 0x30de040] ChannelElement 0.0 missing
[aac_latm @ 0x30de040] ChannelElement 3.0 missing
[aac_latm @ 0x30de040] ChannelElement 1.1 missing
[aac_latm @ 0x30de040] ChannelElement 0.0 missing
Error while decoding stream #0:0: Invalid data found when processing input
No more output streams to write to, finishing.
size= 7568kB time=00:00:40.36 bitrate=1536.0kbits/s
video:0kB audio:7568kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.001006%
Input file #0 (51to2ch.latm):
Input stream #0:0 (audio): 1893 packets read (1003371 bytes); 1892
frames decoded (1937408 samples);
Total: 1893 packets (1003371 bytes) demuxed
Output file #0 (test1.wav):
Output stream #0:0 (audio): 1892 frames encoded (1937408 samples);
1892 packets muxed (7749632 bytes);
Total: 1892 packets (7749632 bytes) muxed
More information about the ffmpeg-user
mailing list