开发者

How to extract subtitles from MKV files in pure Java?

开发者 https://www.devze.com 2023-04-03 20:10 出处:网络
does anybody know how to extract subtiles from MKV files using pure Java? (I know how to do it using tools such as mkvtoolnix. I know I could call them from Java but that\'s not what I want)

does anybody know how to extract subtiles from MKV files using pure Java? (I know how to do it using tools such as mkvtoolnix. I know I could call them from Java but that's not what I want)

开发者_如何学C

Thanks!


This looks like the file format specification:

http://www.matroska.org/technical/specs/index.html#track


I‘m not quite sure what exactly you expect as an answer. You can of course write your own Matroska parser (specification is available at matroska.org) and then simple extract the subtitle stream.


You might be able to use jebml https://github.com/Matroska-Org/jebml

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号