Sync mode in vlc

This forum is about all development around libVLC.
busybeeCS
Blank Cone
Blank Cone
Posts: 37
Joined: 24 Aug 2013 08:06

Sync mode in vlc

Postby busybeeCS » 03 Sep 2013 03:58

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?

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: Sync mode in vlc

Postby Jean-Baptiste Kempf » 03 Sep 2013 12:41

It uses the OS clock.
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.

busybeeCS
Blank Cone
Blank Cone
Posts: 37
Joined: 24 Aug 2013 08:06

Re: Sync mode in vlc

Postby busybeeCS » 03 Sep 2013 13:16

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?

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: Sync mode in vlc

Postby Jean-Baptiste Kempf » 06 Sep 2013 00:12

src/input/clock.c and src/win32/thread.c
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.

busybeeCS
Blank Cone
Blank Cone
Posts: 37
Joined: 24 Aug 2013 08:06

Re: Sync mode in vlc

Postby busybeeCS » 06 Sep 2013 03:52

src/input/clock.c and src/win32/thread.c
thank u very much!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests