208
edits
No edit summary |
|||
Line 651: | Line 651: | ||
perf: perf0; timestamp: 0:57:01.996847486; bps: 2696151040,000; mean_bps: 2676907287,273; fps: 119,997; mean_fps: 120,003 | perf: perf0; timestamp: 0:57:01.996847486; bps: 2696151040,000; mean_bps: 2676907287,273; fps: 119,997; mean_fps: 120,003 | ||
</pre> | </pre> | ||
=== GStreamer Examples === | |||
==== Capture and Display ==== | |||
<syntaxhighlight lang=bash> | |||
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,width=1080,height=1280,framerate=120/1,format=GRAY16_LE" ! queue ! videoconvert ! xvimagesink sync=false | |||
</syntaxhighlight> | |||
==== Video Encoding ==== | |||
<syntaxhighlight lang=bash> | |||
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,width=1080,height=1280,framerate=120/1,format=GRAY16_LE" ! queue ! videoconvert ! queue ! omxh265enc ! h265parse ! qtmux ! filesink location=out.mp4 -e | |||
</syntaxhighlight> | |||
The sensor will capture in the 1080x1280@120fps mode and the pipeline will encode the video and save it into an out.mp4 file. | |||
{{ContactUs}} | {{ContactUs}} | ||
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]][[Category:AMS]] | [[Category:Jetson]][[Category:Jetson V4L2 Drivers]][[Category:AMS]] |
edits