星期三, 4月 06, 2011

Convert DVD to WAV for audio cd

OS: Ubuntu 10.10 x86

apt-get install transcode
apt-get install vlc
apt-get

 lsdvd -d  -t 2 DVD.iso

libdvdread: Using libdvdcss version 1.2.10 for DVD access
Disc Title: XXXX
Title: 02, Length: 00:46:14.000 Chapters: 13, Cells: 13, Audio streams: 01, Subpictures: 00
Cell: 01, Length: 00:03:58.276
Cell: 02, Length: 00:02:44.300
Cell: 03, Length: 00:03:21.200
Cell: 04, Length: 00:04:19.310
Cell: 05, Length: 00:05:05.233
Cell: 06, Length: 00:02:46.310
Cell: 07, Length: 00:03:48.320
Cell: 08, Length: 00:03:55.320
Cell: 09, Length: 00:03:29.253
Cell: 10, Length: 00:03:42.266
Cell: 11, Length: 00:04:01.033
Cell: 12, Length: 00:04:59.276
Cell: 13, Length: 00:00:00.020



script:
phillips@h141-184:~$ bin/dvd_to_wav.sh 13
#!/bin/sh
echo "$0 input DVDfile.iso track#"
echo "Answer y for continue"
read y
if [ $y = "y" ]
then
    for i in `seq 1 $2`
    do
        transcode -i "$1" -x dvd -T 2,$i -a 0 -y wav -m track$i.wav
    done
else
    echo "Exit $0 ..."
fi

WAV 正規化
Then, open vlc media player - Menu - 媒體 -> 轉換/儲存
檔案 - 新增
Profile - Audio CD

沒有留言: