I am using Ubuntu 20.04.3 LTS and I installed VLC player from snap store (version: 3.0.16).
but when I open up a video file with VLC player, it opens up a window for the video and another window for the audio.
I have tried few solutions mentioned in this website, but it did not work for me. How can I solve this issue?
With Nvidia proprietary Graphic-Driver do this: https://askubuntu.com/a/1384279
Change Video Output setting and also change Input/Codecs -> Hardware-accelerated decoding setting to: VDPAU.
Also got this issue with the snap version 3.0.16. Removing /home/<user-name>/snap/vlc/current/.config/vlc worked for me, but I had to keep removing that file often because the issue would reappear.
The permanent solution for me was to get rid of the snap version via sudo snap remove vlc, and then install an apt version via sudo apt-get install vlc. At the time of writing, the new version I got from apt was 3.0.9.2 Vetinari.
Thanks to this conversation I found a fix, but I will add some details to make things easier for you.
Follow these steps to fix the issue:
/home/<user-name>/snap/vlc/current/.config/vlc
.conf file called vlc-qt-interface.conf.Note that you can use the terminal and delete this .conf file too.