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 26th July 2010, 21:05   #1  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 46
Other way around: Convert LPCM to DTS-HD MA, How?

There are tons of people wanting to convert DTS-HD to LPCM to play on their PS3's.
Me however, I want to convert LPCM to DTS-HD (MA) for two reasons:

1. So I can have lossless audio on my rips and still enjoy a much smaller audio size than with LPCM.
2. Since I use coaxial outputs and not HDMI, LPCM is only sent to me amp in stereo. DTS-HD (MA) is sent out as DTS and is the only way I can enjoy HQ audio.

So, I am looking for a tool/guide to convert LPCM audio to DTS-HD (MA) (not RA).

Is there such a thing? Does anyone have this knowledge?
tijgert is offline   Reply With Quote
Old 26th July 2010, 21:22   #2  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
There are no free DTS/DTS-MA encoders available. Unless you are willing to spend thousands of $$$ then you're out of luck
BTW, you may enjoy HQ audio also with Dolby Digital a.k.a. AC3 for which the free encoders are available (Aften)
kypec is offline   Reply With Quote
Old 26th July 2010, 22:44   #3  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Yes, aften is free and an Ac3 at 640 Kbps is valid quality-wise. It's not lossless but still very good.
There are only commercial dts-HD encoders. One of this is the dts-HD Master Audio Suite which cost 1500 $ and it's a standalone application made directly by dts. There are also similar third party version for DAW (Neyrinck) and Compressor (Minnetonka). Anyway the dts-HD MAS-SAS by dts is the most complete as it covers all the possible audio options.
mp3dom is offline   Reply With Quote
Old 27th July 2010, 13:19   #4  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 46
I was told that for those programs to encode LPCM to DTS-HD the audio stream needs to be supplied in their resepctive separate channels.

I can extract the .wav file containing the 5.1 streams, but how do I split that up again into the 6 separate channels?

