2

Extracting a subtitle track from an mkv would take a bit of a long time, well over a few minutes in the case of huge video filesizes (>10GB), and I think analyzing the text contents of a subtitle stream would be beneficial to figuring out if I want to extract it or not.

A video player is able to seemingly read the entire contents of a subtitle stream from the getgo, so I assume there is a way.

  • What is the difference between “reading” and “extracting”? – szatmary Jun 5 '18 at 15:05
  • @szatmary Extracting the track takes a long time. A video player is able to read the entire text stream as soon as the video file is loaded, so it must be doing something different than extracting and then reading – IdontLikeSand Jun 5 '18 at 18:58
  • “A video player is able to seemingly read the entire contents of a subtitle stream from the getgo,” <- this is your faulty assumption. A video player is not magic. So either the player has a separate file (like an srt) or there is something wrong with how you “extract” – szatmary Jun 5 '18 at 19:03
  • the subtitle is embedded into the mkv file. I use mkvmerge to extract the subtitle file. With a 10GB mkv file, it takes upwards of 4-5 minutes to extract the subtitle track from the mkv with mkvmerge. – IdontLikeSand Jun 6 '18 at 3:53
  • 1
    I’m not sure what that proves except the SRT parser can reorder entries before writing them to the file. – szatmary Jun 6 '18 at 4:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.