You are on page 1of 8

Video Editing Tools: An Introduction To Second Toolbar

Avidemux
To the left of the interface is the second
In the world of video editing tools, toolbar, which is used for setting which
Avidemux exists to save time when it codec is for audio and which for video. For
comes to cropping and editing videos of both, settings are present to allow for
every format. As well as featuring some different configurations. The video filters
advanced options, Avidemux makes function is certainly one of the key
simple cutting, editing and re-encoding features of this software. Several filters
very easy. As a brief introduction, it will can be applied simultaneously, and it
be useful to examine some of the key ways features a long list to choose from.
in which it makes editing easier. Through making use of these filters, a
large number of effects can be achieved.
How Does it Compare? Remember to press the V and the A
buttons when resizing in order to make use
Avidemux is not as powerful as other of the software's bitrate calculator. If you
video editing tools available, but it does fail to press these then the software will
have plenty of features. It can be used not encode.
effectively with most formats of video, it
lets you control subtitles and the editing of Third Toolbar
audio files and converts files to different
formats, all via one screen interface. One Beneath the actual video is the toolbar for
highlight of Avidemux is that an entire controlling playback. All the necessary
project, complete with options and controls are present here. From here you
preferences, can be saved in one file - very can control where a file begins and ends,
useful when you need to save time. and it's not hard to imagine that a first time
user would find it easy to use.
First Toolbar
Avidemux is less complicated and less
The first toolbar is for simple functions powerful than other tools on the market,
such as opening and saving your work. but it benefits a lot in terms of usability
Other buttons allow for viewing basic from being relatively simple. Avidemux is
information and allow you to see the essentially software that will best serve a
output of what is to be played. While the non-professional, but that means that there
input function is extremely useful, the is a lot of scope for it to be of use to a
output function (as mentioned before) great many users. Choosing a free
lacks the ability to present the effects of Avidemux video editing program can be a
compression. It simply shows the ways in great option because once you're used to
which filters applied will modify the the way it functions, it is a tool that can be
video. The output feature works when the used repeatedly and effectively. Most
video is in motion and the preview users should find that they're used to the
function when it has been stopped. way it works after just a few attempts at
using it. The preview functions may leave
a little to be desired, and the toolbars may
be relatively unsophisticated, but the
program on the whole does what it is
supposed to.
Quickstart 3. Filtering
Why: Basic filters applied to the
picture like deinterlacing or
Avidemux is a simple tool for simple resizing come in handy for various
video processing tasks. The keyword here format conversions. Other filters
is simple: it does not offer tools like a may be used for adding subtitles to
timeline, multitrack editing, you cannot the picture, color correction etc.
freely move or splice audio and video clips How: Filters require reencoding. So
from various sources. However, Avidemux you have to select an encoder first,
allows you to do elementary things in a then you can add filters using the
very straightforward way. Filters button. See the Video filters
chapter for more details.
When you open a video file using the
Open button (Ctrl+O) on the main toolbar, When you are done with cutting, setting
there are 3 basic things you can do with it encoders or filters, save the resulting video
in Avidemux: file using the Save button (Ctrl+S).

1. Cutting In addition, there are other small features


