<div dir="ltr">This would be a great option for the openRTSP client! I have the same issue you described with wanting to avoid gaps between output files. I suppose you could always start another client before the other client terminates to create overlapping recordings, however, that seems more like a work-around than a solution. <div>
 <br></div><div><div>Not sure if this could be added as an option to openRTSP, but it would be very convenient for the implementation described. </div><div><br></div><div><div><br></div><div>Bob</div><div><br></div><div><br>
</div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 3:33 AM, Ehsan Adeli <span dir="ltr"><<a href="mailto:eadeli@gmail.com" target="_blank">eadeli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear all,<br><br></div>
I am trying to use the openRTSP test project to record a live RTSP stream. The stream is being played continuously (from a camera) and I want to record the video. In order to be able to manage the recorded files, I want to split the recording and save, for instance, every 5 minutes of the stream in a separate mp4 file. The important thing is that I do not want to stop and start the recoding, because with that I would miss some frames, spending time on closing the connection and reopening. So, I am working on the code. I try to keep the continuous play (-c option) on, and try to redirect stdout to separate files at the beginning of the every step. The problem is that I need to manage the heads and tails of the mp4 files (if I am right).<br>

<br></div>It would be very nice if you could help me with this issue or let me know if there are other ways around, that can be useful for me. Thank you all for your considerations. <br></div><br>Regards,<br></div>Ehsan <br>

<br><br></div>
<br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div>
</div></div></div>