Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2001-06-07
6
Medium Priority
?
1,331 Views
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?
0
Comment
Question by:kojot
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:DanAvni
ID: 6162958
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
0
 

Author Comment

by:kojot
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.
0
 
LVL 3

Accepted Solution

by:
TheRedGuy earned 800 total points
ID: 6163289
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kojot
ID: 6163749
OK!!!!!!!!!!!!! Thanx a lot:)=
0
 
LVL 3

Expert Comment

by:TheRedGuy
ID: 6164029
You're welcome.....
0
 

Author Comment

by:kojot
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?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

783 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