Page 1 of 1

Synchronized audio und video output over RTP

Posted: 07 Jul 2009 10:43
by voax
Hi,

I transcode video mpeg 2 ts to h264 and audio ac3 to aac. The output is a rtp stream without any muxer (nal in rtp). With the suitable sdp file the software receiver like vlc or quicktime can decode and play it fine. But now a have a hardware like a set top box. The result here is an unsynchronized audio/video with a stottering video. This decoder hardware works fine with other encoders. Wireshark shows me the differences. The other encoders send the rtcp packets for audio and video as a pair at the same time and near the same distance. I see that in the rtp module the ThreadSend function calls the SendRTCP function. I assume that the audio und video threads works relatively seperate (without any synchronize). I would like test a send out with paired audio/video rtcp packets. Where should I intervene? Who calls/feeds the function ThreadSend? The call stack fails here...

Thanks

voax

Re: Synchronized audio und video output over RTP

Posted: 08 Jul 2009 14:30
by Jean-Baptiste Kempf
ask on VLC-devel mailing list.

Re: Synchronized audio und video output over RTP

Posted: 11 Jul 2009 12:53
by RĂ©mi Denis-Courmont
ThreadSend is called by the operating system thread subsystem.