Re: [Live-devel] Synchronizing Audio and Video streams

2009-08-02 Thread Ross Finlayson
I am writing an application to stream live Audio and Video via RTSP, but am having some trouble synchronizing the two output streams. This problem is usually caused by not setting properly "fPresentationTime" properly in your media source objects. For both audio and video, "fPresentationTime"

[Live-devel] Synchronizing Audio and Video streams

2009-08-02 Thread Kam Low
Dear readers, I am writing an application to stream live Audio and Video via RTSP, but am having some trouble synchronizing the two output streams. When streaming just an audio stream by itself the output is great. (Note: I am using an AudioInputDevice and encoding it to an MP3 stream.) The probl

Re: [Live-devel] Synchronizing audio and video streams

2007-06-04 Thread Severin Schoepke
Hello again! I investigated a little deeper and here is what I came up with: Just to recap: I have two threads, one is reading audio and video frames and stores them in two queues. Another thread reads these queues, encodes the frames to MPEG4 and MP3, and streams them out via live555. The liv

Re: [Live-devel] Synchronizing audio and video streams

2007-06-01 Thread Ross Finlayson
>So I tried to use your RTSP server but it didn't change the situation. >My streams are still diverting. I investigated the problem further and >fond out, that live555 queries my sound source much more often than it >queries the video source. I suspect it has something to do with data >size No, th

Re: [Live-devel] Synchronizing audio and video streams

2007-06-01 Thread Severin Schoepke
Hello again, I'm referring to the following mail: I'm working on an application that streams live generated content (audio and video) using the Darwin Streamnig Server. I decided to use ffmpeg for the encoding part and live555 for the streaming part. The basic architecture is as follows: In a

Re: [Live-devel] Synchronizing audio and video streams

2007-05-25 Thread Ross Finlayson
>I'm working on an application that streams live generated content (audio >and video) using the Darwin Streamnig Server. I decided to use ffmpeg >for the encoding part and live555 for the streaming part. We're no longer providing support for the "DarwinInjector" code. Instead, we recommend that y

[Live-devel] Synchronizing audio and video streams

2007-05-25 Thread Severin Schoepke
Hello list, I'm working on an application that streams live generated content (audio and video) using the Darwin Streamnig Server. I decided to use ffmpeg for the encoding part and live555 for the streaming part. The basic architecture is as follows: In a first thread I generate the content, a