[AG-TECH] New Fedora Core 2 AGTk CVS snapshot

Fred Dech fdech at uchicago.edu
Fri Jul 16 10:37:24 CDT 2004


hi Doug.

i applied your patch to VideoService.py.
at first i thought that it changed the character of things; i'd been using
videoProducerServices rather than VideoServices.  but i've now double and
triple checked.
i believe you're right when you said:
>
> Notice the "invalid value for input: (null)" stderr output from
> /usr/bin/v4lctl. I think the corresponding V4L2 driver (the bttv driver?)
> needs some minor mods in the source code to indicate the inputs that
> particular model of Osprey capture card has, currently all the inputs on
> that card don't have a name.

before the patch and after the patch, i get the same output:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO:ServiceManager:__DiscoverResources
config: invalid value for input: (null)
valid choices for "input": "Television", "Composite1", "S-Video", "Composite3"
config: invalid value for input: (null)
valid choices for "input": "Television", "Composite1", "S-Video", "Composite3"
....

INFO:ServiceManager:Service VideoService successfully started
INFO:ServiceManager:Setting service configuration
INFO:ServiceManager:Assigning resource to service: /dev/video0
INFO:Toolkit:VideoService.SetResource : /dev/video0
INFO:ServiceManager:AGServiceManager.AddService
INFO:ServiceManager:AddService: VideoService v 2.210000 u https://sucag1.uchicago.edu:54513/packages/VideoService.zip
INFO:ServiceManager:resourceToAssign: /dev/video1
INFO:ServiceManager:Searching for local service package
INFO:ServiceManager:Found local service VideoService, v2
INFO:ServiceManager:Running Service; options: /usr/bin/python2 ['/home/aguser/.AccessGrid/local_services/VideoService/VideoService.py', 59926]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

my new Node Service config file has:
[service2]
packagename = VideoService.zip
resource = resource2
serviceconfig = serviceconfig2

[serviceconfig2]
encoding = h261
mutesources = Off
streamname = Video
framerate = 24
standard = NTSC
bandwidth = 800
transmitonstartup = On
quality = 75
port = S-Video

but the VideoSerices instantiated upon startup of VenueClient still default
to Television for input.
i bet this is some weird driver issue as you implied.

using VideoService i still need to swap from Composite1 to S-Video each
time i enter a venue.  but at least i can see my video.  it doesn't show up
on the Master VIC, but the two VideService Sub VICs do display it.  and
other clients can still see me.

i'm going to take a closer look at bttv and try and figure out why those
error messages are being produced whenever the VenueClient starts up.

thanks.

--fred




More information about the ag-tech mailing list