Page 1 of 1

Sync mode in vlc

Posted: 03 Sep 2013 03:58
by busybeeCS
As far as I know, there are three types of sync mode in ffmpeg: audio master,video master and external clock.

The sync mode is controlled by a variable.

How does VLC deal with the sync of video and audio? Is it the same as ffmpeg?

Re: Sync mode in vlc

Posted: 03 Sep 2013 12:41
by Jean-Baptiste Kempf
It uses the OS clock.

Re: Sync mode in vlc

Posted: 03 Sep 2013 13:16
by busybeeCS
It uses the OS clock.
is there a variable to control the sync mode?
can we choose other sync modes?how can i try that?

can u show me some related codes?

Re: Sync mode in vlc

Posted: 06 Sep 2013 00:12
by Jean-Baptiste Kempf
src/input/clock.c and src/win32/thread.c

Re: Sync mode in vlc

Posted: 06 Sep 2013 03:52
by busybeeCS
src/input/clock.c and src/win32/thread.c
thank u very much!