cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

VLC in ACtiveX

Solved!
Go to solution

VLC in ACtiveX

I know there are a couple of posts already about this but I can't seem to open the other Vis that have solved this issue.  I am running labview 9.01 and I am trying to use VLC to play a webcam from an IP address.  I have it set up right now using WMP but it doesn't work cause WMP is terrible.  Is there a way I can do this with VLC?

 

vlc.png

I can see when I use activeX i can insert VLC activeX PLugin and IE web plugin v1 or VLC activeX PLugin and IE web plugin v2 but LAbview crashes when i select that.  Is there a different way?

0 Kudos
Message 1 of 11
(3,063 Views)

Re: VLC in ACtiveX

Hey dmarcus,

 

I found a community example that I think will be helpful for you and I included it below.

 

https://decibel.ni.com/content/docs/DOC-24114

 

I know you mentioned you were not able to open some other VIs that implemented what you are looking for. That's possibly because you are still using an older version of LabVIEW. If you are unable to open this community example, you can post the code in this area of the forums to request for it to be converted to an older version for your use.

 

-Will

0 Kudos
Message 2 of 11
(3,014 Views)

Re: VLC in ACtiveX

Thanks.  I found that VI but I couldn't open it.  I will try and post it in the other forum to get in converted.  

0 Kudos
Message 3 of 11
(2,975 Views)
Solution
Accepted by topic author dmarcus
07-22-2016 06:16 AM

Re: VLC in ACtiveX

Message 4 of 11
(2,970 Views)

Re: VLC in ACtiveX

Thanks!

0 Kudos
Message 5 of 11
(2,918 Views)

Re: VLC in ACtiveX

Thanks for the example, it works well for playing audio/video files.

 

My application is little different. I have camera connected to capture card, I need to play this captured video. I have been using VLC command line, which doesn't work very well. Any suggestion?

0 Kudos
Message 6 of 11
(2,425 Views)
Highlighted

Re: VLC in ACtiveX

 Attached is some of the ActiveX code I use to connect to a Sony camera and stream it to a picture box on the front panel.

 

It's pretty crude, but the idea is if you can open a stream to it from VLC, this ActiveX stream should work the same.  This is with VLC 2.2.1 32 bit, using LabVIEW 2016 32 bit, on Windows 7 64 bit.


Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
Interesting in learning all you can about automotive CAN bus communication? Checkout my 12 part CAN Blog series.

0 Kudos
Message 7 of 11
(2,406 Views)

Re: VLC in ACtiveX

Hi,

 

could you save it in the version 2015?

 

Best regard

0 Kudos
Message 8 of 11
(2,259 Views)

Re: VLC in ACtiveX

Backsaved to 2015.  You'll of course need VLC x86 if you are using 32 bit LabVIEW installed.


Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
Interesting in learning all you can about automotive CAN bus communication? Checkout my 12 part CAN Blog series.

Message 9 of 11
(2,256 Views)

Re: VLC in ACtiveX

I'm trying to show the live video from a USB webcam on the LabVIEW front panel, and I happened to find your discussion. I don't have LabVIEW Vision Development Module addon, but since I don't need to process the video, I think your program is exactly what I need. I downloaded the "Main_Open_Cemra" vi and installed the latest VLC. What should I set for the path for the webcam? Thank you very much.

 

0 Kudos
Message 10 of 11
(2,014 Views)