Link to home
Start Free TrialLog in
Avatar of kojot
kojot

asked on

How to compress AVI file using any of the Codec in VB?

I have an uncompressed AVI file (no audio layer). I want to compress it using CODECs installed on my system (DivX, Leadtec, ... whatewer). Sample code anybody?
Avatar of DanAvni
DanAvni
Flag of Israel image

if you just need a tool for compressing and do not need to do it through code use the following tool:
http://www.gromada.com

they have a free format converter which will allow you to specify the compression method
Avatar of kojot
kojot

ASKER

Very kind of you to post this URL, but I need CODE SAMPLE, for I want to have full control over the procedure.
ASKER CERTIFIED SOLUTION
Avatar of TheRedGuy
TheRedGuy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kojot

ASKER

OK!!!!!!!!!!!!! Thanx a lot:)=
You're welcome.....
Avatar of kojot

ASKER

TheRedGuy hi!

One more Q: I used the sample code there to encode AVi .. that's cool. But there is one more issue - I cannot figure out hot to pre-set codec I want to use for compressing (user must mannually select it) and it's verry frustrating.

Have you been working on this problem or/and have any suggestions?