ns2: video transmission
pls anybody helps me to guide how the video traces are transmitted through ns2.
|
Welcome to LQ.
Google .. ns2 mpeg .. The first hit is http://hpds.ee.ncku.edu.tw/~smallko/...vid_in_NS2.htm And http://hpds.ee.ncku.edu.tw/~smallko/ns2/mympeg/ > http://140.116.164.80/~smallko/ns2/m...o-ns2.28.patch http://csie.nqu.edu.tw/smallko/ns2/myEvalvid.htm Ns-2.28 : tar xvf ns-allinone-2.28.tar.gz patch -p0 < ns228-gcc40.patch patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch cd ../ && export CC=gcc41 CXX=g++41 && ./install #15 for the 2 patches http://www.linuxquestions.org/questi...4-a-842773/#15 P.S. : http://gridnet.upc.es/~maguilar/ns2_...VCarrascal.pdf ( May work too .. is for ns-2.27, ns-2.33 ). - |
ns2 video transmission
sir can u pls tell me the procedure to install ns-2.28 in ubuntu 10.04.actually i have already ns2.34 installation.but u wrote abt ns2.28 for video transmission.so pls tell me how i will install ns 2.28 in ubuntu 10.04
|
Quote:
2) tar xvf ns-allinone-2.28.tar.gz patch -p0 < ns228-gcc40.patch patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch cd ../ && export CC=gcc-4.1 CXX=g++-4.1 && ./install 3) cd ns-2.28/ && cp ns ns-mympeg sudo cp ns-mympeg /usr/local/bin/ Then you can run the examples with $ ns-mympeg <file>.tcl - |
ns2:video transmission
thanks a lot sir.i got 3 patches from your discussion page.
1.ns228-gcc40.patch 2.ns-2.28-gcc410.patch 3.and mympeg patch. now my problem is where i will put these patches.so for that i will write commands that is given by you. sir pls help me coz i am working alone. and no one is there to help me.sir pls help me. |
# 5
Very simple : A patch is either gone to be placed in the folder where you do the command. ( If you have any doubt about your current location, the pwd command can used: Type pwd in the terminal, and you will get a reply like "/home/biswa/" ). Or you can type the path to the patch. Example : a) pwd b) tar xvf ns-allinone-2.28.tar.gz c) patch -p0 < ../Downloads/ns228-gcc40.patch ... if the patch is in Downloads/ . And if Downloads/ is one level up. Or c1) patch -p0 < /home/biswa/Downloads/ns228-gcc40.patch - |
ns2:video transmission
Thanks sir ,i will do it.if any problem will arise then i will inform u.thanks alot.
|
ns2 video transmission
sir i have done all these things,i.e.given below
1)sudo apt-get install g++-4.1 2) tar xvf ns-allinone-2.28.tar.gz patch -p0 < ns228-gcc40.patch patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> and i put mympeg-patch-to-ns2.28.patch inside ns-2.28 folder then i have changed my directory to ns-2.28 as given then i typed in command window mympeg-patch-to-ns2.28.patch then type cd. then typed export CC=gcc-4.1 CXX=g++-4.1.then i typed ./install. it showed me :no such file or directory. again i typed ./install by comming to ns-2.28 directory. the same sentence showed to me i.e no such file or directory. what will i do now?pls guide me. i have done all these things by following these lines: cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch cd ../ && export CC=gcc-4.1 CXX=g++-4.1 && ./install |
# 8
Well, you could just type exit. And then : cd ns-allinone-2.28/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install ( 'cd ../' or 'cd ..' : Means change to the parent directory = one level up.) |
ns2:video transmission
sir after following u installation is successful.is not it necessary to validate that.because after completion of installation it is said that validate it in ns2.28 directory.and after typing ./validate this type of error came
ns: [code omitted because of length] : invalid command name "Agent/myUDP" while executing "Agent/myUDP set packetSize_ 1000" Running test timersA3: ../../ns test-suite-tcp.tcl timersA3 QUIET ns: [code omitted because of length] : invalid command name "Agent/myUDP" while executing "Agent/myUDP set packetSize_ 1000" but i have done all other things like cd ns-2.28/ && cp ns ns-mympeg sudo cp ns-mympeg /usr/local/bin/ then what will i do? will i validate it or anything else. |
# 10
What happens when you do : 1) cd ns-allinone-2.28/ns-2.28/ 2) ./ns |
ns2 video transmission
sir, after doing ./ns
i am getting this much ns: [code omitted because of length] : invalid command name "Agent/myUDP" while executing "Agent/myUDP set packetSize_ 1000" |
1 Attachment(s)
# 10, #12.
Sorry, the Makefile.in entries were missing : http://hpds.ee.ncku.edu.tw/~smallko/...vid_in_NS2.htm Anyway, the "mympeg" install failed here. EDIT : OK with g++34. And : A newer tool-set is suggested in the above link : → myevalvid → http://140.116.164.80/~smallko/ns2/myevalvid2.htm >> http://140.116.164.80/~smallko/ns2/myevalvid2.rar > myevalvid2.rar >> myevalvid/ : The code builds OK. Add myevalvid : cp -a myevalvid/ ns-allinone-2.28/ns-2.28/ Use the new Makefile.in : Attached as myevalvid-Makefile.in.txt : Rename to Makefile.in, and : cp -a Makefile.in ns-allinone-2.28/ns-2.28/ cd ns-allinone-2.28/ns-2.28/ && make clean && ./configure && make . |
ns2 video transmission
sir i have downloaded the evalvid-makefile.in.txt and myevalvid2.rar from your link given.
now what will i do exactly i could not get you. pls tell me. will i extract myevalvid.rar and will rename the evalvid-makefile.in.text to only makefile.in |
Ref. post #13 :
I managed to build the "mympeg" files : With g++ version 3.4.6 . The patches mympeg and myevalvid conflict, two separate ns-2.28 were used. Now two binary packages are available : mympeg-ns-2.28-ubuntu10_i386.deb https://docs.google.com/file/d/0B7S2...1fUWsybEU/edit And : myevalvid-ns-2.28-ubuntu10_i386.deb https://docs.google.com/file/d/0B7S2...1GS1ZCdFk/edit You can install the packages with : sudo dpkg -i \ mympeg-ns-2.28-ubuntu10_i386.deb myevalvid-ns-2.28-ubuntu10_i386.deb Providing /usr/local/bin/ ns-mympeg ns-myevalvid Meaning : You do not have to build anything .. So now it's up to you to find out how to use the ns-*** with the available files. - |
All times are GMT -5. The time now is 02:03 AM. |