No video on Win7SP1 in MediaElement and WPF

Stefano Mora 1 Reputation point
2022-03-03T17:43:24.407+00:00

Hi all,
I'm developing a C# WPF application to play MP4 video by the MediaElement component.
I'm developing on a Win10 + VS2019 environment: here no problems.
The final machine is an embedded board with Win7SP1: here the video is triggered but the video ends immediately without errors.
The video related events are triggered (MediaEnded).

If I try to play the same video by the WMP I see the same behavior.
I installed VLC and K-light-codec-pack-basic but it didn't resolved.
VLC is able to play the video !

Any idea?
Thanks, regards.

Developer technologies | Windows Presentation Foundation
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.