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. |
|
|
Thread Tools | Search this Thread | Display Modes |
27th February 2015, 14:32 | #1 | Link |
Registered User
Join Date: Dec 2009
Posts: 77
|
FFmpeg commands for converting 24-bit multichannel DTS to 16-bit stereo W64?
I'm looking for ffmpeg commands for the aforementioned conversion.
Also, is there a way to use the dolby pro logic method, like eac3to? I assume that gives a better result than simple, right? Last edited by eddman; 27th February 2015 at 15:51. |
1st March 2015, 12:53 | #2 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
Something like this?
Code:
ffmpeg.exe -hide_banner -i input.dts -af "aresample=matrix_encoding=dplii" -ac 2 output.w64
__________________
My hobby website |
1st March 2015, 18:05 | #5 | Link | ||
Registered User
Join Date: Dec 2009
Posts: 77
|
Quote:
Actually, I wanted to know the proper bit converting command; 16-bit was an example. Thanks again. Quote:
Last edited by eddman; 1st March 2015 at 18:09. |
||
2nd March 2015, 00:59 | #6 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
Just the byte order to correctly read the samples, and since it's always tagged, it doesn't matter. Technically: x86/x64 are little endian, Motorola 6800 and its descendants were big endian, and all that means is that if the file doesn't match the CPU then the bytes have to be swapped internally to work with them. (ARM can be both endians.)
tl;dr: Always use le. |
2nd March 2015, 10:20 | #7 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,049
|
Sometimes surround matrices may give suboptimal results (some TV's equipped with voice processing fail) then this perhaps can be useful - works fine for me.
Code:
@ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -vn -c:a pcm_s16le -af "aformat=sample_fmts=fltp,pan=stereo|FL < FL + 1.414FC + .5BL + .5SL + 0.25LFE|FR < FR + 1.414FC + .5BR + .5SR + 0.25LFE,aresample=resampler=soxr:osr=48000:dither_method=shibata,aformat=sample_fmts=s16:channel_layouts=stereo[out]" -y %1.w64 |
Thread Tools | Search this Thread |
Display Modes | |
|
|