Playing around with gstreamer fails strangely

Paolo Bolzoni paolo.bolzoni.brown at gmail.com
Fri May 18 12:07:44 UTC 2018


On Fri, May 18, 2018 at 11:45 AM, Vinod Kesti <vinodkesti at yahoo.com> wrote:
> Can you  prove debug logs of the pipeline
>
> gst-launch-1.0 videotestsrc !  videoconvert   ! v4l2sink device=/dev/video1
> --gst-debug=2

I am not sure how informative it is, but here it is:

% gst-launch-1.0 videotestsrc !  videoconvert   ! v4l2sink
device=/dev/video1 --gst-debug=3

                :(
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.024352275  9163 0x56274ab94d40 FIXME                default
gstutils.c:3963:gst_pad_create_stream_id_internal:<videotestsrc0:src>
Creating random stream-id, consider implementing a deterministic way
of creating a stream-id
0:00:00.024924622  9163 0x56274ab94d40 WARN                 basesrc
gstbasesrc.c:3055:gst_base_src_loop:<videotestsrc0> error: Internal
data stream error.
0:00:00.024933407  9163 0x56274ab94d40 WARN                 basesrc
gstbasesrc.c:3055:gst_base_src_loop:<videotestsrc0> error: streaming
stopped, reason not-negotiated (-4)
ERROR: from element
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data
stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...



On Fri, May 18, 2018 at 1:02 PM, Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
> V4L2loopback is very buggy, and causes random failures. This has been
> reported, but no fixes has been made.

I see, and I guess there are no alternatives to have a simple
controllable webcam?

My use case is that for some reasons few programs see my webcam
vertically flipped, so I would like to have a "normal" one and a
"flipped" one (via videoflip method=vertical-flip) so depending on the
program I can use the one I need.


More information about the gstreamer-devel mailing list