Sync audio and video?

zappa

Member
Oct 31, 2022
63
6
8
Is it possible to get audio and video in sync when watching something on a VM machine over RDP?
 
yes, you can set audio0 to your VM e.g:

Bash:
qm set <VMID> --audio0 sync=1

So, I am new with proxmox, so I am sure that I am doing something wrong, but this is what I am getting:

root@proxmox:~# sudo qm set <104> --audio0 sync=1
-bash: syntax error near unexpected token `104'
 
So, I am new with proxmox, so I am sure that I am doing something wrong, but this is what I am getting:

I also tried this:

root@proxmox:~# qm set 104 --audio0 sync=1
400 Parameter verification failed.
audio0: invalid format - format error
audio0.device: property is missing and it is not optional
audio0.sync: property is not defined in schema and the schema does not allow additional properties

And this:

root@proxmox:~# qm set 104 --audio=0 sync=1
400 too many arguments
qm set <vmid> [OPTIONS]

So I think I need some more help here. Thanks.
 
The audio device that can be set for a VM has no use when you access the VM via RDP. It is useful if you need an audio device for processing (backend driver=none) or if you access the VM via Spice (backend driver=spice).

If you use RDP, then audio is handled directly by RDP inside the VM. From a Proxmox VE side, there are no settings related to that. Looking for solutions focused on RDP itself will hopefully give you something useful.
 
The audio device that can be set for a VM has no use when you access the VM via RDP. It is useful if you need an audio device for processing (backend driver=none) or if you access the VM via Spice (backend driver=spice).

If you use RDP, then audio is handled directly by RDP inside the VM. From a Proxmox VE side, there are no settings related to that. Looking for solutions focused on RDP itself will hopefully give you something useful.
Thanks for clarifying that, I do have the same out of sync problem when using SPICE though, so would this solution fix it?
If so, then I still need some help on how to do it correctly, since I am getting those errors I mentioned above.
 
If you use spice and want to watch video, add the audio device with the spice backend. That should be all you need to do.

What you can try as well is in the options panel of the VM in the "spice enhancements" to test the different options for video streaming. In my experience it really depends on the individual situation what works best.

But be prepared that, depending on your network and latency, that it also might not work that well.
 
  • Like
Reactions: leesteken
If you use spice and want to watch video, add the audio device with the spice backend. That should be all you need to do.

What you can try as well is in the options panel of the VM in the "spice enhancements" to test the different options for video streaming. In my experience it really depends on the individual situation what works best.

But be prepared that, depending on your network and latency, that it also might not work that well.
Yeah unfortunetly I already tried that, and the audio and video is still out of sync with spice, that is why I thought to give rdp a try.
Plus that spice is giving me other problems, such as not responding after some time of inactivity, and I have to restart the VM.

I started another thread about that, so waiting to see if someone has a solution.

Thanks again.
 
Last edited:
If you use spice and want to watch video, add the audio device with the spice backend. That should be all you need to do.

What you can try as well is in the options panel of the VM in the "spice enhancements" to test the different options for video streaming. In my experience it really depends on the individual situation what works best.

But be prepared that, depending on your network and latency, that it also might not work that well.
Is there any Option to make project via Win11 to a device possible?
With the basic graphics it is not possible to use.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!