Playing around with gstreamer fails strangely

Nicolas Dufresne nicolas at ndufresne.ca
Fri May 18 18:11:34 UTC 2018


Le vendredi 18 mai 2018 à 14:07 +0200, Paolo Bolzoni a écrit :
> 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.

That's interesting, I was looking for such cases recently. Do you mind
reporting the camera model and/or the laptop model ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180518/23080cc9/attachment-0001.sig>


More information about the gstreamer-devel mailing list