XubuntuでDVDをリッピングする
DVDのリッピングにはacidripを使っている。
このソフトは説明を見てわかるように、MPlayerとMEncoderをベースにしてGUIを実装したものだ。「apt-get」でのインストール時にmplayerとmencoderが入っていなければ、依存性解消のために自動的に追加される。
$ apt-cache show acidrip (省略) Description-en: ripping and encoding DVD tool using mplayer and mencoder A DVD ripper and encoder, with a simple interface, based on MPlayer and MEncoder. . Also provides advanced features and automates the process in a number of ways: * Parses DVD into contents tree * Finds longest title * Calculates video bitrate for given filesize * Finds black bands and crops them * Gives suggestions for improved performance
リッピングしたいトラックを選んで「Start」を押せばすぐにリッピングが始まるけど、「Queue」を押すと次のようなコマンドが順次Queueタブのなかに追加されていく。
mencoder dvd://1 -dvd-device /dev/dvd -chapter 17-17 -alang English -info srcform="DVD ripped by acidrip.sf.net" -oac mp3lame -lameopts abr:br=128 -ovc x264 -vf pp=de,crop=0:0:0:0,scale=720:-2 -o "/home/kosuke/shibusashirazu-17.avi"
acidripの画面で選択した設定値等がコマンドに反映されている。いくつかのトラックに分割して取り込みたいなら、最初に生成したコマンドをテキストファイル上で編集したほうが効率的なことがある。もちろん生成したコマンドをコンソールから実行しても結果は同じだ。
ちなみに、SMPlayerもmplayerのGUIフロントエンド。動画再生ソフトがGUI以外でありえるのかという妙な疑問がなくもないけど。