Sir Didymus
25th January 2006, 19:48
First of all sorry for the confusion added with the present post, that is reflecting the state of my neurons on the subject...
Sorry also I am visiting this branch of doom9 very rarely, so it is highly possible some wrong assumption and some noobish faults are in here from my side...
Well all started with trying to straight ripping some subtitle streams from a DVD in a format (sst) suitable for their import back in Scenarist...
I did the process very frequently, but this time I looked a little bit more deeper into the matter...
Nothing easier, so I started with:
- Subrip 1.50 b3 [hei thanks Zuggy and ai4spam!!!], Open VOBS, Open IFO, Selected the Language stream, Selected the proper subtitle format, for obtaining:
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 574)
Display_Area (0 2 719 574)
E2 (255 0 0 ===)
E1 (0 0 0 ===)
PA (0 0 255 ===)
BG (255 255 255 ===)
Directory E:\GANGS_OF_NEW_YORK\demux\Subpsr21
#
...skip...
#
#########################################################
SP_NUMBER START END FILE_NAME
Color (6 4 3 4)
Contrast (0 15 15 15)
1 00:00:49:08 00:00:51:19 sub21.1.bmp
2 00:00:52:07 00:00:54:21 sub21.2.bmp
3 00:00:57:12 00:00:59:20 sub21.3.bmp
4 00:01:08:09 00:01:10:16 sub21.4.bmp
5 00:01:11:04 00:01:13:02 sub21.5.bmp
...skip...
The time correction was not used...
And I noticed a difference of 7 frames (280 ms.) in the START and END presentation times respect to what I expected...
Looking into the VOB files I think I realised that subtracting the Start Presentation Time of the first VOB Unit in the VOB files (i.e. making the subtitles relative respect to the presentation time of the first picture of the multiplexed stream) would have produced the "right" values. Of course, using the time correction function (subtracting 280 ms from the values) it is possible to change the values to the ones I expected...
By the way, the values I expected are the ones matching the subtitles stripped with DVDSupDecode, that allowed to obtain:
;Subpictures_21.sup
FrameRate=25
Palette=3235
Alpha=FFF0
{1226}{1287}{Subpictures_21_000001.bmp}
{1300}{1364}{Subpictures_21_000002.bmp}
{1430}{1488}{Subpictures_21_000003.bmp}
{1702}{1759}{Subpictures_21_000004.bmp}
{1772}{1820}{Subpictures_21_000005.bmp}
...skip...
as you can see, 1226 --> 00:00:49:01, 1287 --> 00:00:51:12 and so on...
So, my first silly question:
Is this behaviour of SubRip intended ?
Second test, "well let's change approach"... Used vsrip + vsconv, in order to pass through the idx format for producing the properly time-referenced subtitles.
Maybe here the process on my side is intrinsically fault, since I took the two programs from the install package of NuMenu4U, and I am not sure if it is proper to use the releases of these programs outside the package of NuMenu...
Anyway, here is what I obtained:
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 573)
Directory E:\GANGS_OF_NEW_YORK\demux\subp21
Subtitle subp21
Display_Area (0 2 719 574)
Contrast (15 15 15 0)
PA (0 0 255 ===)
E1 (255 0 0 ===)
E2 (0 0 0 ===)
BG (255 255 255 ===)
SP_NUMBER START END FILE_NAME
Color (3 4 6 4)
Contrast (15 15 0 15)
0001 00:00:49:01 00:00:51:11 subp21_0001_v004_c001.bmp
0002 00:00:52:00 00:00:54:14 subp21_0002_v004_c001.bmp
0003 00:00:57:05 00:00:59:12 subp21_0003_v004_c001.bmp
0004 00:01:08:02 00:01:10:08 subp21_0004_v004_c001.bmp
0005 00:01:10:22 00:01:12:19 subp21_0005_v004_c001.bmp
Big surprise, (and second silly question): why the end time is one frame shorter than the expected ?
Third question: am I doing mistakes with my way of ripping subtitles from DVD ?
Are there different tools or alternatives for the purpose ?
All the best
SD
Sorry also I am visiting this branch of doom9 very rarely, so it is highly possible some wrong assumption and some noobish faults are in here from my side...
Well all started with trying to straight ripping some subtitle streams from a DVD in a format (sst) suitable for their import back in Scenarist...
I did the process very frequently, but this time I looked a little bit more deeper into the matter...
Nothing easier, so I started with:
- Subrip 1.50 b3 [hei thanks Zuggy and ai4spam!!!], Open VOBS, Open IFO, Selected the Language stream, Selected the proper subtitle format, for obtaining:
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 574)
Display_Area (0 2 719 574)
E2 (255 0 0 ===)
E1 (0 0 0 ===)
PA (0 0 255 ===)
BG (255 255 255 ===)
Directory E:\GANGS_OF_NEW_YORK\demux\Subpsr21
#
...skip...
#
#########################################################
SP_NUMBER START END FILE_NAME
Color (6 4 3 4)
Contrast (0 15 15 15)
1 00:00:49:08 00:00:51:19 sub21.1.bmp
2 00:00:52:07 00:00:54:21 sub21.2.bmp
3 00:00:57:12 00:00:59:20 sub21.3.bmp
4 00:01:08:09 00:01:10:16 sub21.4.bmp
5 00:01:11:04 00:01:13:02 sub21.5.bmp
...skip...
The time correction was not used...
And I noticed a difference of 7 frames (280 ms.) in the START and END presentation times respect to what I expected...
Looking into the VOB files I think I realised that subtracting the Start Presentation Time of the first VOB Unit in the VOB files (i.e. making the subtitles relative respect to the presentation time of the first picture of the multiplexed stream) would have produced the "right" values. Of course, using the time correction function (subtracting 280 ms from the values) it is possible to change the values to the ones I expected...
By the way, the values I expected are the ones matching the subtitles stripped with DVDSupDecode, that allowed to obtain:
;Subpictures_21.sup
FrameRate=25
Palette=3235
Alpha=FFF0
{1226}{1287}{Subpictures_21_000001.bmp}
{1300}{1364}{Subpictures_21_000002.bmp}
{1430}{1488}{Subpictures_21_000003.bmp}
{1702}{1759}{Subpictures_21_000004.bmp}
{1772}{1820}{Subpictures_21_000005.bmp}
...skip...
as you can see, 1226 --> 00:00:49:01, 1287 --> 00:00:51:12 and so on...
So, my first silly question:
Is this behaviour of SubRip intended ?
Second test, "well let's change approach"... Used vsrip + vsconv, in order to pass through the idx format for producing the properly time-referenced subtitles.
Maybe here the process on my side is intrinsically fault, since I took the two programs from the install package of NuMenu4U, and I am not sure if it is proper to use the releases of these programs outside the package of NuMenu...
Anyway, here is what I obtained:
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 573)
Directory E:\GANGS_OF_NEW_YORK\demux\subp21
Subtitle subp21
Display_Area (0 2 719 574)
Contrast (15 15 15 0)
PA (0 0 255 ===)
E1 (255 0 0 ===)
E2 (0 0 0 ===)
BG (255 255 255 ===)
SP_NUMBER START END FILE_NAME
Color (3 4 6 4)
Contrast (15 15 0 15)
0001 00:00:49:01 00:00:51:11 subp21_0001_v004_c001.bmp
0002 00:00:52:00 00:00:54:14 subp21_0002_v004_c001.bmp
0003 00:00:57:05 00:00:59:12 subp21_0003_v004_c001.bmp
0004 00:01:08:02 00:01:10:08 subp21_0004_v004_c001.bmp
0005 00:01:10:22 00:01:12:19 subp21_0005_v004_c001.bmp
Big surprise, (and second silly question): why the end time is one frame shorter than the expected ?
Third question: am I doing mistakes with my way of ripping subtitles from DVD ?
Are there different tools or alternatives for the purpose ?
All the best
SD