Why: For example, cutting out ads you can use, like saving or replacing the
from a TV recording, or saving audio track from the video, joining several
only a small part of a video you are video files or saving a snapshot of your
interested in. video.
How: Select a portion of the video
with the mark A and mark B To encode or not to encode
buttons, and either delete, copy,
paste or save that part. If you do
Avidemux works in two basic modes:
not reencode the video (that is, if
copy mode and encoding mode.
the encoder is set to Copy), make
sure all segments start with
keyframes, or the resulting video Copy mode
will be broken at cut points. See
the Cutting chapter for more When the audio or video encoder is set to
details. Copy, it means no reencoding takes place,
and the audio or video track from the input
2. Encoding file is just copied to the resulting file as-is.
Why: You may want to convert the This means it is very fast (usually a couple
video to a different video format of minutes at most), and there is no quality
that your hardware or software loss.
players understands, or you just
want to compress the video to a Use the copy mode when:
smaller size, for archiving or
publishing it on the Internet. 1. you just want to cut out parts from
How: Encoding in Avidemux the video, without changing the
means selecting an encoder that output format
does the video compression. That 2. you want to append several files
is, the drop-down menu on the left (using either FileAppend or the
cannot be set to Copy. See the automatic appending that
Main window chapter for more Avidemux provides) if the
details. resolution (width, height), video
format, audio format, audio bitrate
and sampling rate is the same for Container format: audio and
all files, you can use the copy video tracks are stored in a single
mode file, in a container. The container
3. you want to fix constant format does not influence the audio
audio/video desync (using the Shift or video quality, it is only a way of
option in the audio section) storing video and audio in a single
4. you want to perform technical file. In Avidemux, the container
changes like saving the video to a format is selected in the (Output)
different container Format section at the left.
Note: Always select an appropriate
Encoding mode container format for the file you
are saving! See the Output formats
When you select an audio or video chapter for more details. You
encoder, the audio or video track is should also add a suitable
reencoded. If the compression is lossy extension to the file name when
(with most encoders it is), this implies you save the video, like .avi for the
quality loss. Encoding is also much slower AVI container format, or .mkv for
than copying. Depending on the speed of the Matroska container format.
your computer, it can take hours to Avidemux version 2.5 or older
complete. does not add the extensions
automatically!
Use the encoding mode when: Video format: this is the way the
video stream is encoded in the file,
1. you want to perform audio or video usually in compressed form.
format conversion Modern compression fomats
2. you want to compress the file to a usually offer better quality/size
smaller size (at the expense of ratio than old ones. Common video
quality) formats include H.264, MPEG-4
3. you have to do precise cutting Part 2 or MPEG-2 Part 2.
that's not possible to do on Audio format: the way the audio
keyframes stream is stored in the file.
4. you want to use filters (it is Common audio formats include
impossible to filter audio or video AAC, MP3, MP2, Vorbis or PCM
without reencoding it) (uncompressed).
5. you want to join several files with Note: Do not confuse audio and
differing properties (different video formats with audio and video
formats, different resolution etc.) codecs. Codecs are tools used for
encoding and decoding, while
formats are methods of encoding
Basic terms the data. See the Common myths
chapter for more details.
Since Avidemux is a tool that does not do Encoder: this is a tool used for
things automagically for you and only encoding the audio or video stream
executes the steps you directly tell it to into the desired format. Some
perform, you should really understand encoders are better than others
what you are doing and why. Before you even if there are multiple encoders
use Avidemux, you should understand for the same format, one of them
basic characteristics of multimedia files, may offer higher quality at the
such as: same size. In Avidemux, you can
select the software encoder in the
Video and Audio sections. Of You have a video saved from a
course, the selected encoder then DVB-T recorder, DVD or other
implies the output format as well. sources and want to archive it in a
Decoder: a tool used for decoding more compact form. So after you
the input video or audio stream. open the file and do some editing,
Avidemux uses internal built-in select a video encoder with the best
decoders. If it does not have an quality/size ratio, that is x264,
appropriate decoder for the video configure it, add video filters like
or audio format, there will be no deinterlace, crop and resize to
video or audio. make the video more compressible,
select Matroska or MP4 as the
So, what does this all mean? Let's see a container format and save the file.
couple of use cases: You may even save the original
audio track in copy mode if you
You want to cut out unwanted parts want to avoid any quality loss, as
from a video, losslessly (in copy audio in DVB-T or DVD is already
mode). You have to know the compressed and does not take as
source audio and video format. much space as video.
Avidemux can show you the file
properties using the Info button Audio/video sidebar
after you open it. Then you select
an appropriate container format
The toolbar on the left can be used for
that's suitable for the video and
setting audio and video encoders, filters
audio format combination
and the output format.
(typically the same container
format that's used for the source
Audio and video encoders are listed in a
file), leave audio and video
format (encoder) form, where format is
encoders at Copy, do the editing,
the specification, standard, while encoder
and finally save the file.
is the particular software library,
You have a Matroska (*.mkv) file
implementation, that encodes the stream to
with H.264 video and AAC audio.
the chosen format. For example, MPEG-
The Matroska container format is
4 ASP (Xvid4) means the output video
not supported (and therefore not
format is set to MPEG-4 ASP and the
playable) by default on Microsoft
chosen software library used for encoding
Windows, Mac OS X (without
the MPEG-4 ASP video is Xvid. MP3
additional software) or various
(LAME) means the output audio format
hardware devices, but H.264 and
is set to MP3 and LAME is the MP3
AAC is! This means you can open
encoder.
the file in Avidemux, change the
output format to MP4 (which is the
The Format menu is mainly used for
container format supported by
setting the output container. A container
default on those platforms), and
contains audio and video streams
save it in copy mode. Audio and
multiplexed into a single file. It is
video tracks will be left untouched,
important to select a suitable container
so it will be quick and lossless.
format for the audio and video stream
Only the wrapper, the container,
types selected in the Audio and Video
will be different. If the H.264 video
menus. For example, MPEG-2 (DVD,
was encoded with basic features
SVCD) or MPEG-1 (VCD) video should
supported on those platforms, the
not be saved into an AVI container. Some
file should now be playable there.
popular A/V format/container Filters button); if a supported encoder does
combinations include: not appear in the list, it means Avidemux
has not been built with support for it
video: MPEG-1, audio: MP2,
container: MPEG-PS (suitable for a
VCD, universally playable on most
computers and operating systems
including Microsoft Windows,
without installing additional
codecs)
video: MPEG-2, audio: MP2/AC3,
container: MPEG-PS (suitable for
DVDs)
video: MPEG-4 ASP, audio: MP3, The default audio encoder is Copy,
container: AVI (a very popular which means no audio encoding, audio
format, playable on standalone from the input will be copied to output
DivX compatible players, in selecting an audio encoder for encoding
software players like MPlayer, from the drop-down list allows you to
VLC or xine and in Windows- configure it (the Configure button) and set
based players if an MPEG-4 ASP audio filters (the Filters button); when the
decoder such as DivX, Xvid or the A/V shift checkbox is checked, audio
ffdshow is installed) will by shifted by the number of
video: H.264 (MPEG-4 AVC), milliseconds set in the A/V shift spin box
audio: AAC, container: MP4 (the
MPEG-4 standard)
video: H.264 (MPEG-4 AVC),
audio: Vorbis, container: Matroska
(an efficient free software choice
for playback on computers, players Select the output format; the default A/V
like MPlayer or VLC can play the container format is AVI
files out-of-the-box, for playback
in Windows Media Player, an
H.264 decoder such as ffdshow and
a Matroska splitter such as Haali Type of the current frame (I-frame, P-
Media Splitter is needed) frame or B-frame), the number between
brackets shows the quantizer used to
encode the displayed image (meaningful
only when used with a quantizer type
codec like the MPEG codecs)