(Minnetonka apparantly doesn't support 64bit...)

Last edited by tijgert; 27th July 2010 at 13:23.
tijgert is offline   Reply With Quote
Old 27th July 2010, 14:49   #5  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
For splitting I think you can use any audio editor that supports interleaved waves (SoundForge for example). It could be done with Avisynth and probably eac3to (but I've never tried it).
mp3dom is offline   Reply With Quote
Old 27th July 2010, 19:52   #6  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
eac3to.exe multichannel.wav mono.wavs
kypec is offline   Reply With Quote
Old 27th July 2010, 23:14   #7  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 46
With that one command I managed to split the LPCM file into 6 streams as I wanted, quick and easy, but I wasn't finished...

I felt I was almost there except for one small detail... I extracted the LPCM audio with TSmuxer and it was written to the drive as a 4GB file and a 1.6GB file, I then learned that TSmuxer does not support files >4GB.

TSmuxer seemed (so I read) to have some difficulties with extra bytes or other, making the wav streams nonconform certain specs. Eac3to was reported to be far better for extracting audio. I didn't know the proper command for extracting and converting the audio with eac3to, but I found a usefull GUI http://forum.doom9.org/showthread.php?t=141829.

However I ran into an unexpected situation.
The total size of the 6 files extacted with eac3to is 200MB smaller than the 2 files combined that TSmuxer got for me.

How is this possible? What should I do?

Last edited by tijgert; 28th July 2010 at 00:22.
tijgert is offline   Reply With Quote
Old 28th July 2010, 03:00   #8  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by tijgert View Post
... What should I do?
Forget tsmuxer to extract, use only for mux.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 1st August 2010, 19:01   #9  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 46
So, the task is done. I am now able to convert those pesky large HDMI-only LPCM streams into just as good DTS-HD MA.
But now the question arises... why do studio's even bother with LPCM if DTS-HD (MA) is just as good but more versatile and smaller? (versatile in that my old Onkyo speaks DTS but has no HDMI).

Is there any reason left why the end user (me) would prefer LPCM over DTS-HD MA??
tijgert is offline   Reply With Quote
Old 1st August 2010, 21:44   #10  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Some previous decoders decode dts-HD MA and Dolby TrueHD in a different way than LPCM multich, also, with LPCM you don't need to pay 1500$ for the software (in the past, the encoder cost was higher). Again, not all decoders play dts-HD/Dolby TrueHD (i.e. the old amplifier that supports classic dts/dolby), decoding only the lossy 'core' part.
mp3dom is offline   Reply With Quote
Old 2nd August 2010, 08:46   #11  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
Quote:
Originally Posted by tijgert View Post
... why do studio's even bother with LPCM if DTS-HD (MA) is just as good but more versatile and smaller?...
Why do studios prefer issuing DVD-videos in the perimated MPEG-2 format instead of using the space-oriented divx/xvid or even RealMedia? Why do they spend money in issuing a BluRay movie on a BD50 (VC-1) when it looks "so identical" on a DVD5 (H.264)?
While rhetoric questions, an answer was already given by the industry: you can download only MP3s from paid services (very few uncompressed audios are available)..., since MP3 is smaller and more versatile, but "so identical"
Ghitulescu is offline   Reply With Quote
Old 2nd August 2010, 22:38   #12  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
Because uncompressed audio is more compatible with everything. They also fill up full BD discs because it DOES matter. It looks similar if you're not looking for a difference, but in motions scenes, there is crap with high compression, reds become pixellated, and they want to keep film grain. I can't even listen to mp3s anymore, or any lossy-compressed format.
ramicio is offline   Reply With Quote
Old 3rd August 2010, 08:22   #13  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
It was a rhetorical question

Besides, the reason why a studio pick up a certain format has nothing or little to do with its technical characteristics, more with law compliance, DRM, licences, valid (and pending) standards, internal policy and so on. They also discovered that is much cheaper to lobby/bribe/impose a standard on which they hold the licences (it's a contradiction in terms, but who cares?) and let China manufacture (and pay for the licences) than to manufacture themselves. Easy money and no responsibility at all.

Quote:
Originally Posted by ramicio View Post
Because uncompressed audio is more compatible with everything.
I was once looking for a portable player. I don't trust eBay for such things and I went checking every shop I knew. All the devices I've seen and tested could play MP3 (most of them up to 320kbps). Few could play divx movies too. Only 2 or 3 could play flac, ogg & co. but none of them could play WAV. I don't think the situation changed since then, at least not in DE. Uncompressed (lossless) is not supported on consumer standalones. Lossless (bit-perfect) is the nightmare of the content industry.
Ghitulescu is offline   Reply With Quote
Old 3rd August 2010, 13:46   #14  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
You're talking about a player, not a decoder. I had an OLD pioneer receiver that had lights for PCM, MLP, MPEG, DTS, AC3, and others. Maybe things have changed anymore, but PCM is just the root of everything else, and internally, stuff gets turned to PCM a lot of the time before being turned to analog. 99% of products that I've seen that decode FLAC are crap, and can only do so up to a certain quality (16/44.1). Lossless compression and PCM just have no place as the starting format in the portable player world, where it's priority to fit as much onto a player as possible. Apple has been the exception to this.
ramicio is offline   Reply With Quote
Old 5th August 2010, 17:11   #15  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
A decoded AC-3/DTS/MP3/you name it (to PCM) is still an AC-3/DTS/etc. as the damage was done at the compression stage (to dolby, dts, mp3). If you can't feed your AVR with native PCM, then buy another one (HDMI should be a must).
Ghitulescu is offline   Reply With Quote
Old 10th September 2011, 23:31   #16  |  Link
Flanker-B
Registered User
 
Join Date: Jun 2011
Posts: 20
I'm trying a cracked copy of dts-HD Master Audio Suite now (before I decide to buy a legal one - I don't support piracy) and i discovered dts-hd ma preset doesnt support bitrates above standard dts (dts core). DTS-HD HR preset supports up to basically the same bitrate as in uncompressed audio. I'm trying to reauthor a blu-ray movie which isn't avaliable in Croatia (atleast with croatian subtitles) using multiavchd, but I discovered that it's tsmuxer crashes because of lpcm track in the source mkv file. I extracted the lpcm audio using a gui for eac3to into 6 single channel files and now I created dtshd file (5.1) with dts-hd hr preset at 3000 and something kbps. I'll try to mux it into the blu ray.
Flanker-B is offline   Reply With Quote
Old 11th September 2011, 01:26   #17  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 576
no, don't ever use dts hd hr.
it is lossy.

trust me, stick to 1509 dts hd ma for most things; generally, you should only switch to something lower when the number of channels is real low, like mono or stereo.
mindbomb is offline   Reply With Quote
Old 11th September 2011, 02:40   #18  |  Link
rik1138
Registered User
 
Join Date: Mar 2008
Location: LA
Posts: 620
Yeah, always use DTS-HD MA. The bitrate is only for the 'Core' stream, which is the exact same stream that would be on a DVD (for compatibility), but the lossless side of the stream (the Master Audio part of it) is not limited to bitrate. Since it's lossless, it will use whatever bitrate is required to keep it lossless. I've seen DTS-HD MA streams exceed 7000 kbps at times. It's not something you can set, the encoder will tell you after it's done what bitrate it used (look in the .log file). (It'll give you a peak and average number).

And, regardless of future intentions, admitting you are using pirated software will probably get you banned here... It seems unlikely that you'd spend $1500+ on a piece of software just to make personal copies of blu-rays, which is what it sounds like you are doing.
rik1138 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 04:16.


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