Loading video results in ERR_INVALID_FORMAT when audio output is set

Started by PatrickVossen, November 29, 2022, 04:01:45 PM

Previous topic - Next topic

PatrickVossen

Hi severino,

I currently noticed on 2 devices the following issue:
When I load a MP4 file without setting the audio output device (Default Directsound Device), the file is loaded without any issues, and the file (video and audio) is played as expected.
But when I set the audio output to an other output (Directsound: Speaker (Realtek (R) Audio)) and load the same MP4 file, I get an ERR_INVALID_FORMAT error.

The issue can be reproduced using the VideoPlayerSimple example (vb.net) in 32bit mode.
K-Lite is installed, Windows codecs disabled
AudioRenderMode is set to Audio_Renderer_Mode_Custom_2
Tested with AdjMmsEng.dll ver 13.1.0.2 and ver 13.6.0.17

Please advise

Best regards
Patrick Vossen





Administrator

Hi Patrick,

unfortunately I cannot replicate the mentioned issue on our systems: could you be so kind to send a log file generated by the DxDiag.exe tool so I could check what's installed on the device?

Kind Regards

Severino Delaurenti
MultiMedia Soft

PatrickVossen

Hi Serverini,

After adding another soundcard and setting/switching default device I cannot reproduce the issue.
I guess that something was misconfigured within Windows and adding an extra soundcard solved the issue.

Best regards
Patrick Vossen

Administrator

Hi Patrick,

good to hear, it's quite likely that the problem was due to a DirectSound misconfiguration that was fixed after adding the new device.

Kind Regards

Severino Delaurenti
MultiMedia Soft