Added Makefile

This commit is contained in:
- 2025-02-18 20:48:20 -08:00
parent a2ebf77fcb
commit 26d4285637

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
ORIGINAL_SUBS=original-subs.fr.vtt
UNSYNCRONIZED=1-ere-french-raw.vtt
VIDEO=1ere-introcut.mp4
cleansubs:
python parse-subs.py $(ORIGINAL_SUBS)
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 original-subs
# omit the music
clip:
ffmpeg -ss 3:18 -i 1ere-combined.mp4 -vcodec copy -acodec copy $(VIDEO)