Re: Commercial DVD makes libdvdread go nuts

Bj|rn Englund <[email protected]> Sun, 9 Apr 2006 23:06:56 +0200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Sun Apr 09 2006, Dik Takken wrote:
> 
> Finally, I tried Ogle (version 0.9.2). When I start it, it accesses the 
> DVD player, then shows a black screen. Pressing SPACE kills OGLE. It says:

The black screen is a known problem with ogle 0.9.2 and newer X servers (xorg)
You have to set the xv attribute XV_AUTOPAINT_COLORKEY to 1
'xvattr -a XV_AUTOPAINT_COLORKEY -v 1'
or use the cvs version of ogle.

 
> ogle_nav: vm.c:1241: play_PGC_post: Assertion `state.pgc->next_pgc_nr != 
> 0' failed.
This could be a bug in ogle.


> ERROR[ogle_audio]: Unable to set hw params for playback: File descriptor 
> in bad state
> ERROR[ogle_audio]: Setting of hwparams failed: File descriptor in bad 
> state
> FATAL[ogle_audio]: ogle_ao_init:
> ERROR[ogle_audio]: odelay error: Input/output error
> ERROR[ogle_audio]: odelay error: Input/output error

These audio errors might also be fixed in cvs of ogle.
If you can't get the audio to work by editing the oglerc, change
the audio driver to null instead of alsa in the oglerc, that way you'll
be able to navigate the disc (without audio).


> 
> All in all, it seems like some applications do not understand anything 
> about what libdvdread tells them about the DVD, while others (Xine) do. 
> Could this DVD trigger libdvdread to produce any unusual output? Maybe the 
> problem is that the libdvdread output is correct, but so unusual that it 
> triggers bugs in applications that try to interpret it?

Yes I think the applications don't process the information correctly.

I don't know if you got my email explaining the ifo_dump result of your dvd,
(I'll post it here in case you didn't).
But from ifo_dump everything seems ok. 
Problem with dvds is that the "chapter structure" isn't hardwired in
the format but can be 'defined' through the dvd vm/navigation commands,
so programs that only want to get chapter data,
and do not run the dvd commands,
might not find the 'correct' chapter structure.
Though they should still be able to list all the parts
(which they obviously do not do correctly in this case).


/Bj|rn