video watermark removal
1.0.0
Retire las marcas de agua estáticas de los videos con una configuración mínima.
Realmente básico, pero funciona lo suficientemente bien para marcas de agua estáticas simples, y puede ejecutarse en una CPU portátil (x3 en tiempo real en un i5-5287U (2015 MacBook Pro), X9 en tiempo real en un i5-8400). Puede encontrar breves explicaciones sobre cómo se hace aquí.
Dependencias:
# FFMPEG
installer= $( [[ $( uname ) == " Darwin " ]] && echo brew || echo apt )
$installer install ffmpeg
# Python libraries
python3 -m pip install numpy scipy imageio
# Optional, to fetch an example video
# if already installed, make sure youtube-dl is up to date
$installer install youtube-dl
Uso:
# The output will default to append "_cleaned" to the existing name,
# and use max 50 keyframes
./remove_watermark.sh /somewhere/my_video.mp4 [/somewhere/output.mp4] [max_keyframes_to_extract]
Probado en macOS 10.14 (x86), macOS 14.4 (brazo) y ubuntu 20.04