Synchronized audio und video output over RTP

This forum is about all development around libVLC.
voax
New Cone
New Cone
Posts: 1
Joined: 07 Jul 2009 09:49

Synchronized audio und video output over RTP

Postby voax » 07 Jul 2009 10:43

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Synchronized audio und video output over RTP

Postby Jean-Baptiste Kempf » 08 Jul 2009 14:30

ask on VLC-devel mailing list.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15279
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Synchronized audio und video output over RTP

Postby Rémi Denis-Courmont » 11 Jul 2009 12:53

ThreadSend is called by the operating system thread subsystem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 42 guests