Closed Domiiniik closed 1 year ago
An additional fix for subtitles was made a few days ago, and was just released today as 2.171.0
Try again using the latest release.
I patched just now using 2.171.0. This issue is still there, but it seems that this issue only affects the first video. Once you watched another video, the subtitle position returns to the bottom. Watch the first video again and the subtitles are normal again.
Steps to reporduce:
Post links to the videos you used, or post a screen recorder video showing the problem.
The subtitles are always correct for me (even after force stopping and relaunching)
While I am here, do you want some kind of debug log? I have adb access to that device. I don't know what I should grep for tho.
I was able to reproduce, and the subtitles did appear in the wrong location.
It appears that sometimes when the video first starts, YouTube sends a single non default subtitle position in the subtitle stream, and this triggers the logic used to fix: https://github.com/revanced/revanced-patches/pull/1975
revanced: SpoofSignatureVerificationPatch: video: HTnQRV_L32c spoof: true ap:34 ah:50 av:95 vs:true sd:false
revanced: SpoofSignatureVerificationPatch: Non default subtitles found. Using existing settings without replacement.
revanced: SpoofSignatureVerificationPatch: video: HTnQRV_L32c spoof: true ap:9 ah:20 av:0 vs:true sd:true
I see two possibly actions:
For now I think option 1 is the best to try.
Or use both the first and the second call to determine if the fix was needed? If the first call is non-standard then check the second call as well.
Wouldn't option 1 cause the first subtitle line to be dropped/hidden/cause undocumented behaviours?
Option 1 does the check first and second subtitle behavior you are describing. The subtitles are a stream during the video playback, and each subtitle text has it's own position.
The fix I am describing, is a change to the 'pass thru mode' that was added in 1975. It would enable pass thru mode (do not alter the subtitle window position), only if more than 1 non default subtitle position is encountered.
Fixed with https://github.com/revanced/revanced-integrations/pull/374
Either use the dev branch, or (for now) ignore the incorrect subtitle position for the first video opened after app launch.
@LisoUseInAIKyrios Do you also contribute in the RV manager project? It would be nice to be able to use the dev channel on manager.
Edit: Ah it might not be that easy. RVM probably gets the patches from https://releases.revanced.app/tools
API, so changing this either requires:
Or RVM can get the changes from github's API directly...?
I agree it would be awesome if the manager could use the dev release. But no, I don't contribute much to the manager (not familiar with the Flutter language it uses).
Could open a feature request in the manager repo, as I don't think there is a request for that just yet.
Moving to ReVanced/revanced-patches-template#1256
Type
Cosmetic
Bug description
Subtitles in reVanced are placed on top of the video instead of at the bottom as they should. Link to the video: https://youtu.be/HTnQRV_L32c ReVanced Stock Youtube:
Steps to reproduce
~
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements