Hi!
I’m trying to stream a h265 compressed stream over the network with the help of pylon,srt and gstreamer however im having some problems with my pipeline. The problem is that i want to feed the image straight to the gpus memmory but as soon as i does that half of the screen goes green.
I’m trying to use the colourformat YUY2 as this is the only one that both the camera(and pylonsrc) and nvvidconv(to get it to nv12 format for h265 encoding).
The pipelines i have tried are the following:
The one i want to work but gets half a screen
gst-launch-1.0 videotestsrc ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=YUY2’! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=(string)NV12’ ! nvv4l2h265enc bitrate=2000000 ! h265parse ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e
this one works since it goes to primary memory first
gst-launch-1.0 pylonsrc width=1920 height=1080 ! ‘video/x-raw, width=1920, height=1080, framerate=30/1, format=YUY2’! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=(string)NV12’ ! nvv4l2h265enc bitrate=2000000 ! h265parse ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e
This one also works
gst-launch-1.0 videotestsrc ! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=YUY2’! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=(string)NV12’ ! nvv4l2h265enc bitrate=2000000 ! h265parse ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e