<v4l2src0:pool:src> Dropping truncated buffer, this is likely a driver bug.

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jun 25 14:18:13 UTC 2020


Le mercredi 24 juin 2020 à 22:47 -0500, Aniket0987 a écrit :
> Trying to capture I420 FHD at 5fps on RP4.
> Pipeline is as follows,
> 
> v4l2src device=/dev/video0 io-mode=dmabuf !
> video/x-raw,width=1920,height=1080 ! videoconvert ! video/x-raw,format=RGBA
> ! videorate ! video/x-raw,framerate=5/1 ! queue leaky=downstream !
> v4l2h264enc capture-io-mode=dmabuf ! video/x-h264,profile=main ! h264parse
> splitmuxsink name=mp4mux max-size-time=60000000000 max-size-bytes=134217728
> location=/tmp/vid_ sync=false ! queue ! mp4mux.video
> 
> After a certain time, v4l2src starts dropping everything.
> 
> 0:10:33.385742774    42   0xa3bfb0 INFO                 v4l2src
> gstv4l2src.c:961:gst_v4l2src_create:<v4l2src0> sync to 0:10:30.400000000 out
> ts 0:10:30.557956381
> 0:10:33.585610267    42   0xa3bfb0 DEBUG                v4l2src
> gstv4l2src.c:925:gst_v4l2src_create:<v4l2src0> ts: 1:05:16.523210000 now
> 1:05:16.695278946 delay 0:00:00.172068946
> 0:10:33.585754746    42   0xa3bfb0 INFO                 v4l2src
> gstv4l2src.c:961:gst_v4l2src_create:<v4l2src0> sync to 0:10:30.600000000 out
> ts 0:10:30.757941863
> 0:10:33.689999870    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 0:10:33.690498344    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 0:10:33.693825940    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 0:10:33.694079417    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 0:10:33.697968615    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 0:10:33.698261555    42   0xa3bfb0 WARN          v4l2bufferpool
> gstv4l2bufferpool.c:2066:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
> Dropping truncated buffer, this is likely a driver bug.
> 
> Is there any issue in my pipeline or is it a v4l2 driver bug?

The warning from gst is correct, it's a driver bug. But as you can see,
it has a workaround. The driver I made this workaround for is now fixed
in mainline kernel.

> 
> 
> 
> --
> 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