1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-27 21:27:41 +02:00
openwrt-packages/mplayer
kyak adf4c0e528 mplayer builds smartly depending on PATENTED flag
in non-patented version the following codecs are enabled:
Codecs: libavcodec(internal) xanim faad2(internal) musepack
libmpeg2(internal) liba52(internal) speex tremor(internal) liblzo

in patented version the following codecs are enabled:
Codecs: libavcodec(internal) xanim faad2(internal) musepack
libmpeg2(internal) liba52(internal) mp3lib(internal) speex
tremor(internal) libmad liblzo
2011-01-08 16:17:29 +03:00
..
files MPlayer: enable volume control via Ben volume keys 2010-09-26 23:21:01 +04:00
Makefile mplayer builds smartly depending on PATENTED flag 2011-01-08 16:17:29 +03:00
README MPlayer: added mp3 support via libmad; see README 2010-09-26 17:51:31 +04:00

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