View Full Version : [INFO] Muxing DTS Express into other containers
filler56789
12th February 2013, 04:02
I was bored :) , so I finally found a half-assed :o method for playing Low-BitRate DTS streams in MPC-HC ...
First, I grabbed an LBR DTS-HD file (stereo @ 192kbps), and removed its first 112 bytes ("header") plus the last 160 bytes ("footer"). Secondly, I added a not-so-adequate WAV header to it. Third, I remuxed the WAV file into an MKA one with Gabest Matroska Muxer.
FWIW, both the WAV and MKA files are decoded fine with LAV Audio in MPC-HC. :) Two problems thus far: seeking is impossible, and GraphStudio crashes while being closed. :confused:
Also, MKVmerge 5.8.0 identifies the intermediate MKA as "A_DTS", but cannot do anything else to it, since it expects to find "normal" DCA frames inside the stream. :(
nevcairiel
12th February 2013, 07:27
Assuming you have the ArcSoft DTS decoder setup with LAV, LAV can decode DTS Express directly from Blu-ray m2ts files. Never tried remuxing it into anything.
filler56789
12th February 2013, 18:31
Well, I just thought it would be interesting to try, at least. :o Speaking of M2TS, TSmuxer does not accept DTS Express, and we depend on the ugly workaround (http://forum.doom9.org/showthread.php?p=1598224#post1598224) invented by jdobbs instead. :scared:
Anyway, I still have to re-study some pesky :) .PDFs and try to find out what I'm missing. Just for the notes, this time I've created a .DSM :D remux. Playable, but still unseekable, sadly. :o
filler56789
13th February 2013, 05:41
Two problems thus far: seeking is impossible, and GraphStudio crashes while being closed. :confused:
Status: FIXED. :cool:
Okay, after correcting some VERY-stupid mistakes,
here goes a small set of "abominations" :rolleyes: :D for your pleasure:
http://www.mediafire.com/?i334fs984xiu8f8
Contents: DTSx-in-WAV, DTSx-in-Matroska, and DTSx-in-AVI :devil:
Unzip, unrar, profit. :)
setarip_old
13th February 2013, 19:35
@filler56789
Hi! Speaking of M2TS, TSmuxer does not accept DTS Express, and we depend on the ugly workaround invented by jdobbs instead.
Does your "small set of abominations" address the inclusion of DTSExpress in .M2TS/Blu-ray files/containers? (If so, perhaps you can share your insight with "jdobbs" for inclusion in his masterful "BD-Rebuilder")
filler56789
14th February 2013, 03:55
@filler56789
Hi!
Does your "small set of abominations" address the inclusion of DTSExpress in .M2TS/Blu-ray files/containers? (If so, perhaps you can share your insight with "jdobbs" for inclusion in his masterful "BD-Rebuilder")
Sadly it doesn't address, sorry. If it did, certainly I would have PM'ed jdobbs already, OR he would have chimed in this thread already.
Anyway, my goal was allow the playback of DTS-Express without:
1) the "StreamPlayer" application, OR...
2) an M2TS wrapper ;
Considering that even LAV Splitter cannot parse a "raw" DTSx stream, and given that DTSx is a constant-bitrate compression scheme, the .WAV-container approach had to be the easiest one — and it works, fortunately. :)
filler56789
14th February 2013, 19:56
Also, MKVmerge 5.8.0 identifies the intermediate MKA as "A_DTS", but cannot do anything else to it, since it expects to find "normal" DCA frames inside the stream.
Additional info: just like MKVtoolnix, Gabest Matroska Muxer too identifies DTS (0x2001) as "A_DTS", even when the source is a RIFF-based container (AVI or WAV) --- whereas I expected an "A_MS/ACM" output, of course.
But different from mkvmerge, the DirectShow muxer doesn't "look for" DCA frames and so it doesn't complain and does its job anyway.
Workaround ( necessary until "A_DTS/EXPRESS" gets implemented ;) ):
change the TwoCC in the WAV header to something "unknown", remux with Matroska Muxer, remux with mmg, change the TwoCC to 0x2001 in the final result. Example:
http://www.mediafire.com/?c0n7bvt3wcj20wx
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.