Torgeir Veimo writes: > Stephen Davies wrote: > > > To fix this properly I need to get mplayer's frame playback locked to the > > frame VSYNC of the video card. (Or, perhaps, lock the video card to > > mplayer's frame playback?). I believe that with this done, a Linux box > > could give video playback indistinguishable from broadcast. > > > > What are my options? Are there any facilities in Xv/X to sense display > > card vsync? Have I missed the obvious fix for this? > > Allthough the api might be a bit proprietary, if you have a matrox card, > you can use syncfb which consists of a kernel and a library that allows > you to upload yuv data the gfx card and copy it into the overlay > triggered by the VSYNC interrupt from the gfx card. It works with both > X11 and fb. > > http://teletux.sourceforge.net/ The same is done in directfb (www.directfb,org), one of the example programs (df_layer) can display directly from v4l source or a video file. Marcus