<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>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" rel=nofollow target=_blank>192.168.1.211:8109/camera.sdp</A> ! rtpmp4vdepay ! mpeg4videoparse ! mp4mux ! filesink location=myfile<BR><BR>...and send a <SPAN id=lw_1285723693_1 class=yshortcuts>SIGINT</SPAN> 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><SPAN id=lw_1285723693_2 class=yshortcuts>Senior Software Engineer</SPAN><BR>MessageNet Systems<BR><SPAN id=lw_1285723693_3 class=yshortcuts>101 East Carmel Dr. Suite 105<BR>Carmel, IN 46032</SPAN><BR><SPAN id=lw_1285723693_4 class=yshortcuts>(317)566-1677 Ext. 206</SPAN><BR><SPAN id=lw_1285723693_5 class=yshortcuts>(317)663-0808</SPAN> Fax<BR></FONT></DIV></div></body></html>