<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">Hello All,<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><br>When I execute this pipeline from the command line...<br><br> gst-launch -e rtspsrc location=rtsp://<a rel="nofollow" target="_blank" href="http://192.168.1.211:8109/camera.sdp">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></div></div></div></div>
</div></body></html>