[Sumover-dev] Re: Reg: VIC default size on OS X

Douglas Kosovic douglask at itee.uq.edu.au
Thu Aug 20 22:06:59 BST 2009


Hi Akhila,

Have a look at the tcl/ui-resource.tcl file, in particular the default 
geometry resource:

    option add Vic.geometry 400x300 startupFile


Doug

Akhila wrote:
> Hello Douglas,
> 
> My application is working fine so far. I have a question. How do I embed the
> geometry inside my and not give extra parameters on the command line?? I
> generally use the same vic size and would like to embed it in the code.
> Where do I make the changes?? I am searching 'geometry' in the code and
> trying to understand. Could you give me some directions??
> 
> Thanks
> 
> 
> Akhila
> 
> 
> 
> If you want to set vic's geometry you can use a Tk geometry string with
> something like:
> 
> vic -X geometry=1000x500+300-400 234.5.6.7/16000
> 
> i.e. 1000 pixels wide by 500 pixels tall, with the left edge 300 pixels from
> the left of the screen, and the bottom edge 400 pixels up from the base of
> the screen.
> 
> On Tue, Aug 11, 2009 at 8:21 PM, Douglas Kosovic <douglask at itee.uq.edu.au>wrote:
> 
>> Hi Akhila,
>>
>>  Can you help me in splitting the ports? Sending and receiving..
>>> Are there any other instructions for compiling vic on mac? I tried around
>>> 5
>>> times changing the name of hostname and it worked for only LOCALHOST and
>>> does not work after I quit terminal. How do I link static libraries for
>>> vic?
>>> And what libraries do I need to include while 'make'?
>>>
>> The configure instructions I've given you were what I use for Linux, but
>> were also applicable to MacOS X.
>>
>> To see which shared libraries vic was linked against, issue:
>>  otool -L vic
>>
>> You would only want to statically link against UCL common, x264 and ffmpeg.
>> gcc (with no explicit switches for linking against static libraries) will
>> link against a static library if it can't find the corresponding dynamic
>> library.
>>
>>> I am attaching the log file. May be you can tell me something as to
>>> where I am going wrong. I am trying to understand the log file now.
>> In your log ffmpeg and x264 appear to be getting built statically, also
>> don't do a 'make install' for UCL common as that will install it's dynamic
>> library in /usr/local/lib.
>>
>>> I used the binary file from the website and typed
>>> ./vic -l 127.0.0.1/1600 i am attaching the log file I received. It's
>>> still transmitting on my ip and not on loopback. It took me time to
>>> figure this out. Why is this doing this?
>>> I need to transmit on loopback address on my application.
>> Is there any reason you aren't using multicast to sidestep the intristic
>> limitations of unicast? You can limit multicast to just your Mac by setting
>> the TTL to 1, e.g. :
>>
>>   vic -t 1 239.1.2.3/1600
>>
>> You can use RTP recorders like AGVCR to record the RTP packets that are
>> getting sent, but a 2nd vic on the same machine won't display the video sent
>> by the 1st local vic by design.
>>
>>
>> Doug
>>
>>
> 
> 




More information about the Sumover-dev mailing list