From: Daniel Caujolle-B. <seg...@cl...> - 2003-01-25 13:45:55
|
Hi, Michael Roitzsch wrote: > Hi, > > >>I am writing a JMF (Java Media Framework) player using xine-lib. The >>JMF implementation is nearly finished but I have still have some >>problems to solve, I hope you can help me as they are xine related. > > > Sounds cool. > > >>a) When playing DVDs my player has to know when xine is showing the >>DVD menu and when not (e.g. remapping of key bindings). > > > Sorry, this is impossible with current xine and quite difficult to > achieve, since not event the xine-engine itself knows the menu status. > DVDs do not really have this kind of status. This whole menu-magic on > DVDs is done by NAV packets defining button areas and commands to > execute when a button is activated. These NAV packets appear > continuously on any DVD MPEG2 stream, so these buttons can appear > anywhere on the disc. Some discs make use of that to provide > interesting features (think of interactive DVD games or the Matrix > "White Rabbit" feature - when playing the movie with this feature > enabled, a small rabbit button appears from time to time during the > movie and some contextual special info is shown when you click it). > So the difference between a "menu" and a "non-menu" condition is very > blurry. In xine-ui, i simply look at mrl, if it begin by 'dvd:/', we're in navigation. I use that for the event sender window. Cheers. -- 73's de Daniel, F1RMB. -=- Daniel Caujolle-Bert -=- seg...@cl... -=- -=- f1...@f1... (AMPR NET) -=- |