code cookie time fields of gold food games hippie humour indian linux locoroco mae movies ohloh pie project frozen flame random silverstripe site subversion viewer sudo
I recently invested in this wonderful little device called the WD TV. This fantastic piece of awesome sits in between an external hard drive and a tv, and will pretty much play any video file you chuck at it - with one exception. It doesn't support DTS decoding - it supports DTS pass through, but neither the TV nor the stereo at my flat support DTS decoding either. So I wrote a little python script that re-encodes DTS audio to AAC in MKV files. I've only tested this on Ubuntu, and you need python 3, mkvtools and ffmpeg for it to do its magic. Said script, named "shinyify" is found below. Takes a single argument, being the name of the MKV file.
http://www.andyofniall.net/assets/Uploads/shinyify
Great job! You are pretty good at it! Once I wanted to convert DTS to AC3 but I couldn't do it successfully till I found the video tutorial. Maybe it will be useful to your readers.
Posted by Convert DTS to AC3, 05/07/2010 10:26pm (2 months ago)
Good stuff thanks I'll go from there.
Posted by commodianus, 03/03/2010 12:22pm (6 months ago)
I only bothered muxing to 2 channels because you still get surround with the dolby pro-logic stuff, and I didn't want to increase the file size too much.
The part that does the actual encoding is line 33 - you could change the -ac 2 to something else for more channels, or change the libfaac to something else to get it to encode to a different format. If you run ffmpeg -formats it will give you a list of formats you can use.
Posted by Andy, 03/03/2010 9:54am (6 months ago)
Worked when in smuxer I removed the DTS track and kept just the AAC. However the AAC was only 2.0 (Channels) - how come? Also, any way you could make this script convert the DTS to AC3?
Posted by commodianus, 03/03/2010 2:35am (6 months ago)
This is definitely handy (if it works). I convert scene standard mkvs to m2ts for use on the PS3. Usually it works fine (most people use AAC audio) but every once and awhile DTS (not compatible with the PS3). This could save me loads of effort. Thanks!
Posted by commodianus, 03/03/2010 1:40am (6 months ago)
RSS feed for comments on this page | RSS feed for all comments