[Live-devel] Export a video file from a network capture

2008-07-14 Thread Benoit

Hello,

My company is developing software for analyzing network traffic, 
especially from mobile phone operators.
We provide them a way to know the quality of service they are providing 
to their customers.
One of the products is analyzing video streaming sessions and we would 
like to export from a network capture (typical tcpdump file) a video 
file on our computer's filesystem.
I tried the openRTSP client combined to the mediaLive server and it is 
close to what we want to do. Your software openRTSP already implements 
the RTSP/RTP protocols and can write a correct media file, 2 functions 
that we need for our goal. We have some RTSP based streaming sessions in 
a network capture file and we would like to extract the videos from this 
capture files.


Basically, what differs from the openRTSP program is that I would need 
to read from a data capture file instead of from a network and to be a 
listener of an existing RTSP session instead of the client for this RTSP 
session.


Could you give me some hints about what files in the source code I need 
to change ? I spent some time on the Doxygen documentation and in the 
source code files :

- openRTSP.cpp
- RTSPClient.cpp
- playCommon.cpp

I guess that there is no API and I need to reuse the code of live555 ?

Any help would be greatly appreciated.

Benoit BEGUE

___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Export a video file from a network capture

2008-07-15 Thread Benoit


>/Basically, what differs from the openRTSP program is that I would 
/>/need to read from a data capture file instead of from a network and 
/>/to be a listener of an existing RTSP session instead of the client 
/>/for this RTSP session.

/
Because you have an existing RTSP client application (and data 
already captured from RTSP/RTP sessions), it seems unlikely that our 
software could provide much more of what you want.  (The most 
significant part of our software is our RTSP/RTP protocol 
implementation, which apparently you do not need.)


Instead, I suggest just modifying your own RTSP client application, 
and/or writing your own simple application to read through your 
"tcpdump" files.  (This would probably involve mostly just parsing 
RTP packets, and stripping off RTP headers, etc.)

--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
  
Actually, I don't have access to the client RTSP application. This RTSP 
client is embedded in phones like a Nokia with streaming capabilities or 
any other phone (so I have no access to those phones).
So I'm interested by both the RTSP/RTP protocol implementation and by 
the means to write a compliant video file, by getting the good 
parameters from the SDP description and building headers of an AVI file 
so that it can be correctly read afterwards by a media player such as 
VLC. My application can already export the binary from a RTP packet but 
if I just do that (and aggregate the packets' payloads of a same RTP 
session), the resulting binary file is unplayable in any video player.


My application already can extract the SDP parameters and can isolate 
the payloads from the packets but I have no idea how to export a correct 
video file, this is why I wanted to learn about an API of a hint at how 
to use this function of the LiveMedia library.


Benoit BEGUE
___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel