Stream the processed frames with h.264 encoding

Hi NVIDIA team,

I am getting the video stream from camera and I am running the detection algorithm on the incoming frames.Once the inference is done,I have to stream these frames with h.264 encoding to another system.How can I proceed?

Please check the documentation here https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%20Development%20Guide%2Fdeepstream_quick_start.html

You’ll find an explanation of the config groups for deepstream-app.

Here’s an example for re-streaming as rtsp (h264 codec):

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=4
codec=1
sync=0
source-id=0
gpu-id=0
bitrate=4000000
nvbuf-memory-type=0
udp-port=5400
rtsp-port=8554

To see how its done in your own code you can check the code of deepstream-app.