llimllib / ytgif

Create a gif from a youtube video with subtitles enabled, using yt-dlp and ffmpeg
MIT License
53 stars 1 forks source link

youtube subtitles seem busted #16

Open llimllib opened 1 year ago

llimllib commented 1 year ago

This invocation from the docs doesn't seem to be working:

ytgif -start 1:02 -finish 1:10.9 -fps 10 \
    "https://www.youtube.com/watch?v=ixljWVyPby0" airplane.gif

why?

llimllib commented 1 year ago

youtube is actually just serving a really weird, wrong, subtitle file for that video. I can see the busted subtitles even when watching the video on youtube.com

llimllib commented 1 year ago

Here's another case where they fail:

./ytgif.bash -start 27 -finish 46 'https://www.youtube.com/watch?v=hZ7Pn8asyw8' redeem.gif