[MPlayer-users] structure protection

Guillaume POIRIER poirierg at gmail.com
Sun Nov 6 11:31:26 CET 2005


Hi,

On 11/6/05, ilab <ilab at freemail.hu> wrote:

> does someone know the solution for ripping a dvd protected by
> 'structure protection' on linux?
>
> I tried to copy the dvd content to HDD by dvd::rip, vobcopy and tccat
> but they were all blocked at the first problematic IO operation and
> they could not been even killed. I managed to copy the stuff to HDD
> with mplayer -dumpstream, and mplayer can play the result from HD
> without problems (no A/V desync), but when I try to encode it with
> mencoder, it skips frames all the time and the result is A/V desync.
> If I use -mc 0 to prevent syncing I got another kind of desync (well,
> not surprising).
>
> What I havent tried is to use mencoder directly from the dvd device,
> but I prefer to copy to HDD before, for many reasons, and I dont
> really think it would help, anyway. As mplayer can play the stuff
> from HDD without problem, I think the issue is with mencoder.
>
> So, is there a solution?

I've had a similar problem and I found a solution to that problem!

- Do dump the vob with -dumpstream. Let's say this file will be named movie.vob

- Then you're gonna have to cut the first part of the movie because it
features a broken audio setting: audio first start as AC3 2.0 and
switches to 5.1 several seconds afterwards. The idea if to cut enough
so that the cut version only features 5.1 sound.

You my try to append to your encode let's say "-ss 20". In my
experience, that sometimes worked, sometimes sometimes it did not.
When I was muxing all the audio/sub tracks on a matroska file, I was
getting an a/v desync.

The most reliable solution is just to cut your file with "dd"

dd if=movie.vob of=movie_cut.vob skip=25357 obs=650000

Adjust the "skip" value so that you the cut occurs at an appropriate
moment in the file, like just before the movie starts. You may adjust
"obs" to a smaller value if you want too, that somewhat controls the
buffering process of the copy, where large buffers result in a faster
copy.

Please tell me if it worked for you as I intend to put this solution
on MPlayer's docs once ppl would have told me it works or not.

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-users mailing list