Permanently Deleted

  • garbology [he/him]
    ·
    4 years ago

    --write-sub

    How can I get mpv to use this command when it hooks youtube-dl, eg when I run mpv youtube.com/video?

    I edited ~/.config/youtube-dl/config to just be --write-sub but mpv still doesn't see any auto-transcribed subs.

    • brainwormfarmer [any,comrade/them]
      ·
      4 years ago

      i don't know if this works for close captions but i got this in my ~/.config/mpv/config

      spoiler

      sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload

      slang=enm,en,eng

      alang=ja,jp,jpn,en,eng

      ytdl-raw-options=sub-lang="en,eng,enUS,en-US",write-sub=

      • garbology [he/him]
        ·
        edit-2
        4 years ago

        Thanks! This helped me find the option to download the youtube auto-generated subtitles:

        ytdl-raw-options=sub-lang="en,eng,enUS,en-US",write-auto-sub=

        WARNING: this will download over 100 auto-generated subtitle tracks if you just set it to ytdl-raw-options=write-auto-sub=, so remember to set the language(s) you want