-
Notifications
You must be signed in to change notification settings - Fork 12
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
Embedded subtitles #1
Comments
Probably not, unless i create like a decoder in webassembly or something (which im not sure if thats even possible, if it is... its probably out of my league) |
Oh, I watched your video (https://www.youtube.com/watch?v=ajwqUHIWbqM) and though it was embedded, correct me if I'm wrong. Thanks. |
Oh sorry, i interperted your question wrong... yes they are embedded... only the way i did it is horribly inefficient and doesn't allow seeking. I basically load the video file twice, one for the normal html5 video playback, and the other i read peaces of it (to get the subtitle wich seems to be spread across the whole mkv file , which is the reason why i cant retreive a full subtitle file from a partial mkv file and html5 doesnt allow me to look at the raw bitstream while playing) while the first one is playing (those are the requests you see at the right side of the video). Problem is... videos with variable bitrate makes it sometimes go out of sync. Besides that... it puts a huge strain on the server and bandwith (basically > twice the bandwidth when parsing the subtitle) ... and there is a latency issue.... in the video i did all this locally hence it somewhat worked out. Thats why i wouldn't recommend using it. I just noticed that i never mentioned it in the readme xD. I already implemented it in the current version here on github. Instead of the method |
Thanks! |
Nice, i once had the exact same idea, but i wanted to use xdcc / irc for it :) hence i started this library, i managed to get this far until i lost my motivation: https://youtu.be/ZD6BYFVe8dk . Its really buggy tho ^^. but what you want just isn't quit possible yet :( . Good luck with yours! |
Guess what I have been doing lately ;) Im able to parse subtitles from the video file including time stamps, which now enables seeking. I still need to double request the file from the server (one for the player, one for the subtitleparser), and it's still missing some subtitles, but I am getting closer and closer to make this work ;). Though, you probably moved on, as I've seen you haven't made a commit to your project since you've posted this. ^^ |
does this still working ? |
Will embedded subtitles be available in the future? (mkv container).
The text was updated successfully, but these errors were encountered: