Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson nano)
• DeepStream Version 5.0
• JetPack Version (4.3)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( nvstreammux)
My gst-command is like this:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 bufapi-version=1 ! “video/x-raw(memory:NVMM), width=3264, height=2464, format=NV12, framerate=21/1” ! videorate ! “video/x-raw(memory:NVMM), framerate=(fraction)18/1” ! m.sink_0 nvstreammux name=m live-source=1 width=640 height=360 batch-size=1 batched-push-timeout=40000 ! videorate max-rate=1 drop-only=1 ! ‘video/x-raw(memory:NVMM), framerate=1/1’ ! nvmultistreamtiler rows=1 columns=1 width=640 height=360 ! nvvideoconvert ! nvdsosd display-clock=1 x-clock-offset=10 y-clock-offset=10 clock-font-size=20 ! tee ! queue ! nvegltransform ! nveglglessink sync=0 qos=0
and I use python-deepstream to build this pipeline(
pipetest.py (6.8 KB)
).
Pipeline can run, and I want to change videorate 18 to 5 after pipeline play.
In my sample code, I try to change “videorate” in another thread.
Strange thing is, I can change first videorate element property(before nvstreammux element) and no error. But I got “segmentation fault” error when I changed second videorate element property(after nvstreammux element).
My question is: How to change videorate after nvstreammux element in realtime?