From: Guenter B. <bar...@st...> - 2000-12-25 00:16:55
|
Hi Matt, On Thu, 21 Dec 2000, Matt wrote: > I have been working on a project for about 1.5 years now and I am > to the stage in development where I am interested in making my project > interface with xine. :-) > I already have many mpeg2's of arcade laserdiscs and xine plays > them all flawlessly (from what I can tell). The question right now is > coming up with some kind of interface to allow daphne to communicate with > xine (and a command-line interface would simply not work). I think I > should be able to handle creating this interface (if one does not already > exist of course! hehe). We have been considering turning the xine "engine" into a library already and we came to the conclusion that this will be a good thing to do in the near future. However, I don't think were are at that point yet. The reason for this is that there are two major architectural changes that need to be done first and I think each of them would break the library. One change is the syncing on the system clock instead of the sound card (that'll be the xine 0.4.x series) and finally using more threads so xine takes up only the computing power it needs and gets idle if there's nothing to do (xine does busy waiting at the moment when playing a stream and there's computing power left). But if you want to you can of course look at our code (xine.h should give you an impression of the xine "API" that exists at the moment) and you can experiment with that library change already. > What I can't handle myself.. and what I will need some help with.. > is adding fairly advanced seeking support to xine (last I checked there > was no seeking support). xine can seek now (use the slider or the number keys, e.g. 2 => 20% of the stream). Xine can, however, only seek to a given byte position in the stream (that's what's needed for DVD playback), it can't seek to a PTS - which would be rather difficult anyway, since PTS can wrap around and thus are not necessarily unique in a given stream. Regards, Guenter |