FAQ  •  Register  •  Login

ffmpeg 6.1 (7 Channel) audio

<<

Nihilator

Serviio newbie

Posts: 15

Joined: Thu Jul 14, 2011 7:11 pm

Post Tue Nov 15, 2011 2:10 am

ffmpeg 6.1 (7 Channel) audio

Hi guys,

Does ffmpeg support 6.1 (7-channel) audio?

I have the following DTS-ES file and it errors when trying to manually convert it to AC-3 (5.1 channel):

  Code:
ID :
1
Format :
DTS
Format/Info :
Digital Theater Systems
Format profile :
ES
Codec ID :
A_DTS
Duration :
3h 48mn
Bit rate mode :
Constant
Bit rate :
1 510 Kbps
Channel(s) :
7 channels / 6 channels
Channel positions :
Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate :
48.0 KHz
Bit depth :
24 bits
Compression mode :
Lossy
Stream size :
2.41 GiB
Language :
English


I am using the following command:
  Code:
ffmpeg -i /DTS-ES/The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.Extended.Editions.2001.1080p.Blu-ray.DTS.x264-WiKi.mka -vn -threads 8 -acodec ac3 -ac 6 -f ac3 -ab 640k /AC-3/The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.Extended.Editions.2001.1080p.Blu-ray.DTS.x264-WiKi.mka


The error I am receiving is:

Can not resample 6 channels @ 48000 Hz to 6 channels @ 48000 Hz
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 15, 2011 9:55 am

Re: ffmpeg 6.1 (7 Channel) audio

can you post ffmpeg -i of the original?
<<

Nihilator

Serviio newbie

Posts: 15

Joined: Thu Jul 14, 2011 7:11 pm

Post Tue Nov 15, 2011 3:14 pm

Re: ffmpeg 6.1 (7 Channel) audio

ffmpeg -i /DTS-ES/The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.Extended.Editions.2001.1080p.Blu-ray.DTS.x264-WiKi.mka
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 12 2011 19:51:48 with gcc 4.0.1 (Apple Inc. build 5493)
configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 0x1009600] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/DTS-ES/The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.Extended.Editions.2001.1080p.Blu-ray.DTS.x264-WiKi.mka':
Duration: 03:48:11.67, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Audio: dca, 48000 Hz, 7 channels (FL|FR|FC|LFE|BC|SL|SR), s16, 1536 kb/s
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 15, 2011 3:24 pm

Re: ffmpeg 6.1 (7 Channel) audio

seems ok, but your FFmpeg is quite old. Are you using the one bundled with Serviio?
<<

Nihilator

Serviio newbie

Posts: 15

Joined: Thu Jul 14, 2011 7:11 pm

Post Tue Nov 15, 2011 4:19 pm

Re: ffmpeg 6.1 (7 Channel) audio

The bottom line is:

I know ffmpeg is able to transcode DTS 5.1 (6-channel) to AC-3 5.1 (AKA: 6-channel) .........BUT I don't think ffmpeg is capable of downmixing DTS-ES 6.1 (AKA: 7-channel) down to AC-3 5.1 (AKA: 6-channel).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 15, 2011 4:56 pm

Re: ffmpeg 6.1 (7 Channel) audio

It seems it does work: viewtopic.php?f=5&t=3759#p25085
<<

LLoyd

Streaming enthusiast

Posts: 24

Joined: Mon Jul 18, 2011 4:23 pm

Post Thu Nov 24, 2011 2:31 am

Re: ffmpeg 6.1 (7 Channel) audio

Nihilator and Zip,

ffmpeg does not support decoding DTS tracks over 5.1 (6-channel).

DTS-HD (7-channel or 8-channel) decoding will most likely never be supported by ffmpeg (due to expense and copyright infringement).

You will receive the following error if you try to decode a DTS-HD 6.1 or 7.1 audio track with ffmpeg:

  Code:
Resampling with input channels greater than 2 unsupported.
Can not resample 6 channels @ 48000 Hz to 6 channels @ 48000 Hz

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.