Synchronized audio und video output over RTP

This forum is about all development around libVLC.

Synchronized audio und video output over RTP

Postby voax on Tue Jul 07, 2009 10:43 am

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
voax
New Cone
New Cone
 
Posts: 1
Joined: Tue Jul 07, 2009 9:49 am

Re: Synchronized audio und video output over RTP

Postby j-b on Wed Jul 08, 2009 2:30 pm

ask on VLC-devel mailing list.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer and Sites administrator
If you want an answer to your question, just be specific and verbose. Don't PM.
j-b
Site Admin
Site Admin
 
Posts: 12671
Joined: Fri Jul 22, 2005 3:29 pm
Location: Cone, France

Re: Synchronized audio und video output over RTP

Postby Rémi Denis-Courmont on Sat Jul 11, 2009 12:53 pm

ThreadSend is called by the operating system thread subsystem.
Rémi Denis-Courmont (Résumé)
Private support requests will be discarded.
Rémi Denis-Courmont
Developer
Developer
 
Posts: 2628
Joined: Mon Jun 07, 2004 4:01 pm
Location: Espoo, Finland


Return to Development around libVLC

Who is online

Users browsing this forum: No registered users and 5 guests