GStreamer MP4 Video Segmenter
The GStreamer Video Segmenter - GstVS is an extension of the conventional
The GStreamer Video Segmenter - GstVS is an extension of the conventional GstQTMux/ GstMP4Mux element that allows splitting recordings into multiple files constrained by size and/or duration. We use the term segmented file to describe a partial recording that was created using this Video Segmenter technology. These recordings can be audio, video or audio+video.
Each segmented file can be viewed independently or a simple host application can recombine them or play the segmented files back to back so the user experiences uninterrupted playback. If the recording contains an encoded video stream, then it is guaranteed that the file will start with a reference frame. All this extra functionality is added without interfering with the normal GstQTMux operation. The Video Segmenter Technology does not drop frames between the files.
When the stream reaches the size or duration specified by the user, the GstVS will automatically close the current file by updating the file headers, and open a new one by resetting the Atom generation. The following image illustrates this process.