[Live-devel] no SIGHUP or SIGUSR1 ... any chance to rescue ?

Ross Finlayson finlayson at live555.com
Tue Feb 7 16:13:12 PST 2012


> Does it mean that in case of H264 if openRTSP is not terminated with appropriate signal there is no chance to recover mp4 or mov file.
> 

Unfortunately not, because to work, these files (".mov" or ".mp4" format) need a structure (a 'moov atom') whose contents aren't known until the entire file has finished being recorded.  Therefore, "openRTSP" (actually, the "QuickTimeFileSink" object) needs to end cleanly, in order for this structure to be written to the file properly.

(Note that - as an alternative to signaling "openRTSP" to end recording - you can also give "openRTSP" the "-d <duration>" option.)


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/20120208/525c1835/attachment-0001.html>


More information about the live-devel mailing list