How does VLC synchronize between two ES stream?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xzou999
New Cone
New Cone
Posts: 8
Joined: 11 Jun 2007 10:31

How does VLC synchronize between two ES stream?

Postby xzou999 » 17 Jul 2007 03:10

Recently,I'm studing something about synchronize between video and audio stream in VLC. Through reading the source code, I found that every time when demux was finished, a function call "es_out_Control(p_demux,ES_OUT_SET_PCR,...)" will be invoked. Having read inner contents of es_out_Control, I feel its work is set the PCR which could mean "Program Clock Reference " (don't know whether it's right). Then,it might be a system wide refence clock, didn't it?

:( Here comes the problem: In the next step ,that is decoder module, I haven't found anything about this "pcr",why? how did synchronize work in this part? :?:

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: How does VLC synchronize between two ES stream?

Postby dionoea » 17 Jul 2007 17:02

You should post your question on the vlc-devel@videolan.org mailing list if you want an answer from knowlegable people. You can subscribe to the mailing list on http://mailman.videolan.org/ .
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 15 guests