<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] how to play received stream via
mplayer</title></head><body>
<blockquote type="cite" cite><font
face="Arial">Dear,</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial">I have written a
h264 media sender and receiver,</font></blockquote>
<blockquote type="cite" cite><font face="Arial">and they can work
successfully.</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial">But, so far, in
receiver, frames are received and saved to a file.</font></blockquote>
<blockquote type="cite" cite><font face="Arial">We always to play the
file via mplayer.</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial">I am asking a
question:</font></blockquote>
<blockquote type="cite" cite><font face="Arial">how can I play
streaming in the receiver local via mplayer?</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial">I tried "mplayer
rtp://localhost:8888".</font></blockquote>
<div><br></div>
<div>"rtp://" URLs are a non-standard hack, and work only
for some media types.</div>
<div><br></div>
<div>For H.264 RTP streams, the media player client needs to get extra
codec and stream-specific information from the server before it can
play the stream, and for that you need RTSP.</div>
<div><br></div>
<div>So, you should add a RTSP server to your 'sender' application,
and play the stream using a "rtsp://" URL.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>