mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:59:42 +02:00
8 lines
498 B
Plaintext
8 lines
498 B
Plaintext
1. prepare your avi files for Ben:
|
|
|
|
for i in $(echo "*.avi"); do /usr/bin/mencoder -o "$i.mpg" -vf scale=320:-2 -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vpass=1:vbitrate=200 -ofps 24000/1001 -oac lavc -lavcopts acodec=mp2:abitrate=64 "$i" && /usr/bin/mencoder -o "$i.mpg" -vf scale=320:-2 -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vpass=2:vbitrate=200 -ofps 24000/1001 -oac lavc -lavcopts acodec=mp2:abitrate=64 "$i"; done
|
|
|
|
2. play your files with Ben:
|
|
|
|
mplayer -vo sdl -ac mad file.mpg
|