Open ershovev opened 3 months ago
@ershovev you need to make this issue to the yt-dlp repository, not here. They will be able to handle this. I dont code the core ytdlp itself, just the android app interface of it.
@ershovev you need to make this issue to the yt-dlp repository, not here. They will be able to handle this. I dont code the core ytdlp itself, just the android app interface of it.
Got it, sorry
According to these topics, it seems that they are not planning to fix it
https://github.com/yt-dlp/yt-dlp/issues/6274 https://github.com/yt-dlp/yt-dlp/issues/1734
Is your feature request available in yt-dlp? Please describe. Not available.
When you download automatic subtitles from YouTube, the resulting subtitle is a rolling subtitle - every time a new line is added, the previous one is moved up a line - if there's more than two lines, the first one disappears. Think Star Wars intro, but with only two lines:
A subtitle converted from VTT to SRT by yt-dlp would look something like this
The problem with this is that it's really hard to read, since you expect both lines to change, and it becomes really distracting.
Describe the solution you'd like Maybe some flag "Fix YouTube autogenerated subtitles doubling" in settings?
Users at github and superuser.com suggests some fixes for ytdl: 1)
2)
yt-dlp --embed-subs --merge-output-format mkv -f 'bv+ba' --write-auto-subs --sub-langs 'en' 'https://youtu.be/3_HG33-IYaY' --sub-format ttml --convert-subs srt --exec 'before_dl:fn=$(echo %(_filename)s| sed "s/%(ext)s/en.srt/g") && ffmpeg -fix_sub_duration -i "$fn" -c:s text "$fn".tmp.srt && mv "$fn".tmp.srt "$fn"'
3)