[Live-devel] trying to capture an .mp4 with openRTSP

Ross Finlayson finlayson at live555.com
Wed Aug 20 19:29:30 PDT 2008


>Thank you very much -- while I was able to play the QTSS stream with 
>the QuickTime Player, the problem with the saved .mp4 file was just 
>as you said (ctrl-c vs. sighup).  This leads me to another question, 
>though:
>
>I would like to play the pugscam.mp4 file as openRTSP is writing to it.

Because of the details of the '.mp4' (or '.mov') file format, I don't 
think this is possible.  These files require certain meta-data 
('atoms') be included in the file, along with the media data itself. 
You can't play the file without this meta-data, and because the 
meta-data has to be in a well-known place in the file, you can't 
constantly write the meta-data to the file while the media data is 
also being written.

What you can do, however (though not with our software, as is) is 
play the *stream* at the same time that you're writing (a copy of) 
the media data to a file.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list