LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2011, 07:43 AM   #16
maulik
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
urgent help required.


hello , i hope m not asking off the post..
i am working on project "video streaming in wimax"
for this im using redhat 5 in vmware. ns-2.31
i am unable to convert the video files to its respective .dat files.....
pls guide me on how to transmit a video over wimax m totally blank on this with dead line to submit my project hanging on my neck.....
pls any kind of help/knowledge u have.......
 
Old 03-27-2011, 07:49 AM   #17
maulik
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
please let me know how to transmit a video file over wimax in ns-2.31...
i have just 7 days to submit my project please guide me thru..........

---------- Post added 03-27-11 at 06:19 PM ----------

hello , i hope m not asking off the post..
i am working on project "video streaming in wimax"
for this im using redhat 5 in vmware. ns-2.31
i am unable to convert the video files to its respective .dat files.....
pls guide me on how to transmit a video over wimax m totally blank on this with dead line to submit my project hanging on my neck.....
pls any kind of help/knowledge u have.......
 
Old 08-16-2014, 08:37 AM   #18
must
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Rep: Reputation: Disabled
simulate MPED4 in NS2

i want to simulate vedio MPEG4 in NS2, i use NS2 2.35 and ubuntu 12.04 LTS
i use this TCL:

set ns [new Simulator]
$ns color 1 Blue
#open trace files
set tracefile1 [open out.tr w]
set winfile [open Winfile w]
$ns trace-all $tracefile1
set namfile [open out.nam w]
$ns namtrace-all $namfile
#define finish
proc finish {} {
global ns tracefile1 namfile
$ns flush-trace
close $tracefile1
close $namfile
exec nam out.nam &
exit 0
}
#declear nodes
set n0 [$ns node]
set n1 [$ns node]
$n0 color red
$n1 color blue
#creat links
$ns duplex-link $n0 $n1 2Mbps 10ms DropTail
$ns duplex-link-op $n0 $n1 orient right-up
$ns duplex-link-op $n0 $n1 color green
#set queue size of link
$ns queue-limit $n0 $n1 20
#creat connection
set udp [new Agent/UDP]
set null [new Agent/Null]
$ns attach-agent $n0 $udp
$ns attach-agent $n1 $null
$ns connect $udp $null
set vdo [new Application/Traffic/MPEG4]
$vdo set initialSeed_ 0.4
$vdo set rateFactor_ 5
$vdo attach-agent $udp

#ftp connection
$ns at 1.8 "$vdo start"
$ns at 50.0 "finish"
$ns run

but when i simulate this TCL file i get this :

invalid command name "Application/Traffic/MPEG4"
while executing
"Application/Traffic/MPEG4 create _o86 "
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 cbr [new Application/Traffic/MPEG4]"
(file "ex1.tcl" line 51)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in traffic trace file genration(VBR) in ns2.34 sanviarch Linux - Networking 4 09-15-2010 01:16 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
Cannot create CBR traffic in ns2 Cataj Linux - Newbie 21 08-13-2009 12:04 AM
traffic shapping against msn/video marianop Linux - Networking 2 01-05-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration