Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

recorded AVI file size too large

Hi

 

I am using the regular regular IMAQ Write Frame.vi to save the video from a Balse camera. If I don't use the any avaialbel compression codecs the avi file size is becoming very large (10 sec  aprox 150MB). If I use a compression and when playing it in a windows media player or any other player the frame rate is not the same I attached the sample vi that I am using to record the video. Please let me know what can be done to reduce the size of the video file and be able play it with the same frame rate recorded using windows medial player

 

Thanks

0 Kudos
Message 1 of 4
(4,244 Views)

Hey wpn,

Try looking at these Knowledge Based Articles:

1)High CPU Utilization in Vision AVI Playback


2)How do I Play an AVI File from LabVIEW?

The second one has some advice on how to play the file using Active X. Does your frame rate slow down even in Windows Media Player? What codec's have you used?

Ricky

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(4,220 Views)

Hi Ricky

 

   Thanks for the pointers. But my problem is not able to play back in LABVIEW. I need to record teh video using the labview and be able to play it back in windows Media player. AS I said in my message earlier if I don't use the compression the file gets too large quickly and If I use compression the play back in media player is not same as the original recording. I am looking for a right compresioin filter

0 Kudos
Message 3 of 4
(4,207 Views)

Hey wpn,

One thing you could do is use the AVI Compressor Comparison Example VI we have in the example finder to compare your compression filters. When you run this it will list all the codec's on the PC and then you can run an AVI file and it will let you know which one is the best to use to get the best quality playback.

Ricky

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(4,194 Views)