[Live-devel] How to play RTP stream with MPlayer?
George Zhu
zcjgeorge at gmail.com
Sun Oct 21 23:40:55 PDT 2007
change auto_open_streams (stream.c) array's order
On 8/30/07, ZengWenfeng <samuelz_83 at hotmail.com> wrote:
>
>
> 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 Team
> CPU: 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: 0
> Compiled with runtime CPU detection.
> Playing rtp://localhost:8888.
> STREAM_RTP, URL: rtp://localhost:8888
> Stream not seekable!
> Stream not seekable!
> Stream not seekable!
> Stream not seekable!
> Stream not seekable!
>
> the stream is not seekable because control-level like RT! SP 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 Team
> CPU: 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: 0
> Compiled 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 displayin! g "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
>
> ________________________________
> 使用新一代 Hotmail,更强大、更安全、更多存储空间! 立刻体验!
> ________________________________
> 使用新一代 Hotmail,更强大、更安全、更多存储空间! 立刻体验!
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
--
George Zhu at Zhejiang University
More information about the live-devel
mailing list