LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Streeming video between two computers on Internet

I want to send MPEG video by internet between two computers. What I have been doing till now is compress each frame using Imaq flatten to JPEG but is it possible to send those frames by  MPEG format and then reproduce in the other end. IMAQ AVI Write Frame can save the fames in mpeg format (using compression codec) but how to send it through internet.

 

0 Kudos
Message 1 of 5
(3,151 Views)

Hi aman_bajra,

you can use the TCP/IP functions to send your data. You can send every binary information you want.

Hope it helps.
Mike

0 Kudos
Message 2 of 5
(3,139 Views)

Hi Aman,

There is another thread running at the moment about streaming video over the internet here.  I would suggest having a read of the KB article regarding selecting the best method to stream the video.

 

Hope that helps,

 

Tom

Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 3 of 5
(3,133 Views)
Thanks for your reply. I have been using IMAQ flatten to string and using that input to TCP Write.vi. It works only on each frame so is actually transmistting frame by frame. I want to use MPEG instead. I used "Indeo® video 5.10 Compression Filter" in IMAQ AVI create.vi then save the file using IMAQ AVI Write Frame . However it saves to file. Now what do you suggest me to send this output to TCP/IP.
0 Kudos
Message 4 of 5
(3,124 Views)

Hi Aman,

We don't actually support streaming video using the MPEG file format.  To stream the image as an AVI you will need to use one of the methods suggested in the other thread I linked too in my first post although if you are interested in speed I would suggest using TCP, this can be implemented using the examples in LabVIEW (Example finder>>Network>>TCP&UDP).  This KB has some information about speeding up your image transfer time over the network so you can get the best frame rate possible. 

Sorry the MPEG isn't possible but hopefully one of the other options will provide you with a solution, if you have any further problems implementing these solutions please just post back.

 

Tom

 

Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 5 of 5
(3,102 Views)