Capturing a video MP4 from Xavier AGX direct sensor (RAW)

Hi , i know this is marked solved but i tried it out what @DaneLLL wrote .
How can i capture MP4 from a sensor that does not have the H264 encoder ?

gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! omxh264enc ! qtmux ! filesink location=test.mp4 -e "

HEre is my error message
WARNING: erroneous pipeline: could not link nvarguscamerasrc0 to omxh264enc-omxh264enc0, nvarguscamerasrc0 can’t handle caps video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1

Hi,
Please try

gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1' ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=test.mp4 -e "

WOW - finally …
works like a charm .
Thanks for the great support 👍

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.