Safe H264 video saving to file

Arjen Veenhuizen arjen at
Thu May 25 08:36:35 UTC 2017

What is the output of mpegtsmux + multifilesink right now? individual files
of which only the first one is playable? Or?

Some general remarks (assuming h264):
* Use a fixed gop size (1 second)
* Set config-interval on h264parse at 1 (second) to make sure it inserts
SPS/PPS at each GOP [1]
* Disable scene change detection on x264enc (e.g.

[1] Note that in 1.8+, you can set config-interval to -1 to make sure it
inserts SPS/PPS at each I-frame

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list