add missing alpha filter on the logo

This commit is contained in:
Dominic 2023-11-02 23:48:56 +01:00
parent 164c6f9bac
commit 268c4b3af7
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -414,10 +414,16 @@ impl<'a> Renderer<'a> {
});
// overlay the logo
let logoalpha = "logoalpha";
ffmpeg.add_filter(Filter::Alpha {
input: logo.into(),
alpha: 0.5,
output: logoalpha.into()
});
let overlay = "overlay";
ffmpeg.add_filter(Filter::Overlay {
video_input: concat.into(),
overlay_input: logo.into(),
overlay_input: logoalpha.into(),
x: "main_w-overlay_w-130".into(),
y: "main_h-overlay_h-65".into(),
output: overlay.into()