[linux-dvb] USBVision device defaults
Tim Williams
tmw at autotrain.org
Mon Jun 29 12:34:50 CEST 2009
Hello,
I'm trying use a WinTV USB adaptor which uses the usbvision driver to
capture the output of a video camera for streaming across the web, the
idea being that there is a reliable local recording, even in the event of
a computer crash, while allowing the remote viewers to see the proceedings
live without needing to have two separate cameras.
Unfortunately there is a catch, i'm using flash to do the broadcast
and flash (in common with a lot of other software of this type) doesn't
have the ability to set the input type and picture format, so you are
stuck with the default, which is the rf-tuner. I have managed to make my
own bodged driver which disables the rf-input so that I can get a picture
via s-video, but it is stubbornly stuck in black and white, which i'm
assuming is some kind of colour format problem.
If I use KDETV to look at the picture then everything comes through in
colour, so this would seem to be a problem with the defaults built into
the module being incorrect for my circumstances. Rather than carrying on
with my bodged driver (this is the first time I have ever attempted to
modify a C programme), what would be really great is away to achieve one
of the following :
1) Set the default input, tv standard and pixel format using module
parameters in modprobe.conf
2) Get the driver to 'remember' it's current settings when switching
between applications. The windows driver for these devices does this, so
all I have to do under windows is start up WinTV, make sure I have a good
picture, close it down again and then start up the video broadcast in
flash.
3) A way to change the device settings using a 3rd party app even when the
main video device is in use and can't be accessed. I've tried using v4lctl
to set the parameters before starting a capture, but if the flash capture
is active, then I (unsurprisingly) get device in use errors. If I use v4lctl
before starting flash, then the settings don't stick. The capture box becomes
active briefly (there is a red light on the box which indicates this),
presumably accepts the setting and is then powered down again, causing
the new setting to be immediately forgotten.
Any thoughts or help would be much appreciated.
Tim W
--
Tim Williams BSc MSc MBCS
Euromotor Autotrain LLP
58 Jacoby Place
Priory Road
Edgbaston
Birmingham
B5 7UW
United Kingdom
Web : http://www.autotrain.org
Tel : +44 (0)121 414 2214
EuroMotor-AutoTrain is a company registered in the UK, Registration
number: OC317070.
More information about the linux-dvb
mailing list