Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2001-06-07
Medium Priority
Last Modified: 2012-08-14
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?
Question by:kojot
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 6162958
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

Author Comment

ID: 6162992
Very kind of you to post this URL, but I need CODE SAMPLE, for I want to have full control over the procedure.

Accepted Solution

TheRedGuy earned 800 total points
ID: 6163289
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 6163749
OK!!!!!!!!!!!!! Thanx a lot:)=

Expert Comment

ID: 6164029
You're welcome.....

Author Comment

ID: 6180104
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?

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question