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?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

if you just need a tool for compressing and do not need to do it through code use the following tool:

they have a free format converter which will allow you to specify the compression method
kojotAuthor Commented:
Very kind of you to post this URL, but I need CODE SAMPLE, for I want to have full control over the procedure.
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

kojotAuthor Commented:
OK!!!!!!!!!!!!! Thanx a lot:)=
You're welcome.....
kojotAuthor Commented:
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?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.