nvgstcapture preview off

Hello,
I am recording video using nvgstcapture-1.0 using following command. It shows preview screen every time how can I hide preview screen and record videos without delay in a loop.

nvgstcapture-1.0 -A -C 100 --capture-auto --video-res=4 --capture-time=10 --mode=2 --quit-after=0 --file-name=Test

Hi,
For recording only you can run single pipeline:

$ gst-launch-1.0 nvcamerasrc num-buffers=300 ! omxh264enc ! qtmux ! filesink location=test.mp4

Hello,
I can record one 10sec video using this command but I want to record without any loss for a finite amount of time. Do you have any option in this which I can use as loop?

You can remove ‘num-buffers=300’

Below links are for your reference:

https://gstreamer.freedesktop.org/