Difference between revisions of "NVIDIA Jetson Orin/GStreamer Pipelines/H265"

From RidgeRun Developer Connection
Jump to: navigation, search
(gst-V4L2)
(gst-V4L2)
Line 47: Line 47:
 
===gst-V4L2===
 
===gst-V4L2===
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
FILE=filename.mp4
+
FILE=/tmp/filename.mp4
 
gst-launch-1.0 filesrc location=$FILE ! qtdemux ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e
 
gst-launch-1.0 filesrc location=$FILE ! qtdemux ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 61: Line 61:
 
|-
 
|-
 
| 0 (max performance)
 
| 0 (max performance)
| 17.5
+
| 13.83
| 23.53
+
| 26.23
| 20.2
+
| 36
 
| 31.66
 
| 31.66
 
|-
 
|-
 
| 1 (min power)
 
| 1 (min power)
| 44.6
+
| 23.77
| 15.57
+
| 15.1
| 60.1
+
| 57.6
 
| 24.77
 
| 24.77
 
|-
 
|-
| 2 (default)
+
| 2 (30W)
| 8.07
+
| 25.83
| 1.9
+
| 2.4
| 1.47
+
| 59.8
 
| 24.87
 
| 24.87
 
|}
 
|}

Revision as of 13:15, 24 May 2022



Previous: GStreamer Pipelines/H264 Index Next: GStreamer Pipelines/VP9


Nvidia-preferred-partner-badge-rgb-for-screen.png




The information about the camera used and how the performance metrics are measured is explained in the following link Capture and Display.

H265 encoding

gst-V4L2

FILE=/tmp/filename.mp4
gst-launch-1.0 v4l2src ! video/x-raw, width=1280, height=720, framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),  format=NV12' ! nvv4l2h265enc bitrate=8000000 ! video/x-h265, stream-format=byte-stream ! h265parse ! qtmux ! filesink location=$FILE -ve

Performance:

Operation Mode CPU% GPU1% GPU2% FPS
0 (max performance, default) 11.77 0 0 30.01
1 (min power) 24.5 0 0 30.01
2 (30W) 13.87 0 0 30.01

H265 decoding

gst-V4L2

FILE=/tmp/filename.mp4
gst-launch-1.0 filesrc location=$FILE ! qtdemux ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e

Performance:

Operation Mode CPU% GPU1% GPU2% FPS
0 (max performance) 13.83 26.23 36 31.66
1 (min power) 23.77 15.1 57.6 24.77
2 (30W) 25.83 2.4 59.8 24.87



Previous: GStreamer Pipelines/H264 Index Next: GStreamer Pipelines/VP9