Dirk Meyer wrote:

That's bad, because the crash is in the following c code:


static PyObject *ifoinfo_open(PyObject *self, PyObject *args) { tt_srpt_t *tt_srpt; int i, ch, gotopt = -1, dochapters = -1; char *dvddevice;

 if (!PyArg_ParseTuple(args, "s", &dvddevice))
   return Py_BuildValue("i", 0);

dvd = DVDOpen(dvddevice);
if (!dvd)
return Py_BuildValue("i", 0);
ifofile = ifoOpen(dvd, 0);
if (!ifofile) {
DVDClose(dvd);
return Py_BuildValue("i", 0);
}


 tt_srpt = ifofile->tt_srpt;
 return Py_BuildValue("i", tt_srpt->nr_of_srpts);
}


I don't see anything I could make wrong here (every NULL pointer is taken care off). So guess libdvdread (provides DVDOpen and ifoOpen) crashes for some reason. If you know how to compile, please try

http://arnfast.net/projects/ifoinfo.php

and tell me if that works.



Dischi



Ifoinfo works fine.


[EMAIL PROTECTED] ifoinfo-1.0.0]# ifoinfo -d /dev/dvd libdvdread: Using libdvdcss version 1.2.8 for DVD access

========================================
Title: 1
========================================
Number of Chapters: 31
Number of Angles: 1
Playback time: 01:42:11:06
Audiotrack(0): en (ac3, 6Ch, 48kHz, aid: 128)
Audiotrack(1): en (dts, 6Ch, 48kHz, aid: 129)
Audiotrack(2): en (ac3, 2Ch, 48kHz, aid: 130)
Audiotrack(3): en (ac3, 2Ch, 48kHz, aid: 131)
Audiotrack(4): en (ac3, 2Ch, 48kHz, aid: 132)
Audiotrack(5): en (ac3, 2Ch, 48kHz, aid: 133)
Audiotrack(6): en (ac3, 2Ch, 48kHz, aid: 134)
Subtitle: en (sid: 0)
Subtitle: nl (sid: 1)
Subtitle: en (sid: 2)

========================================
Title: 2
========================================
Number of Chapters: 1
Number of Angles: 1
Playback time: 01:42:11:06
Audiotrack(0): en (ac3, 6Ch, 48kHz, aid: 128)
Audiotrack(1): en (dts, 6Ch, 48kHz, aid: 129)
Audiotrack(2): en (ac3, 2Ch, 48kHz, aid: 130)
Audiotrack(3): en (ac3, 2Ch, 48kHz, aid: 131)
Audiotrack(4): en (ac3, 2Ch, 48kHz, aid: 132)
Audiotrack(5): en (ac3, 2Ch, 48kHz, aid: 133)
Audiotrack(6): en (ac3, 2Ch, 48kHz, aid: 134)
Subtitle: en (sid: 0)
Subtitle: nl (sid: 1)
Subtitle: en (sid: 2)

etc....

(This is disc 2 from LOTR II Two Towers extended)
If you know of something else to test, let me know...


Zeratul





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to