Re: [Live-devel] streaming video and audio via RTSP

2008-06-18 Thread Mike Gilorma
Problem solved: There was no problem with synchronization between my test program and VLC. Although my test file played back fine locally in VLC, there must have been some problems in the file that VLC could overcome when playing locally that got exposed when trying to stream using RTSP. I was u

Re: [Live-devel] streaming video and audio via RTSP

2008-06-13 Thread Mike Gilorma
I've attached my test program, each stream has rtcp, and the timestamps are being set using timeofday. The VLC says the streams are synchronized, but I am looking into doing more debug on the client side. It looks like the video is started streaming before the audio and that is where the streams g

Re: [Live-devel] streaming video and audio via RTSP

2008-06-12 Thread Ross Finlayson
How do you go about streaming video and audio at the same time using RTSP? I want to stream two elemental streams that I got out of a mp4 file to VLC and have them playback just as if I was watching the original file. Using the testOnDemandRTSPServer I can open the video stream in one instance o

Re: [Live-devel] streaming video and audio via RTSP

2008-06-12 Thread Mike Gilorma
It really looks like the timestamps are correct, I think the reason the voice is not in sync with the video is because the video starts streaming before the audio. I put some debug into the source code to show the timestamp for each packet of video and audio. This output shows me that multiple fr

Re: [Live-devel] streaming video and audio via RTSP

2008-06-10 Thread Mike Gilorma
According to the output from VLC it says the rtp source has been synchronized twice (once for each??). I looked through the code and see where the timestamp is getting set for each packet, the absolute time for each packet is very close, but after convertToRTPTimestamp gets called the time stamps

Re: [Live-devel] streaming video and audio via RTSP

2008-06-10 Thread Jerry Johns
For both streams to be synchronized, u need to ensure that you set the presentationTime for each packet of either audio or video - that is the only way a receiver can synchronize what otherwise would seem to be asynchronously transmitted streams. This can be done by getting it from the input stream

Re: [Live-devel] streaming video and audio via RTSP

2008-06-10 Thread Mike Gilorma
Ok, so I got it working somewhat. I can play the stream using VLC (although it stops after 41 seconds for some reason). I found that Quicktime plays back the entire stream without any problems. However, with both players, the audio is no in sync with the video. Not sure why this is, I'm sure the

Re: [Live-devel] streaming video and audio via RTSP

2008-06-09 Thread Yamini S. [EPLX - DCC]
ROTECTED] Subject: [Live-devel] streaming video and audio via RTSP How do you go about streaming video and audio at the same time using RTSP? I want to stream two elemental streams that I got out of a mp4 file to VLC and have them playback just as if I was watching the original file. U

[Live-devel] streaming video and audio via RTSP

2008-06-09 Thread Mike Gilorma
How do you go about streaming video and audio at the same time using RTSP? I want to stream two elemental streams that I got out of a mp4 file to VLC and have them playback just as if I was watching the original file. Using the testOnDemandRTSPServer I can open the video stream in one instance of