Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9128759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:35:26+00:00 2026-06-17T07:35:26+00:00

Well, I would like to utilize Windows Media Player to run .exe applications in

  • 0

Well, I would like to utilize Windows Media Player to run .exe applications in it’s video-window. The application would be for example a full screen DirectX or OpenGL application, which you can execute on the OS.

I would like to know if there is such a codec so I can tweak it for my needs? Or maybe there is one which has very good tweaking abilities but is not (fully) open-source?

(I am asking this question because of this question: https://superuser.com/questions/533730/how-to-run-an-directx-or-opengl-application-as-desktop-background)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:35:27+00:00Added an answer on June 17, 2026 at 7:35 am

    This is probably the weirdest request I’ve read in a long time. First the bad news: No, there’s no open-source codec to play the output generated by a “.exe” in the video window of Windows Media Player. “.exe”s or more accurately PE files (Portable Executables) contain program code, i.e. data that is interpreted as program by your CPU. Videos however are not programs, but image data.

    A video codec is a program that translates video data between formats. For example it can decode compressed h.264 into raw RGB data suitable for displaying. There are certain constraints on video codecs, for example that they decode a sequence of frames.

    Now the good news: Technically it is possible to write such a codec. I won’t be possible to open a .exe with WMP, though, as those don’t can’t be interpreted by WMP. But you could introduce a new FOURCC, a 4 character code identifying a particular video encoding format, and register a special purpose codes with that FOURCC. Then you create a special AVI file using that FOURCC and containing a reference to your target .exe instead of video data in the frames. When WMP tries to play this file it will launch this “codec”, which in turn can launch the .exe. You need to establish a communication protocol between the launched application and the “codec”. An off-screen rendering surface must be created, and I’d say a PBuffer DC shared between the processes serves this best, i.e. the “codec” creates the PBuffer and the .exe creates a OpenGL context on top of it. Then the codec passes the contents of the PBuffer as the decoded video frames to WMP.


    So yes, such a hack can be done. But it’d be ugly and weird.

    Why not simply write a visualization plugin for WMP? Those run in the video window as well, but it doesn’t require such an ugly hack.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a well-developed application for a phone, but I would like to add
I would like to know how difficult it would be to merge the well-designed
Ok well heres what I would like to do in PHP: http://www.wordle.net/ I know
I have requirement where some times I would like to load children as well
I have a well div, and I would like to attach a small text/image
Well, the question says it all. What I would like to do is that,
Well, this is what I want to do in my app: I would like
I have an app using SQLite3. It's running pretty well, but I would like
Possible Duplicate: Would a multithreaded Java application exploit a multi-core machine very well? I
The UserControl below works well but I would like to make it easier to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.