I have been watching streaming video for a very long time. It always worked beautifully, in high resolutions and from any site: YouTube, Netflix, Amazon Prime Video, you name it. Then suddenly I started to notice lip sync issues, probably around autumn/winter 2016. The longer a video played, the more the audio would get out of sync with the video, making watching and listening increasingly awkward. Recently I finally found the time to analyze these audio/video sync problems. Read on for a playback troubleshooting methodology followed by a workaround for the issue at hand.
Start at the source and work your way towards the affected device or software.
As mentioned above the issue happened with all the video streaming services I tested: Amazon Prime Video, Netflix and YouTube. However, not all of these services were affected in the same way. In other words, the rate at which the audio diverged from the video varied between services. One aspect was always the same, though: the audio would precede the video.
Amazon Prime Video was affected the most. After only about 10 minutes of playback the audio was far enough ahead of the video that the delay was easily noticeable and quite annoying. The sound of a door closing would be heard while the door was still visibly open, and when people were talking their lip movements did not match the words coming out of their mouths at all.
Given that multiple streaming services were affected, the root cause could not have been with any single service. So I moved on in my analysis.
I have a pretty fast internet connection with a provider not known for traffic shaping/throttling of any kind. Also, playing streaming video on our iPad never showed any issues. Finally, I used our user-experience monitoring product uberAgent to analyze my network connections for signs of trouble, e.g. high latency, reconnects or retransmits. There were none.
Wi-Fi / Local Network
As a next step I considered my local network, albeit only briefly. Most of the previous paragraph’s points apply here, too. On top of that the issues happened not only over Wi-Fi connections, but also when an ethernet cable was plugged in.
Playback Software / Browser
When something is not working as expected in one browser the first reaction is typically to try another one. That is what I did, too, only to find that this audio/video sync issue was occuring in all (major) browsers. I tested the latest versions of Chrome, Firefox, Internet Explorer and Edge. I also tested the Netflix Windows app. They were all affected in the same way.
Computer Used for Playback
While I tried to reproduce the issue on multiple computers I noticed a pattern: the affected devices were all running Windows 10 version 1607 and had a Realtek High Definition Audio device. The one machine still running the earlier Windows 10 version 1511 was working correctly, as was a tablet running 1607, but equipped with an Intel SST Audio Device instead of the ubiquitous Realtek audio.
Even though one laptop with Windows 10 1607 and Realtek audio was unaffected, I began to suspect that the combination of Windows 10 1607 (or later) and Realtek sound was somehow responsible.
Focusing on the audio I experiemented with various configuration changes, starting with Windows’ diagnostics troubleshooting wizard find and fix audio playback problems. It performs some useful tests and makes suggestions for changes like the following:
- Disabling all enhancements
- Replacing the Realtek audio driver with Windows’ generic audio driver
Since those did not help I tried suggestions found on the internet (some of which are of very dubious value):
- Changing the default audio format (e.g. to something other than 24 bit, 48000 Hz)
- Disabling exclusive mode (“allow applications to take exclusive control of this device”)
- Disabling Dolby Digital Plus
Of course I also updated the (Realtek) audio driver to the latest version. Nothing made the asynchronicity go away.
Finding a Workaround
Then I had an idea when I noticed that a wireless headset I am using for web meetings shows up as a playback device:
By configuring my Platronics headset as default device I routed all audio output to the headset. Its embedded audio chip now provided all the functionality while the machine’s builtin Realtek audio was ignored. And bingo – the delay was gone!
I tried with another headset, a different model but also with built-in driverless USB audio. It also worked correctly, on both computers where I had experienced the sync problems before.
Solution – For the Time Being
As only Realtek audio devices seem to be affected a workaround/solution requires a secondary audio device which is used in place of the built-in audio. A quick search showed that external USB audio devices are cheap and easily available. Apparently they are standardized in the USB specifications so that all relevant operating systems support them without requiring additional drivers.
I ordered the Ugreen USB external sound adaptor for 7.99 € – to verify my hypothesis, but also to be able to enjoy a movie again.
Setup is more than simple: plug the USB end into your computer and your headphones into the 3.5 mm jack. Then bring up the Sound dialog and make the new device the default.
That fixed the audio/video delays for me – for the time being. I hope Microsoft/Realtek get their act together and fix this issue in the upcoming Creator’s Update.