<!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 &amp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2># settings:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option maxbw 10000000</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option bandwidth 4000000</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option framerate 29</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option quality 100</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option defaultFormat h261</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option inputType NTSC</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>set device &quot;YOUR DEVICE HERE&quot;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option defaultDevice $device</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option defaultTTL 15</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self add_option rptName &quot;YOUR NODE NAME HERE&quot;</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$self instvar ui_</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$ui_ instvar controlMenu_</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ tkvar muteNewSources</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>set muteNewSources 0</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ build_window</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ invoke_transmit</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2># Set Quality</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ setq [$self get_option quality]</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ instvar qscale_</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$qscale set [$self get_option quality]</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2># Set fps:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>$controlMenu_ set_fps .menu.cb.frame.right.fps.value [$self get_option framerate]</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2># Set bps:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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 &quot;YOUR &quot;... Someone will need to do further work to get PIG to provide these settings to Vic.</FONT></P>

<P><FONT SIZE=2>&nbsp;- 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&amp;J]</FONT>
<BR><FONT SIZE=2>Subject: RE: [AG-TECH] AG 1.1 Release</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi!</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>The two issues below are related, and have to do with how OpenMash processes the startup file and options.&nbsp; 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.&nbsp; 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.&nbsp; </FONT></P>

<P><FONT SIZE=2>I've been poking around a little looking for an answer, but haven't found one yet.&nbsp; 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>&gt; Hi all, I've got 2 more PIG questions.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; We too are unable to set the default quality to anything other than </FONT>
<BR><FONT SIZE=2>&gt; 10, though we can change other settings through a startup script.&nbsp; Can </FONT>
<BR><FONT SIZE=2>&gt; anyone help us with this?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Even more importantly, we're having trouble with OM VIC performance.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; When Vic starts up it seems to be throttling it's own bandwidth such </FONT>
<BR><FONT SIZE=2>&gt; that it can never transmit at more than 2 fps with about a 2-4 sec </FONT>
<BR><FONT SIZE=2>&gt; delay.&nbsp; Raising the bandwidth allowed helps slightly but does not </FONT>
<BR><FONT SIZE=2>&gt; solve the problem.&nbsp; Oddly, when the &quot;settings&quot; button is pressed, </FONT>
<BR><FONT SIZE=2>&gt; openning the options dialogue, VIC fully recovers immediately and </FONT>
<BR><FONT SIZE=2>&gt; begins transmiting at our specified rate of 29 fps and with no delay.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; This is without actually altering any of the settings.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; If anyone can offer any explanations or suggestions as to how to fix </FONT>
<BR><FONT SIZE=2>&gt; this, we'd greatly appreciate it.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -Andrew</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Thomas M. Mueller [<A HREF="mailto:thomas.m.mueller@Dartmouth.EDU">mailto:thomas.m.mueller@Dartmouth.EDU</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: Thursday, July 04, 2002 12:30 PM</FONT>
<BR><FONT SIZE=2>&gt; To: Mary Fritsch</FONT>
<BR><FONT SIZE=2>&gt; Cc: ag-tech@mcs.anl.gov</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: [AG-TECH] AG 1.1 Release</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; i just installed the PIG version of release 1.1 (which is great, by </FONT>
<BR><FONT SIZE=2>&gt; the</FONT>
<BR><FONT SIZE=2>&gt; way) on our machine.&nbsp; is anyone available for testing in the test room? </FONT>
<BR><FONT SIZE=2>&gt; also, a couple questions about the video resource manager.&nbsp; is there a</FONT>
<BR><FONT SIZE=2>&gt; way to change the default settings for frame rate/bandwidth/quality so i</FONT>
<BR><FONT SIZE=2>&gt; don't have to change them every time i start up the node?&nbsp; is there a</FONT>
<BR><FONT SIZE=2>&gt; reason the quality setting in vic always starts at 10 no matter how i</FONT>
<BR><FONT SIZE=2>&gt; set it in the video resource manager?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On Wed, 2002-07-03 at 17:09, Mary Fritsch wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; All,</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Argonne National Laboratory is pleased to announce an update to the </FONT>
<BR><FONT SIZE=2>&gt; &gt; Access</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Grid Node Display Machine Software.&nbsp; This release includes </FONT>
<BR><FONT SIZE=2>&gt; &gt; preliminary</FONT>
<BR><FONT SIZE=2>&gt; &gt; support for the Personal Interface to the Access Grid and can be found by </FONT>
<BR><FONT SIZE=2>&gt; &gt; clicking the Software Download link from www.accessgrid.org.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Please feel free to send mail to ag-mcs@mcs.anl.gov with questions </FONT>
<BR><FONT SIZE=2>&gt; &gt; or</FONT>
<BR><FONT SIZE=2>&gt; comments.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; ANL AG Team</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>