LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sir,can i transmitted video trace in ns-2.34 ? (https://www.linuxquestions.org/questions/linux-software-2/sir-can-i-transmitted-video-trace-in-ns-2-34-a-4175453599/)

Kavita bilimoria 03-11-2013 05:14 AM

sir,can i transmitted video trace in ns-2.34 ?
 
Please anybody can help me to guide how can i transmited video in ns-2. i have install ns-2.34 can i transmited using it? pls hepl me...

knudfl 03-11-2013 05:47 AM

Welcome to LQ.

AFAIK, there are no "mpeg2" patches for ns-2.34. But then again :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.
Remark : Do not add any paths to .bashrc, .bash_profile.

MPEG2 http://www.linuxquestions.org/questi....php?p=4906377
Myvalvid2 http://www.linuxquestions.org/questi...965/page4.html
Binary packages : Post # 47. ( 'myevalvid2-ns-2.28-ubuntu10-1_i386.deb', 3.7 MB.)

-

Kavita bilimoria 03-11-2013 06:04 AM

video transmission in NS2
 
sir,you give me link for 32bit ubuntu but i have installed Ubuntu 11.10 and OS is 64-bit....
what can i do for that?

Thank you...

knudfl 03-11-2013 07:27 AM

# 3 .

Ref. http://www.linuxquestions.org/questi...965/page4.html
There is an "amd64 package", myevalvid-ns-2.28-ubuntu12_amd64.deb,
but for Ubuntu 12.** ( and 13.** etc.) only.

1) I can probably upload an amd64 package for Ubuntu 10* ..11*, ... later.
2) Why are you using a 64bits OS ? All ns2 is for a 32bits OS.
Will most often work too with a 64bits OS,
but you will have to accept an inferior validate result.

-

knudfl 03-11-2013 11:52 AM

Package myevalvid2-ns-2.28-ubuntu1110_amd64.deb ( 4.0 MB ) :
https://docs.google.com/file/d/0B7S2...it?usp=sharing

$ ns-myevalvid2 be_a01.tcl : OK.


-

Kavita bilimoria 03-12-2013 04:27 AM

video transmission in NS2
 
sir,
when i run this command patch -p0 < ns228-gcc40.patch
it gives this error
bash: ns228-gcc40.patch: No such file or directory

kindly help me...

knudfl 03-12-2013 04:42 AM

# 6 : Have you got the patches ? Post # 15 here ..
http://www.linuxquestions.org/questi...4-a-842773/#15

If you want to use the command "patch -p0 < ns228-gcc40.patch",
then the patch must be present in the same folder as ns-allinone-2.28/.
Or you can use: patch -p0 < <path-to-folder-with-patch>/ ns228-gcc40.patch

Ref. the above link, # 15 :
2) patch -p0 < ns228-gcc40.patch
3) patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> <Enter>

P.S.: According to other LQ members, the myevalvid changes will work
in the later ns2 versions too. (ns-2.35 is mentioned in a myevalvid thread.)

-

Kavita bilimoria 03-12-2013 05:09 AM

How can i get this patch sir?

patch -p0 < ns228-gcc40.patch",

knudfl 03-12-2013 05:27 AM

# 8 : What do you mean ? ?

The patch can be downloaded from the linked post #15 as ns228-gcc40.patch.txt
and probable from multiple locations on the Internet.
( Naming = ns228-gcc40.patch or ns228-gcc40.patch.gz )
Example http://www.cnblogs.com/xiaotie/archi...07/270859.html

-

Kavita bilimoria 03-12-2013 06:08 AM

I got the below error when i tried installing ns-2.28. Used the command ./install.

cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or directory[/COLOR]
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Checking for gcc...
Building static library libz.a version 1.1.4 with gcc.
Checking for unistd.h... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
make: Nothing to be done for `all'.
Zlib has been installed successfully.
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... using long
checking whether byte ordering is bigendian... no
checking for getcwd... yes
checking for opendir... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoull... yes
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for realpath... yes
checking dirent.h... yes
checking for errno.h... yes
checking for float.h... yes
checking for values.h... yes
checking for limits.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/wait.h... yes
checking for dlfcn.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/modem.h... no
checking termios vs. termio vs. sgtty... termios
checking for fd_set in sys/types... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for tm_zone in struct tm... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... yes
checking long timezone variable... yes
checking for st_blksize in struct stat... yes
checking for fstatfs... yes
checking for 8-bit clean memcmp... yes
checking for memmove... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking for opendir... (cached) yes
checking union wait... yes
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking whether char is unsigned... no
checking signed char declarations... yes
checking for a putenv() that copies the buffer... no
checking for langinfo.h... yes
checking whether to use nl_langinfo... yes
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... static
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: 1: Syntax error: Unterminated quoted string
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.

knudfl 03-12-2013 06:27 AM

# 10 .
Quote:

Used the command ./install
First you will have to edit the 'install' script to cheat it to accept 64bit :
Line 473 to : ./configure --build=i686 || die "otcl-$OTCLVER configuration failed! Exiting ...";
Line 498 to : ./configure --build=i686 || die "tclcl-$TCLCLVER configuration failed! Exiting ..."

The install command is, example :
export CC=gcc34 CXX=g++34 && ./install

The "compat-gcc 34" compilers for Ubuntu 11.10, 12.**, 64bits :
1) compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing

2) compat-gcc-34-c++_3.4.6-20_amd64.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

Kavita bilimoria 03-12-2013 10:33 AM

sir can you pls suggest me 32-bit os which friendly with NS2. and i want to do real time video streaming in MANET using Multipath DSR and for encoding video i want to use Multiple Description Coding Technique can you help me on this? i am totally new in this area. so pls kindly give me reply.. thank you for your help sir...

knudfl 03-12-2013 11:07 AM

# 12 .

Well, you can start here ..
http://www.linuxquestions.org/questi...s2-4175453116/
The links are included in post #11.
( For the 802.11e files, may be EDCA can be used.)

? A 32bits OS ? Depends on the version(s) of ns-allinone-2.xx.
The old versions ns-2.26 - ns-2.31 : Ubuntu 10.10, but 10.10 is obsolete.
The later versions ns-2.33 - ns-2.34 :
Not easy to say, the "mpeg2 etc." patching can make things better or worse.
I.e. any Linux OS can be used, but the 'validation' / 'make test' result may vary.

-

Kavita bilimoria 03-13-2013 02:32 AM

sir, can i use ns2.35 for video transmission in ns2. i am using Ubuntu 11.10 64-bit. when i am using ns-2.28 in my os it will give error.

knudfl 03-13-2013 03:16 AM

# 14 .

Which errors ? Which patches is it about ?

( And you will (maybe) run into problems when using 64bits ! )


All times are GMT -5. The time now is 06:09 AM.