How to save video?

I am using deepstream3. How I can save the video while running deepstream-app? Must I write a plugin?

Hi,
Please try to enable sink1 in source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

[sink1]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4
codec=1
sync=0
bitrate=2000000
output-file=out.mp4
source-id=0

Hey , I plan to use sink to save CCTV camera files, will it be possible to

  1. save data in chunks of 15 minute recordings.
  2. Use gst-crypto with pipeline to encode and save the same data.

Thanks in advance.

Hi hrsht.sarma,

Please open a new topic for your issue. Thanks

Done To save videos using deepstream

any update on this?