From 4947e9be6edd1498e1ca31f9a09a5eaed0dcb6c7 Mon Sep 17 00:00:00 2001 From: RatatouilleDummie Date: Mon, 23 Jan 2023 01:22:32 +0000 Subject: [PATCH 1/3] recipe: Add Hardware Video Acceleration drivers VA-API drivers are essentials for providing Hardware Acceleration video encoding/decoding capabilities, VAAPI can increase final users experience in video tasks, some: Video-editing, Video-transcoding, Streaming or Recording. --- recipe.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/recipe.json b/recipe.json index ecf33cee..29a8d7fb 100644 --- a/recipe.json +++ b/recipe.json @@ -474,6 +474,28 @@ } ] }, + "vaapi-drivers": { + "template": "yes-no", + "icon": "video-display-symbolic", + "title": "Hardware Video Acceleration Drivers", + "description": "Choose whether to install VAAPI drivers.", + "buttons": { + "yes": "Install", + "no": "Skip", + "info": { + "type": "text", + "title": "About VAAPI drivers", + "text": "Install VAAPI drivers that providing hardware accelerated decoding/encoding capabilities." + } + }, + "final": [ + { + "if": "vaapi-drivers", + "type": "command", + "commands": ["apt install -y nvidia-vaapi-driver i965-va-driver-shaders intel-media-va-driver-non-free"] + } + ] + }, "extra": { "template": "preferences", "icon": "dialog-warning-symbolic", From 94b71c7edd9f13c52980d61df58ede9968609d37 Mon Sep 17 00:00:00 2001 From: RatatouilleDummie <96356536+Ratatouilledummie@users.noreply.github.com> Date: Mon, 23 Jan 2023 02:28:04 +0000 Subject: [PATCH 2/3] recipe: install gstreamer vaapi plugins too --- recipe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.json b/recipe.json index 29a8d7fb..10b09cad 100644 --- a/recipe.json +++ b/recipe.json @@ -492,7 +492,7 @@ { "if": "vaapi-drivers", "type": "command", - "commands": ["apt install -y nvidia-vaapi-driver i965-va-driver-shaders intel-media-va-driver-non-free"] + "commands": ["apt install -y nvidia-vaapi-driver i965-va-driver-shaders intel-media-va-driver-non-free gstreamer1.0-vaapi"] } ] }, From 79ec31c33522740dcbd0838fc559be4f1ecfa78a Mon Sep 17 00:00:00 2001 From: RatatouilleDummie <96356536+Ratatouilledummie@users.noreply.github.com> Date: Tue, 24 Jan 2023 20:40:40 +0000 Subject: [PATCH 3/3] recipe: use va-driver-all instead specific packages Co-authored-by: K.B.Dharun Krishna --- recipe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.json b/recipe.json index 10b09cad..61153348 100644 --- a/recipe.json +++ b/recipe.json @@ -492,7 +492,7 @@ { "if": "vaapi-drivers", "type": "command", - "commands": ["apt install -y nvidia-vaapi-driver i965-va-driver-shaders intel-media-va-driver-non-free gstreamer1.0-vaapi"] + "commands": ["apt install -y nvidia-vaapi-driver va-driver-all gstreamer1.0-vaapi"] } ] },