-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entire subtitles are shown in the first few seconds for some videos #176
Comments
Given that there's a commit that uses code from yt-dlp, I'm assuming that using information from yt-dlp to fix this bug is fine? If so, let me know so that I can take a jab at this |
As far as I know, it's an YouTube issue. |
Yes, but I cannot reproduce this with yt-dlp and Newpipe (should've
mentioned this in the issue, oops), and it seems to be fixable (haven't
tried it yet, but see the Additional details section)
|
The subtitle is offered by YouTube on (at least) 3 different formats. Probably only the format pipe-viewer uses is affected. If true, then switching to a different format would fix the issue. Edit: the issue occurs when |
Expected behavior: Subtitles to be readable throughout the entire video
Actual behavior: The entire subtitles are shown in the first few seconds, without any more for the rest of the video
Steps to reproduce: Run
pipe-viewer https://www.youtube.com/watch?v=_FCZnrUq3N4
Screenshot:
Additional details:
Config: pipe-viewer.conf.gz
The mangled subtitles of videos affected by this bug I've seen: affected-subs.tar.gz
If I set a breakpoint in GetCaption.pm:221 and run
p $xml
, I get the following output: _FCZnrUq3N4.xml.gzI've figured out the cause by looking at yt-dlp's source code. If you're fine with that, then open the following section:
$url
, remove thetlang
parameter, and fetch the URL with wget, the output looks fine. Additional links:The text was updated successfully, but these errors were encountered: