[MEncoder-users] error with subtitles from dvd

Alexey com at nforum.de
Wed Feb 9 07:46:31 CET 2005


I took a closer look at the subtitle.idx file, here is an excerpt:

# VobSub index file, v7 (do not modify this line!)
#
# Generated by MPlayer 1.0pre5try2-3.3.4
# See <URL:http://www.mplayerhq.hu/> for more information about MPlayer
# See <URL:http://vobsub.edensrising.com/> for more information about
Vobsub
#
size: 720x576
palette: ee450d, df8f1e, ecc014, ecfa0c, 95cc24, 53a42f, 0de60d, 0cb5ed,
0f00ef, 580f5f, c72868, ebebeb, aaaaaa, 7e7e7e, 535353, 101010
# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF

# Language index in use
langidx: 0

id: de, index: 0

.....
.....
timestamp: 00:04:39:479, filepos: 000017000
timestamp: 00:04:43:480, filepos: 000018000
timestamp: 00:04:43:479, filepos: 000018800
timestamp: 00:04:46:479, filepos: 000019000
timestamp: 00:04:50:479, filepos: 00001a000
timestamp: 00:04:54:479, filepos: 00001b000
.....
.....

As you can see the third timestamp has a lower timestamp value then the
prior. So what should I do? How can I determine what is wrong? The
timestamp oder the fileposistion? And can I just switch the timestamps
so that they fit the chronological order? 

I will do some testing, but I would be glad to hear some experts
oppinion.

Regards

Alexey


On Tue, 2005-02-08 at 05:48 +0100, Alexey wrote:
> Hi everybody!
> 
> I've got a probem with the ripping of subtitles from a DVD. I do that
> with:
> 
> mencoder dvd://1 -dvd-device /pah/to/image -ifo
> path/to/image/VTS_01_0.IFO -vobsubout subtitles -vobsuboutindex 0 -sid 0
> -nosound -ovc copy -o /dev/null
> 
> This runs just fine.
> 
> But when I try to merge them with mkvmerge into a matroska conatainer I
> get this warning:
> 
> Warning: vobsub_reader: '/tmp/subtitles.idx', line 45: The current
> timestamp (00:04:43.479) is smaller than the last one (00:04:43.480).
> mkvmerge will sort the entries according to their timestamps. This might
> result in the wrong order for some subtitle entries. If this is the case
> then you have to fix the .idx file manually.
> Warning: spu_extract_duration: Encountered broken SPU packet (next_off <
> start_off) at timecode 00:04:43.479. This packet might be displayed
> incorrectly or not at all.
> 
> And there is really one subtitle block missing although its only one
> sentence. It just doesnt appear. When I play the file with mplayer the
> text goes on with the next sentence spoken. When I play it with VLC in
> windows the subtitle stop at this position and dont appear again.
> 
> Does anyone know an alternative way on how to get DVD subtitles with
> mplayer? Maybe I am doing something wrong. Or what about another
> alternative native program? I need a command line interface solution
> since I am writing a bash script.
> 
> Your help would be really appreciated since I finished all other steps
> and this subtitle issue is the only thing that keeps me from ripping all
> my dvds.
> 
> I use/have installed:
> mplayer-1.0_pre5-r5
> libdvdread-0.9.4
> libdvdcss-1.2.8
> 
> (Maybe I need another program of the libdvd* series.)
> 
> 
> Regards
> 
> Alexey
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
> 




More information about the MEncoder-users mailing list