VLC Audio Sync: F and G Keys Explained
In this article
Yes, pressing the F and G keys in VLC media player adjusts audio track synchronization, delaying or advancing the audio relative to the video. Specifically, G increases the audio delay (audio plays later) and F decreases it (audio plays earlier), with each press adjusting the delay by 50 milliseconds by default.
Background: Why Audio and Video Fall Out of Sync
Audio-video desynchronization is a common playback issue that occurs when the audio track and video frames are not perfectly aligned. This can happen for several reasons:
- File encoding errors: The person or software that created the video may have muxed (combined) the audio and video streams incorrectly.
- Hardware limitations: On slower computers, video decoding may lag behind audio, or vice versa, especially with high-resolution files like 4K or HEVC.
- Bluetooth and wireless audio: Wireless headphones and speakers introduce latency, typically 100–300 ms, which makes the audio appear to lag behind the video.
- Streaming issues: Network buffering can temporarily disrupt the timing of audio and video packets.
VLC's keyboard shortcuts provide a quick, on-the-fly fix without needing to restart the video or use complex editing software.
How the F and G Keys Work
When you press G, VLC adds a positive audio delay, meaning the audio is delayed by a specified number of milliseconds. Pressing F applies a negative delay, which effectively shifts the audio earlier. The default step size is 50 milliseconds per press, but you can change this in VLC's preferences.
To see the current audio delay value, look at the top of the VLC window—a small overlay will appear showing "Audio delay: 150 ms" or similar. This helps you track how much adjustment you've made.
You can also adjust the delay using the menu: Tools → Track Synchronization and then use the up/down arrows next to "Audio track synchronization." The keyboard shortcuts are simply a faster way to do the same thing.
How to Change the Step Size
The default 50 ms step may be too coarse or too fine for your needs. To change it:
- Open VLC and go to Tools → Preferences (or press Ctrl+P).
- Click on Show settings (bottom-left) and select All.
- In the left sidebar, expand Interface → Hotkeys.
- Scroll down to find Audio delay (in ms)—this is the step size. Change the value to your desired increment (e.g., 100 for larger jumps, 10 for fine-tuning).
- Click Save and restart VLC for the change to take effect.
Note that the hotkey list also shows the current key bindings for "Increase audio delay" and "Decrease audio delay"—you can reassign them if you prefer different keys.
Common Problems and Misconceptions
A frequent misconception is that F and G adjust the audio volume or track. They do not—they only affect timing. Also, the delay is applied globally to the current playback session; it is not saved permanently to the file. If you close VLC and reopen the video, the sync issue will return unless you manually re-apply the delay.
Another issue: on some keyboard layouts, pressing F and G may not work if you are typing in a text field or if VLC is not the active window. Make sure the video window is focused.
If the audio is out of sync only in a specific part of the video, the F/G keys won't help—they apply a constant delay. For variable sync issues, you would need to re-encode the file with a tool like MKVToolNix or use a video editor.
Alternatives to Keyboard Shortcuts
Besides the F/G keys, VLC offers other ways to fix sync:
- Track Synchronization dialog: As mentioned, you can enter a precise delay value in milliseconds.
- Audio/Video sync in the menu: Under Tools → Track Synchronization, you can also adjust the video delay (for cases where video is ahead/behind).
- Hardware acceleration: If sync issues are caused by slow decoding, disabling hardware acceleration in Preferences → Input/Codecs may help (or enabling it, depending on your system).
- External audio delay: For Bluetooth speakers, some operating systems allow you to set a global audio offset.
If you're watching a streamed video in a browser, the F/G keys won't work—you'd need to use the player's own sync controls (if any) or adjust the delay in your sound card settings.
Safety and Accuracy Notes
Adjusting audio delay is a playback-only change—it does not modify the original file, so there is no risk of damaging your video. However, be aware that excessive delay (e.g., 1–2 seconds) can make the audio appear completely disconnected, so use small increments.
For a permanent fix, you would need to remux the file with the corrected delay. This is safe but requires creating a new file. Tools like MKVToolNix let you set a global delay for a track when muxing.
Also note that the F/G keys work in the desktop version of VLC (Windows, macOS, Linux). The mobile versions (Android/iOS) do not support these keyboard shortcuts—you'll need to use the on-screen sync slider in the audio settings.
Frequently Asked Questions
What is the default audio delay step in VLC?
The default step is 50 milliseconds. Each press of G adds 50 ms, and each press of F subtracts 50 ms. You can change this in Preferences → Hotkeys → "Audio delay (in ms)".
Do F and G work on all versions of VLC?
Yes, these shortcuts have been present in VLC for many years and are still available in the latest 3.x versions. They are not documented in the official manual but are widely known and used.
Can I save the audio delay permanently for a file?
No, the F/G keys only adjust the current playback session. To make the delay permanent, you need to remux the file with a tool like MKVToolNix or re-encode it with a video editor, applying the delay to the audio track.
Why doesn't the F key work when I'm typing in a subtitle search?
Keyboard shortcuts are only active when VLC has focus and you're not typing in a text field. Click on the video area first, then press F/G.
What if the audio is ahead of the video (audio plays too early)?
Press the F key to decrease the audio delay (make it negative), which shifts the audio earlier relative to the video. In other words, if the audio is ahead, you need to delay the video, so you press F to reduce the audio delay, effectively moving the audio back in time.
Is there a way to fine-tune the delay by less than 50 ms?
Yes, change the step size in Preferences → Hotkeys → "Audio delay (in ms)" to a smaller value like 10 ms. You can also use the Track Synchronization dialog to enter an exact value.