Video/Audio Playback Issue in QuickLook 4.x.x: WPFMediaKit Fail - Plus a Workaround!!!

Open
#1,968 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
csharp
Domain
desktop

Research direction

Start by reproducing playback failures on Windows 11 with QuickLook 4.x and inspect the QuickLook.Plugin.VideoViewer plugin where the WPFMediaKit exception occurs. Compare its behavior with the copied VideoViewer plugin from QuickLook 3.7.2, then verify that common video and audio files play in the current installation without replacing the plugin.

Written by the indexing model from the issue text.

Description

  • OS Version: Windows 11 25H2
  • QuickLook Version: All GitHub .exe or .msi installer versions from 4.0.0 to 4.5.0

Since QuickLook 4, I have been running into a very specific but serious issue: almost all video and audio files fail to play. They used to work perfectly in QuickLook 3. Sometimes QuickLook shows this error:

WPFMediaKit.WPFMediaKitException: Could not render any streams from the source Uri

Image

Other times, it seems to load the audio file, but nothing happens even after clicking the play button.

Because of this severe issue, I had stayed on version 3.7.2 for years. Recently, however, I finally found a workaround.

The trick is to replace the "VideoViewer" plugin from QuickLook 4.x.x with the old plugin from QuickLook 3.7.2.

Here are the steps:

  1. Uninstall QuickLook 4.x.x.
  2. Install QuickLook 3.7.2.
  3. Go to your QuickLook installation folder, for example: X:\...\QuickLook\
  4. Open the QuickLook.Plugin folder
  5. Copy the folder named QuickLook.Plugin.VideoViewer, and save it somewhere else on your harddrive.
  6. Install QuickLook 4.x.x again.
  7. Go back to X:\...\QuickLook\QuickLook.Plugin\
  8. Delete the existing QuickLook.Plugin.VideoViewer folder from the QuickLook 4 installation.
  9. Paste the QuickLook.Plugin.VideoViewer folder that you copied from QuickLook 3.7.2.

After doing this, restart QuickLook, and video and audio playback should work normally again.

Image

Hope this helps. Cheers!

Dominant language
C#
Stars
25.8k
Forks
1.4k
Avg merge
3d 19h
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QL-Win/QuickLook

All issues in QL-Win/QuickLook

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.