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
found this today, might be very useful for nyaa, as many of the mkv are with subtitles that can not be played within html5. but with this, it might be possible to extract and display.
I am not sure how should it work. In theory, it could firstly load subtitles from the video and only then start streaming, but I don't think it is possible to extract subtitles without downloading the whole file.
This library can extract subtitles in real-time, but what should we do with extracted data? In theory, it is possible to re-encode MKV to MP4 and add subtitles on the screen, but I am not sure it is a good idea.
Finally, I dd found that this library works in a browser(?). At least have an example of how to include in the browser, but I can't find any example of how can it be used in a browser.
I am not sure how should it work. In theory, it could firstly load subtitles from the video and only then start streaming, but I don't think it is possible to extract subtitles without downloading the whole file.
This library can extract subtitles in real-time, but what should we do with extracted data? In theory, it is possible to re-encode MKV to MP4 and add subtitles on the screen, but I am not sure it is a good idea.
Finally, I dd found that this library works in a browser(?). At least have an example of how to include in the browser, but I can't find any example of how can it be used in a browser.
your totally right, i did small test on a active download mkv file with subtitle , i, tried to extract subtitles , it has created video.srt but there is zero bytes. if i leave it to download at 10% complete, there is some subtitle data extracted so, it would seem it needs to be downloaded little to get any data. does this help
found this today, might be very useful for nyaa, as many of the mkv are with subtitles that can not be played within html5. but with this, it might be possible to extract and display.
https://www.npmjs.com/package/matroska-subtitles
The text was updated successfully, but these errors were encountered: