Gstreamer pipeline for v4l2src on Nvidia platform

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer pipeline for v4l2src on Nvidia platform

Clément VIEL
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 !

Regards !


--
----
Clement Viel
Tel : +33688431961
-----
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer pipeline for v4l2src on Nvidia platform

Nicolas Dufresne-5
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment