ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VLC activex playlist

I'm looking for a vi to play a video using vlc activex. I have download the vi from here https://decibel.ni.com/content/docs/DOC-24114 it only play a single video file. Now i want the vi to play a different video file using digital input trigger, when a digital 0 input is high it will play a video let say video A and when digital input 1 is high it stop the current video and play another video. How can i do that? any help would be very apreciated.

 

Thank you

0 Kudos
Message 1 of 2
(2,663 Views)

Hey ijan,

 

I haven't had a chance to try it out yet, but what I'm assuming you would do is call the function libvlc_media_player_release with your call library function node when you want to release the media source you are currently using (Video A). You would then call libvlc_media_new_path with the path of the new video file you want to play (Video B). You could programatically implement this with a digital trigger in many different ways. What were you thinking of doing?

 

Regards,

Ian K.
Software Developer
Data Ahead AG
0 Kudos
Message 2 of 2
(2,624 Views)