solved[bug?]: vobusb subtitles not playing in vlc / totem

Nick Demou <[email protected]> Fri, 26 Nov 2010 16:41:14 +0200
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
Helped a friend yesterday who riped a dvd with dvd::rip but couldn't
play it back with subtitles (tried with vlc and totem). I found out
that=A0 removing 2 chars from the idx file fixed the problem

What I did was to change a line reading like this:
=A0=A0=A0 id: elen, index: 0
to this:
=A0=A0=A0 id: el, index: 0

Obviously "elen" refers to the language of the subtitles so in other
dvd's it will be different (e.g. "enen" for english subtitles or
"spen" for spanish etc)

That's about all. I don't know much about dvd::rip. I'm posting this
here because it might be a bug in dvd::rip. If not it still might help
someone. I will share a few more details that I think _may_ be
relevant and helpful:

=A0- the rip was in avi format with the subitiles in vobsub format
=A0- opening the idx file of the vobsub subtitles in vlc was producing
this error in the messages console of vlc:
=A0=A0=A0 "warning: reading new track failed"
=A0- Googling for idx  vlc vobsub and this error message gave me two links.

=A0=A0 1) the 1st page [1] is from a post in this mailing list from May of
2009. That post adds this bit of info I forgot to mention: "Odd enough
the subtitles are displayed properly when I use the "View vobsub"
button and the .idx/.sub files seem to be created correctly." That
post also lists the error messages he got with other players [2]

=A0=A0 2) the 2nd page [3] from the videolan forums gave me the solution
(the poster in that forum had a problem with timing even after the fix
but that might have happened for some other reason - I had no such
problem)

  - another post in your mailing list from 2009 has some interesting
info also, see [4]

Nick Demou

___________
[1] http://www.exit1.org/archive/dvdrip-users/2009-05/msg00035.html

[2]
Playback with mplayer -v -vob ... gives: "SUB: Could not determine file for=
mat"

Playback with vlc let it close immediatly with "[00000308] vobsub
demuxer warning: reading new track failed" "Segmentation fault"

Playback with kaffeine produces something like "[NULL @
0xb5a786e8]picture size invalid (3120627712x64)"

[3] http://forum.videolan.org/viewtopic.php?f=3D2&t=3D42332&start=3D0&st=3D=
0&sk=3Dt&sd=3Da

[4] http://www.exit1.org/archive/dvdrip-users/2009-02/msg00015.html

>From that post I note this command that get's executed by dvd::rip
    sed 's/^id: /id: en/' < ferris-001-sid00.idx