From a003850614d6c1fe20479c197101c83c7ac611f3 Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Tue, 16 Dec 2025 16:06:37 +0100 Subject: [PATCH] fix: Disable film grain synthesis in ffmpeg for Vulkan AV1 Disable film grain synthesis for Vulkan AV1 decoding by default as it is not mandatory. --- fluster/decoders/ffmpeg.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fluster/decoders/ffmpeg.py b/fluster/decoders/ffmpeg.py index 1e6f9c28..a5d6c3b7 100644 --- a/fluster/decoders/ffmpeg.py +++ b/fluster/decoders/ffmpeg.py @@ -99,6 +99,10 @@ def decode( elif self.ffmpeg_codec: command.extend(["-codec", self.ffmpeg_codec]) + # Disable film grain synthesis for Vulkan AV1 decoding as it is not mandatory. + if self.codec == Codec.AV1 and self.api == "Vulkan": + command.extend(["-export_side_data", "film_grain"]) + # Input file command.extend(["-i", input_filepath])