Alexandre,

Please make sure that you pass three arguments to rtspclient.o.
I see only two arguments in your command.

Cansu

On 06/10/2014 03:13 PM, Alexandre Ternis Ferreira wrote:
Hi Cansu,

When I try to run the code:

./rtspclient.o
rtsp://136.142.50.221:9980/streamingVideos_10/Movie1minHi.mov\302\24020000
10

I receive this error:

rtsp://136.142.50.221:9980/streamingVideos_10/Movie1minHi.mov 20000
Segmentation fault (core dumped)

I do not know if I am doing something wrong.

Thanks for your patience,
Alexandre

On Jun 10, 2014, at 5:43 AM, Cansu Kaynak <[email protected]
<mailto:[email protected]>> wrote:

Hi Alexandre.

Looks like the connection(s) is not actually established between the
client and server. It might be due to various reasons like not
specifying the server IP or port correctly or a firewall.
You might want to make sure that you can actually stream videos from
the streaming server using a client like QuickTime and specifying the
server IP and video path. Another option is to use the rtspclient
binary you built.
You need to run
./rtspclient.o
rtsp://ip_address:port/streamingVideos_10/Movie1minHi.mov
<http://127.0.0.1:1200/streamingVideos_10/Movie1minHi.mov> 20000 10
and check the output.

If you can actually stream a single video, it means there is something
wrong with the content of the Faban config file.

--
Cansu

On 10 Jun 2014, at 00:16, Alexandre <[email protected]
<mailto:[email protected]>> wrote:

Hi,

I am Alexandre I am currently doing a summer research at University
of Pittsburgh and I am setting up the benchmark Media Streaming. I
have already set up the client and the server machine.
When I run the client looks like everything is OK, but on the server
machine there is no connection is always printing 0.
Here is what I am running on the client and on the serve machine.


CLIENT MACHINE:

[aferreira@piabanha streaming]$ sh scripts/start-run.sh 1 shortlow
136.142.50.221 1
Jun 09, 2014 4:30:48 PM com.sun.faban.common.RegistryImpl main
INFO: Registry started.
Jun 09, 2014 4:31:01 PM com.sun.faban.driver.engine.MasterImpl
runBenchmark
INFO: RunID for this run is : 12
Jun 09, 2014 4:31:01 PM com.sun.faban.driver.engine.MasterImpl
runBenchmark
INFO: Output directory for this run is :
/afs/cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/12
<http://cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/12>
Jun 09, 2014 4:31:02 PM com.sun.faban.driver.engine.MasterImpl configure
WARNING: Reducing agents from 10 to 1 due to too low scale.
Jun 09, 2014 4:31:02 PM com.sun.faban.driver.engine.MasterImpl
configureAgents
INFO: Configuring 1 StreamDriverAgents...
Jun 09, 2014 4:31:02 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: StreamDriverAgent[1]: Performing idle timer check
Jun 09, 2014 4:31:03 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: StreamDriverAgent[1]: Idle timer characteristics:
Accuracy=3,
min. invocation cost=85,
med. invocation cost (math)=102.0,
med. invocation cost (phys)=102,
avg. invocation cost=98.5657,
max. invocation cost=2135,
variance of invocation cost=450.5158835099983.
Jun 09, 2014 4:31:06 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Started all threads; run commences in 2992 ms
Jun 09, 2014 4:31:06 PM com.sun.faban.driver.engine.AgentImpl run
INFO: StreamDriverAgent[1]: Successfully started 1 driver threads.
Jun 09, 2014 4:31:09 PM
com.sun.faban.driver.util.Timer$BusyTimerMeter run
INFO: StreamDriverAgent[1]: Performing busy timer check
Jun 09, 2014 4:31:10 PM
com.sun.faban.driver.util.Timer$BusyTimerMeter run
INFO: StreamDriverAgent[1]: Busy timer characteristics:
Accuracy=3,
min. invocation cost=86,
med. invocation cost (math)=87.0,
med. invocation cost (phys)=87,
avg. invocation cost=90.2615,
max. invocation cost=219,
variance of invocation cost=28.030117749998357.
Jun 09, 2014 4:31:15 PM
com.sun.faban.driver.util.Timer$SleepCalibrator run
INFO: StreamDriverAgent[1]: Calibration succeeded. Sleep time
deviation: 0.10902570626349893 ms, compensation: 1 ms.
Jun 09, 2014 4:31:15 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Ramp up completed
Jun 09, 2014 4:36:15 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Steady state completed
Jun 09, 2014 4:36:45 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Ramp down completed
Jun 09, 2014 4:36:45 PM com.sun.faban.driver.engine.MasterImpl
getDriverMetrics
INFO: Gathering StreamDriverStats ...
Jun 09, 2014 4:36:45 PM com.sun.faban.driver.engine.MasterImpl
generateReports
INFO: Printing Summary report ...
Jun 09, 2014 4:36:45 PM com.sun.faban.driver.engine.MasterImpl
generateReports
INFO: Summary finished. Now printing detail ...
Jun 09, 2014 4:36:45 PM com.sun.faban.driver.engine.MasterImpl
generateReports
INFO: Detail finished. Results written to
/afs/cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/12
<http://cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/12>.



SERVER MACHINE:



quickia:*~*> sudo /usr/local/sbin/DarwinStreamingServer -dDS 1
AFS Password:
WARNING: No module folder exists.
INFO: Module Loaded...QTSSFileModule [static]
INFO: Module Loaded...QTSSReflectorModule [static]
INFO: Module Loaded...QTSSRelayModule [static]
INFO: Module Loaded...QTSSAccessLogModule [static]
INFO: Module Loaded...QTSSFlowControlModule [static]
INFO: Module Loaded...QTSSPosixFileSysModule [static]
INFO: Module Loaded...QTSSAdminModule [static]
INFO: Module Loaded...QTSSMP3StreamingModule [static]
INFO: Module Loaded...QTSSAccessModule [static]
WARNING: No users file found at
/Library/QuickTimeStreaming/Config/qtusers.
WARNING: No groups file found at
/Library/QuickTimeStreaming/Config/qtgroups.
Streaming Server done starting up
     RTP-Conns RTSP-Conns HTTP-Conns  kBits/Sec   Pkts/Sec
RTP-Playing   AvgDelay CurMaxDelay  MaxDelay  AvgQuality  NumThinned
    Time
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:46
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:47
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:48
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:49
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:50
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:51
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:52
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:53
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:54
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:55
     RTP-Conns RTSP-Conns HTTP-Conns  kBits/Sec   Pkts/Sec
RTP-Playing   AvgDelay CurMaxDelay  MaxDelay  AvgQuality  NumThinned
    Time
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:56
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:57
          0          0          0          0          0
0          0          0          0          0          0
2014-06-09 15:30:58

Best,
Alexandre



Reply via email to