Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the original fame?

I need read a .avi file and  send each frame to another PC with UDP.

 while the frame is read out with labview vision API, the image in the frame is decoded ,and the size of the image is larger.

How can I get the original frame?

 

0 Kudos
Message 1 of 3
(4,335 Views)

If you don't share how do you decode, getting frame size and put data into UDP packet, no one can tell how can you get original frame back. You probably share block diagram showing how the frame is sent.

0 Kudos
Message 2 of 3
(4,311 Views)

What you are trying to do is stream the contents of the AVI file, rather than the contents of an image.  There is a big difference.  Dont use AVI Read.  Use Read Binary File instead.  This is not the solution.  I'm just telling you that Read AVI will always decode the image data.

 

The AVI file format is a container for data in any number of video and/or audio CODEC formats.  Some of this data may be raw, uncompressed data, and other data may be compressed using degrees of compression from lossless, to very lossy.  There are key frames, and other bits of jargon that need to be handled in order to create a streaming server that works.

 

VLC is both a client and server for streaming AVIs.  You could use it to stream your video over UDP, but you will still need to decode the information on the receiving end to get an actual image. 

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 3 of 3
(4,285 Views)