Casting data from v4l2src
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Mar 22 14:17:31 UTC 2017
Le mercredi 22 mars 2017 à 08:57 +0100, Kristoffer Koch a écrit :
> Thanks, but it seems to be generating the same error:
>
> gst-launch-1.0 v4l2src device=/dev/video0 ! videoparse format=xrgb
> width=3456 height=2592 ! xvimagesink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2948): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 0:00:00.000467417
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> (I also tried with a videoconvert after videoparse).
>
> I'm a bit stuck here, so any help is appreciated.
First, enable some more debugging, e.g. env GST_DEBUG=2 or something.
Second, you have dropped the caps filter before videoparse. I have no
idea what videparse will reply in the caps queries. Normally, with
videoparse, you save to a file, and then you use filesrc and parse.
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170322/fcc0097b/attachment.sig>
More information about the gstreamer-devel
mailing list