"headless" VideoProducerService

Ivan R. Judson judson at mcs.anl.gov
Tue Aug 5 18:41:23 CDT 2003


I don't think Chris has delved into those details; but I'm guessing it
wouldn't be too hard to poke at eventually. I was mostly trying to see if we
could get video senders that don't require us to run X on the video box :-)

--Ivan

> -----Original Message-----
> From: owner-ag-dev at mcs.anl.gov 
> [mailto:owner-ag-dev at mcs.anl.gov] On Behalf Of Robert Olson
> Sent: Tuesday, August 05, 2003 5:48 PM
> To: Christopher Cope
> Cc: ag-dev at mcs.anl.gov
> Subject: Re: "headless" VideoProducerService
> 
> 
> cool.
> 
> have you thought about how the producer may determine the 
> ssrc of the video that it is sending and update the venue 
> cloud with that information?
> 
> --bob
> 
> On Tue, 2003-08-05 at 17:18, Christopher Cope wrote:
> > Hey everybody!!!
> > 
> > Finally, after working on this WAY TOO LONG, I have a headless video
> > producer script that works and interfaces with ag2 the way 
> it should.
> > Tell me if you see any problems.
> > 
> > headlessVideo.mash creates a video stream defined by the arguments 
> > pssed
> > to it. if run with smash, this does not require any sort of 
> display. so it 
> > can replace vic as the executable called in VideoProducerService.
> > 
> > VideoProducerService.py is Tom's script for running and passing AG
> > settings to vic, modified for the headlessVideo.mash script. 
> > 
> > VideoProducerService.py runs the command "smash headlessVideo.mash 
> > <args>"
> > 
> > smash is essentially the mash executable, except without 
> any sort of 
> > gui-X
> > stuff. therefore mash needs to be installed for it to work.
> > 
> > my directions for doing this are as follows::
> > set your CVSROOT to
> > :pserver:anonymous at cvs.openmash.org:/usr/mash/src/repository
> > 
> > cvs login
> > 
> > cvs checkout mash-code
> > 
> > now you will need to copy the desCore library into the mash-code
> > directory.
> > 
> > build it: ./configure --enable-des --enable-rijndael && make && 
> > ./build
> > 
> > ...
> > 
> > so this is what you should need to do. but somewhere along 
> the lines a
> > makefile broke or something. im not quite sure and am 
> looking into it. all 
> > i know is that it used to build fine, and that smash ran my script 
> > properly last night. :-)
> > 
> > what i do know, is that headlessVideo.mash is fine, and instead of 
> > banging
> > my head against the wall over this, i'm going to, as Ivan 
> suggested, 
> > work on getting autoplace working for mash-vic right now, 
> and come back to 
> > the "why wont mash do what it used to do?" problem in a day. 
> > 
> > heres the headless video script, and my releasecandidate ;) 
> version of
> > VideoProducerService.py
> > 
> > i could see a need for better error checking when parsing arguments 
> > sent
> > to the script. i tried to have it imitate vic as much as 
> possible. but 
> > aside from that, headlessVideo.mash is final.
> > 
> > VideoProducerService.py might need a change or two once i get mash 
> > working
> > properly again. there was not an obvious one-for-one 
> translation between 
> > the arguments orginally passed to vic, and the arguments 
> that can be 
> > passed to my script. can anyone point me to doc specifying 
> all the user 
> > defineable settings, and any y'all desire???
> > 
> > VideoProducerService.py and VideoProducerService.svc, as 
> you know, are
> > combined into a .zip and then opened by the AG.
> > 
> > So yeah, heres my stuff, got beef?
> > Chris
> 
> 




More information about the ag-dev mailing list