932
edits
m (Jcruz moved page Jetson Nano/Gstreamer/Example Pipelines/H264 to Jetson Nano/Gstreamer/Example Pipelines/Encoding) |
No edit summary |
||
Line 2: | Line 2: | ||
{{JetsonNano/Head}} | {{JetsonNano/Head}} | ||
</noinclude> | </noinclude> | ||
{{DISPLAYTITLE:Jetson Nano- | {{DISPLAYTITLE:Jetson Nano- GStreamer Encoding Pipelines |noerror}} | ||
== OMX == | == OMX == | ||
Line 18: | Line 18: | ||
==V4L2== | ==V4L2== | ||
=== H264 Encoding === | === H264 Encoding from Camera === | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
Line 25: | Line 25: | ||
</pre> | </pre> | ||
=== Dual H264 Encoding === | === Dual H264 Encoding from Camera === | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
Line 31: | Line 31: | ||
FILE_B=filenameB.mp4 | FILE_B=filenameB.mp4 | ||
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! tee name=streams streams. ! omxh264enc bitrate=8000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink location=$FILE_A streams. ! omxh264enc bitrate=8000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink location=$FILE_B | gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! tee name=streams streams. ! omxh264enc bitrate=8000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink location=$FILE_A streams. ! omxh264enc bitrate=8000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink location=$FILE_B | ||
</pre> | </pre> | ||
edits