Jump to content

Sony IMX327 Linux Driver: Difference between revisions

Line 357: Line 357:


<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
CAPS="video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, format=(string)NV12, framerate=(fraction)30/1"
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)3840, height=(int)2160, format=(string)NV12, framerate=(fraction)30/1" ! omxh264enc ! mpegtsmux ! filesink location=test.ts
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 3840x2160@30 mode and the pipeline will encode the video and save it into test.ts file.
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 ===
35

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.