<div dir="ltr"><div>I added the parameter max-size-time to splitmuxsink to have the pipeline save off video segments every second. So the parameterĀ I used:</div><div>const uint64_t SEGMENT_TIME = G_GUINT64_CONSTANT(1000000000);<br></div><div><br></div><div>uint64_t segtime = SEGMENT_TIME;</div><div>GstElement *seg_ele = add_element("splitmuxsink");<br>g_signal_connect(seg_ele, "format-location-full",<br>                      G_CALLBACK(on_location_handler),this);<br>        g_object_set(seg_ele, "max-size-time", segtime, NULL);<br></div><div>...</div><div><br></div><div><br></div><div>I get the callback, but it gives me 10 second segments instead of 1 second segments (after they are written).</div><div><br></div><div>Anyone seen this before? Any ideas on what could affect the timing like PTS values from the video?</div><div><br></div><div><br></div><div><br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks<br><br></div>Floyd Brown<br><br></div></div></div></div>