any application that can read straight form a tv tuner device?

Anders Troback freebsd at troback.com
Thu Mar 8 20:42:53 UTC 2007


On Thu, 8 Mar 2007 14:46:42 -0500
"Jim Stapleton" <stapleton.41 at gmail.com> wrote:

> i.e.
> 
> $ SomeMpegViewer < /dev/cxm0
> 
> would alow me to use my TV tuner? The application would be used ONLY
> for video/audio. Channel changing and such would be handled by another
> appliation on the command line.
> 
> I tried mplayer since it was supposed to be able to handle mpg videos
> from stdin, however it gave me an error saying there was too much data
> per packet (I don't have it with me at the moment, so I can't say
> exactly what it is)
> 
> I found that, if I have enough delay between the two commands,
> $ cat /dev/cxm0 > /tmp/tvfile
> $ noatun /tmp/tvfile
> 
> does the job I need, but, it has some latency, which can be
> problematic (especially if I were playing a console game), also it
> tends to create a rather large file, unncecessarily.
> 
> Thanks,
> -Jim Stapleton

I have be using Xine with great success, just do:

cat /dev/cxm0 | xine stdin://


With mplayer I had to make a lager cache like:

mplayer -cache 4000 /dev/cxm0

\\troback
-- 

================================================================
How many Microsoft employees does it take to screw in a light bulb?
None, they declare darkness a new standard.
----------------------------------------------------------------
Anders Trobäck
http://www.troback.com/
-


More information about the freebsd-multimedia mailing list