On 24/02/2009 04:37, Benjamin Lawetz said the following: > Hi all, > > I've recently purchased the Dark Knight DVD. Upon inserting it into my > Freevo system, Freevo crashed. > > Trying to play it in mplayer, the movie never starts. After googling a > bit, I found out these DVDs are protected by some stupid safety. An easy > workaround for mplayer is adding -sb 2500000 to the mplayer (seek > 2,500,000 bytes into the DVD) skips over the copy protection code and > allows playing the DVD properly. So I have my solution for playing it in > Freevo (adding the -sb 25000000 to all DVD doesn't skip much (you might > miss the FBI Warning, that's all so I don't mind putting that command > for all DVDs). But why does Freevo crash when I insert this DVD? Anybody > else have this problem?
IIRC this is a problem caused by the copy protection breaking libdvdread. I fixed this problem for this DVD by hacking libdvdread, there is a range check in the libdvdread code that causes it to abort reading the disk. The fix was to remove the range check, what I did was to keep the range check but just before the check was to set the the value to value = value % range. It then played fine. For a comparison I copied the DVD to the hard disk using AnyDVD and checked what mminfo said for the image and the DVD. The difference was that AnyDVD chopped of the data at the bad point whereas fiddling with the range check simply set this value to 0. Duncan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users