this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
- install lldpctl with
apt install lldpd
this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
apt install lldpd
1. Add overlay over entire video. No extra text | |
ffmpeg -i examplecut.mp4 -i overlay.png -filter_complex "[0:v][1:v] overlay" -c:a copy output.mp4 | |
2. Add overlay over for 10 seconds in the middle (5s - 15s in this example) | |
ffmpeg -i examplecut.mp4 -i overlay.png -filter_complex "[0:v][1:v] overlay=enable='between(t,5,15)'" -c:a copy output2.mp4 | |
2b. Add overlay starting from X time until the end (X=5 in this example) |
""" | |
Convert YouTube subtitles(vtt) to human readable text. | |
Download only subtitles from YouTube with youtube-dl: | |
youtube-dl --skip-download --convert-subs vtt <video_url> | |
Note that default subtitle format provided by YouTube is ass, which is hard | |
to process with simple regex. Luckily youtube-dl can convert ass to vtt, which | |
is easier to process. |