I tried reading the media on a DvD with the rust binding of libdvdcss, but I encountered some problems. I tried multiple DvDs, and the actual MPEG video begins on a different sector on each of them. On one it is sector 445, one the other it is sector 648, and so on. I can't just start at 0 either, because then it will give me all sorts of errors (which makes sense, since there is non-video data at sector 0).
Now, how do I find out where the first valid sector on a DvD is?
In addition to that I'd highly appreciate a code sample of using the library properly as I'm unable to.