On Fri, Feb 26, 2016 at 01:27:13AM -0600, Bruce Dubbs wrote: > Ken Moffat wrote: > >I wanted to test transcode (specifically, tccat). Usually I use > >lsdvd (not in the book) to see how the DVD is organized, but on this > >particular DVD that just gives some error messages from libdvdread > >about failing to read blocks, then segfaults. > > > >So, I tried running tccat "blind" : > > > >tccat -i /dev/dvd -T 1,-1 >filename.vob > > > >That reported some failures in libdvdcss, then scrolled up and > >eventually seemed to end in error: > > > >[dvd_reader.c] critical: Read failed for block 1854485 > >libdvdread: Can't seek to block 1946410 > >[dvd_reader.c] critical: Read failed for block 1915639 > >libdvdread: Can't seek to block 2017234 > >[dvd_reader.c] critical: Read failed for block 1986463 > > > >But interestingly enough I have 187M for the start of the program (a > >bit under 2 minutes). Perhaps it is just this DVD. Nope, tried > >another one - > >libdvdread: Found 7 VTS's > >libdvdread: Elapsed time 1 > >libdvdread: Can't seek to block 191821 > >[dvd_reader.c] critical: Read failed for block 0 > >libdvdread: Can't seek to block 208444 > >[dvd_reader.c] critical: Read failed for block 16623 > >libdvdread: Can't seek to block 384185 > >[dvd_reader.c] critical: Read failed for block 192364 > >libdvdread: Can't seek to block 614799 > >[dvd_reader.c] critical: Read failed for block 422978 > >etc > > > >and this time the output file was empty (this one is a DVD where I > >got the vob file on another box back in May). Looks as if my last > >attempts to use tccat and lsdvd were in May. > > > >There were also reports like > >libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x0002ed4d)!! > > > >on both DVDs, but the first one eventually managed to produce that > >couple of minutes of video, so libdvdcss seems ok. > > > >For the moment, I think libdvdread is broken in 7.9. > > I'll try to check out transcode/tccat tomorrow. > > -- Bruce
Thanks, but it seems to be caused by setting CFLAGS or CXXFLAGS. I normally set those to -O2 in my scripted builds : primarily to turn off the debugging symbols. Of course that meant that gdb was not useful. Today I've looked at libdvdread git (nothing useful, it looks as if development is in a branch, I haven't attempted to find that) and at the libdvdnav mailing list (which appears to be the right list, but is quiet). So as a first stage I've unset CFLAGS, CXXFLAGS and recompiled libdvdnav, libdvdread, libdvdcss, lsdvd, tccat so that gdb will hopefully give me something. But so far, lsdvd and tccat seem to be working : lsdvd works on both DVDs, tccat has now given me a 3.9GB file from the first one and a 5.2GB file from the second. I also note there were not any errors reported by libdvdcss tonight, it got the keys quickly. We do not normally mention CFLAGS in the book, so I suppose I will have to put this down to luser error. The logs for those three libraries just show ' CC ' for the compiles, so no confirmation of what option flags were used when I passed CFLAGS=-O2. Hope you haven't spent much time on this one. ĸen -- This email was written using 100% recycled letters. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
