zaurus用にDVDエンコード

ようやく出来た。現在はChapter毎に別ファイルでmpeg4(DivX)で保存している。
以下のスクリプトを参照の事。

#!/bin/bash

TITLENUM=1
CHAPNUM=40

for i in $(seq 1 $CHAPNUM)
do
mencoder dvd://${TITLENUM}  -chapter ${i}-${i} -oac mp3lame \
 -ovc lavc -lavcopts vcodec=mpeg4:vhq -vop scale=320:240 \
 -lameopts q=9:vol=10 -ofps 24 -o myenco \
ded-${TITLENUM}_$i.avi
done

但し、上記のスクリプトでencodeしたムービーをそのままzaurus上で見ようとするとコーデックが無いと怒られて再生出来なかった。調べてみるとコーデックが無いというよりもcodecs.confが悪さをしているらしい。codecs.confファイルを削除すればそのまま見ることが出来る。

From
http://article.gmane.org/gmane.comp.video.mencoder.user/853

On Fri, Jun 03, 2005 at 05:20:31AM +0200, Meino Christian Cramer wrote:
>    Cannot find codec matching selected -vo and video format 0x34504D46.
>    Read DOCS/HTML/en/codecs.html!

rm -f /etc/codecs.conf ~/.mplayer/codecs.conf 

Or wherever the hell you have a stale copy. You should never keep one on 
disk unless you're a developer or something, MPlayer has it built in, and 
it's always up to date.

I could convert DVD movies to mpeg files that can be seen on zaurus(SL-C760).I made above script. See it.But the movies made by that script can't be seen without removing codecs.conf on my environment. If you have the same trouble,try it.