Re: v4l2src error: Video device did not suggest any buffer size
Le vendredi 01 septembre 2017 à 05:50 -0700, Raya a écrit :
> I have this pipeline:
> gst-launch-1.0 -v v4l2src ! videoconvert !
> video/x-raw,format=I420,width=1280,height=720 ! x264enc ! h264parse !
> video/x-h264,stream-format=byte-stream,alignment=au ! filesink
> When I launch it I get the following error:
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Video
> did not suggest any buffer size.
> I searched over the internet but I could not find much information.
> Could you please explain what it does refer to and how can I fix it ?
It indicates that your driver didn't provide a sizeimage (see through
VIDIOC_S_FTM). Fix your driver and this error will go away. Code to
watch when debugging the driver: