Closed DOSforever closed 1 year ago
Does the same subtitle appear correctly in browser?
D_W-FAT3XE4 as a test case, the auto-translate function makes the subtitles appear the same as "all the subtitles of the first 3 minutes are concentrated". This doesn't seem to be a yt-dlp problem. https://litter.catbox.moe/4laa4w.png
If the subtitles on youtube are broken, nothing we can do about it
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
在 Youtube 上下载自动翻译生成的字幕,前一大段时间会产生空白
使用 --write-subs --write-auto-subs --sub-langs "en-en,zh-hans-en" 选项下载英文和自动翻译生成的中文字幕,所下载的英文 .vtt 字幕文件没问题,但是中文的 .vtt 文件内容有问题,前面一大段时间时间轴正常,但完全没有任何字幕,直到后面某个时间开始才有字幕,而且似乎是前一段时间的字幕都集中在一起了。比如总的时长是10分钟,前3分钟没有任何字幕,从第3分钟开始有字幕了,但从这 00:03:10 --> 00:03:30 的这段时间集中了前面3分钟的所有字幕,但从这之后时间的字幕都正常了。 我猜想是不是由于下载开始,但网站的自动翻译结果还未出来的延时造成的?
Download the subtitles generated by automatic translation on Youtube, the first large period of time will create blanks
Use the --write-subs --write-auto-subs --subs --subs "en-en,zh-hans-en" option to download the Chinese subtitles generated by English and automatic translation, the downloaded English .vtt subtitle file is fine, but there is a problem with the content of the .vtt file in the Chinese, the previous large timeline is normal, but there are no subtitles at all, and there are no subtitles until a later time, And it seems that the subtitles from a while ago are all concentrated together. For example, the total duration is 10 minutes, there are no subtitles in the first 3 minutes, and there are subtitles from the 3rd minute, but all the subtitles of the first 3 minutes are concentrated from the time period of 00:03:10 --> 00:03:30, but the subtitles of the time are normal from then on. I guess it's caused by the delay when the download starts, but the automatic translation results of the website are not yet available?
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output