[FFmpeg-trac] #3160(avcodec:new): ac3 silently chooses 5.1(side) channel layout

FFmpeg trac at avcodec.org
Wed Dec 11 15:43:50 CET 2013


#3160: ac3 silently chooses 5.1(side) channel layout
------------------------------------+-----------------------------------
             Reporter:  llogan      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  minor       |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  ac3         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by Selur):

 When using:
 {{{
 ffmpeg -y -threads 8 -analyzeduration 100M -probesize 100M -i "h:\Outp
 ut\cut.m2ts" -map 0:1 -vn -filter_complex
 "aevalsrc=0:0:0:0:0:0::d=0.138:sample_
 rate=48000[silence];[silence][0:a]concat=n=2:v=0:a=1[out]" -map [out]
 -c:a ac3
 -ab 384000 -map_metadata -1
 "H:\Output\iId_3_aid_4352_15_30_47_8910_01.ac3"
 }}}
 I get:
 {{{
 ffmpeg version N-58971-g945a440 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec 11 2013 15:17:28 with gcc 4.8.2 (rev0, Built by MinGW-W64
 project
 )
   configuration: --arch=x86_64 --prefix=/local64 --extra-
 cflags='-DPTW32_STATIC_LIB -DLIBTWOLAME_STATIC' --extra-libs='-lxml2 -lz
 -liconv -lws2_32 -lstdc++ -lpng -lm -lpthread -lwsock32' --disable-debug
 --enable-gpl--enable-version3 --enable-postproc --enable-w32threads
 --enable-runtime-cpudetect --enable-memalign-hack --disable-shared
 --enable-static --enable-avfilter --enable-bzlib --enable-zlib --enable-
 librtmp --enable-gnutls --enable-avisynth --enable-frei0r --enable-
 filter=frei0r --enable-libbluray --enable-libcaca --enable-libopenjpeg
 --enable-fontconfig --enable-libfreetype --enable-libass --enable-libgsm
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-
 libschroedinger --enable-libsoxr --enable-libtwolame --enable-libutvideo
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvo-
 aacenc --enable-libopus --enable-libvidstab --enable-libvpx --enable-
 libxavs --enable-libx264 --enable-libxvid --enable-libzvbi
   libavutil      52. 58.100 / 52. 58.100
   libavcodec     55. 45.100 / 55. 45.100
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 92.100 /  3. 92.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 [h264 @ 000000000043f340] SEI type 1 size 56 truncated at 53
 [h264 @ 000000000043f340] mmco: unref short failure
     Last message repeated 1 times
 [h264 @ 000000000043f340] number of reference frames (0+4) exceeds max (3;
 probably corrupt input), discarding one
 [h264 @ 000000000043f340] SEI type 1 size 56 truncated at 53
     Last message repeated 38 times
 Input #0, mpegts, from 'h:\Output\cut.m2ts':
   Duration: 00:00:30.11, start: 4292.050000, bitrate: 7719 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448),
 yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn,
 50 tbc
     Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
 5.1(side), fltp, 384 kb/s
 [Parsed_aevalsrc_0 @ 000000000043d7a0] This syntax is deprecated. Use '|'
 to separate the list items.
 [ac3 @ 00000000070e41e0] ac3 files have exactly one stream
 Output #0, ac3, to 'H:\Output\iId_3_aid_4352_15_30_47_8910_01.ac3':
   Metadata:
     encoder         : Lavf55.22.100
     Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
     Stream #0:1: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s
 Stream mapping:
   Stream #0:1 (ac3) -> concat:in1:a0 (graph 0)
   Stream #0:1 -> #0:0 (ac3 -> ac3)
   concat (graph 0) -> Stream #0:1 (ac3)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Error
 number -22 occurred
 }}

 The problem for me seem so be the difference between 5.1 and 5.1(side),
 which is why I posted this here.

 -> is there a way to tell ffmpeg which to use "5.1" or "5.1(side)" ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3160#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list