khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
211 stars 135 forks source link

Edge2: install custom gstreamer packages #313

Closed viraniac closed 1 month ago

viraniac commented 1 month ago

Encoding and decoding works on both 5.10 and 6.1 kernel on Noble. For jammy and bookworm, as older version of rga and mpp package is installed, mppvideodec and mpph264enc only works with 5.10 kernel.

Tested on jammy, bookworm and noble server images using following pipeline

$ gst-launch-1.0 filesrc location=~/Downloads/Big_Buck_Bunny_1080_10s_30MB.mp4 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! mpph264enc ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! kmssink plane-id=101

Tested on Noble gnome image using following pipeline

$ gst-launch-1.0 filesrc location=~/Downloads/Big_Buck_Bunny_1080_10s_30MB.mp4 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! mpph264enc ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! waylandsink