PDA

View Full Version : Problems with .srt subtitles in ogm file


thisoneguy
25th March 2004, 13:29
hi there. this is my first post, i hope that i don't violate any rules, but i don't think so :)

i have some problems with .srt subtitles in an .ogm file.
first of all i want to say that i've been ripping dvd's for some years now and that i know all the important basics. i have all required codecs installed (divx 5.05, the DirectShow Ogg Vorbis filter collection and the DirectShow Subtitle filter collection).

i have created a dvd-backup with a desired size of 3CD. one divx video stream, two ogg vorbis audio streams (german and english) and two srt subtitle streams (german and english as well).

my problem is: after i muxed all streams together into an ogm file, i can play the file and i can seek to the middle of the movie, but if i try to seek to the first 15 minutes of the movie, the player freezes. this happens with all players that i have tested (media player classic and windows media player 6.4). the error occurs also if i mux the streams together using virtualdubmod.

if i mux only the video and the two audio streams together, the movie plays fine and i can seek to every position. if i mux the video together with the two audio streams and ONE subtitle stream, the movie plays fine as well (i have tested it with both subtitle streams, the german one and the english one). so i could mux the movie with only one subtitle stream, but i want both ones.

i never experienced that problem before and i always create ogg media movies with two audio streams and two subtitle streams.

i hope that someone knows a solution :-)

bye

Koepi
25th March 2004, 13:58
Please take a look into the srt files:

most likely one of them is falwed and has overlapping or repeated timestamps.
In that case a behaviour like that you observed is likely to happen.

You need to re-extract the subtitles then with correct timestamps.

I hope this helps.

Regards
Koepi

tiki4
25th March 2004, 14:00
Try to use OggMux by Koepi. This one is a frontend to Tobias Waldvogel's DirectShow filters. Maybe this makes the problem go away. Which version of VirtualDubMod did you use?

tiki4

O.K.: Koepi was obviously faster...

thisoneguy
25th March 2004, 14:43
@koepi: the problem does not occur if i mux only one srt file into the movie, regardless which of the two ones i chose. i muxed the movie once with the english srt file and once with the german srt file and both times the resulting ogm file played fine. the problem that i mentioned occurs only if i mux the movie with both srt files.

@tiki4: i used OggMux for muxing the streams together. i forgot to mention that, sorry. i used OggMux 0.9.5.1 and VirtualDubMod 1.5.10.1.

one more thing to mention: when i tried to mux the complete movie (with two audio streams and two subtitle streams) using virtualdubmod, virtualdubmod didn't finish but stopped muxing at a size of 400MB or something. without any error message, the muxing just slowed down to 0 fps and i had to cancel it (after 10 minutes waiting).

Koepi
25th March 2004, 16:07
I'd really like you to look into the srt files and check them for inconsistencies. Just because muxng one of them (even each one) alone works it doesn't mean there's everything alright.

Maybe you can spot someting (with weird, unexplaianable problems with subtitles i could always find something wrong in the subs...)

Regards
Koepi

thisoneguy
25th March 2004, 23:00
okay, i looked closer into the srt files, but i did not find any inconsistencies. maybe because i don't really know what to search for... the files look clean to me, no wrong chars or something like that. and i could not find any overlapping time-codes either. is there a tool which checks srt files for overlapping time-codes or any other inconsistencies?

btw: subrip did not give me any error message (like overlapping time codes) after ripping the subtitles from the vobs.

ChristianHJW
26th March 2004, 09:03
Could you test if avi-mux GUI (http://alexnoe.matroska.org) can read your SRT subs ?

thisoneguy
26th March 2004, 16:30
@ChristianHJW: i have done so and muxed the avi together with the two srt files (but of course without the ogg vorbis streams, because avi won't support them). it worked fine and the resulting avi file played fine (although direct-vob-sub did not load and display the subtitles which were muxed into the avi...).