35
edits
Line 357: | Line 357: | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
CAPS="video/x-raw(memory:NVMM), width=(int) | CAPS="video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1" | ||
gst-launch-1.0 nvarguscamerasrc sensor-id=0 num-buffers=500 ! "video/x-raw(memory:NVMM), width=(int) | gst-launch-1.0 nvarguscamerasrc sensor-id=0 num-buffers=500 ! "video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1" ! omxh264enc ! mpegtsmux ! filesink location=test.ts | ||
</pre> | </pre> | ||
The sensor will capture in the | The sensor will capture in the 1920x1080@30fps mode and the pipeline will encode the video and save it into test.ts file. | ||
=== Performance === | === Performance === |
edits