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. |
26th April 2014, 13:00 | #1 | Link |
Registered User
Join Date: Apr 2007
Posts: 240
|
opening DTS-HD MA with NicAudio
I've tried opening a DTS-HD MA track with this script:
Code:
LoadPlugin("NicAudio[2.0.4].dll") a=NicDTSSource("movie.dts", DRC=1) #a=NicAC3Source("movie.ac3", DRC=1) flr = GetChannel(a, 1, 2) fcc = GetChannel(a, 3) lfe = GetChannel(a, 4) lfc = MixAudio(fcc, lfe, 0.2071, 0.2071) mix = MergeChannels(lfc, lfc) lrc = MixAudio(flr, mix, 0.2929, 1.0) blr = GetChannel(a, 5, 6) MixAudio(lrc, blr, 1.0, 0.2929) Normalize() ConvertAudioto24bit() AudioDubEx(BlankClip(length=Int(25*AudioLengthF(last)/Audiorate(last)), width=32, height=32, pixel_type="RGB24", fps=25), last) Simplifying the script to this...: Code:
LoadPlugin("NicAudio[2.0.4].dll") NicDTSSource("movie.dts", DRC=1) AudioDubEx(BlankClip(length=Int(25*AudioLengthF(last)/Audiorate(last)), width=32, height=32, pixel_type="RGB24", fps=25), last) What I actually wanted to do is a proper stereo downmix of the DTS-HD MA 5.1 track. |
26th April 2014, 14:39 | #3 | Link | |
Registered User
Join Date: Apr 2007
Posts: 240
|
Quote:
BTW, I've already decoded the six channels with eac3to. So I have 6 wavs. I can open them instead if that's easier, but I don't know how to make a stereo mix out of them. |
|
27th April 2014, 12:18 | #6 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
And yes NicAudio can't decode DTS-MA, sometimes work decoding only the 'core' but is not recommended. With (output.wav or other): eac3to movie.dts output.wav -downStereo you have the same downmix than with your avs script.
__________________
BeHappy, AviSynth audio transcoder. |
|
27th April 2014, 12:43 | #7 | Link | |
Registered User
Join Date: Apr 2007
Posts: 240
|
Quote:
Now the question is: is my first script "right"? Should I handle a DTS track the very same way as an AC3 track? Will my stereo mix be good? |
|
27th April 2014, 14:37 | #9 | Link | |
Guest
Posts: n/a
|
Quote:
Code:
flr = GetChannel(a, 1, 2) fcc = GetChannel(a, 3, 3) lrc = MixAudio(flr, fcc, 0.3694, 0.2612) blr = GetChannel(a, 5, 6) MixAudio(lrc, blr, 1.0, 0.3694) |
|
27th April 2014, 18:48 | #10 | Link | |
Registered User
Join Date: Apr 2007
Posts: 240
|
Quote:
I'm only concerned about the dynamic range because as far as I know, players do DRC compression if the AC3 is flagged that way. I didn't know that in the case of DTS, this flag doesn't exist. |
|
27th April 2014, 19:37 | #11 | Link | |
Guest
Posts: n/a
|
The script that I posted discards the LFE, which is what Dolby recommends. You can, of course, mix the LFE if you wish.
Quote:
|
|
28th April 2014, 09:07 | #12 | Link | |
Registered User
Join Date: Apr 2007
Posts: 240
|
Quote:
I'm not sure what do you mean. You mean use eac3to and its -downStereo option? |
|
28th April 2014, 19:31 | #13 | Link |
Guest
Posts: n/a
|
I mean use eac3to to decode the DTS-HD MA. As I understand it from reading back through the thread, you chose to use NicDTSSource() despite the fact that it decodes only the lossy core because you thought it could apply DRC. Now that you have found that that is not the case, you might as well use Arcsoft
Either use eac3to input output.wav -downstereo if you want the built-in downmix or use eac3to input output.wavs if you want to apply the one I use. Better still, try them both and pick the one you like the best. |
Tags |
dts, dts-hd, nicdtssource |
Thread Tools | Search this Thread |
Display Modes | |
|
|