[FFmpeg-user] Save segmented and fragmented h264 to disk

Mark Umansky umansky at torcrobotics.com
Tue Oct 7 20:16:05 CEST 2014


Yes. It actually generates the files as fast as it can (so I get a dozen files in a second or so) but if I don't kill the process nicely, the last generated file is not properly fragmented and is unplayable.

This is the atom structure from atomicparsley of the last file (broken), which has no moov or moof atom to define anything:

Atom ftyp @ 0 of size: 32, ends @ 32
Atom free @ 32 of size: 8, ends @ 40
Atom mdat @ 40 of size: 141345 (0*), ends @ 141385
                         (*)denotes length of atom goes to End-of-File
------------------------------------------------------
Total size: 141385 bytes; 2 atoms total. AtomicParsley version: 0.9.0 (utf16)
Media data: 141345 bytes; 40 bytes all other atoms (0.028% atom overhead).
Total free atom space: 8 bytes; 0.006% waste. Padding available: 0 bytes.





More information about the ffmpeg-user mailing list