Add overlay for 720p streams
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a2bd15b768
commit
7a8aa6a4d7
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Logo to generate overlay from was not specified."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DIR="$(dirname "$(which "$0")")"
|
||||
|
||||
export LOGO_URL="file://$DIR/logoGen/$1.svg"
|
||||
envsubst < "$DIR/overlay720.svg" > overlay720.tmp.svg
|
||||
|
||||
inkscape -o overlay720.png overlay720.tmp.svg
|
||||
rm overlay720.tmp.svg
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">
|
||||
<image xlink:href="$LOGO_URL" x="1280" y="30" width="120" height="120" transform="translate(-150)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 271 B |
Loading…
Reference in New Issue