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

Kevin Downey redchin at gmail.com
Thu Mar 8 20:54:27 UTC 2007


On 3/8/07, 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
you can run
cat /dev/cxm0|vlc stream:///dev/stdin
and watch in vlc. You would think: vlc stream:///dev/cxm0 would work
without the pipe, but it doesn't.

-- 
The biggest problem with communication is the illusion that it has occurred.


More information about the freebsd-multimedia mailing list