Extract image for recording

How can I save video rather than displaying in deepstream?

Please provide your platform and software information with template:

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)

If you want to save video file, you can replace the “->nvegltransform->nveglglessink” part with “->nvv4l2h264enc->filemux->filesink”(filemux can be “qtmux” for mp4 file or “matroskamux” for mkv file) in your pipeline.

Please refer to deepstream-app sample codes.

I am using AGX Xavier. Deepstream 5.0 and Jetpack 4.4. TensorRT5.0. Cuda5.0.
I am following deepstream-test3 application sample and like to save video inside the application. Thanks.

You need to modify deepstream-test3 code.
replace the “->nvegltransform->nveglglessink” part with “->nvv4l2h264enc->filemux->filesink”(filemux can be “qtmux” for mp4 file or “matroskamux” for mkv file) in your pipeline.

Please refer to deepstream-app sample codes.