Skip to content

Instantly share code, notes, and snippets.

@ameisehaufen
Created March 18, 2021 00:45
Show Gist options
  • Save ameisehaufen/c5ff4960b0a65a9a8d5d38571e056782 to your computer and use it in GitHub Desktop.
Save ameisehaufen/c5ff4960b0a65a9a8d5d38571e056782 to your computer and use it in GitHub Desktop.
Remove the watermark in Refaceapp Videos. You can remove zenity if you do not want graphical progress bar.
#!/usr/bin/env bash
arquivos_selecionados=( "$@" )
for filePath in "${arquivos_selecionados[@]}"; do
ffmpeg -i "$filePath" -vf "delogo=x=20:y=20:w=170:h=70" -c:a copy "nologo-$filePath" | zenity --width 500 --title "$(basename $0 .sh)" --text "Aguarde o término do processo para $filePath" --progress --pulsate --auto-close
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment