Use watermark image while watermarking!
The filter does not seem to actually use the watermark (image path). This update fixes the functionality.
This commit is contained in:
parent
0599ff4def
commit
95fa854c3e
1 changed files with 1 additions and 1 deletions
|
|
@ -70,6 +70,6 @@ class WatermarkFilter implements VideoFilterInterface
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return array('-vf', sprintf('overlay %s:%s', $x, $y));
|
return array('-vf', sprintf('movie=%s [watermark]; [in][watermark] overlay=%s:%s [out]', $this->watermarkPath, $x, $y));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue