[MPlayer-users] Launch
Tomas Groth
tomasgroth at hotmail.com
Mon Jul 28 21:55:45 CEST 2003
>Has anyone been about to play music videos from launch.yahoo.com? I have
>MPlayer installed with "Live" support, I also have the mplayerplugin.
>Anyone know how I can accomplish this, MIME type, etc.?
I haven't found a way to play it in a browser on linux, but I have a small
script which can make it play.
You just add the video ID number (usually the 7 digit number in the link) at
the command line. It probably could be made smarter, but if it ain't broken
don't fix it ;-)
/Tomas
The script:
#!/bin/bash
videoid=$1
if [ -x $videoid ]; then
echo "No videoid entered!"
exit 0
fi
# 56 or 128 or 300
bandwidth=56
file1=$(wget
"http://launchtoday.launch.yahoo.com/player/medialog.asp?vid=$videoid&cid=1&pid=4&csid=396500550&p1=&p2=&p3=2&bw=$bandwidth&mf=1&origin=35&pguid=AA388C059C7849D99CCFBC72B6F51E37&uid=42&sk=bad551cd352143eb2da02&z=ms.asx"
-O -)
file2=$(wget "$file1" -O -)
mplayer -cache 150 -vo xv -ao alsa9 $file2
_________________________________________________________________
Få gode tilbud direkte i din mailbox http://jatak.msn.dk
More information about the MPlayer-users
mailing list