<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>RE: [AG-TECH] AG 1.1 Release</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Justin & folks,</FONT>
</P>
<P><FONT SIZE=2>Thanks for the clues earlier. Here is a work-around to launch OM Vic with custom settings (see end for PIG issues):</FONT>
</P>
<P><FONT SIZE=2>In the Vic startup script, you need a user_hook something like:</FONT>
</P>
<P><FONT SIZE=2>VicApplication instproc user_hook {} {</FONT>
<BR> <FONT SIZE=2># settings:</FONT>
<BR> <FONT SIZE=2>$self add_option maxbw 10000000</FONT>
<BR> <FONT SIZE=2>$self add_option bandwidth 4000000</FONT>
<BR> <FONT SIZE=2>$self add_option framerate 29</FONT>
<BR> <FONT SIZE=2>$self add_option quality 100</FONT>
<BR> <FONT SIZE=2>$self add_option defaultFormat h261</FONT>
<BR> <FONT SIZE=2>$self add_option inputType NTSC</FONT>
<BR> <FONT SIZE=2>set device "YOUR DEVICE HERE"</FONT>
<BR> <FONT SIZE=2>$self add_option defaultDevice $device</FONT>
<BR> <FONT SIZE=2>$self add_option defaultTTL 15</FONT>
<BR> <FONT SIZE=2>$self add_option rptName "YOUR NODE NAME HERE"</FONT>
</P>
<P> <FONT SIZE=2>$self instvar ui_</FONT>
<BR> <FONT SIZE=2>$ui_ instvar controlMenu_</FONT>
</P>
<P> <FONT SIZE=2>$controlMenu_ tkvar muteNewSources</FONT>
<BR> <FONT SIZE=2>set muteNewSources 0</FONT>
</P>
<P> <FONT SIZE=2>$controlMenu_ build_window</FONT>
<BR> <FONT SIZE=2>$controlMenu_ invoke_transmit</FONT>
</P>
<P> <FONT SIZE=2># Set Quality</FONT>
<BR> <FONT SIZE=2>$controlMenu_ setq [$self get_option quality]</FONT>
<BR> <FONT SIZE=2>$controlMenu_ instvar qscale_</FONT>
<BR> <FONT SIZE=2>$qscale set [$self get_option quality]</FONT>
</P>
<P> <FONT SIZE=2># Set fps:</FONT>
<BR> <FONT SIZE=2>$controlMenu_ set_fps .menu.cb.frame.right.fps.value [$self get_option framerate]</FONT>
</P>
<P> <FONT SIZE=2># Set bps:</FONT>
<BR> <FONT SIZE=2>$controlMenu_ set_bps .menu.cb.frame.right.bps.value [$self get_option bandwidth]</FONT>
<BR><FONT SIZE=2>}</FONT>
</P>
<P><FONT SIZE=2>Of course you need to use real values for the strings beginning with "YOUR "... Someone will need to do further work to get PIG to provide these settings to Vic.</FONT></P>
<P><FONT SIZE=2> - Derek</FONT>
</P>
<P><FONT SIZE=2>ps. Yes, this is an ugly hack. We really need to get OM vic to look at the specified options at transmit time (maybe in select_format?).</FONT></P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Justin Binns [<A HREF="mailto:binns@mcs.anl.gov">mailto:binns@mcs.anl.gov</A>] </FONT>
<BR><FONT SIZE=2>Sent: Tuesday, August 27, 2002 3:11 PM</FONT>
<BR><FONT SIZE=2>To: Heisen, Andrew [NCSUS]</FONT>
<BR><FONT SIZE=2>Cc: ag-tech@mcs.anl.gov; White, Derek [NCSUS Non J&J]</FONT>
<BR><FONT SIZE=2>Subject: RE: [AG-TECH] AG 1.1 Release</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi!</FONT>
<BR> <FONT SIZE=2>The two issues below are related, and have to do with how OpenMash processes the startup file and options. As far as I can tell, the OM code sets a default, very low level for quality/bandwidth/framerate when the encoder is initialized, and doesn't query the TCL variables and reset appropriately until the 'Options' dialog is loaded. So, whatever you put in the config is in fact being set as the 'default', it's just that those defaults aren't being considered until the Options dialog is opened. </FONT></P>
<P><FONT SIZE=2>I've been poking around a little looking for an answer, but haven't found one yet. We're working on it, but if you find a solution, we'd certainly appreciate it if you'd let us know ;-)</FONT></P>
<P><FONT SIZE=2>Justin</FONT>
</P>
<P><FONT SIZE=2>On Tue, 27 Aug 2002, Heisen, Andrew [NCSUS] wrote:</FONT>
</P>
<P><FONT SIZE=2>> Hi all, I've got 2 more PIG questions.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> We too are unable to set the default quality to anything other than </FONT>
<BR><FONT SIZE=2>> 10, though we can change other settings through a startup script. Can </FONT>
<BR><FONT SIZE=2>> anyone help us with this?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Even more importantly, we're having trouble with OM VIC performance. </FONT>
<BR><FONT SIZE=2>> When Vic starts up it seems to be throttling it's own bandwidth such </FONT>
<BR><FONT SIZE=2>> that it can never transmit at more than 2 fps with about a 2-4 sec </FONT>
<BR><FONT SIZE=2>> delay. Raising the bandwidth allowed helps slightly but does not </FONT>
<BR><FONT SIZE=2>> solve the problem. Oddly, when the "settings" button is pressed, </FONT>
<BR><FONT SIZE=2>> openning the options dialogue, VIC fully recovers immediately and </FONT>
<BR><FONT SIZE=2>> begins transmiting at our specified rate of 29 fps and with no delay. </FONT>
<BR><FONT SIZE=2>> This is without actually altering any of the settings.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> If anyone can offer any explanations or suggestions as to how to fix </FONT>
<BR><FONT SIZE=2>> this, we'd greatly appreciate it.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> -Andrew</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Thomas M. Mueller [<A HREF="mailto:thomas.m.mueller@Dartmouth.EDU">mailto:thomas.m.mueller@Dartmouth.EDU</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Thursday, July 04, 2002 12:30 PM</FONT>
<BR><FONT SIZE=2>> To: Mary Fritsch</FONT>
<BR><FONT SIZE=2>> Cc: ag-tech@mcs.anl.gov</FONT>
<BR><FONT SIZE=2>> Subject: Re: [AG-TECH] AG 1.1 Release</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> i just installed the PIG version of release 1.1 (which is great, by </FONT>
<BR><FONT SIZE=2>> the</FONT>
<BR><FONT SIZE=2>> way) on our machine. is anyone available for testing in the test room? </FONT>
<BR><FONT SIZE=2>> also, a couple questions about the video resource manager. is there a</FONT>
<BR><FONT SIZE=2>> way to change the default settings for frame rate/bandwidth/quality so i</FONT>
<BR><FONT SIZE=2>> don't have to change them every time i start up the node? is there a</FONT>
<BR><FONT SIZE=2>> reason the quality setting in vic always starts at 10 no matter how i</FONT>
<BR><FONT SIZE=2>> set it in the video resource manager?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> On Wed, 2002-07-03 at 17:09, Mary Fritsch wrote:</FONT>
<BR><FONT SIZE=2>> > All,</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > Argonne National Laboratory is pleased to announce an update to the </FONT>
<BR><FONT SIZE=2>> > Access</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > Grid Node Display Machine Software. This release includes </FONT>
<BR><FONT SIZE=2>> > preliminary</FONT>
<BR><FONT SIZE=2>> > support for the Personal Interface to the Access Grid and can be found by </FONT>
<BR><FONT SIZE=2>> > clicking the Software Download link from www.accessgrid.org.</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > Please feel free to send mail to ag-mcs@mcs.anl.gov with questions </FONT>
<BR><FONT SIZE=2>> > or</FONT>
<BR><FONT SIZE=2>> comments.</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > ANL AG Team</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
</BODY>
</HTML>