add missing alpha filter on the logo
This commit is contained in:
parent
164c6f9bac
commit
268c4b3af7
1 changed files with 7 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue