Difference between revisions of "JetsonTX2/GStreamer/Jetpack4.2+/Decoding"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{JetsonTX2/Head|next=|previous=|keywords=}}
+
{{JetsonTX2/Head|next=|previous=|keywords=H.264,V4L2,H.265,V4L2,VP9,decoding,H.264 decoding,H.265 decoding,VP9 decoding}}
 
</noinclude>
 
</noinclude>
 +
 +
{{DISPLAYTITLE: Jetson TX2 Jetpack4.2+ GStreamer decoding pipelines|noerror}}
  
 
<table>
 
<table>
 
<tr>
 
<tr>
<td><div style="width:100%;padding-left:20px;overflow-y:scroll;">__TOC__</div>
+
<td><div class="clear; float:right">__TOC__</div></td>
</td>
 
 
<td valign=top>
 
<td valign=top>
<center>
+
{{GStreamer debug}}
{{Debug Symbol}}<span style="background:#E5CCFF;font-size:10pt"> Problems running the pipelines shown on this page? Please see our [http://developer.ridgerun.com/wiki/index.php?title=GStreamer_Debugging '''GStreamer Debugging guide''']for help.</span>
 
</center>
 
 
</td>
 
</td>
 
</table>
 
</table>
  
=H.264=
+
==H.264==
  
== OMX ==
+
=== OMX ===
  
=== File Decoder ===
+
==== File Decoder ====
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
FILE=filename.mp4
 
FILE=filename.mp4
Line 32: Line 31:
 
|}
 
|}
  
==V4L2==
+
===V4L2===
  
=== File Decoder ===
+
==== File Decoder ====
  
<pre style='background-color:yellow'>
+
<pre style='background-color:khaki'>
 
NOTE:
 
NOTE:
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  
Line 52: Line 51:
 
|}
 
|}
  
=H.265=
+
==H.265==
  
== OMX ==
+
=== OMX ===
  
=== File Decoder ===
+
==== File Decoder ====
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
FILE=filename.mp4
 
FILE=filename.mp4
Line 70: Line 69:
 
|}
 
|}
  
==V4L2==
+
===V4L2===
  
=== File Decoder ===
+
==== File Decoder ====
  
<pre style='background-color:yellow'>
+
<pre style='background-color:khaki'>
 
NOTE:
 
NOTE:
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  
Line 92: Line 91:
 
|}
 
|}
  
=VP9=
+
==VP9==
  
== OMX ==
+
=== OMX ===
  
=== File Decoder ===
+
==== File Decoder ====
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
FILE=filename.mkv
 
FILE=filename.mkv
Line 110: Line 109:
 
|}
 
|}
  
==V4L2==
+
===V4L2===
  
=== File Decoder ===
+
==== File Decoder ====
<pre style='background-color:yellow'>
+
<pre style='background-color:khaki'>
 
NOTE:
 
NOTE:
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  
 
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported.  

Latest revision as of 12:17, 7 September 2020



  Index  






Error something wrong.jpg Problems running the pipelines shown on this page?
Please see our GStreamer Debugging guide for help.

H.264

OMX

File Decoder

FILE=filename.mp4
gst-launch-1.0 filesrc location=$FILE ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nvoverlaysink -e

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
19.625 15.68 18.56 18.5 18.09 41.81

V4L2

File Decoder

NOTE:
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported. 
FILE=filename.mp4
gst-launch-1.0 filesrc location=$FILE ! qtdemux ! queue ! h264parse ! nvv4l2decoder ! nv3dsink -e

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
20 22.07 20 17.5 19.89 50.28

H.265

OMX

File Decoder

FILE=filename.mp4
gst-launch-1.0 filesrc location=$FILE ! qtdemux name=demux demux.video_0 ! queue ! h265parse ! omxh265dec ! nvoverlaysink -e

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
9.5 6.8 6.7 6.8 7.45 2.42

V4L2

File Decoder

NOTE:
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported. 
FILE=filename.mp4
gst-launch-1.0 filesrc location=$FILE ! qtdemux ! queue ! h265parse ! nvv4l2decoder ! nv3dsink -e

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
19.2 16.55 15.9 17.45 17.27 40

VP9

OMX

File Decoder

FILE=filename.mkv
gst-launch-1.0 filesrc location=$FILE ! matroskademux name=demux demux.video_0 ! queue ! omxvp9dec ! nvoverlaysink

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
8.1 5.47 7.57 6.78 6.98 5.05

V4L2

File Decoder

NOTE:
For Jetpack 4.2, the nvv4l2decoder plugin reports in its capabilities that it supports several formats. However, after some testing, it was noticed that only NV12 is supported. 
FILE=filename.mkv
gst-launch-1.0 filesrc location=$FILE ! matroskademux ! queue ! nvv4l2decoder ! nv3dsink -e

Performance:

CPU 0 CPU 1 CPU 2 CPU 3 Average CPU GPU
19.43 17.25 14.93 17.06 17.16 45.25


  Index