Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2007 21:42:45 +0100
From:      Anders Troback <freebsd@troback.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: any application that can read straight form a tv tuner device?
Message-ID:  <20070308214245.6b3270b0@devil.troback.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 Thu, 8 Mar 2007 14:46:42 -0500
"Jim Stapleton" <stapleton.41@gmail.com> wrote:

> i.e.
>=20
> $ SomeMpegViewer < /dev/cxm0
>=20
> 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.
>=20
> 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)
>=20
> I found that, if I have enough delay between the two commands,
> $ cat /dev/cxm0 > /tmp/tvfile
> $ noatun /tmp/tvfile
>=20
> 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.
>=20
> 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
--=20

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



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