PDA

View Full Version : dvobsub mpeg problem


Manngo
11th November 2003, 15:45
Hello everyone!

First of all I have to say thank U, becouse I have learned everything about videos from this forum.

And the question:

I'm experimenting to create SVCD with SVCD subs and add a text subtitle stream (.sub or .srt) to the CD to be able to watched on my computer. Then just open the mpeg file on the disc with eg. media player and use dvobsub to display the sub from the text file. On the stanalone player the SVCD subs can be played.

The only problem that the subs from the .srt file does not work with the mpeg. I can see them, quality is ok, but it desync!

The SVCD was created from avi:

AVI 23,976 (checked with GSpot)

SVCD created with 29,97 fps. (plays back with 23.976)

original sub works good with the avi, but not with the mpeg, however I cut 2 seconds from the beginning of the sub, such as DVD2SVCD does with the movie.

In the beginning it is OK, but later it is faster than the film progressively.

I have already tried the folowing:

To be sure about the timing of the subs, I adjusted it to the times displayed in the Winsubmux log file (In the DVD2SVCD output library). After this, nothing has changed: progressive desync still appeares.

Checked CPU usage during PBC, it was about 60%, never higher than 70%.

During playback I opened dvobsub menu from the icon, displayed on the taskbar, and found something strange: the mpeg codec window shows the average fps. It was about 23.96 and not 23.976 as in the txt sub. Tried to solve this problem with converting the sub to SubRip (thougt it wont be effected, becouse it does not use frames). Problems remained.

I have no more idea, but suspicious about the mpeg codec(?).

Thanks in advace for any useful ideas

ultimatebilly
11th November 2003, 18:36
SVCD created with 29,97 fps. (plays back with 23.976)
I only know that the other way round...
The framerate of NTSC is 29.976, and Cinema-movies with a "framerate" of 24 are converted to this by slowing it down to 23.976, and then doing a 3:2 pulldown (or putting a flag in the stream which tells the player to apply it - much better, because you don't have to encode 29.976 frames).
For more about 3:2 pulldown, have a look into the doom9 documentation...
Anyway, this doesn't matter for your subtitle-issue, because both will be played back with the same speed...
Is it possible that you set SubRip to 25 fps (PAL)?

Manngo
11th November 2003, 21:07
How do U mean 'set to 25 fps'?
To change the frame rate? If yes, then of course I can.

ultimatebilly
11th November 2003, 21:53
No, I meant if you maybe accidentially had the framerate in SubRip set to 25...

PS: I'm sorry!
I just re-read your post and saw that the subs worked fine with your avi...
So forgot everything I said:(

Manngo
11th November 2003, 21:58
I mean SubRip is a subtitle format such as:

line num
time --> time
sub text

If U also, than sorry. How do U mean to set to 25 fps?
Could U describe it?

Sorry :-))
I havent saw Your last lines.

ultimatebilly
11th November 2003, 22:04
I thought you were just ripping the subtitles from a DVD...
You can specify the input-framerate in Subrip...
And my idea was that you might have set it to 25 by accident, and therefor the movie would run with 23.976 fps, and the subs with 25...
But that doesn't seem to be the case, since your avi and the subs are in sync...
No other ideas at the moment, sorry :(

PS.: No problem :) I didn't see some in your initial post...

Manngo
13th November 2003, 11:15
Updated the question:
Media player can not show the duration of the mpeg file correctly.
Movie legth is 1:50 in player I can see only 1:23.

mpeg was created with CCE 2.67
after pulldown added with pulldown.exe