Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:applications:hardware-decoding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:edge2:applications:hardware-decoding [2022/11/04 08:34]
frank
products:sbc:edge2:applications:hardware-decoding [2024/01/17 03:54] (current)
jacobe [Decoding]
Line 6: Line 6:
  
 ===== Decoding ===== ===== Decoding =====
 +
 +<WRAP important >
 +If encounter error, please add sudo and try again.
 +</WRAP>
  
 1. Check decoder. 1. Check decoder.
Line 24: Line 28:
  
 ```shell ```shell
-khadas@Khadas:~$ gst-launch-1.0 filesrc location=./test.h264 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! filesink location=bbb3.264+khadas@Khadas:~$ gst-launch-1.0 filesrc location=./test.h264 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! filesink location=test.yuv
 Setting pipeline to PAUSED ... Setting pipeline to PAUSED ...
 Pipeline is PREROLLING ... Pipeline is PREROLLING ...
Line 38: Line 42:
  
 ```shell ```shell
-khadas@Khadas:~$ gst-launch-1.0 filesrc location=./test.mp4 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! filesink location=bbb3.264+khadas@Khadas:~$ gst-launch-1.0 filesrc location=./test.mp4 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! filesink location=test.yuv
 Setting pipeline to PAUSED ... Setting pipeline to PAUSED ...
 Pipeline is PREROLLING ... Pipeline is PREROLLING ...
Last modified: 2022/11/04 08:34 by frank