video watermark removal
1.0.0
最小限のセットアップで動画から静的透かしを削除します。
本当に基本的ですが、単純な静的透かしには十分に機能し、ラップトップCPU(I5-5287U(2015 MacBook Pro)のX3リアルタイム、I5-8400でX9リアルタイム)で実行できます。ここでどのように行われているかについて簡単な説明を見つけることができます。
依存関係:
# 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
使用法:
# 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]
MacOS 10.14(X86)、MacOS 14.4(ARM)およびUbuntu 20.04でテスト