QUOTE(omega @ Jan 10 2006, 07:24 PM)
What is the best resolution / framerate / codec solution for playing videos that people have been able to do on these Cxx0 machines?
particularly interested in pdaxrom solutions...
in cacko, I've managed to get 15fps smoothly with 640x480 (widescreen video), with 128mbps mp3, playing back on mplayer.
here's a script I was using to try it out; as I tried out new things I copied the command to keep the old one on hand.
#!/bin/bash
INFILE="$1"
OUTFILE="$2"
echo "encoding $1 outputting to $2"
set -x
#mencoder -ofps 8 "$1" -o "$2" "${@:3}" -lavcopts
#vhq:vcodec=mpeg4:vbitrate=40:vrc_maxrate=70 -ovc lavc -lavcopts
#vbitrate=150 -oac mp3lame -lameopts abr:br=32 -zoom -vf #scale=320:-3,expand=-1:-1:-1:-1:1,rotate=1 -sws 9 -af resa
#mple=22050 -srate 22050
#mencoder "$INFILE" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=150:vpass=2 -lameopts abr:br=64:mode=3 -vop scale=64
0:480 -oac mp3lame -ofps 15 -o "$OUTFILE"
# works but no sound on x86 playback nor zaurus
#ffmpeg -i $INFILE -v 0 \
# -deinterlace -vcodec mpeg4 -4mv -b 224 -r 15 -aspect 16:9 -s 640x400 -hq \
# -acodec vorbis -ab 64 -ac 1 $OUTFILE
# works but blocky
#ffmpeg -i $INFILE -v 0 \
# -deinterlace -vcodec mpeg4 -4mv -b 224 -r 15 -aspect 16:9 -s 640x400 -hq \
# -acodec mp3 -ab 64 -ac 1 $OUTFILE
# not too bad
#ffmpeg -i $INFILE -v 0 \
# -deinterlace -vcodec mpeg4 -4mv -b 256 -r 15 -aspect 16:9 -s 640x360 -hq \
# -acodec mp3 -ab 64 -ac 1 $OUTFILE
AV=384
AB=64
# 50% horiz scaling, 16:9, top quality?
ffmpeg -i $INFILE -v 0 \
-deinterlace -vcodec mpeg4 -4mv -b $AV -r 15 -aspect 16:9 -s 640x360 -hq \
-acodec mp3 -ab $AB -ac 1 $OUTFILE_mp4-$AV_mp3-$AB.avi