Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) RTX-3060
• DeepStream Version 6.3
My Python pipeline has multiple RTSP source, I am trying to save the stream into10-10min long videos (without overwriting previous videos)
I found
Please provide complete information as applicable to your setup.
• Hardware Platform DGPU
• DeepStream Version 6.0.1
• NVIDIA GPU Driver Version 510.85.02
• Issue Type( questions, new requirements, bugs)
I got this error, while changing filesink location in probe function.
** (python3:28641): WARNING **: 14:24:50.878: Changing the `location’ property on filesink when a file is open is not supported.
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the…
and
• Hardware Platform (Jetson / GPU) Jetson Xavier NX
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only) 4.6
• TensorRT Version 8.0.1-1
Hi, is there a way i can save video divided into 10 minutes?
I am using sink to store video right now and it saves the full video from starting the deepstream to the end.
However I want to save them to 10 minutes length videos, not in one full video.
please let me know if there is a guideline, manual, or reference where I can have a more det…
but I am having hard time understanding how to change file name every 10 min using “format-location-full” signal.
How to trigger the Signal?
What callback function should I write to change the filename ?
yuweiw
August 13, 2024, 1:49am
3
About how to use the “format-location-full”, you can refer to the official demo of Gstreamer splitmuxsink.c . For more details, you can also file a topic in the Gstreamer forum . Thanks
hwang4
August 13, 2024, 6:51pm
4
FYI:
In your pipeline init script, you should have something like this:
file_sink = pipeline.create_element("splitmuxsink", "vs_filesink")
file_sink.connect("format-location",name_new_file)
file_sink.set_property('max-size-time',600*1000_000_000)
Then in the callback function:
def name_new_file(splitmuxsink, id):
utc_now=datetime.now()
day_folder=Path(video_path)/utc_now.strftime("%Y%m%d")
day_folder.mkdir(parents=True, exist_ok=True)
clip_path = (day_folder/utc_now.strftime("%Y%m%d_%H%M%S.mp4")).resolve()
logging.info(f"new video clip: {clip_path}")
return clip_path
1 Like
system
Closed
August 27, 2024, 6:52pm
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.