Jump to content

MP4 video shows black screen on second run with ActiveX + Windows Media Player


Recommended Posts

Posted

Hi all,

I’m trying to display an MP4 video in a LabVIEW application using ActiveX + Windows Media Player (no other video players).

  • On the first run, the video displays correctly.

  • On the second run, the Media Player control shows only a black screen.

Here’s what I’ve tried so far:

I’ve attached  the example VIs to reproduce the issue.

 

Has anyone run into this issue with ActiveX + Windows Media Player and found a workaround (e.g., fully resetting/reloading the ActiveX control between runs)?

Thanks in advance for any advice!

 

Main VI:

https://forums.ni.com/t5/image/serverpage/image-id/350275i75A0481F3CCEC3A1/image-size/medium?v=v2&px=400

 

Video VI:

https://forums.ni.com/t5/image/serverpage/image-id/350276iDBD8FAAF967CDC56/image-size/medium?v=v2&px=400

VI_video.vi main_VI.vi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.