Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th August 2019, 09:48   #1  |  Link
nel-son
Registered User
 
Join Date: Nov 2011
Posts: 42
VobSub with negative timecode

Hi,

some time ago i merged some videos (bonus materials) into one large file using mkvmerge, but i never watched the video. now i found out that something with the subtitles (vobsub) isn't ok. at a point the timecode changed to a negative value. i opened the idx file in a text editor and found this

Code:
timestamp: 06:37:40:545, filepos: 003dde000
timestamp: 06:37:42:543, filepos: 003de1000
timestamp: -06:37:37:000, filepos: 003de2000
timestamp: -06:37:32:537, filepos: 003de380
it seems the difference between a line and the line before is ok and i tried to fix this. it got a working subtitle file and teh subs was displayed with vlc. but they were a little bit out of sync and i tried to fix that using bdsup2sub. after saving the new file i have the negative timecodes again. every time i save the file again with bdsup2sub i have negative timecodes.

is there any other format i can try? xml/png isn't supported by matroska and the timecode are 40sec earlier then vobsub.
nel-son is offline   Reply With Quote
Old 28th August 2019, 09:24   #2  |  Link
mkver
Registered User
 
Join Date: May 2016
Posts: 197
At the typical 90kHz MPEG clock, 2^31 amounts to 6:37:40.929, so what you got here is likely just signed integer overflow. (Although the fact that 6:37:42 is more than this is a bit at odds with this explanation -- maybe it internally uses difference to the timestamp of the first subtitle or so?)
Is the video really 6:37:40 long or not? (If I am not mistaken, then the idx file can specify a delay, so that the actual timestamps aren't that big.)
MKVToolNix can apply a simple, constant delay; if you want vobsubs outside of Matroska, you can extract them with mkvextract afterwards.
mkver is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.