Hello, before installing deepstream I was running a script which successfully operated on an image using VPI then sent it to an endpoint
def gstreamer_pipeline_out_mod():
return (
"appsrc ! "
"videoconvert ! "
"video/x-raw, framerate=(fraction)25/1, format=RGBA ! "
"nvvidconv ! "
"nvv4l2h264enc ! "
"h264parse ! "
"flvmux ! "
"queue leaky=downstream ! "
"rtmpsink location=rtmp://global-live.mux.com:5222/app/51bc0427-ad29-2909-4979-11ee335d2b53 sync=false")
out_stream = cv2.VideoWriter(
filename=gstreamer_pipeline_out_mod(),
apiPreference=cv2.CAP_GSTREAMER,
fourcc=0,
fps=25.0,
frameSize=(1920, 1080))
with time_it("output from CPU to mux"):
# lock GPU memory to pull out buffer
with frame1.rlock_cpu() as data:
out_stream.write(data.copy())
this works well - now after installing DeepStream the script appears to work fine but the NVENC chip does not activate and nothing is sent to our end point. If I use gstreamer CLI commands to send a test-image to the same endpoint it works as expected… Any ideas?
the following test command works fine
gst-launch-1.0 videotestsrc ! video/x-raw ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 ! h264parse ! flvmux streamable=true ! queue ! rtmpsink location='rtmp://global-live.mux.com:5222/app/51bc0427-ad29-2909-4979-11ee335d2b53'