[Live-devel] QuickTimeFileSink save to new files

Ross Finlayson finlayson at live555.com
Tue Jun 30 23:00:06 PDT 2009


The problem, I think, is that the QuickTime file format requires a 
"mdat" 'atom' to be written at the start of the file.  The 
QuickTimeFileSink code works by first reserving space at the front of 
the file for this structure, and then - before closing the file - 
filling it in.  (It has to wait until the last data has been written 
to the file before it has enough information to fill in the 
structure.)

You will need to do the same thing to each file that you write. 
Search for "mdat" in the code to see what you will need to do.
-- 

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


More information about the live-devel mailing list