📜 ⬆️ ⬇️

How to compress video captured by SnagIt and other programs

Friends, I would like to share with you my little experience in compressing video files. Namely, to reduce the size of the source file.

The other day, with the help of the SnagIt program, I recorded several training videos on translating a static site to the ExpressionEngine engine. Again, this is my first experience in recording tutorial videos. The files were large, take at least a file with a duration of 1 min 18 sec - it was 87 MB in size.
Of course, such a file size is not allowed for this amount of time, so we need to compress it. I would also like to note that I made a recording from the screen on an arbitrary section of the screen, so the dimensions of the video I will have are not standard.

Free Image Hosting at www.ImageShack.us

')
We will need:
K-Lite codec pack, (we need DivX and Xvid codecs in it)
VirtualDub (the latest version can always be downloaded from here )
1. Open the file in VirtualDub

2. Go to the Video - Filters menu (Ctrl + F). Click the Add button and add the resize filter



Next, go to our settings and specify the percentage of compression, or a specific size of the output image.



Further, the article is divided into two parts.

a) compression settings using the DivX codec



3a. Click Video - Compression (Ctrl + P). Select the DivX codec, click Configure and configure.



I chose the best quality and set Multipass, 1st pass in Rate Control Mode . I will compress the video in two passes. This is the first.

4a. Click File - Save as AVI (or F7 button) and save it under any name. After saving, do not close the VirtualDub window. Go back to the settings of the codec and in the Rate Control Mode item we select Multipass, Nst pass . This is the second pass.



b) compression settings using Xvid codec



3b. Click Video - Compression (Ctrl + P). Select the Xvid codec, click Configure and configure.

I chose the Highdef quality and in the Encoding Type set Twopass, 1st pass . I will compress the video in two passes. This is the first.



4b. Click File - Save as AVI (or F7 button) and save it under any name. After saving, do not close the VirtualDub window. Go back to the settings of the codec and in the Encoding Type section select Multipass, 2nd pass . This is the second pass.



5. Save File File - Save as AVI (or F7 button) but under a different name, this will be our source file.

As you can see, the size of the output file has decreased significantly. Its quality can be varied by settings, experiment.



I think the article will be useful for beginners, there are no special difficulties. I noticed that using the Xvid codec loads the system less and at the output I received a fairly high-quality file with a good image and with the same sound as it was before. Try it, good luck. By the way, the original article on Qrat.ru.

Source: https://habr.com/ru/post/38474/


All Articles