[MPlayer-users] Launch

Cecil Watson cwatson at linkline.com
Mon Jul 28 22:22:06 CEST 2003


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.

MPlayer dev-CVS-030715-21:00-3.2.2 (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, 
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/cecil/.mplayer/config
[cfg] read config file: /home/cecil/.mplayer/gui.conf
Reading config file /home/cecil/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local 
display)
Reading /home/cecil/.mplayer/codecs.conf: can't open 
'/home/cecil/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 60 audio & 147 video codecs
Font /home/cecil/.mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (mplayer should be setuid 
root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/cecil/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
[ws] screens 2 Max 1280, 1024 Org 0,0
SKIN dir 1: '/home/cecil/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

Playing 
mms://63.250.195.10/wm.broadcast.com/proot1/PubShare03/launch.com/11/4900536.wmv#StreamID=4900536&b=bad551cd352143eb2da02&ru=Wget/1RUPERIOD8RUPERIOD2&s=396500550&xdata=aa388c059c7849d99ccfbc72b6f51e37_16747498
Failed to create AF_INET6 socket:
Connecting to server 63.250.195.10[63.250.195.10]:80 ...
Failed to create AF_INET6 socket:
Connecting to server 63.250.195.10[63.250.195.10]:80 ...
Cache size set to 150 KBytes
Connected to server: 63.250.195.10
Cache fill: 16.00% (24576 bytes)    ASF file format detected.
VIDEO:  [WMV2]  320x240  24bpp
Clip info:
 name: -
 author: -
 copyright: (c) 2003 Yahoo! Inc.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 5000->128000 (40.0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
FATAL releasing corrupted memory! 0x86e2ab8  0x0  (12)
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 YVYU 
I420 YVU9
Decoder is capable of YUV output (flags 0x7f)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
FATAL releasing corrupted memory! 0x86e2d98  0xa0  (13)
Selected video codec: [wmv8] vfm:dshow (Windows Media Video 8)
==========================================================================
Checking audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int
AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 32000 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: no soundcards found: Success
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
V:  25.7  616  13%  5%  0.0% 0 0 33%
Total Unfree 1032162 bytes cnt 178 [(nil),0]

Exiting... (Quit)




More information about the MPlayer-users mailing list