[MPlayer-users] -dumpsrtsub bug?

Joshua Rothenberg adonna at myrealbox.com
Sun Jul 14 03:30:01 CEST 2002


I seem to have encountered a bug in -dumpsrtsub.
In an attempt to split a dvd into episodes with
text-based subtitles, I utilized SubRip.  Since
mencoder doesn't play the dvd logo (I don't use
dvdnav), there was a slight delay I needed to
remove.  I quickly fixed this by converting
to mpsub (very, very helpful!) and making a small
change after which the file played fine.  However,
since my intent was to make the file playable
on windows as well, I decided to try out the
-dumpsrtsub option.  However, i noticed that the
sub-titles were then off.  Luckily it appears to
be something really small ( -_- I don't have the
experience to try to fix it though, sorry).
Anyway look at this:
(brief excerpt from the mpsub)

FORMAT=TIME

19.70 2.06
I want to go home.

1.11 3.09
I've never been in a place
where the air is so...

0.91 1.47
polluted.

10.04 1.09
Listen Alice...

0.68 3.49
Long ago,
the dinosaurs ruled the Earth.

-------------
Now, from the srt:


00:00:19,070 --> 00:00:21,076
I want to go home.

2
00:00:22,087 --> 00:00:25,096
I've never been in a place
where the air is so...

3
00:00:26,087 --> 00:00:28,034
polluted.

4
00:00:38,038 --> 00:00:39,047
Listen Alice...

5
00:00:40,015 --> 00:00:43,064
Long ago,
the dinosaurs ruled the Earth.

---------
It looks like its doing the calculations right,
just adding zeroes to the fractional seconds on
the second parts...
A quick find:",0" / replace:"," fixed the file!
Anyway, if there's any more information you
people want, I will be glad to provide it.

Joshua Rothenberg
adonna at myrealbox.com




More information about the MPlayer-users mailing list