ruediger / VobSub2SRT

Converts VobSub subtitles (.idx/.srt format) into .srt subtitles.
GNU General Public License v3.0
294 stars 66 forks source link

vobsub2srt doesn't detect subtitles in this file. #3

Closed jimmyharris closed 11 years ago

jimmyharris commented 13 years ago

I am trying to use this program on vobsubs extracted from an mkv track. I don't have an IFO file. The subtitles were extracted using mkvextract. The program appearsYou can download the offending .sub/.idx files from my dropbox.

Here is the file: http://dl.dropbox.com/u/4660781/problem_vobsub.zip

I believe that at https://github.com/ruediger/VobSub2SRT/blob/master/src/vobsub2srt.c++#L177 vobsub_get_next_packet returns -1 causing the program to skip the main loop entirely. If you could shed any light on the situation that would be incredibly helpful.

Thanks in advance.

ruediger commented 13 years ago

Can you play those subtitles with mplayer? vobsub_get_next_packet is in https://github.com/ruediger/VobSub2SRT/blob/master/mplayer/vobsub.c#L1212

jimmyharris commented 13 years ago

I will double check. But they seem to work in avidemux's vobsub->srt OCR functionality. and in vlc playback.

UPDATE: I just tried loading the program in "MPlayer OS X Extended" and it does not appear to be able to recognize the subtitles. I wonder if the ffmpeg project or VLC's code could provide a solution.

Either way it doesn't throw an error message or provide any feedback on how many subtitles were converted.

ruediger commented 13 years ago

If mplayer doesn't play the subs then something is wrong in their decoding code (which is used by vobsub2srt). You should report this bug to the mplayer project and when they fix their code, I can import their changes.

Thanks for reporting this bug and lets hope the mplayer guys will quickly fix it.

ruediger commented 11 years ago

two years no feedback. I'm closing the bug.