Please Help, its a bit urgent. Hello,
I am currently doing a project on Multimedia Streaming and want to simulate it using NS2. I searched the Mailing Archives and I found some previous work done in this area by 'smallko'. I got his files 'mpeg4_traffic.cc' and all. But I am facing some problems using it. I followed the following steps: 1.) Downloaded the files. Saved the file 'mpeg4_traffic.cc' and the folder 'Video_Model' in a new folder named 'MPEG4' in the ns-2.31 directory. 2.) Added the following in the MakeFile 'MPEG4/mpeg4_traffic.o \' under 'OBJ_CC' 3.) Performed 'make depend', 'make' and 'make install' in the ns-2.31directory. 4.) Then, I used the file 'part-of-example.txt ' to write a TcL code and saved it in ns-2.31/tcl/lib 5.) Tried to run this file, but gives me the following error: invalid command name "Application/Traffic/MPEG4" while executing "Application/Traffic/MPEG4 create _o84 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Application/Traffic/MPEG4" invoked from within "set vdo [new Application/Traffic/MPEG4]" (file "part-of-example.tcl" line 79) I have attached the TcL code which I was trying to run. You can see traces of Mark Claypool's Simple Simulation Example in the code. :) Hoping for a swift reply. Thank You. P.S.: I am using NS-2.31. Output of uname -a Linux merup-desktop 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux