Publish repository. Added README and gitignore.
This commit is contained in:
parent
26d4285637
commit
521605b4cd
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.mp4
|
||||||
|
*.mkv
|
9
Makefile
9
Makefile
@ -1,14 +1,13 @@
|
|||||||
|
|
||||||
ORIGINAL_SUBS=original-subs.fr.vtt
|
ORIGINAL_SUBS=autogen-subs
|
||||||
UNSYNCRONIZED=1-ere-french-raw.vtt
|
|
||||||
VIDEO=1ere-introcut.mp4
|
VIDEO=1ere-introcut.mp4
|
||||||
|
|
||||||
cleansubs:
|
cleansubs:
|
||||||
python parse-subs.py $(ORIGINAL_SUBS)
|
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
|
# ffmpeg -i 1ere.mkv -i output.vtt -vcodec copy -acodec copy -c:s mov_text test.mp4 -y
|
||||||
|
|
||||||
getsubs:
|
getsubs:
|
||||||
yt-dlp --write-auto-subs --sub-lang=fr --skip-download https://www.youtube.com/watch?v=WRq2197FlMw -o original-subs
|
yt-dlp --write-auto-subs --sub-lang=fr --skip-download https://www.youtube.com/watch?v=WRq2197FlMw -o autogen-subs
|
||||||
|
|
||||||
# omit the music
|
# omit the music
|
||||||
clip:
|
clip:
|
||||||
|
24
README.md
Normal file
24
README.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
# laborde-visio1
|
||||||
|
|
||||||
|
This repository tracks the transcription and translation for the video conference by Stéphane Laborde *Pourquoi la monnaie libre n'est justement pas un Ponzi*. This translates to *Why Free Currency Isn't Just a Ponzi (Scheme)*.
|
||||||
|
|
||||||
|
The original video and the auto-generated captions in French can be sourced from [https://www.youtube.com/watch?v=WRq2197FlMw](https://www.youtube.com/watch?v=WRq2197FlMw).
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Run the following to download auto-generated captions from YouTube to a new file named `autogen-subs.fr.vtt`.
|
||||||
|
|
||||||
|
yt-dlp --write-auto-subs --sub-lang=fr --skip-download https://www.youtube.com/watch?v=WRq2197FlMw -o autogen-subs
|
||||||
|
|
||||||
|
Other video players such as `mpv` might not display YouTube's auto-generated captions properly. The following removes duplicates and resyncs captions.
|
||||||
|
|
||||||
|
python scripts/parse-subs.py autogen-subs.fr.vtt
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
The `Makefile` contains some reference for using `yt-dlp` and `ffmpeg` but does not function without downloading the entire video and renaming some files.
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
Stéphane Laborde is the author of [The Relative Theory of Money](https://en.trm.creationmonetaire.info/), an economic theory inspired by the free software movement which defines "monnaie libre" as the category of currencies that respects the economic agency and time of its users.
|
Loading…
x
Reference in New Issue
Block a user