<br><br><div class="gmail_quote">On Mon, Sep 27, 2010 at 1:07 PM, Robert Krakora <span dir="ltr"><<a href="mailto:rob.krakora@messagenetsystems.com">rob.krakora@messagenetsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello All,<br><br>When I execute this pipeline from the command line...<br><br> gst-launch -e rtspsrc location=rtsp://<a href="http://192.168.1.211:8109/camera.sdp" target="_blank">192.168.1.211:8109/camera.sdp</a> ! rtpmp4vdepay ! mpeg4videoparse ! mp4mux ! filesink location=myfile<br>
<br>...and send a SIGINT to the process I get a file that is playable because I specified the '-e' which indicates that EOS on shutdown.<br><br>However, if I execute the same pipeline from the command line and remove the RTSP server (i.e. force a socket error) the process exits without performing an EOS on shutdown. A quick look at the code in "gst-launch.c" confirmed my suspicion that EOS on shutdown is only performed on a SIGINT. What if my application has recorded valuable video data and the network goes down, does this mean I have lost all of that data since the file will not be viewable due to the absence of EOS on shutdown processing on anything that is not a SIGINT?<br>
<br>Thanks in advance.<br><br>Best Regards,<br clear="all"><font color="#888888"><br>-- <br>Rob Krakora<br>Senior Software Engineer<br>MessageNet Systems<br>101 East Carmel Dr. Suite 105<br>Carmel, IN 46032<br>(317)566-1677 Ext. 206<br>
(317)663-0808 Fax<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Rob Krakora<br>Senior Software Engineer<br>MessageNet Systems<br>101 East Carmel Dr. Suite 105<br>Carmel, IN 46032<br>(317)566-1677 Ext. 206<br>(317)663-0808 Fax<br>