简体   繁体   中英

Parsing idx and sub formats of video subtitle files?

I wrote an application in c# that can read srd files well, but now I need to add support for idx and sub files too. How can I parse these formats?

I parse the srt files as this Code Project: Subtitle Synchronization with C# article describes. I don't know regular expressions and now want to parse the idx and sub files.

  1. Google for 'idx format specification'
  2. Find http://www.filesuffix.com/extension/idx.html
  3. Page links to http://en.wikipedia.org/wiki/VSFilter
  4. Wiki article links to http://sourceforge.net/projects/guliverkli2/files/DirectShow%20Filters/DirectVobSub%202.39/ where you can download sourcecode. In the source code you'll most likely find information about reading the idx/sub files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM