下了一个高清诸神之战(Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.mkv, 2.1G),放到家里的LG液晶电视上结果显示不支持的音频格式,一查才知道,原来包括LG液晶电视在内的很多电视不支持DTS(Digital Theater Systems),虽然很多播放软件支持。所以要在电视上看必须做一些转换才行。
查了一下,这个直接用mkvdts2ac3脚本的方法比较适合Ubuntu用户:<<Converting DTS to AC3>>(http://www.networkedmediatank.com/wiki/index.php/Converting_DTS_to_AC3#Step_by_Step)。但是文章里的mkvdts2ac3链接已经失效了,得自己去找,比如这(http://github.com/JakeWharton/mkvdts2ac3).
需要安装的软件:
- mkvtoolnix
sudo aptitude install mkvtoolnix
- dcadec
wget -c http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2
tar jxvf libdca-0.0.5.tar.bz2
cd libdca-0.0.5/
./configure
make
cd src
sudo make install
- aften
sudo aptitude install aften
For instance:
yourname@ubuntu:~/Downloads/mkvdts2ac3$ ./mkvdts2ac3.sh -n /media/Data/TDDOWNLOAD/[诸神之战].Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.mkv
mkvdts2ac3-1.5.2 - by Jake Wharton <jakewharton@gmail.com> and
Chris Hoekstra <chris.hoekstra@gmail.com>
Extracting Timecodes:
Progress: 100%
Extract timecodes took: 00:02:14 (134 seconds)\n
Extracting DTS Track:
Progress: 100%
Extract DTS track took: 00:02:31 (151 seconds)\n
Converting DTS to AC3:
libdca-0.0.5 - by Gildas Bazin <gbazin@videolan.org>
based on the a52dec code from Michel Lespinasse <walken@zoy.org> and Aaron Holtzman
Stream with high frequencies VQ coding
SIMD usage: MMX SSE SSE2 SSE3
Threads: 1
596960 frames decoded in 1081.61 seconds (551.92 fps)
Convert DTS track took: 00:18:02 (1082 seconds)\n
Muxing AC3 Track in:
mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 29 2009 00:24:14
'/media/Data/TDDOWNLOAD/[诸神之战].Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
'/media/Data/TDDOWNLOAD/[诸神之战].Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.mkv' track 1: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1024/426.
'/tmp/[诸神之战].Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.ac3' track 0: Using the AC3 output module.
Muxing took 347 seconds.
Moving new file over old file. DO NOT KILL THIS PROCESS OR YOU WILL EXPERIENCE DATA LOSS!
sending incremental file list
[诸神之战].Clash.Of.The.Titans.2010.BDRip.x264.DTS-WAF.new.mkv
sent 1958002194 bytes received 31 bytes 7633536.94 bytes/sec
total size is 1957763053 speedup is 1.00
File copy took: 00:10:07 (607 seconds)\n
Total processing time: 00:32:54 (1974 seconds)
Filesize summary:
Original Filesize: 2,150,516 KB
Extracted DTS Filesize: 586,472 KB
Converted AC3 Filesize: 348,232 KB
Final Filesize: 1,911,880 KB
2.1G的文件花了32分钟...看看我的老爷机....
2010-10-17
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment