Log in

View Full Version : Subtitle problem with DVD Shrink clips


rcktexas
17th February 2006, 15:11
Posted by rcktexas
I imported a DVD into Shrink (3.2.0.15), re-authored one of the titles, clipped it (not compressed it) to 2 minutes using the Shrink editor and exported it in DVD format. I played the clip with WinDVD and the subtitle was present. Then I imported the clip into AGK, selected the subtitle and previewed it, but the subtitle was not present. I also converted it and there still was no subtitle.

I then used Shrink to create a clip slightly more than half the full title, and I found the missing subtitle but it was way out of sync towards the end of the clip.

Somehow using Shrink to clip a title creates a subtitle problem for AGK.

=====

Posted by manono
I think that the answer is in the clue you provided when you encoded half of it and found the subs showed up, but way, way out of synch. The answer, I think, is that the timestamps haven't been reset, and are for where the subs played in the original full movie. So, for example, if you cut a 10 minute clip from the movie, going from 1-10 minutes, the subs were processed, but they would be at the original place in the movie, maybe between the 50 and 60 minute mark.

You can confirm this by opening the IDX file in notepad and confirming what the timestamps say. If that's true, you'll have to reset the timestamps so that the first one starts when the first dialog is heard. You didn't say if you "burned" the subs into the video, or kept them as external subs. This will be much easier if the subs are external.

=====
Posted by rcktexas
I normally use the AGK subtitle facility in the "burned in" mode but since WinDVD will accept external subtitles, I can run AGK in the external subtitle mode for test purposes.

Here is the IDX file for the 2 minute clip that begins precisely 5:00:12 (min:sec:frames) from the beginning of the title and ends precisely at 7:00:12.

+++
# Vob/Cell ID: 1, 1 (PTS: 0)
timestamp: 00:05:01:715, filepos: 000000000
timestamp: 00:05:04:951, filepos: 000001000
timestamp: 00:05:08:521, filepos: 000002000
[...]
timestamp: 00:06:53:293, filepos: 000023000
timestamp: 00:06:57:597, filepos: 000024000
timestamp: 00:07:00:233, filepos: 000025000
+++

The AVI with this IDX file will not display the subtitle in WinDVD, whereas the original exported clip from Shrink does display the subtitle.

I changed the timestamp:

+++
# Vob/Cell ID: 1, 1 (PTS: 0)
timestamp: 00:00:01:715, filepos: 000000000
timestamp: 00:00:04:951, filepos: 000001000
timestamp: 00:00:08:521, filepos: 000002000
[...]
timestamp: 00:01:53:293, filepos: 000023000
timestamp: 00:01:57:597, filepos: 000024000
timestamp: 00:02:00:233, filepos: 000025000
+++

It now works! The subtitles are visible and in the correct place.

You were absolutely right - the timestamps are not being reset correctly.

I will post this to the AGK Development forum in hopes this bug will get fixed.

Thanks for your assistance.