[MPlayer-users] Compiling in LIVE.COM Streaming Media into mplayer.

michael higgins michael.higgins at snet.net
Thu Sep 23 05:44:32 CEST 2004


Russell McOrmond wrote:
>   I built RPM with mplayer with the LIVE.COM support for RTSP.  I started
> with the .src.rpm provided at
> http://luna.cs.ccsu.edu/dominik/mplayer/rebuilding.html , and then patched
> the spec file to add in http://www.live.com/liveMedia/
> 
>   I received an error when compiling, and tried the patch suggested at:
> http://zebra.fh-weingarten.de/~maxi/html/mplayer-dev-eng/2004-07/msg00347.html
> 
>   Unfortunately it did not work as I had hoped.  There is a streaming
> provider http://www.akamai.com/ which is streaming the audio for Canada's
> public broadcaster http://www.cbc.ca/listen/ . Currently they are
> streaming using Microsoft's MMS protocol, and I had hoped to find out if
> the same service supported IETF standard RTSP.
> 
> One of the audio streams (Ottawa, where I live) which works well is at:
> mplayer mms://a907.l961736906.c9617.g.lm.akamaistream.net/D/907/9617/v0001/reflector:36906
> 

What happened when you tried that url? It works for me just fine...

[col at linbox9 col]$ mplayer 
mms://a907.l961736906.c9617.g.lm.akamaistream.net/D/907/9617/v0001/reflector:36906
MPlayer dev-CVS-040401-10:59-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium II Klamath/Pentium II OverDrive 267.6 MHz (Family: 6, 
Stepping: 4)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config [ 8< blah, blah]
Playing 
mms://a907.l961736906.c9617.g.lm.akamaistream.net/D/907/9617/v0001/reflector:36906.
Resolving a907.l961736906.c9617.g.lm.akamaistream.net for AF_INET...
Connecting to server 
a907.l961736906.c9617.g.lm.akamaistream.net[209.170.119.75]:80 ...
Stream bitrate properties object
Max bandwidth set to 96
  stream count=[0x1][1]
    stream id=[0x1][1]
    max bitrate=[0x7f85][32645]
Resolving a907.l961736906.c9617.g.lm.akamaistream.net for AF_INET...
Connecting to server 
a907.l961736906.c9617.g.lm.akamaistream.net[209.170.119.77]:80 ...
Cache size set to 64 KBytes
Connected to server: a907.l961736906.c9617.g.lm.akamaistream.net
Cache fill: 12.50% (8192 bytes)    ASF file format detected.
============ ASF Stream group == START ===
  object size = 32
  stream count=[0x1][1]
    stream id=[0x1][1]
    max bitrate=[0x7f85][32645]
============ ASF Stream group == END ===
Clip info:
  name: CBC Radio One Ottawa
  author: www.cbc.ca
  copyright: (C) 2004 - Canadian Broadcasting Corporation
==========================================================================
Requested audio codec family [ffwmav2] (afm=ffmpeg) not available.
Enable it at compilation.
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 1
Samplerate: 44100
avg byte/sec: 4003
Block align: 1487
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [3d] [17] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 44100
avg byte/sec: 88200
Block align: 2
bits/sample: 16
cbSize: 0
===========================
External func OLEAUT32.dll:7
External func OLEAUT32.dll:8
GetOutput r=0x0   size:8192  align:1
StreamCount r=0x0  1  1
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 4003->88200 (32.0 kbit)
Selected audio codec: [wmadmo] afm:dmo (Windows Media Audio DMO)
==========================================================================
Checking audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 1ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit 
Little Endian
AO: [alsa1x] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...

> so I tried:
> mplayer rtsp://a907.l961736906.c9617.g.lm.akamaistream.net/D/907/9617/v0001/reflector:36906
> 

Why try that? '-)

> 
>  Unfortunately mplayer output:
> 
> Playing 
> rtsp://a907.l961736906.c9617.g.lm.akamaistream.net/D/907/9617/v0001/reflector:36906.
> Resolving a907.l961736906.c9617.g.lm.akamaistream.net for AF_INET...
> Connecting to server 
> a907.l961736906.c9617.g.lm.akamaistream.net[64.215.171.36]:554 ...
> rtsp_session: Not a Real server. Server type is 'WMServer/9.0.0.3372'.
> Not a Realmedia rtsp url. Trying standard rtsp protocol.

HTH

-- mike higgins




More information about the MPlayer-users mailing list