On this page ...
Common problems with AVI files
are caused by the required codec. Here we show you which codec's are
being used, using GSpot.
Say
you have an AVI file but it doesn't play on your PC ... in that
case we need to know which codec(s) are required for playback.
But how do we find out?
In another situation, you tried to transcode
(convert) an AVI file to another format, but for example audio
isn't there
in the end result. GSpot can tell you which codec is needed or
used ...
GSpot can help us with this
... it completely analyses your AVI file and gives you an overview
of all relevant
information.
GSpot can be downloaded from the Download
Page or from the GSpot
homepage.
Note: A common problem with audio
in AVI's is that it's codec using AC3! Which most encoders, like
TMPGEnc, cannot handle.
Read the Disclaimer!
|
download my own DivX logo here!
|
Codec's ... ???
A codec is a kind of "translator". It can enCODe
and/or
DECode data. This can be done by software or hardware.
Commonly we use codec's for AUDIO and VIDEO. For example;
when you play an MP3 song, the computer will send the data of that particular
MP3 file through the MP3 codec, so you can hear the song. The codec converts
the compressed data (in this case) to an uncompressed format, which can
be played by the computer, using your sound card.
A similar thing can be found with video. For example
the DivX codec.
Using codec's is a good approach to arrange playback.
However, you do need the codec that is being used to create your movie
or song in order to have playback.
Sometimes, codec's can cause quite some problems.
Two examples;
An AC3 track can contain 6 audio channels
- Left Front, Right Front, Center Front, Sub woofer, Left Back (surround),
and Right
Back (also Surround). Actually, there are only 5 channels, as the sub
woofer is not really a channel.
When an application needs to convert audio to a different
format, but assumes only 2 channels (regular Stereo), conversion will
be a problem. Such an example is TMPGEnc. It assumes 2 channels and is
not able to down mix (merge) the 6 channels to 2 channels.
Another example is the playback of MPEG4 files.
Say you have a movie, encoded with XviD. Your PC however
has only DivX installed and associated the XviD with the DivX codec.
Sometimes this can cause issue.
One of the most infamous problems is that the screen
is either green, shows artifact (little green blocks) or behaves as if
it's melting.
So to find the problem, we might need to take a look
at the codec's being used. GSpot is the right tool for this.
Using GSpot
First download GSpot from the Download
Page or from the GSpot
homepage and extract it to an appropriate location (there is no
"setup").
Now there are two ways to use GSpot;
- Open GSpot and open a file
- Using the shell; right click the AVI file
I'll explain both.
Starting GSpot directly
The simplest way to use GSpot, after extracting the
archive, is to simply double click the GSpot executable ().
Once GSpot opens, either click the "..." button (see
the arrow in the image below), or choose from the "File" menu, the option
"Open", or press CTRL+O.
This brings up a dialog window, allowing you to select an AVI file you
wish to analyze.
Gspot - Open an AVI file
Associating GSpot with AVI files
The second way of using GSpot, is by associating it
with AVI files. However; be careful that you do not remove the normal
AVI association.
You will need to do these steps below only once, as
Windows (most versions) will remember this "association".
The easiest way to do this, in Windows 2000 or XP, is by right clicking
an AVI file. From the menu select "Open With" - "Choose
Program".
Note: not all Windows version support this feature.
Some versions do, but one needs to keep the Shift key pressed while right
clicking the AVI file to get to this option.
GSpot - associate it with AVI files
Another dialog will open, allowing you to select an
application.
GSpot - Click BROWSE to find GSpot
WARNING: Before continuing, make SURE that "Always
use the selected program to open this kind of file" is NOT
checked!
Now click the "Browse..." button. A file dialog will
open. Browse to the GSpot application, select it and click "OK".
WARNING:
Before continuing, make SURE that "Always use the selected
program to open this kind of file" is NOT checked!
Click "OK" again. Windows
now knows that GSpot can also open AVI files.
Now for each time you want to analyze an AVI file,
simply right click the AVI and select "Open With" - "GSpot
Codec Information Appliance".
GSpot - Open AVI from the Windows Explorer
After clicking this option, GSport will instantly open
and show the AVI information.
What information means
It's all nice and dandy to see the information, but
what does it mean? I'll try to explain it, based on an example;
Suppose we open an AVI which use DivX (video) and MP3
(audio), something like this might appear;
GSport - We opened an AVI using DivX and MP3
The information in a bit more detail;
File |
Path |
D:\Downloads\New files\... |
The path and filename of the selected AVI |
|
Size |
1,412 Mb |
The exact file size |
|
Stat |
File Length Correct |
Indicates that the floozies is what it
should be (not truncated, or corrupt). |
Stream Type |
Type |
OpenDML AVI |
This indicates that the file has been formatted according to the
OpenDML AVI format - which is an extension to the original AVI format. |
Comments |
- |
- |
These are optional fields, sometimes
used to indicated which tools have been used or who has created this
file. Not really important,
but can be useful when searching for tools. |
Video Format |
4CC |
DX50/divx |
This field shows you the so called 4CC code. In this case DX50. |
|
Name |
DivX 5.0 |
Explains the 4CC code. In this case DX50, the 4CC code, means DivX
5.0. |
|
Stat |
3 compatible codec's installed |
This actually is a button. It shows you
that there are appropriate
codec's installed on your PC (in
this example even 3!). Click this button to see some details. |
|
Length |
01:36:11 |
Playback time of the AVI file (1 hour, 36 minutes and 11 seconds). |
|
x:y |
704x276 (2.55:1) |
Dimensions (Resolution) and aspect
ratio of the movie.
Here the movie is 704 pixels wide and 276 high. The aspect ratio
is 2,55 : 1. |
|
Bitrate |
1854 kb |
This DivX has been encoded with a 1854
Kbps bitrate, |
|
FPS |
25.00 |
at a framerate of 25
fps (= PAL). See also the Video
Formats Page. |
Audio Format |
Name |
0x0055 (MP3) |
The audio track of this movie is MP3 encoded. |
|
Stat |
5 compatible codec's installed |
Again a button, which shows us that on
your PC 5 codec's are being found that can play this type of audio
stream. Click it to see details. |
|
Bitrate |
192 Kbps (96/ch x 2ch) CBR |
The MP3 stream has been encoded with 192 Kbps. It uses 96 Kbps
per channel, and has 2 channels (stereo). Encoding is done using
a Constant BitRate (CBR). |
One thing we haven't discussed is the "DirectShow
Render"
area. This area is being used to "try" to play the AVI using Windows'
DirectShow system.
It will, incase it's successful, show you if your PC
is capable of playing the file and which DirectShow filters are
being used to do that.
Note: this only implies that it's very likely that
the Windows Media Player can play this movie. It does not imply
that other applications (like TMPGEnc, etc) can deal with this!
Click the "Render" button.
GSpot - Trying to "Play" the
AVI file, to see if your PC can handle it
GSpot will now try to play the AVI. A
result may look as such:
GSpot - Successfully played the
AVI
GSpot now shows you what it used to play
this movie;
For VIDEO: (S) --> AVI Splitter --> ffdshow
MPEG-4 Video Decoder --> Subtitle Mixer --> DirectVobSub (auto-loading
version) --> (R)
This means that the Source "(S)" has
been send to "AVI Splitter", which did send it to "FFDShow", which
used the "Subtitle Mixer", which used "VobSub" to display it "(R)".
For AUDIO: (S) --> AVI Splitter --> MPEG
Layer-3 Decoder --> Morgan Stream Switcher --> (R)
The source "(S)" is
again pushed through
"AVI splitter". The audio stream is the send
to the "MPEG
Layer-3 decoder"
which is passed through the "Morgan Stream Switcher" and
the played "(R)".
An example that has AC3 audio in it (so
a potential problem for TMPGEnc for example);
GSpot - This AVI file has AC3 audio!
We identify the AC3 audio
track based on this name: "ac3 (0x2000) Dolby Laboratories,
Inc".
This track has 5 channels and can cause
problems with for example TMPGEnc.
When rendering this movie, you might see
exactly the same results as with the previous AVI file. The previous
file can be handled by TMPGEnc, but this one NOT.
Analyzing AUDIO files
GSpot can also analyze WAV files. Open
a WAV file in GSpot and you will see the bitrate, channels.
This does not work for all WAV types,
for example AC3 files are not identified properly.
However OGM, OGG and MP3 files are supported
too ....
GSpot supports WAV, MP3, OGG and OGM as well (not always)
|