[DVDnav-discuss] Debugging non-playable movie

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Sun Feb 16 18:36:11 CET 2014


Hello Hans,

On Saturday, 15 February 2014 at 08:31, Hans Petter Selasky wrote:
> 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];

You haven't posted the error message you're getting. Please post full
unedited output of mplayer -v dvdread://N (where N is the main title
number).
You could also try playing with dvdnav://N.

Also, it's not immediately obvious what you changed and why. Please post
a "diff -u" patch.

> 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

Same problem here.

Regards,
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the DVDnav-discuss mailing list