<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hi Tim,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Yes I have used that and am able to stream videotestsrc to internet now. But Iam not able to stream a MPEG-1 ES file although I have done the below stuff: Here is what I have done:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color:
 transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;">I have found the way to stream the videotestsrc element to the internet by calling these functions in the test-video.c file of gst-rtsp-server examples directory:</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">gst_rtsp_server_set_address(server,"10.xxx.xx.xxx");</div><div style="background-color: transparent;">gst_rtsp_server_set_service(server,"8555");</div><div style="background-color: transparent;">and unblocking the ports in the aws console.</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">But now replacing videotestsrc with the following in test-video.c, like below:</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">gst_rtsp_media_factory_set_launch (factory, "( "</div><div
 style="background-color: transparent;">  "filesrc location=/home/ubuntu/DELTA.mpg ! mpeg2dec ! x264enc ! rtph264pay name=pay0 pt=96 "</div><div style="background-color: transparent;">  ")");</div><div style="background-color: transparent;">I am not able to get the stream visible on the vlc player. It stays without playing for some 20 seconds or so and then plays black screen for a few seconds and then stops.</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">Trying the below command on AWS server produces following output:</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">ubuntu@ip-xx-xxx-xx-xxx:~/gst-rtsp-server-1.2.3/examples$ /usr/local/bin/gst-launch-1.0 playbin uri=rtsp://10.xxx.xx.xxx:8555/test</div><div style="background-color: transparent;">Setting pipeline to PAUSED ...</div><div style="background-color: transparent;">Pipeline is
 live and does not need PREROLL ...</div><div style="background-color: transparent;">Progress: (open) Opening Stream</div><div style="background-color: transparent;">Progress: (connect) Connecting to rtsp://10.185.10.118:8555/test</div><div style="background-color: transparent;">Progress: (open) Retrieving server options</div><div style="background-color: transparent;">Progress: (open) Retrieving media info</div><div style="background-color: transparent;">Progress: (request) SETUP stream 0</div><div style="background-color: transparent;">Progress: (open) Opened Stream</div><div style="background-color: transparent;">Setting pipeline to PLAYING ...</div><div style="background-color: transparent;">New clock: GstSystemClock</div><div style="background-color: transparent;">Progress: (request) Sending PLAY request</div><div style="background-color: transparent;">Progress: (request) Sending PLAY request</div><div style="background-color:
 transparent;">Progress: (request) Sent PLAY request</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">(lt-test-video1:9027): GLib-CRITICAL **: unblock_source: assertion `!SOURCE_DEST</div><div style="background-color: transparent;">ROYED (source)' failed</div><div style="background-color: transparent;">WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSP</div><div style="background-color: transparent;">Src:source: Could not read from resource.</div><div style="background-color: transparent;">Additional debug info:</div><div style="background-color: transparent;">gstrtspsrc.c(4367): gst_rtspsrc_reconnect (): /GstPlayBin:playbin0/GstURIDecodeB</div><div style="background-color: transparent;">in:uridecodebin0/GstRTSPSrc:source:</div><div style="background-color: transparent;">Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blo</div><div
 style="background-color: transparent;">cking it. Retrying using a TCP connection.</div><div style="background-color: transparent;">♥handling interrupt.</div><div style="background-color: transparent;">Interrupt: Stopping pipeline ...</div><div style="background-color: transparent;">Execution ended after 0:00:22.473442001</div><div style="background-color: transparent;">Setting pipeline to PAUSED ...</div><div style="background-color: transparent;">Setting pipeline to READY ...</div><div style="background-color: transparent;">Setting pipeline to NULL ...</div><div style="background-color: transparent;">Freeing pipeline ...</div><div style="background-color: transparent;">ubuntu@ip-10-xxx-xx-xxx:~/gst-rtsp-server-1.2.3/examples$</div><div style="background-color: transparent;"><span></span></div><div style="background-color: transparent;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family:
 HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;">What am I doing wrong here ?</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Saturday, March 8, 2014 10:21 PM, manickam palaniappan <manickam79@yahoo.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv7640294863"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div>Hi,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue',
 Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Could somebody pls help me on this:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">I had downloaded 1.2.3 version sources of gstreamer and gst-rtsp-server and gst-plugins-base & -good and compiled them and run "sudo make
 install" and then had a glimpse of examples in gst-rtsp-server sources. But they are all generating a stream at the url rtsp:// 127.0.0.1:8554 /test</div><div><br></div><div>What I want to do is stream a video file like mpeg or some other format from the server machine using the gstreamer that has been installed, to the public internet. e.g., I type in my media player the url rtsp://174.132.98.225:8554/my-file</div><div><br></div><div>It should stream the file video to my media player. Sombody putting exact steps on this I would very much appreciate.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Thanks,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent;
 font-style: normal;">Manickam</div></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>