The thumbnail image is a screenshot from a Youtube video, for a song. the lyrics in gold color are Youtube closed captions, they look cool and stylish right? This is common in videos of 4K scaled anime openings. Can I get these offline? I know I can download videos using yt-dlp, and include subtitles in the container using the --embed-subs flag, I think you can also download subtitle files in vtt extension, but VLC can’t read them I think.

I didn’t include a link cuz it might become a hustle for dbzer0, but since some are asking here you go: https://www.youtube.com/watch?v=CXzoiiZo5LA
https://www.youtube.com/watch?v=StLX4kITjWU

there were better ones (Kaguya-sama openings) but I can’t find them anymore on Youtube, stupid copyrights, thus my obsession of hoarding what I like

  • jlow (he/him)@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Maybe check other players if they can display them correctly? Not sure if mpv can butt that’s what I’d try first.

    • zaknenou@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      tried MPV since I’m on ubuntu, yeah it displayed the subtitles when I imported them (after downloading as vtt files). certainly better than VLC, but the effects and colors and exact position are not there. I think the position might be easy to adjust, but the other things no idea.

  • Da Bald Eagul@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Are these the web based captions? I didn’t know you could have those in 2 locations at the same time (top and bottom)… That’s neat. But it does make me think they’re baked into the video, in which case they’d always be included if you download them.

  • ZWQbpkzl [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Two ideas:

    1. Get the subtitles burned into the video. Hopefully this will preserve the styling but you’ll loose the ability to disable or control the subtitles after the fact.
    2. Download the subtitles as a separate file and configure them to be displayed the same way after the fact. This means figuring out their colors yourself etc. Hopefully you can save those defaults to subtitle file, depending on the format. Most subtitle formats are plain text, so there might just be some metadata field you enter at the top.

    All just speculation though. I don’t actually know subtitle file formats etc.

  • Majestic@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Open the web subtitles in subtitleedit. Change format to ass (advanced substation alpha). Save and re-embed using mkvtoolnix.

    Positioning of multiple lines works well with ass and VLC shouldn’t have an issue reading and displaying. Not sure if YouTube includes the positioning data in their subtitles though. You could recreate that in subtitle edit (free software btw, de web domain I believe) but it would be a bit of an annoyance.

  • riquisimo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    I really want to know how to extract them as well. I paid for a movie on YouTube since it was available nowhere else and yt wouldn’t let me download it without DRM, so I just OBS’d the whole thing.

    I had captions on, so they’re baked in. I really like captions, but it would be nice to have the option to turn them off.