From a4873ed452053aaf3bebfb63e8a8e880b1d09cb5 Mon Sep 17 00:00:00 2001 From: kyak Date: Sun, 26 Sep 2010 17:51:31 +0400 Subject: [PATCH] MPlayer: added mp3 support via libmad; see README --- mplayer/Makefile | 2 +- mplayer/README | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 mplayer/README diff --git a/mplayer/Makefile b/mplayer/Makefile index b2e8140..b394eb9 100644 --- a/mplayer/Makefile +++ b/mplayer/Makefile @@ -21,7 +21,7 @@ define Package/MPlayer CATEGORY:=Multimedia TITLE:=MPlayer, the movie player URL:=http://www.mplayerhq.hu - DEPENDS:=+libjpeg +libpng +directfb +zlib +libsdl + DEPENDS:=+libjpeg +libpng +directfb +zlib +libsdl +libmad endef define Package/MPlayer/description diff --git a/mplayer/README b/mplayer/README new file mode 100644 index 0000000..f9702c8 --- /dev/null +++ b/mplayer/README @@ -0,0 +1,7 @@ +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