OnlyM icon indicating copy to clipboard operation
OnlyM copied to clipboard

Widows Media Foundation crash

Open johnparsonsja opened this issue 3 years ago • 3 comments

Windows 10, latest Only M 16.0.06 Playing video under Windows Foundation either crashes or fails to display (window flashes on/off then nothing Ffmpeg works but the sound glitches every 20 secs No issues displaying still images

johnparsonsja avatar Feb 20 '21 16:02 johnparsonsja

Since a month I have the same issue

I use JWLibrary + JwlMediaWin opened (with "enable fix - JWlibrary" and "Keep on top" parameters checked) + Digital clock 4 opened (a tool to add a layer with a counter and/or a message on top of the monitor to provide some additional time information. Project page: https://sourceforge.net/projects/digitalclock4/) ... and recentrly, of course, a Zoom meeting opened.

I noticed that sometimes this issue does not occur first time i play a video, but if I do a test (playing the entire video), sometimes the second time I want to play the video does not open, and the stop button does not respond. The entire app is frozen and is no possible to close or force-close by CTRL Alt canc.

Nickyes avatar Mar 06 '21 11:03 Nickyes

@johnparsonsja @Nickyes This may be related to the Media Foundation bug reported elsewhere in the Issues pages. The symptoms are that it works ok on the primary monitor but not a secondary monitor.

AntonyCorbett avatar Mar 06 '21 11:03 AntonyCorbett

I noticed that sometimes this issue does not occur first time i play a video, but if I do a test (playing the entire video), sometimes the second time I want to play the video does not open, and the stop button does not respond. The entire app is frozen and is no possible to close or force-close by CTRL Alt canc.

I often had exactly the same issue and found a solution: All files that were flagged by windows as coming from untrusted zone can only be played one time. The second time the Media Foundation raises MediaFailed event with FileNotFound inner exception and OnlyM goes into frozen state.

All files downloaded by JW Library are flagged as untrusted zone.

As soon as you trust the file, this problem never happens again. At least on my machine.

How to trust a file? Windows File properties in German: image

Or with PowerShell:

Unblock-File .\filename.mp4

zokradonh avatar Jul 01 '21 16:07 zokradonh