laborde-visio1/Makefile

15 lines
430 B
Makefile

ORIGINAL_SUBS=autogen-subs
VIDEO=1ere-introcut.mp4
cleansubs:
python scripts/parse-subs.py $(ORIGINAL_SUBS).fr.vtt
# ffmpeg -i 1ere.mkv -i output.vtt -vcodec copy -acodec copy -c:s mov_text test.mp4 -y
getsubs:
yt-dlp --write-auto-subs --sub-lang=fr --skip-download https://www.youtube.com/watch?v=WRq2197FlMw -o autogen-subs
# omit the music
clip:
ffmpeg -ss 3:18 -i 1ere-combined.mp4 -vcodec copy -acodec copy $(VIDEO)