Recording nvgstiva-app output on Jetson TX2

I am trying to use the follwoing to record video output of the sample app in DeepStream SDK on Jetson TX2:

gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=(string)au,format=(string)I420,framerate=(fraction)25/1,pixel-aspect-ratio=(fraction)1/1' ! omxh264enc ! 'video/x-h264,stream-format=(string)byte-stream' ! filesink location="test.h264" -e

Unfortunately, it records everything BUT the output of the app, I haven’t looked deeply into the app, but since it’s a GST pipeline it makes sense that its output is a different source.

Any “quick-and-dirty” hacks to be able to capture this output? or record it to an output file?

Hi fierval,

You can change the configs to record the output file.
Change below items in configs:


Nice! Thank you.