Hi,
I am asking about the example in the link:
http://140.116.72.80/~smallko/ns2/myevalvid2.htm
I want to know if I can run the commands like ./etmp4 etc in the tcl
file?
I need that the correct video will be the *output* of the *tcl* file.
Thanks.
yes you can run them. Check http://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html
On Sun, May 1, 2011 at 11:06 AM, Tami Nesher wrote:
>
> Hi,
> I am asking about the example in the link:
> http://140.116.72.80/~smallko/ns2/myevalvid2.htm
> I want to know if I can run the commands like ./etmp4 e
Hello, thanks for the answer.
I tried already to write in "finish" proc : exec etmp4 sd_a01 rd_a01 st_a01
a01.mp4 a01e
The etmp4 execution file located in the same folder as the tcl script file.
sd_a01 and rd_a01 created by this tcl script, and located also in the same
folder.
st_a01 is the inpu
Thanks.
from the console it returns:
~/ns-allinone-2.34/ns-2.34/v1$ ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
usage: et -[p|f|F] -[0|x] [-c] [PoB]
-[p|f|F] packet, frame or complete frame mode (alternative)
-[0|x] fill lost section with 0 or truncate (alternative)
[-c] use cumulative jitter
hi again Tami , the command you tried to write is wrong.
exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e needs to be :
exec ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
Good luck
On Tue, May 3, 2011 at 11:11 AM, Tami Nesher wrote:
>
> Thanks.
> from the console it returns:
> ~/ns-allinone-2.34/ns-2
thanks, it is right.
Now the problem is, that the sd & rd files were created by the tcl script.
I wrote this command (exec ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e) in the
proc "finish" of the tcl script.
So I got the message:
~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
9.9333
300 r
this means it doesn't accept the input file sd_a01. Either you have it
under another name or you don't have it there at all. If you think
this is not the case you could try catching the error like this :
set exec_call {exec ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e}
set caught [catch {eval exec $