View Full Version : MPEG4 Data rate
November 30, 2005, 22:30:48
When I capture avi video with DFG/SV1, Microsoft MPEG4 V2, UYVY (640x480) on my Dell PC (Win 2K, 3.2GHz, 512MB), my VB program takes up 40 - 50% of CPU and runs fine. However, on another PC (exactly the same hardware) with Win XP, it takes up 100% of CPU resources and the program crashes after several hours. AVI files from Win2K PC have 83kb/sec data rate, the ones from WinXP PC are >500kb/sec. But I don't know ow to specify the data rate. Any idea?
December 1, 2005, 10:38:20
Please try with IC Capture to set the codec properties. There should be a slider labled "Data Rate (Kilobits per Second)".
If you want to show this dialog in your own VB application, then do following:
Private Sub Form_Load()
Dim Codec As AviCompressor
Dim CodecIndex As Integer
CodecIndex = ICImagingControl1.AviCompressors.FindIndex("Microsoft MPEG-4 Video Codec V2")
If CodecIndex > -1 Then
Set Codec = ICImagingControl1.AviCompressors.Item(CodecIndex)
If Codec.PropertyPageAvailable Then
You can save and load the codec properties to a file. Please refer to the "samples\vb6\Saving Codec Properties" sample in your IC Imaging Control installation path
Powered by vBulletin® Version 4.2.3 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.