Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jetson nano • DeepStream Version 5.1 • JetPack Version (valid for Jetson only) 4.5.1 • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs) • 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( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
my camera uri:rtsp://admin:123456@192.168.123.10:554/h264/ch1/main/av_stream
Hello there,I need help! I can watch video by python app test_3,but I want to save videos witch I see
Anybody can give help?
Thanks advance!
Thanks DaneLLL!
but I still have problem with here,how can I modify this?
On the 292 line code:
print(“Creating EGLSink \n”)
sink = Gst.ElementFactory.make(“nveglglessink”, “nvvideo-renderer”)
if not sink:
sys.stderr.write(" Unable to create egl sink \n")
if is_live:
print("Atleast one of the sources is live")
streammux.set_property('live-source', 1)
streammux.set_property('width', 1920)
streammux.set_property('height', 1080)
streammux.set_property('batch-size', number_sources)
streammux.set_property('batched-push-timeout', 4000000)
pgie.set_property('config-file-path', "dstest3_pgie_config.txt")
pgie_batch_size=pgie.get_property("batch-size")
if(pgie_batch_size != number_sources):
print("WARNING: Overriding infer-config batch-size",pgie_batch_size," with number of sources ", number_sources," \n")
pgie.set_property("batch-size",number_sources)
tiler_rows=int(math.sqrt(number_sources))
tiler_columns=int(math.ceil((1.0*number_sources)/tiler_rows))
tiler.set_property("rows",tiler_rows)
tiler.set_property("columns",tiler_columns)
tiler.set_property("width", TILED_OUTPUT_WIDTH)
tiler.set_property("height", TILED_OUTPUT_HEIGHT)
sink.set_property("qos",0)
print("Adding elements to Pipeline \n")
pipeline.add(pgie)
pipeline.add(tiler)
pipeline.add(nvvidconv)
pipeline.add(nvosd)
if is_aarch64():
pipeline.add(transform)
pipeline.add(sink)
print("Linking elements in the Pipeline \n")
streammux.link(queue1)
queue1.link(pgie)
pgie.link(queue2)
queue2.link(tiler)
tiler.link(queue3)
queue3.link(nvvidconv)
nvvidconv.link(queue4)
queue4.link(nvosd)
the path of .py file : /opt/nvidia/deepstream/deepstream-5.1/sources/deepstream_python_apps/apps/deepstream-test3/deepstream_test_3.py
btw, I can achieve function which can save video file by deepstream aplication << cd /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app
Thanks DaneLLL!
With your help I am more clear about it
can you give me a command use gst-launch to achieve this function?(I am failed)
such as << gst-launch-1.0 -v rtspsrc location=rtsp://admin:123456@192.168.123.20:554/h265/ch1/main/av_stream ! queue ! nvvidconv ! nvv4l2h264enc ! filesink location=‘22.mp4’ >>
I would like thank you for many years!!!
Looking forward your reply!