Closed daltonbr closed 1 year ago
In the meantime, I'll make sure to reach you through the support email.
Can you narrow down the issue a bit, maybe try removing audio from chain to see if it’s the virtual device that is causing the issue?
Are you using MediaFoundation? Have you tried WinRT and DirectShow?
Have you tried playing the video back served locally, rather than from cloudfront?
We have had a joined up chat internally on this one and have some more thoughts.
It looks like there is no hardware decoder available in the instance. Can you confirm what the GPU is available to the instance?
If this is the case, you can try disabling the hardware decode option (find it under Platform - Windows - Media Foundation in the MediaPlayer component). Just untick the option.
Thanks for the swift response @Ste-RH!
Disabling Hardware decoding solves the issue! 🎖️
We were using MediaFoundation.
For posterity, that machine doesn't seem to have a dedicated hardware GPU - it only shows a Microsoft Basic Display Adapter
.
A huge thanks to the team and you, Ste!
As a follow-up, is it possible to have this information in the logs? Such as 'No hardware decoding found.'
Also, is it possible to have an automatic fallback solution where we try to decode the video through software if it fails on hardware? If feasible, this is a significant feature enhancement.
We are looking at improving logging. I'm glad its working for you now :)
Describe the issue
Video fails to open in Unity Editor on a Windows virtual machine.
Your Setup:
2021.3.9f1
(although tested in the current latest2021.3.20f1
)2.7.1
(native pluginv2.7.0f1-ultra
) onMicrosoft Basic Render Driver/Direct3D 11.0
- briefly tried the2.7.3
with no success.[AVProVideo] Initialising AVPro Video v2.7.3 (native plugin v2.7.0f1-ultra) on Microsoft Basic Render Driver/Direct3D 11.0 [level 11.1] (MT True) on WindowsEditor
Windows Server 2019 Datacenter
running on EC2 in AWSc6i.xlarge
- AMD64 architecture - Xeon 4 core - 8GB - accessed throughMicrosoft Remote Desktop
960x540
MPEG-4 AAC
,H.264
11.3 MB
Context information:
To Reproduce
It may be tricky to reproduce our environment as we have a custom Windows image, but we may get back to that if needed.
In short, playing a video inside that virtual machine would suffice.
Logs
Screenshots
We are running this virtual audio device to emulate an audio input device - https://vb-audio.com/Cable/