Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3755 closed enhancement (duplicate)

E-AC-3 encoder does not support more than 6 channels encoding

Reported by: microchip Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i input.mkv -c:v copy -c:a eac3 -channels 7 out.mkv
ffmpeg version 2.2.4
built on Jun 26 2014 19:58:30

I have a film with DTS-ES 6.1 channels audio. I want to encode the audio to EAC3, preserving the channels. Even when I specify -channels 7, the eac3 encoder encodes to a maximum of 6 channels

Attachments (1)

DTS-ES-7chans.mkv (1.9 MB) - added by microchip 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by microchip

comment:1 Changed 5 years ago by cehoyos

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of ticket #3595.

For future tickets: Please always provide your failing command line together with the complete, uncut console output.

comment:2 follow-up: Changed 5 years ago by microchip

Carl, it's not a failing command line. It has nothing to do with that. It's a unsupported feature

comment:3 in reply to: ↑ 2 Changed 5 years ago by cehoyos

Replying to microchip:

Carl, it's not a failing command line. It has nothing to do with that. It's a unsupported feature

Next time you report an unsupported feature that manifests itself when running FFmpeg with unsupported combinations of valid options (like in this case calling the e-ac3 encoder with seven channels) please provide the command line that does not produce the intended output together with the complete, uncut console output to make the ticket valid.

comment:4 Changed 5 years ago by microchip

this is the complete output

neutrino@neutrino:~> ffmpeg -i DTS-ES-7chans.mkv -c:v copy -c:a eac3 -channels 7 test.mkv
ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 26 2014 19:58:30 with gcc 4.8 (SUSE Linux)
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libx265 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc --enable-gnutls
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[dca @ 0xa47100] Number of channels changed in DCA decoder (6 -> 7)
Input #0, matroska,webm, from 'DTS-ES-7chans.mkv':
  Metadata:
    encoder         : libebml v0.7.7 + libmatroska v0.8.1
    creation_time   : 2009-04-28 05:18:10
  Duration: 01:44:05.25, start: 0.000000, bitrate: 2 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x532, SAR 1:1 DAR 320:133, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : eng
    Stream #0:2(chi): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : 国语
File 'test.mkv' already exists. Overwrite ? [y/N] y
Output #0, matroska, to 'test.mkv':
  Metadata:
    encoder         : Lavf55.33.100
    Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p, 1280x532 [SAR 1:1 DAR 320:133], q=2-31, 23.98 fps, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : eng
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (dca -> eac3)
Note: See TracTickets for help on using tickets.