[MPlayer-users] Re: Mplayer as a Client for VideoLAN server

Rett Walters rettw at rtwnetwork.com
Wed Jul 9 05:52:22 CEST 2003


>Oops - you're right.  And *that's* your problem!  The IP address in a
>"rtsp://" URL must be a *unicast* IP address - the IP address of the
>server.  Note that RTSP uses TCP, which is why it needs to use a unicast
>address.
>
>Just use
>         rtsp://<ip-address-of-the-server>
>
>
>I suspect that it *doesn't* use RTSP.  If not, then you'll need to create a
>SDP file, and use MPlayer's "sdp://" pseudo-url - i.e.
>         sdp://<path-to-SDP-file>
>
>The SDP file should look something like the following:
>
>v=0
>s=Test MPEG-2 TS session
>t=0 0
>m=video 1234 RTP/AVP 33
>c=IN IP4 234.5.6.7/255
>Note the "33", which is the static RTP payload format for MPEG-2 Transport
>Streams, "234.5.6.7", which is the session's multicast address, and "1234"
>which is the session's (multicast) port number.
>
>I hope this works.

Ok, I created an SDP file that looks like the sample above and now I get whats shown
below, It stops at the searching for sequence header message just sits there until I
press ctrl-c.

Any more ideas? Are there any other things we can try?

Thanks for all of your help so far! BTW, videolan is open source at www.videolan.org.

Rett

[root at is6974 MPlayer-20030624]# ./mplayer -V sdp:///root/testMPEGAudioVideo.sdp
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer dev-CVS-030623-23:00-2.96 (C) 2000-2003 Árpád Gereöffy (see DOCS)

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/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-V' 'sdp:///root/testMPEGAudioVideo.sdp'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('testMPEGAudioVideo.sdp.conf') -> '/root/.mplayer/testMPEGAudioVideo.sdp.conf'

Playing sdp:///root/testMPEGAudioVideo.sdp
File size is 81 bytes
Initiated "video/MP2T" RTP subsession
Increased video socket receive buffer to 2000000 bytes
==> Found video stream: 0
Searching for sequence header...



More information about the MPlayer-users mailing list