Framerate issue with v4l2sink

Nicolas Dufresne nicolas at ndufresne.ca
Wed Mar 25 11:04:09 UTC 2020


Le mercredi 25 mars 2020 à 04:57 -0500, m.lenz a écrit :
> I recognized that I forgot to change back one line in my code. I did this for
> testing reason.
> 
> Following 
> 
>   GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale_int (1, GST_SECOND,
> 33);
> 
> of course has to be
> 
>   GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale_int (1, GST_SECOND,
> FRAMERATE);
> 
> 
> I also forced fps by v4l2loopback, because this parameters wasn't handed
> over, this was every time 30fps. But with correct fps in v4l2 device it
> still shows the same problems.

It's a pandora box, but if you need more help, share a log with
GST_DEBUG="v4l2*:7" for when it fails. That being said, I don't really
like to support this driver since it has basically nothing to do with
V4L2. If you want to get somewhere, I'd first running and fixing
v4l2-compliance test result in that driver.

> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list