Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th July 2019, 00:39   #1  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 307
What is the difference between 5.1 and 5.1 (side) audio?

FFmpeg uses the following 5.1 channel layouts:

5.1 (FL+FR+FC+LFE+BL+BR) and

5.1 (side) (FL+FR+FC+LFE+SL+SR)

When downmixing a 5.1 audio (DTS or AC3) to stereo, which channel layout should I use?

I made two batch scripts:

Code:
ffmpeg.exe -i "D:\Project\DTS.dts" -af "pan=stereo|FL=FL+0.7071*FC+0.7071*BL|FR=FR+0.7071*FC+0.7071*BR" "D:\Project\WAV.wav"
Code:
ffmpeg.exe -i "D:\Project\DTS.dts" -af "pan=stereo|FL=FL+0.7071*FC+0.7071*SL|FR=FR+0.7071*FC+0.7071*SR" "D:\Project\WAV.wav"
Which of the two should I use?
orion44 is offline   Reply With Quote
Old 29th July 2019, 02:26   #2  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
The Side channels are at +-90º from the Center channel.
The Back channels are at +-140º

But the Surround channels in AC3 or DTS are at +-120º. None of them are equivalent.
In first times the Surround channels was assigned to Back channels but recently the Side are the preferred.
Both must be equivalents in standard 5.1.

ffmpeg suppose, without any reason, than DTS 5.1 is:
Stream #0:0: Audio: dts (DTS), 48000 Hz, 5.1(side)
Then you need use the Side channels, because the Back are ignored.
The correct behaviour must be admit both syntax.

The same for AC3:
Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side)
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 29th July 2019 at 02:34. Reason: typo
tebasuna51 is offline   Reply With Quote
Old 29th July 2019, 03:45   #3  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 307
FFmpeg reports:

Quote:
Input #0, dts, from 'DTS.dts':
Duration: 02:13:48.56, start: 0.000000, bitrate: 1536 kb/s
Stream #0:0: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
So I'll use the 5.1(side) channel layout.

Thanks!
orion44 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.