Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2007 12:54:25 -0800
From:      "Kevin Downey" <redchin@gmail.com>
To:        "Jim Stapleton" <stapleton.41@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: any application that can read straight form a tv tuner device?
Message-ID:  <1d3ed48c0703081254y7a822d08m4a2b776163f3b6cc@mail.gmail.com>
In-Reply-To: <80f4f2b20703081146q52a7d109k81683b12cda6f191@mail.gmail.com>
References:  <80f4f2b20703081146q52a7d109k81683b12cda6f191@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/8/07, Jim Stapleton <stapleton.41@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d3ed48c0703081254y7a822d08m4a2b776163f3b6cc>