From: James Courtier-D. <Ja...@su...> - 2002-10-16 23:49:05
|
Guenter Bartsch wrote: >wow - you're the first person i meet that seems to know windows media >player internals - do you have a copy of the sources or some other source >of information? I'd be very interested in learning more about the media >player internals. > >cheers, > > guenter > > > I don't know media player internals much, it was deduced by observation. I have (had now, I lost it in a HD crash) a stream with really bad PTS values, causing xine to play it really jerkily, but the same stream played almost fine in windows. I then just set every PTS values in the stream to 0, and then xine played the media stream in exactly the same way windows did, thus my comment. So, for example, for any AVI file, you can set the PTS values in the FIFO to zero. The metronom then uses the "duration" tags on each frame to create good VPTS values, and thus xine is happy. It is only things like DVD playing, and Digital Video streaming that needs good PTS values because they are the only types of video that might get discontinuities. Cheers James |