How do I sync the audio and video while recording?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Videogamer555
Blank Cone
Blank Cone
Posts: 66
Joined: 07 Feb 2012 01:14

How do I sync the audio and video while recording?

Postby Videogamer555 » 06 Aug 2016 03:29

I've got a situation, where the audio lags behind the video. I'm not sending over a stream. I'm recording to a file directly. I've gone through ALL the settings for things like "caching" and "delay" in the advanced settings, and set them ALL to 0. I have systematically gone through the advanced settings of VLC player, and changed the value for any setting that contains the word "delay" or "cache" or "caching" to 0. This means that the audio and video inputs should start at EXACTLY the same time, and therefore get recorded to the file at exactly the same time. But they aren't. The audio for a given sound producing event can be heard a bit after you see the sound producing event. I'm using a single clap of my hands as the test event. It seems to be delayed by about a half of a second. What is going on in VLC's internals that causes such a delay of the audio stream? And why is this delay not a setting that can be altered in the settings menu?

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: How do I sync the audio and video while recording?

Postby Jean-Baptiste Kempf » 06 Aug 2016 12:00

What is the format of the file?
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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 57 guests