Hello
I’m trying to host h264/h265 GPU encoded rtsp from my inference pipeline using nvv4l2{codec}enc/nv{codec}enc with gstreamer but unable to launch stream
so far only x264enc/x265enc plugin based pipeline is working our case
appsrc name=source is-live=true block=true format=GST_FORMAT_TIME caps=video/x-raw,format=BGR,width=1280,height=720,framerate=15/1 ! videoconvert ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency ! rtph264pay config-interval=1 name=pay0 pt=96
when we tried to run nv{codec}enc based pipeline
appsrc name=source caps=video/x-raw,format=BGR,width=1280,height=720,framerate=15/1 ! videoconvert ! video/x-raw,format=I420 ! nvvidconv ! nvh265enc ! h265parse ! rtph265pay config-interval=1 name=pay0 pt=96
we got following warnings through GST_DEBUG=3
0:00:22.479802733 1 0x7f5bcc007330 WARN rtspmedia rtsp-media.c:4623:gst_rtsp_media_suspend: media 0x7f5b60786d80 was not prepared
0:00:22.483181366 1 0x7f5bcc007330 WARN rtspstream rtsp-stream.c:5599:gst_rtsp_stream_query_position:GstRTSPStream@0x7f5b608d2df0 Couldn’t obtain postion: position query failed
when we tried to run nvv4l2{codec}enc based pipeline
appsrc name=source is-live=true block=true format=GST_FORMAT_TIME ! videoconvert ! video/x-raw(memory:NVMM),width=1280,height=720,framerate=15/1,format=NV12 ! nvv4l2h265enc ! h265parse ! rtph265pay config-interval=1 name=pay0 pt=96
we got following logs through GST_DEBUG-=3
0:00:05.423771134 1 0x7f43640082d0 WARN basesrc gstbasesrc.c:3127:gst_base_src_loop:
I would appreciate any help.
Thanks
Manish