How to record a video in orin nano since there ie no encoder present in it

Hi team

I am using an Orin nano device, and when i try to record the camera feed using the pipelines i used before it was getting failed and then i have tried to record it with Argus_camera binary it is also failing.

Then i observed this in the data sheet that we need to use cpu cores to encode the stream

image

Does any one have a pipeline or tool that will help me to record video in Orin nano. The raw dumping is working also i am able to capture images using Argus but video recording is not working.

With gstreamer, you may be able to use x264enc CPU encoder:

gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! x264enc ! h264parse ! matroskamux ! filesink location=test_480p_30_h264.mkv -e

# Stop after 10s with Ctrl-C once

# Play back
gst-play-1.0 test_480p_30_h264.mkv 

If using argus:

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! x264enc ! h264parse ! matroskamux ! filesink location=test_nvarguscamera_h264.mkv -e

# Stop after 10s with Ctrl-C once

# Play back
gst-play-1.0 test_nvarguscamera_h264.mkv 
1 Like

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