[MPlayer-users] Launch

Tomas Groth tomasgroth at hotmail.com
Tue Jul 29 09:10:12 CEST 2003




>From: Cecil Watson <cwatson at linkline.com>
>Reply-To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>
>To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>
>Subject: Re: [MPlayer-users] Launch
>Date: Mon, 28 Jul 2003 13:22:06 -0700
>
>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Tomas Groth wrote:
>
>>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>>
>>>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
>
>:)  They is more than one way to skin a cat!  The only problem is this cat 
>doesn't scream when being skinned.

You'll need to edit the script to fit our computer. The bandwidth variable 
should set to 56, 128 or 300, according to you internet connection, and you 
can probably replace
mplayer -cache 150 -vo xv -ao alsa9 $file2
with
mplayer -cache 150 $file2

/Tomas

_________________________________________________________________
Få gode tilbud direkte i din mailbox  http://jatak.msn.dk



More information about the MPlayer-users mailing list