MultiMedia Soft forum

MultiMedia Soft products => Audio playback and audio management components => Topic started by: PatrickVossen on November 29, 2022, 04:01:45 PM

Title: Loading video results in ERR_INVALID_FORMAT when audio output is set
Post by: PatrickVossen on November 29, 2022, 04:01:45 PM
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




Title: Re: Loading video results in ERR_INVALID_FORMAT when audio output is set
Post by: Administrator on November 29, 2022, 04:23:25 PM
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
Title: Re: Loading video results in ERR_INVALID_FORMAT when audio output is set
Post by: PatrickVossen on November 29, 2022, 04:24:31 PM
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
Title: Re: Loading video results in ERR_INVALID_FORMAT when audio output is set
Post by: Administrator on November 29, 2022, 04:35:18 PM
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