<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, I think you need a server here to handle the negotiations (sdp exchange).<br>Then, you can use RTCP sent by client to detect network congestion.<br><br>Darwin streaming server is a rtsp server and may be a good start to handle rtsp.<br>It also supports easy plugin writting, in which you can alter your stream the way you want, without re-writting a rtsp stack from scratch.<br><br>Aurelien<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Message d'origine ----<br>De : Rémi BUISSON &lt;remi.buisson@viotech.net&gt;<br>À : Daiane Angolini &lt;daiane.angolini@freescale.com&gt;<br>Cc : Discussion of the development of GStreamer
 &lt;gstreamer-devel@lists.sourceforge.net&gt;<br>Envoyé le : Jeudi, 7 Août 2008, 8h37mn 59s<br>Objet&nbsp;: Re: [gst-devel] Help with RTP<br><br>Hi and thanks for your reply !<br><br>OK I will try today and I will tell you if it works for me.<br><br>My goal is to write a streaming server which can transcode, transrate, <br>... a stream and using a file for clients may be some kind of a <br>do-it-yourself solution.<br><br>For instance, the client send a message to the server for starting the <br>streaming of a file. Next, imagine the network is overloaded. Then, the <br>client will ask to the server to decrease the bitrate of the stream.<br><br>The client may be VLC, MPlayer, ...<br><br>Have you any idea to do it ?<br><br>I think it's possible because the streams are standardized.<br>Moreover, I tried to read a video streamed by flumotion over HTTP and it <br>works perfectly with VLC.<br><br>Thanks again.<br><br>Daiane Angolini wrote:<br>&gt; Hello
 Remi!<br>&gt;<br>&gt; If you want to see streaming using VLC you can use a SDP file.<br>&gt;<br>&gt; Try this:<br>&gt;<br>&gt;<br>&gt; *v=0*<br>&gt; *o=- 37 614155991 IN IP4 127.0.0.0*<br>&gt; *s=QuickTime*<br>&gt; *t=0 0*<br>&gt; *a=range:npt=now-*<br>&gt; *m=audio 5432 RTP/AVP 0*<br>&gt; *c=IN IP4 10.29.241.6*<br>&gt; *b=AS:63*<br>&gt; *m=video 5434 RTP/AVP 96*<br>&gt; *c=IN IP4 10.29.241.6*<br>&gt; *a=rtpmap:96 H263-2000/90000*<br>&gt; *a=fmtp:96&nbsp; *<br>&gt; *a=cliprect:0,0,144,176*<br>&gt; *a=framesize:96 176-144*<br>&gt;<br>&gt; In this file you have both audio and video.<br>&gt; But if you need a simple one, you can try this:<br>&gt;<br>&gt; *v=0*<br>&gt; *m=video 5434 RTP/AVP 96*<br>&gt; *c=IN IP4 10.29.240.186*<br>&gt; *a=rtpmap:96 MP4V-ES/90000&nbsp;  *<br>&gt; *a=fmtp:96 <br>&gt; config=000001b002000001b59113000001000000012000c488800f50584121443f;profile-level-id=2*<br>&gt;<br>&gt; The *config* and *profile-level-id* you can get from
 the return value <br>&gt; of *gst-lauch -v* command. In the caps property.<br>&gt;<br>&gt; Ah!<br>&gt; To use VLC with SDP file use:<br>&gt;<br>&gt; vlc -vvv file.sdp<br>&gt;<br>&gt; I hope it works<br>&gt;<br>&gt;<br>&gt; Daiane<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Wed, 2008-08-06 at 16:21 +0200, Rémi BUISSON wrote:<br>&gt;&gt; Hi everyone,<br>&gt;&gt;<br>&gt;&gt; I have some troubles streaming video file over the network.<br>&gt;&gt;<br>&gt;&gt; First of all, I tired this :<br>&gt;&gt;<br>&gt;&gt; server:<br>&gt;&gt; gst-launch filesrc location=../partage/Videos/superman_originale.avi ! <br>&gt;&gt; decodebin ! x264enc ! video/x-h264 ! rtph264pay pt=96 ! udpsink <br>&gt;&gt; host=192.168.1.2 port=5000 sync=false<br>&gt;&gt;<br>&gt;&gt; client:<br>&gt;&gt; gst-launch udpsrc port=5000 ! rtph264depay&nbsp; ! decodebin ! xvimagesink<br>&gt;&gt;<br>&gt;&gt; It works but I can't read it with vlc : vlc udp://@:5000 : is it normal
 ?<br>&gt;&gt;<br>&gt;&gt; Now I would like to do the same thing with an RTP pipeline :<br>&gt;&gt;<br>&gt;&gt; server:<br>&gt;&gt; gst-launch filesrc location=../partage/Videos/superman_originale.avi ! <br>&gt;&gt; decodebin ! x264enc ! rtph264pay ! rtpbin localport=5001 <br>&gt;&gt; destinations=127.0.0.1:5000<br>&gt;&gt;<br>&gt;&gt; client:<br>&gt;&gt; gst-launch udpsrc port=5000 ! rtph264depay ! decodebin ! xvimagesink --&gt; <br>&gt;&gt; this works<br>&gt;&gt; gst-launch rtpbin localport=5000 ! rtph264depay ! decodebin ! <br>&gt;&gt; xvimagesink --&gt; this doesn't work<br>&gt;&gt;<br>&gt;&gt; How can I receive my stream ? with vlc ?<br>&gt;&gt;<br>&gt;&gt; Thanks in advance !<br>&gt;&gt;<br>&gt;&gt; -------------------------------------------------------------------------<br>&gt;&gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>&gt;&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
 prizes<br>&gt;&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<br>&gt;&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a> &lt;<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a>&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; gstreamer-devel mailing list<br>&gt;&gt; <a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> &lt;mailto:<a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
 target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;&gt;&nbsp; &nbsp;  <br><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
 target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></div></div></div><br>


      <hr size="1"> 
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>