LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert a .NET PictureBox to an IMAQ Image or save image as video in VLC player

Hello everyone,

 

I used the software in this link to get IP camera images to LabView via RTSP. (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019VZYSA2&l=en-TR). When I ran the program called VLC - Play Stream&Snapshot.vi, I managed to get images from the IP camera. But I couldn't run the snap function. I didn't know how to fix this.

 

sss1.png

 

I wanted to follow a different path and convert the .Net_PictureBox in this program into a Labview image. I followed the steps in this example and did my coding, but I encountered an error. I don't know how to solve this error. (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001De5QSAS&l=en-TR)

My main purpose in writing this program is to take snaps and record videos while the camera is streaming. I wanted to try different ways to achieve this goal.

The program and dll are attached.

sss3.png

I am using Labview 2020 64-Bit version.

Thank you in advance for your help.

Kind regards.

Download All
0 Kudos
Message 1 of 3
(563 Views)

HD versions of screenshots are attached

Download All
0 Kudos
Message 2 of 3
(561 Views)

obviously, the content of a .net picture box is not always easy to extract, as it apperas to be here

 

why dont you use VLC - Play Stream&Snapshot.vi ‏46 KB 

 
and read back the snapshot.jpg via
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

Spoiler
e.g.alexderjuengere_0-1694777413514.png

 

 
0 Kudos
Message 3 of 3
(487 Views)