1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 20:46:17 +02:00
openwrt-packages/mplayer
David Kühling dd543382bc mplayer: upgrade to newer mplayer/ffmpeg upstream revisions, speedup tremor
(tremor speedup costs us some audio quality, but it's a movie player after
all, not a hifi-system :)
2011-04-27 07:16:12 +02:00
..
files MPlayer: enable volume control via Ben volume keys 2010-09-26 23:21:01 +04:00
patches Disable (all?) patented codecs. Disable ffmpeg's (broken) ogg demuxer. 2011-04-24 21:27:53 +02:00
Makefile mplayer: upgrade to newer mplayer/ffmpeg upstream revisions, speedup tremor 2011-04-27 07:16:12 +02:00
README Disable (all?) patented codecs. Disable ffmpeg's (broken) ogg demuxer. 2011-04-24 21:27:53 +02:00

this is outdated; mpeg1 support currently disabled (patents?).

Use ffmpeg2theora  or ffmpeg with vp8, vorbis, mkv

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