Re: [ns] NS2 EvalVid urgent

2011-05-08 Thread Tami Nesher

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 records
ns: finish: error opening sd_a01
while executing
exec ./etmp4 -p -0 sd_a01 rd_a01 st_a01 a01.mp4 a01e
(procedure finish line 6)
invoked from within
finish



On Tue, May 3, 2011 at 9:47 AM, fivos fivos@gmail.com wrote:

 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 vessely...@gmail.com wrote:
 
  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] sd rd st in out [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 in case of asynchronous clocks (optional)
   sd tcpdump sender
   rd tcpdump receiver
   st trace-file sender
   in transmitted video (original mp4)
   out base name of output-file
   [PoB] optional Play-out buffer size [ms]
  the file a01.mp4 wasn't created..
 
 
  On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote:
 
  is etmp4 in the same folder of the tcl script?? if you run th etmp4
  independently, i mean directly from console it runs without errors?
  bye
 
 
  2011/5/3 Tami Nesher vessely...@gmail.com
 
 
  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 input file, located also in the same folder.
 
  and I got error :
 
  ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
  9.9333
  300 records
  ns: finish: couldn't execute etmp4: no such file or directory
 while executing
  exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
 (procedure finish line 6)
 invoked from within
  finish
 
 
  On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote:
 
   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 vessely...@gmail.com
  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  etc in
 the
   tcl
file?
I need that the correct video will be the *output* of the *tcl*
 file.
Thanks.
   
  
 
 
 
  --
  רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
  מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
  לא
  יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
 
 
 
 
  --
  Pedro Alonso Chaparro Valero RD Engineer
  Ciudad Politecnica de la Innovación
  iTEAM - Mobile Communications Group
  Polytechnic University of Valencia
  C\ Camino de Vera S/N, Edificio 8G
  46022 Valencia, Spain
 
 
 
 
  --
  רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
  מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
  יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
 




-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!


Re: [ns] NS2 EvalVid urgent

2011-05-08 Thread fivos

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 $exec_call} result]
if { $caught } {
 #handle the error
} else {
 #handle the success
}

By using this you avoid the tcl error and get the error directly
produced from etmp4

Cheers

On Sun, May 8, 2011 at 11:05 AM, Tami Nesher vessely...@gmail.com wrote:
 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 records
 ns: finish: error opening sd_a01
     while executing
 exec ./etmp4 -p -0 sd_a01 rd_a01 st_a01 a01.mp4 a01e
     (procedure finish line 6)
     invoked from within
 finish



 On Tue, May 3, 2011 at 9:47 AM, fivos fivos@gmail.com wrote:

 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 vessely...@gmail.com wrote:
 
  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] sd rd st in out [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 in case of asynchronous clocks (optional)
   sd tcpdump sender
   rd tcpdump receiver
   st trace-file sender
   in transmitted video (original mp4)
   out base name of output-file
   [PoB] optional Play-out buffer size [ms]
  the file a01.mp4 wasn't created..
 
 
  On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote:
 
  is etmp4 in the same folder of the tcl script?? if you run th etmp4
  independently, i mean directly from console it runs without errors?
  bye
 
 
  2011/5/3 Tami Nesher vessely...@gmail.com
 
 
  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 input file, located also in the same folder.
 
  and I got error :
 
  ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
  9.9333
  300 records
  ns: finish: couldn't execute etmp4: no such file or directory
     while executing
  exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
     (procedure finish line 6)
     invoked from within
  finish
 
 
  On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote:
 
   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 vessely...@gmail.com
  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  etc in
the
   tcl
file?
I need that the correct video will be the *output* of the *tcl*
file.
Thanks.
   
  
 
 
 
  --
  רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
  מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
   לא
  יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
 
 
 
 
  --
  Pedro Alonso Chaparro Valero RD Engineer
  Ciudad Politecnica de la Innovación
  iTEAM - Mobile Communications Group
  Polytechnic University of Valencia
  C\ Camino de Vera S/N, Edificio 8G
  46022 Valencia, Spain
 
 
 
 
  --
  רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
  מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
   לא
  יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
 



 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!








Re: [ns] NS2 EvalVid urgent

2011-05-03 Thread Tami Nesher

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 input file, located also in the same folder.

and I got error :

~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
9.9333
300 records
ns: finish: couldn't execute etmp4: no such file or directory
while executing
exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
(procedure finish line 6)
invoked from within
finish


On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote:

 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 vessely...@gmail.com 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  etc in the
 tcl
  file?
  I need that the correct video will be the *output* of the *tcl* file.
  Thanks.
 




-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!


Re: [ns] NS2 EvalVid urgent

2011-05-03 Thread Tami Nesher

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] sd rd st in out [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 in case of asynchronous clocks (optional)
  sd tcpdump sender
  rd tcpdump receiver
  st trace-file sender
  in transmitted video (original mp4)
  out base name of output-file
 [PoB] optional Play-out buffer size [ms]
the file a01.mp4 wasn't created..


On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote:

 is etmp4 in the same folder of the tcl script?? if you run th etmp4
 independently, i mean directly from console it runs without errors?
 bye


 2011/5/3 Tami Nesher vessely...@gmail.com


 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 input file, located also in the same folder.

 and I got error :

 ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
 9.9333
 300 records
 ns: finish: couldn't execute etmp4: no such file or directory
while executing
 exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
(procedure finish line 6)
invoked from within
 finish


 On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote:

  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 vessely...@gmail.com
 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  etc in the
  tcl
   file?
   I need that the correct video will be the *output* of the *tcl* file.
   Thanks.
  
 



 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




 --
 Pedro Alonso Chaparro Valero RD Engineer
 Ciudad Politecnica de la Innovación
 iTEAM - Mobile Communications Group
 Polytechnic University of Valencia
 C\ Camino de Vera S/N, Edificio 8G
 46022 Valencia, Spain




-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!


Re: [ns] NS2 EvalVid urgent

2011-05-03 Thread fivos

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 vessely...@gmail.com wrote:

 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] sd rd st in out [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 in case of asynchronous clocks (optional)
  sd tcpdump sender
  rd tcpdump receiver
  st trace-file sender
  in transmitted video (original mp4)
  out base name of output-file
  [PoB] optional Play-out buffer size [ms]
 the file a01.mp4 wasn't created..


 On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote:

 is etmp4 in the same folder of the tcl script?? if you run th etmp4
 independently, i mean directly from console it runs without errors?
 bye


 2011/5/3 Tami Nesher vessely...@gmail.com


 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 input file, located also in the same folder.

 and I got error :

 ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl
 9.9333
 300 records
 ns: finish: couldn't execute etmp4: no such file or directory
    while executing
 exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e
    (procedure finish line 6)
    invoked from within
 finish


 On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote:

  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 vessely...@gmail.com
 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  etc in the
  tcl
   file?
   I need that the correct video will be the *output* of the *tcl* file.
   Thanks.
  
 



 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




 --
 Pedro Alonso Chaparro Valero RD Engineer
 Ciudad Politecnica de la Innovación
 iTEAM - Mobile Communications Group
 Polytechnic University of Valencia
 C\ Camino de Vera S/N, Edificio 8G
 46022 Valencia, Spain




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




Re: [ns] NS2 EvalVid urgent

2011-05-01 Thread fivos

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 vessely...@gmail.com 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  etc in the tcl
 file?
 I need that the correct video will be the *output* of the *tcl* file.
 Thanks.