The default video encoder is Copy,


which means no video encoding, video
from the input will be copied to output
(filters cannot be applied in Copy mode)
selecting a video encoder from the drop-
down list allows you to configure it (the
Configure button) and set video filters (the
Cutting excluding the frame at marker B.
Mathematically speaking, the set of frames
saved is [A,B).
Simple cutting
Removing
Audio/video sync
The EditDelete menu entry will remove
frames from [A,B) from the stream. It can
If you are editing a file with variable
be used, for example, to remove
bitrate audio, run AudioBuild VBR Time
commercials from a video capture.
Map before you do any editing. Otherwise
Avidemux will make sure to keep the
your audio will be out of sync.
audio in the stream in sync with the video,
unless you have an external audio source.
Markers
External audio source
Video edits are done inside of marked
sections, from the start and end of a When doing cutting or deleting, if the
selection. Markers A and B are used to set video has an external audio source,
the start and end of a sequence. You can Avidemux will not cut sections of the
set them using the and buttons. external audio to synchronize or match the
video timing.
You can also jump to marker A or B using
the GoGo to Marker A or GoGo to There are two options for getting your
Marker B menu entries. external audio source to sync properly
with Avidemux when you are
Marker positions are also displayed at the cutting/deleting video frames:
bottom of the screen, under the Selection
section: 1. You can edit the audio file yourself.
Basically this means cutting the audio
file yourself in an audio editing
program.
2. A good work around for the external
audio source problem is to edit the
video two times using Avidemux.
Obviously, marker A can't come after o First, use Avidemux to add
marker B. If you try to set marker A to a the external audio source and
frame after marker B, Avidemux will set then save your video.
marker B to that point, and marker A to o Second, now the external
the frame after where marker B used to be. audio source is internal audio
So, for example, if marker A is at frame 0 source in the video you saved.
and marker B is at frame 10, then you set Open the saved video in
marker A to frame 20, Avidemux will Avidemux and it will now
actually put marker A at frame 11 and automatically sync the audio
marker B at frame 20. with the video when you do
edits.
Saving

You can save part of a stream by going to


FileSaveSave Video. Every frame
from marker A to marker B will be saved,
Intra frames and SmartCopy Smart copy will leave most frames
unchanged, but re-encode the part
This section only applies when video is in that lost its reference images with a
copy mode (encoder is set to Copy). In fixed quantizer. So in our example,
process mode (an encoder is selected for frames ab and nop would remain
encoding), Avidemux internals ensure unchanged, while frames jkl would be
everything is alright. re-encoded to use a different
reference frame. Smart copy will ask
you for a value for the quantizer to
Warning: When Format is set to AVI,
use(nbsp)(ndash) 4 or 5 is generally
unpack VOP, Avidemux will use copy
OK.
mode for all frames (including the
broken ones) even if a video encoder is
selected for encoding. SmartCopy mode Copy/paste
will not work either, because SmartCopy
needs to re-encode the broken frames. Frames can be copied and pasted by doing
Ctrl-C and Ctrl-V. When copying, you
Usually, each frame of video isn't that must make sure the first frame you copy is
different from the one before(nbsp)(ndash) an I-frame; when pasting, the frame after
someone's mouth moves a bit, the the insert point must be I-frame. Smart
background shifts around, etc. Most video copy will work in that case, but not with
codecs use this fact to save space, by streams containing B-frames.
saving a complete frame every few
seconds, and making the other frames Example of cutting/deleting frames
simply a modification of the reference
frame. Complete frames are referred to as Build VBR time map
Intra frames, or sometimes I-frames or
keyframes. 1. If you are editing a file with variable
bitrate audio, run AudioBuild VBR Time
Markers don't have to be at key frames, so Map before you do any editing. Otherwise
your stream might look like this: your audio will be out of sync.

abAdeIghBjklInop Markers

Where lowercase letters are intermediate 2. Use the Marker A button to set the
frames, A and B are marked frames, and I start of what you want to edit.
is an intra frame. When you cut frames
[A,B), you will end up with:
3. Use the Mark B buttons to set the
abjklInop end of what you want to edit.

Where frames jkl are broken, because they You can confirm the start and end edit
specify changes relative to an I-frame that positions the frame displayed at the bottom
no longer exists. There are two ways of of the screen, under the Selection section:
dealing with that:

Make sure the B marker is an I-frame.


In that case no problem.
If your file uses MSMPEG-4
(DivX(nbsp);-)(nbsp)3) or MPEG-4
video, you can use smart copy mode.
Cut/delete

4. The EditDelete menu entry will


remove frames from [A,B) from the
stream.

Save video

5. Save the video with the section deleted.


You can use the menu FileSaveSave
Video. You may be able to use Video
Copy and Audio Copy modes to do this
edit, but you may not and you may have to
encode the video.

Advanced cutting
Autosplit

Using FileAVI Muxer Options, you can


specify a file size in megabytes. Each time
that file size is reached and an intra frame
is present, Avidemux will create a new
file. You will end up with foo.avi.1,
foo.avi.2 etc.

As the new file must begin at an I-frame,


the file size you specify is only accurate to
within about 5 megabytes.

You might also like