Gstreamer pipeline for v4l2src on Nvidia platform

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jun 26 18:39:11 UTC 2019


Le mercredi 26 juin 2019 à 11:35 +0200, Clément VIEL a écrit :
> Hi all,
> 
> I am working on setting up a dual capture with 2 IMX219 cameras on a
> hardware setup based on Nvidia Jetson TX2 + J100 and M100 carrier
> boards from Auvidea.
> We are using gstreamer-1.8 with a patch from Ridgerun which supports
> the RG10 format.
> Using this pipeline
> 
> gst-launch-1.0 nvcamerasrc sensor-id=0 fpsRange="30 30" !
> 'video/x-raw(memory:NVMM), width=(int)1640, height=(int)1232,
> format=(string)I420, framerate=(fraction)30/1' ! nvegltransform !
> nveglglessink nvcamerasrc sensor-id=1 fpsRange="30 30" !
> 'video/x-raw(memory:NVMM), width=(int)1640, height=(int)1232,
> format=(string)I420, framerate=(fraction)30/1' ! nvegltransform !
> nveglglessink -e
> 
> We are able to see the stream from the 2 IMX219 but we sometimes have
> a green picture as output or a freeze when the capture last too much
> time. We think this is related to nvcamera-daemon and so nvcamerasrc.
> We would like to change source and use v4l2src but we cannot seem to
> find a correct pipeline. Even with Ridgerun instructions...
> 
> FYI : we are Gstreamer newbies. We are asking for a pipeline but more
> important, to understand how it works !

NVidia camera driver isn't a proper V4L2 device (it does not follow the
V4L2 spec). So it's not possible to swap nvcamerasrc with that. You'll
have to follow up with the vendor on this as nothing of that is Open
Source, hence it really hard for the community to help on that.

regards,
Nicolas
-------------- 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/20190626/2babcd1f/attachment.sig>


More information about the gstreamer-devel mailing list