[ivtv-devel] mplayer choppy, xine blank

Hans Verkuil hverkuil at xs4all.nl
Fri Sep 30 07:55:53 CEST 2005


On Friday 30 September 2005 03:03, Steve Castellotti wrote:
> hey all--
>
>     I've been doing a lot of searching on the mailing list, trying to
> work out a way to "permanently" display a live video stream on screen
> (either through s-video or composite connections).
>
>     Playing through mplayer by directly reading from /dev/video0, I see
> random slowdown and speedups, huge amounts of frames being dropped, and
> so on. If I cat /dev/video0 > file.mpg and play that, it works just
> fine, but the file continues to grow and grow. Isn't there some way to
> write file and use that file as a "buffer" mplayer can read from?
>
>     I've tried using xine instead, but I only get a blank window. Xine
> can read generic media files and play them back without trouble, but can
> neither read from /dev/video0 directly nor from the "file.mpg" dumps I
> make using cat. (Also tested the pvr pluging, using "xine -V xv --stdctl
> pvr://tmp/livepause"). I've tried making changes to the codec-params
> without result. Note that mplayer can play the same files, so its not a
> problem with the wrong input setting!

For xine I use 'xine stdin://- </dev/video0'. This definitely works. If not, 
then you may have to upgrade to a newer version of xine.

	Hans



More information about the ivtv-devel mailing list