Strange issue with splitmuxsink parameter "max-size-time"
Floyd Brown
flobro30101 at gmail.com
Fri Sep 10 10:22:04 UTC 2021
It seems that I answered my own question. It was the gst-rtsp-server
example server that was messing up the "max-size-time" timing. When I
switched over to VLC RTSP streamer, I got my 1 second video segments.
On Wed, Sep 8, 2021 at 1:26 PM Floyd Brown <flobro30101 at gmail.com> wrote:
> I added the parameter max-size-time to splitmuxsink to have the pipeline
> save off video segments every second. So the parameter I used:
> const uint64_t SEGMENT_TIME = G_GUINT64_CONSTANT(1000000000);
>
> uint64_t segtime = SEGMENT_TIME;
> GstElement *seg_ele = add_element("splitmuxsink");
> g_signal_connect(seg_ele, "format-location-full",
> G_CALLBACK(on_location_handler),this);
> g_object_set(seg_ele, "max-size-time", segtime, NULL);
> ...
>
>
> I get the callback, but it gives me 10 second segments instead of 1 second
> segments (after they are written).
>
> Anyone seen this before? Any ideas on what could affect the timing like
> PTS values from the video?
>
>
>
>
> Thanks
>
> Floyd Brown
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210910/2cbfd658/attachment.htm>
More information about the gstreamer-devel
mailing list