[DVDnav-discuss] Debugging non-playable movie
Hans Petter Selasky
hans.petter.selasky at bitfrost.no
Sat Feb 15 08:31:29 CET 2014
Hi,
A friend of mine which does not know so much about computers bought a movie and wanted to play it under Linux. Unfortunately the movie doesn't play, due to some strange formatting, which I think is done by purpose by the movie maker
First error observed:
./libdvdread-4.2.1/src/ifo_read.c
The ifo_filename needs to be extended one byte, hence the filenames are one byte too long and snprintf's need to be updated too.
char ifo_filename[14];
Second error observed:
if(vts_ptt_srpt->nr_of_srpts > info_length / sizeof(*data)) {
fprintf(stderr, "libdvdread: PTT search table too small %d %d.\n",
(int)vts_ptt_srpt->nr_of_srpts, (int)(info_length / sizeof(*data)));
goto fail;
}
vts_ptt_srpt->nr_of_srpts = 99
info_length / sizeof(*data) = 2
After making these changes only the copy warning is playable.
I can test patches in libdvdread. Please keep me CC'ed hence I'm not subscribed to this list.
How to proceed next?
--HPS
More information about the DVDnav-discuss
mailing list