Skip to content
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

Insufficient performance in parsing long video's subtitles and somehow a correlation to timestamps not saving properly ( my layman's recount of this issue) #360

Open
Katsumi-III opened this issue Feb 24, 2024 · 3 comments

Comments

@Katsumi-III
Copy link

I just want to put this here for the sake of keeping records.
I was using jidoujisho's video functionality for sub 30 minute videos with subtitles and timestamps being saved. When I started watching a 2h+ video, then came back to watch 9h+ live stream vod, realized subtitles weren't loading, watched for a bit, left and came back, realize the timestamps don't save past 9 minutes into the video, kept trying a few things, disabled duckduckgo app tracker-blocker for jidoujisho, forced shutdown the app, attempted to check if timestamps save and subtitles load, realize it doesn't, checked the other 2h+ video and found out it's having the same issue.
After I had waited for 3 minutes on the "Subtitles processing" window on the 9h+ vod, I decided to wait 13 minutes on the same window but on the 2h+ video. There was no change until I left that window and the Subtitles appeared, checked again that subtitles processing window again by swiping up, and now the transcript appears.
After this ordeal, timestamps save and the 9h+ vod now loads its subtitles and shows the transcript, and properly saves timestamps.
Not sure what happened but, in case this reveals something in the future I'll submit this issue. Maybe, it was duckduckgo's anti-tracking but, why did smaller videos not have this issue?

Samsung S23
One UI 6
Android 14

@Katsumi-III
Copy link
Author

Katsumi-III commented Feb 24, 2024

Update: just now, after submitting this issue a few minutes ago the 9h+ vod started having the same issues again. The 2h+ video too.
I left the app after submitting the issue. And came here to add this comment once I came back to the app and realized I have the issue again. Maybe leaving the video paused like last time, except, probably don't need to have the "subtitles processing" window opened the whole time.

@Katsumi-III
Copy link
Author

@lrorpilla
Copy link
Owner

lrorpilla commented Feb 25, 2024

This is known and expected behaviour as is and a performance issue when parsing very long auto generated subtitles from YouTube.

If someone wishes to improve this, you can look into how the subtitles are parsed and improve the algorithm there.

@Katsumi-III Katsumi-III changed the title Report: Had issues with long 2h+ videos not saving timestamp and not loading subtitles. After 13 minutes, everything is working now? Insufficient performance in parsing long video's subtitles and somehow a correlation to timestamps not saving properly ( my layman's recount of this issue) Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants