[Live-devel] Open RTSP and video file splitting...
    Ross Finlayson 
    finlayson at live555.com
       
    Tue Aug 20 12:00:32 PDT 2013
    
    
  
> But closing and re-opening the RTSP stream will create a gap between the files.
I didn't suggest "closing and reopening the RTSP stream".  My suggestion was to keep the RTSP stream open, but close just the "QuickTimeFileSink" object, then create a new one and call "startPlaying()" on it - from the existing source.  This doesn't involve any RTSP commands at all.
> Anyhow, I just tested your suggestion and unfortunately it doesn't solve my
> problem of having the start of file not being aligned on a KeyFrame.
It sounds like you're trying to do something that the "QuickTimeFileSink" code was never intended to do - namely, detailed editing on the output file.
Your best solution then is probably just to record a single file for the entire stream, and then later - using some separate tool that's intended specifically for editing '.mov'/'.mp4' files - break it apart into separate files of whatever length you want.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130820/cea82be7/attachment.html>
    
    
More information about the live-devel
mailing list