Jump to content
alank2

Unsupported media file using TMediaPlayer

Recommended Posts

This is a very strange issue so I thought I'd see if anyone here has experienced anything similar:

 

I have had a release of software at multiple locations, multiple systems, and never saw the error before 6/8 at any site including the site now having the problem (it was running fine there for months).

 

2023-06-08 02:02:16.879  ERROR: Unsupported media file myvideo.wmv (e020212)

 

(ignore the e020212, this is my error code to locate where the error is)

 

Then on 6/8 and after, at only one specific location, all of the computers at this location, are giving this error only when they restart their software at 2am.  It will fail with the above exception.  If you then restart it manually later on, it will load fine, only to repeat the same problem the next day.= at 2am.

 


  //prompt animation
  try
    {
      FScalePrompt->MediaPlayer1->FileName="c:\\programdata\\myprog\\myvideo.wmv";
    }
  catch(Exception &exception)
    {
      swprintf(ws1, L"ERROR: %ls (e020212)", exception.Message.c_str());
      DialogMessageBox(ws1);
      goto fail1;
    }


 

Any ideas on why this exception would be thrown only at 2am when the software restarts itself and then not at other times of the day?

 

The software is launched by another process and it is closing itself down fine according to the log:

 

2023-06-08 02:01:46.942  Exiting
2023-06-08 02:02:13.473  Starting
2023-06-08 02:02:16.879  ERROR: Unsupported media file scaleitem.wmv (e020212)

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×