Hello, I've compiled and installed the live555 library and openRTSP client test program. I am trying to get the client program to save a real-time RTSP stream to a data file. I have tried all the options I could think of for running the application, but I just can't figure out why the resultant file won't play on my PC. I'm running it on OpenSUSE 10.3. I have passed the following options to the program
./openRTSP -w 704 -h 576 -f 25 rtsp://192.168.0.62 When I run it,....a file appears in the same directory called video-MP4V-ES-1 and there aren't any errors returned on the console. I have attached the console output up to the point where its reading the stream. After I kill the program by going to another terminal and running kill -HUP 8472 (or whatever the process id is), the program terminates successfully and the teardown completes,...but I can't figure out how to replay the video file that was created. The RTSP stream is a MPEG4 stream, so I tried playing it as is and after adding a .mp4 file extension, but it won't play in VLC media player or Kaffeine. Can anyone help me out? I have also attaced the video file in case there's some information you can gleam from it? Thanks, Jacob Stich Caterpillar Electronics and Controls - T&SD Tech Center - E 14009 Old Galena Rd Mossville, IL 61552 USA Office: 309-675-1282 Email: [EMAIL PROTECTED]
video-MP4V-ES-1
Description: Binary data
[EMAIL PROTECTED]:/usr/lib/live/testProgs> ./openRTSP -w 704 -h 576 -f 25 rtsp://192.168.0.62/mpeg4 Sending request: OPTIONS rtsp://192.168.0.62/mpeg4 RTSP/1.0 CSeq: 1 User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.11.04) Received OPTIONS response: RTSP/1.0 200 OK Server: Mango DSP RTSP Stack CSeq: 1 Public: OPTIONS, DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, TEARDOWN Sending request: DESCRIBE rtsp://192.168.0.62/mpeg4 RTSP/1.0 CSeq: 2 Accept: application/sdp User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.11.04) Received DESCRIBE response: RTSP/1.0 200 OK Server: Mango DSP RTSP Stack CSeq: 2 Content-Type: application/sdp Content-Length: 332 Content-Base: rtsp://192.168.0.62/mpeg4 x-Accept-Dynamic-Rate: 1 Need to read 332 extra bytes Read 332 extra bytes: v=0 o=MangoDSP 9488008031743827282 9488008031743827282 IN IP4 192.168.0.62 s=Mango DSP Audio/Video m=video 0 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 c=IN IP4 0.0.0.0 a=fmtp:96 profile-level-id=1;config=000001B003000001B50900000101000001200086E00024E22003E80068824800CE18B02240A31F000001B3001007 a=control:__StreamID=2152466240 Opened URL "rtsp://192.168.0.62/mpeg4", returning a SDP description: v=0 o=MangoDSP 9488008031743827282 9488008031743827282 IN IP4 192.168.0.62 s=Mango DSP Audio/Video m=video 0 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 c=IN IP4 0.0.0.0 a=fmtp:96 profile-level-id=1;config=000001B003000001B50900000101000001200086E00024E22003E80068824800CE18B02240A31F000001B3001007 a=control:__StreamID=2152466240 Created receiver for "video/MP4V-ES" subsession (client ports 1030-1031) Sending request: SETUP rtsp://192.168.0.62/mpeg4/__StreamID=2152466240 RTSP/1.0 CSeq: 3 Transport: RTP/AVP;unicast;client_port=1030-1031 User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.11.04) Received SETUP response: RTSP/1.0 200 OK Server: Mango DSP RTSP Stack CSeq: 3 Session: 9487535367895663561 Transport: RTP/AVP;unicast;server_port=6970-6971;client_port=1030-1031;ssrc=0 x-Dynamic-Rate: 1 Setup "video/MP4V-ES" subsession (client ports 1030-1031) Created output file: "video-MP4V-ES-1" Sending request: PLAY rtsp://192.168.0.62/mpeg4 RTSP/1.0 CSeq: 4 Session: 9487535367895663561 Range: npt=0.000- User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.11.04) Received PLAY response: RTSP/1.0 200 OK Server: Mango DSP RTSP Stack CSeq: 4 Session: 9487535367895663561 Range: npt=0.000- Started playing session Receiving streamed data (signal with "kill -HUP 10688" or "kill -USR1 10688" to terminate)...
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel