You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set a breakpoint in GetCaption.pm:221 and run p $xml, I get the following output: _FCZnrUq3N4.xml.gz
I've figured out the cause by looking at yt-dlp's source code. If you're fine with that, then open the following section:
In GetCaption.pm:221, if I get $url, remove the tlang parameter, and fetch the URL with wget, the output looks fine. Additional links:
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
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 tlang=LANG parameter is used, which we use to auto-translate subtitles.
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: