Unable to initialize the video display

#1
Here's an odd one. Tuesday I updated the PC on which I normally run VideoRedo to the Fall Edition of Windows 10 (1709). After this VideoRedo cannot load any video, failing immediately with the message "Unable to play video: Unable to initialize the video display.
Please check VideoReDo.log". Yet my backup PC still runs VideoRedo fine, though being older it is much slower. Here is an extract from the VideoRedo log:

2017-10-18 15:03:47 Using display driver: EVR
2017-10-18 15:03:50 EVR (Windowless), MEDIASUBTYPE_RGB24
2017-10-18 15:03:50 EVR (Windowless), MEDIASUBTYPE_RGB24
2017-10-18 15:03:50 Error initializing video: EVR Error, BuildVideoMixingGraph-EVR (Windowless), hr=0x80040217, No combination of intermediate filters could be found to make the connection. , Overlay Flag: 0, Accel Flag: 1
2017-10-18 15:03:50 Unable to play video: Unable to initialize the video display.
Please check VideoReDo.log

I tried a couple of alternatives to EVR (based on comments in an earlier thread) to no avail.

I spent quite a while looking at why this update should upset VideoRedo. It appears to be nothing with Windows itself, but I eventually found the process had updated at least part of the AMD Radeon video driver. I think it is adding extra support for the (for me) entirely useless 3D features that are upgraded in this version of Windows. The problem appears to relate to some incompatibility between parts of VideoRedo and the AMD driver. I have refused to update the AMD driver from a previous stable version in the past due to various issues that resulted, but this time I have no choice, I have no roll-back option for that driver, presumably related to the applied updates.

Looking around, I found in the AMD driver a feature to define settings for particular applications to either use the high speed or low speed processor. VideoRedo was not listed. I added it and selected the low-speed (power saving). Suddenly VideoRedo loads and processes files again. Switch it to high speed (the GPU I presume) and the error message is back, to low speed and it works again.

If anyone has any ideas to throw any light on this I would love to hear them.
 

Dan203

Senior Developer
Staff member
#2
The video drivers we use in VRD, i.e. EVR, VMR9 and VMR7, are all supplied by MS. So whatever this is isn't something we can fix on our end. We're using the MS supplied DirectShow API to initialize the driver and then just feeding it frames. This sounds like it's a problem with the AMD driver and you should keep an eye out for an update that might fix the issue.

One feature that we're considering for v6 is a GDI+ based video render. It will be slow and require more CPU but it wont use the video driver at all so it'll work on any system and shouldn't have any problems with VMs or remote desktop.
 
#3
Ah, that would likely solve a wish list I was about to post. I'm slowly migrating to linux and despite trying more things than I care to recall have never been able to get recent versions of VRD to be able to display a picture in the main window under WINE. It always encounters errors. The thumbnail timeline does display though.

Other programs such as virtualdub seem to have no problem, probably because they can fall back to simple renderers.
 

Danr

Administrator
Staff member
#4
If you're running under WINE, try VMR7 without acceleration. VMR7 is a wrapper around DirectShow 7 which has the highest compatibility, but lowest quality and features.
 
#5
Unfortunately no go.

2017-11-22 19:43:00 Adding module to graph: H264 decoder
2017-11-22 19:43:00 Setting graph input port: 0 to module: H264 decoder port: 0 Accepts EOF
2017-11-22 19:43:00 H264 video, using display driver: VMR7
2017-11-22 19:43:00 H264 decoder: Starting video, H264 decoder thread.
2017-11-22 19:43:00 H264, Error initializing video: VMR 7 Error, BuildVideoMixingGraph-VMR 7 (Windowless), hr=0x80004001, Error: 0x80004001@ , Overlay Flag: 0, Accel Flag: 1
2017-11-22 19:43:00 Unable to play video: Unable to initialize the video display.
Please check VideoReDo.log
 
#7
accel disabled.png

Acceleration disabled, but the same error detail is seen in the log with it enabled. The 'Accel Flag' information remains set as 1 regardless of the option in the VRD GUI.

017-11-23 05:16:34 H264, Error initializing video: VMR 7 Error, BuildVideoMixingGraph-VMR 7 (Windowless), hr=0x80004001, Error: 0x80004001@ , Overlay Flag: 0, Accel Flag: 1
 
Top