ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
v4l2loopback (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Running on Ubuntu 18.04LTS
Have installed the v4l2loopback package and loaded the module. The virtual device appears as /dev/video5
I attempt to use v4l2loopback-ctl to set the caps:
v4l2loopback-ctl set-caps "video/
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.012052448 9986 0x55637bab2f70 WARN basesrc gstbasesrc.
0:00:00.012064227 9986 0x55637bab2f70 WARN basesrc gstbasesrc.
ERROR: from element /GstPipeline:
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
output to /dev/video5 failed
In addition, I try and test the virtual device using the following command:
gst-launch-1.0 -v v4l2src device=/dev/video5 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.013335959 10118 0x555ee587ee30 WARN basesrc gstbasesrc.
0:00:00.013361241 10118 0x555ee587ee30 WARN basesrc gstbasesrc.
New clock: GstSystemClock
ERROR: from element /GstPipeline:
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000044023
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Finally, I try and pipe my webcam to the virtual device using the following command:
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.082811522 10388 0x561d32c92680 WARN basesrc gstbasesrc.
0:00:00.082833186 10388 0x561d32c92680 WARN basesrc gstbasesrc.
ERROR: from element /GstPipeline:
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000389218
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
I'm guessing there is something I've either not set correctly or there is a bug in this package. I've run with a higher debug level and I get the following:
0:00:00.090301723 10454 0x556e6bd34280 INFO v4l2 gstv4l2object.
0:00:00.090307845 10454 0x556e6bd34280 INFO v4l2 gstv4l2object.
0:00:00.090319527 10454 0x556e6bd34280 WARN basesrc gstbasesrc.
0:00:00.090324467 10454 0x556e6bd34280 WARN basesrc gstbasesrc.
0:00:00.090335684 10454 0x556e6bd34280 INFO GST_ERROR_SYSTEM gstelement.
0:00:00.090354457 10454 0x556e6bd34280 INFO GST_ERROR_SYSTEM gstelement.
ERROR: from element /GstPipeline:
Status changed to 'Confirmed' because the bug affects multiple users.