[MPlayer-dev-eng] How to play RTP stream with MPlayer?

ZengWenfeng samuelz_83 at hotmail.com
Thu Aug 30 14:43:33 CEST 2007


hi all! I am currently working with a RTP-based streaming application, and intend to use the mplayer as embedded player for user. I tried to call mplayer from command line like this:
 
mplayer rtp://localhost:8888
 
but it doesn't work(no movie window), the output is like this:
 
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer TeamCPU: Intel(R) Pentium(R) D CPU 3.20GHz (Family: 15, Model: 6, Stepping: 5)CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0Compiled with runtime CPU detection.
Playing rtp://localhost:8888.STREAM_RTP, URL: rtp://localhost:8888Stream not seekable!Stream not seekable!Stream not seekable!Stream not seekable!Stream not seekable!
 
the stream is not seekable because control-level like RTSP hasn't been implemented yet, and the media stream is video-only mpeg stream, using a RTP port. the quicktime player can correctly receive the video stream.
 
the manual and livemedia homepage says RTP stream can be played by passing a SDP file, but it also failed:
 
 
mplayer sdp://1.sdp
 
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer TeamCPU: Intel(R) Pentium(R) D CPU 3.20GHz (Family: 15, Model: 6, Stepping: 5)CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0Compiled with runtime CPU detection.
Playing sdp://1.sdp.
Exiting... (End of file)
 
the streamer is running, but mplayer just seems like did nothing with the sdp file and quit immediately right after displaying "playing sdp:...", the sdp file works fine with quicktime player.
 
someone please tell me how to play raw RTP stream with the mplayer? Thanks very much!
 
 
Best Regards,
Zeng
_________________________________________________________________
用 Live Search 搜尽天下资讯!
http://www.live.com/?searchOnly=true


More information about the MPlayer-dev-eng mailing list