In this article, we will consider step by step how you can cut an avi video file, as well as several options for saving it: with and without conversion. In general, there are dozens of programs, if not hundreds, to solve this problem. But one of the best of its kind is VirtualDub.
VirtualDub is a program for processing avi video files. It can not only convert them, but also cut out fragments, apply filters. In general, any file can be subjected to very serious processing!
Download link: http: //www.virtualdub.org/. By the way, on this page you can find several versions of the program, including those for 64-bit systems.
Another important detail. To work properly with video, you need a good version of the codecs. One of the best kits is the K lite codec pack. You can find several sets of codecs at http://codecguide.com/download_kl.htm. Better to choose the Mega version, which includes a huge collection of different audio-video codecs. By the way, before installing new codecs, delete your old ones in your OS, otherwise there may be a conflict, errors, etc.
By the way, all pictures in the article are clickable (with magnification).
Cutting a video file
1. Opening a file
First, you need to open the file that you want to edit. Click on the File / open video file button. If the codec used in this video file is installed on your system, you should see two windows in which frames will be displayed.
By the way, an important point! The program works mainly with avi files, so if you try to open dvd formats in it, you will see an error about inadmissibility, or even empty windows.
2. Basic options. Start cutting
1) Under the red line-1, you can see the file play and stop buttons. When searching for the desired fragment, they will be very useful.
2) Key button for cropping unnecessary frames. When you find the place in the video where you want to cut the unwanted piece – click on this button!
3) The video slider, by moving which, you can quickly get to any fragment. By the way, you can move approximately to the place where your frame should be approximately, and then press the video playback key and quickly find the right moment.
3. End of cutting
Here, using the button for setting the end mark, we indicate to the program the fragment in the video we do not need. It will be grayed out on the file navigation slider.
4. Delete the fragment
When the desired fragment is selected, you can delete it. To do this, press the Edit / delete button (or just the Del key on the keyboard). The selection should disappear into the video file.
By the way, it's so convenient to quickly cut out ads in a file.
If you still have unnecessary frames in the file that need to be cut, repeat steps 2 and 3 (beginning and end of cutting), and then this step. When the video is finished cutting, you can proceed to save the finished file.
Saving without compression
This save option allows you to get the finished file very quickly. Judge for yourself, the program does not convert any video or audio, just copying in the same quality in which they were. The only one without the places you cut out.
1. Video setup
First of all, go to video settings and disable processing: video / direct stream copy.
It should be noted that in this case, you cannot change the video resolution, change the codec with which the file was compressed, apply filters, etc. In general, you can't do anything, the video fragments will be completely copied from the original.
2. Audio setting
The same thing that you did in the video tab should be done here as well. Check the box next to direct stream copy.
Now you can save the file: click on File / Save as Avi.
After that, you should see a window with saving statistics, which will display the time, frames and other information.
Save with video conversion
This option allows you to apply filters when saving, convert the file with another codec, and not only video, but also the audio content of the file. True, it is worth noting that the time spent on this process can be very significant!
On the other hand, if the file was poorly compressed, then you can reduce the file size several times by compressing it with another codec. In general, there are many nuances here, here we will only consider the simplest version of converting a file with the popular xvid and mp3 codecs.
1. Video and codec settings
The first thing you do is turn on the checkbox for full editing of the video track of the file: Video / Full processing mode. Then go to the compression settings (i.e. select the desired codec): Video / compression.
The second screenshot shows the selection of the codec. You can choose, in principle, any that you have in the system. But most often in avi files Divx and Xvid codecs are used. they provide excellent picture quality, work fast, contain a bunch of options. For example, this codec will be selected.
Next, in the codec settings, specify the compression quality: bitrate. The larger it is, the better the video quality, but also the larger the file size. It makes no sense to give any numbers here. Usually, the optimal quality is selected empirically. In addition, everyone has different requirements for picture quality.
2. Configuring audio codecs
Also enable full processing and compression of music: Audi o / Full processing mode. Then go to the compression settings: Audi o / compression.
In the list of audio codecs, select the desired one, and then select the desired audio compression mode. One of the best audio codecs today is the mp3 format. This is what is usually used in avi files.
You can choose any bitrate from the available ones. For good sound, it is not recommended to choose lower than 192 k / bps.
3. Saving the avi file
Click on Save as Avi, choose a place on your hard disk where the file will be saved and wait.
By the way, while saving you will be shown a small plate with the frames that are currently being encoded, with the time until the end of the process. Very comfortably.
The encoding time will greatly depend on:
1) the performance of your computer; 2) on which codec was chosen; 3) the amount of overlay filters.