Open expenses opened 8 years ago
[ffmpeg] There aren't any subtitles to embed
You need to append --write-sub
besides --sub-lang
to download subtitles. --sub-lang
itself just specifies the language to download in --write-sub
.
Thank you! This seems like an inconsistency though, as all you need to download and embed thumbnails is --embed-thumbnail
. When youtube-dl
sees the --embed-subs
flag, it should check for a --sub-lang
and download and embed subtitles accordingly.
I changed the semantic of --embed-thumbnail
in 8e595397529abc71093264e3695fb00d95be4d78.
When youtube-dl sees the --embed-subs flag, it should check for a --sub-lang and download and embed subtitles accordingly.
Agreed.
Checks
What is the purpose of your issue?
Summary
I have
in my
~/.config/youtube-dl/config
file.Running
~ ❯❯❯ youtube-dl "https://www.youtube.com/watch?v=P5-WGdiWAB4" -v
on this video with English (en) and Portuguese (pt) subtitles will download and embed the subtitles when--all-subs
is uncommented but--sub-lang en
is works, but not the other way around. Additionally--sub-lang en,pt
fails to download and embed either set of subtitles.Logs
-all-subs
:--sub-lang en
: