Professional Documents
Culture Documents
Video Enhancer Guide
Video Enhancer Guide
Contents
Chapter 1: Introduction
o Before you start
o Registration
o Definitions
o System requirements
Chapter 2: Interface overview
o Simple mode
o Advanced mode
o Visual appearance (skins)
Chapter 3: Using Video Enhancer
o Selectinh input and output file(s)
o Input and output formats
o Super Resolution work modes
o Setting desired resolution
o Scaling
o Choosing a video codec
o Audio codec
o Wizard
o Filtering your video (Advanced mode)
o Options
o Preview
o Processing live preview
o Processing time
o Finally: uprezzing your video
o Command line interface
Chapter 4: Troubleshooting
o XviD compression doesn't work.
o Can't load FLV video
o Processing does not start
o Frequently Asked Questions & Troubleshooting online
o Forum
Chapter 1: Introduction
Before you start
Video Enhancer is a program that allows you to increase resolution of video using Super
Resolution method. Super Resolution is a smart video upsizing algorithm which uses
information from neighbor frames to upsize current frame. It accumulates information, so the
more sequential frames are processed, the better quality you get. If picture in your video
doesn't change too fast, then information from several frames can be added to create a picture
of a bigger size, revealing details which would otherwise remain hidden. No algorithms of
ordinary image resize/resample can provide this quality just because there's not enough
information in one frame.
Video Enhancer also allows you to use more than two hundred of VirtualDub filters to do
everything you want with your video: deinterlacing, denoising, deblocking, color correction,
deshaking, sharpening, visual effects etc. But unlike VirtualDub, in Video Enhancer all filters,
coders and decoders work simultaneously in separate threads saving your time.
This tutorial will help you to benefit from every opportunity offered by Video Enhancer.
Registration
Video Enhancer is a try-before-you-buy program. You can use it free of charge for 30 days
without functional limitations. In order to use it longer you must purchase it. Doing so you
will receive a registration code which must be entered in registration dialog offered by Video
Enhancer at start.
Definitions
Deblocking - correcting blocks in decoded video in order to improve visual quality and
prediction performance by smoothing the sharp edges which can form between blocks when
block coding techniques are used
Deinterlacing - converting interlaced video, like common analog television signals, into a
non-interlaced form.
Denoising - removing noise from a video. Noise is an unwanted distortion of data, including
false contouring appearance, wide horizontal noise strips typical for old VHS, film artifacts -
dust or dirt; snow, multiple small dots etc.
Deshaking - removing shaking from a video (typical effect for home camera shooting).
VirtualDub - a powerful video editing application with a collection of more than 100 video
filters
System requirements
Simple mode
Advanced mode
This table covers buttons which are NOT present in Simple mode:
For power users who want to use Video Enhancer from shell scripts, it also provides a
command line interface.
1. To select input file: Browse (next to "Input video file" box)>Select file>Open.
2. To look through input file: the first video frame of selected file appears in the monitor
area on the right. Just drag the pointer under monitor area to see other frames or press
Play to start playing it from current position.
3. Default output file: after input file was selected, the default output filename is original
filename plus the word "new" preceded by a dash. For example, if your input file name
is bora320.avi, than the default output file is bora320-new.avi.
4. To set output file: Browse (next to "Output video file" box)>Fill "File name"
box>Save. Or just edit filename in the box.
1. To add file: Many files>Add>Select file>Open>OK or just drag the files to the list
window.
2. To delete file: Many files>Select file>Delete>OK
3. To select several files: hold Ctrl on your keyboard while selecting.
After the list of files was created, the "Input video file" box shows the first filename in your
list plus number of other files selected:
The lower box indicates resolution and duration of the first file in your sequence. Click "Many
files" to view and/or edit your list of files.
It is not recommended to apply sequence of filters to several files which differ in original
resolution.
You can not edit output file names separately, all but the first one will be named by adding "-
new" to the end.
Video Enhancer reads any video file that can be played by Windows Media Player. By default
this is AVI, WMV, MPEG and ASF files.
If any problems arise with opening or processing a video file in Video Enhancer, in most
cases they are caused by a lack of proper codec. It is highly recommended to install K-Lite
Codec Pack, full verwion. See detailed instructions how to install and tune video codecs
properly.
The output video is stored in AVI file. You can use any video codec to compress output video
- any DirectShow, DMO and Video for Windows codecs. By default audio stream (if present)
is stored to the output AVI without changes. But you can choose to recompress audio with any
audio codec installed.
There are several super resolution work modes to choose from in Video Enhancer. Video
Enhancer uses neighbor frames to upsize a current frame with maximum quality. This requires
multiple calculations to be performed, so prepare for 95-100% CPU usage. By changing how
precise Video Enhancer searches for motion one can choose between quality and speed. The
more precise motion search is, the slower it works but the better is quality. You can just drag a
slider between speed and quality ends. The fastest and the slowest modes differ in speed about
2 times.
In Simple mode
This couldn't be easier: just set width and height in respective boxes of the main window.
Original width and height are indicated under input file name. You can specify desired size
either in pixels or in percents of original. Type in % symbol to switch to percents. Delete it to
switch back to pixels. See section "Scaling" below to master more complex uprezzing
technique.
In Advanced mode
1. Click SR button
2. Set output size: use either pixels or percents. Type % symbol to specify size in
percents of original. Delete % symbol to switch back to pixels.
3. Set scaling parameters (see "Scaling" for details)
4. Select qualitative or speedy mode (see "Super Resolution work modes")
5. Click OK
Scaling
There are actually two frame sizes that Video Enhancer uses to resize your video: output
width and height and actual frame size to scale to (see panda scheme on the screenshot
below).
Suppose you have a video 320x240 lines and want to make it 720x480 (NTSC). If you just
scale 320x240 to 720x480, the image will become wider, all circles will become ellipses and
all people will look fat. Simply because 4:3 proportion (320x240) does not equal 3:2
proportion (720x480). In order to preserve aspect ratio and make video 480 lines high, output
size must be 640x480 (to keep the same proportion 4:3).
But you wanted 720x480! In this case you just set output size to 720x480 and size for scaling
to 640x480:
Video Enhancer will scale your video to 640x480 and add black borders to right and left to
make output width 720. Or, you can set scale size to 720x540 (still 4:3) and output size
720x480. Then Video Enhancer will scale your image to 720x540 and keep 480 center lines,
cutting top and bottom. Of course, if you want to change aspect ratio (to make fat people look
less fat, for example) you can set any values of width and height. If you do not like typing in
pixels, use percents instead. Type % in width or height box to specify size in percents of
original. Delete % to switch back.
In the Simple mode you enter just one size - output size. Video Enhancer preserves aspect
ratio and scales your video to fit output size (no cutting) adding black borders if needed. In the
Advanced mode you can set both sizes manually.
If you want to increase your video resolution more than 2-3 times, you will obtain better
quality by using several steps of Super Resolution. Just add several SR steps to the filter
sequence, each time doubling the video resolution, and setting desired resolution on the last
step.
Some video editing/playing software contains certain codecs built-in, but most software
doesn't - it uses codecs made by third-party developers and separately installed in your
system. The system usually provides some means to find installed codec and use it for
compressing and decompressing data. Each codec knows how to compress data, how to
decompress data created by itself (but not by other codecs), but codecs do not know how to
store this data on disk.
When you write compressed video to disk, it's written in one of container formats such as
AVI, MOV, MP4 or something else. Each container format describes how to save chunks of
compressed data and information about it, for example a little code (i.e. FourCC) that signals
about compression method. When this file is then read, that meta information about
compression method is used to find a codec that will decompress the data. So, knowing how
to read AVI files is not enough to decode the video - a proper codec is essential.
Some compression methods are described in some standards (like MPEG4, for example). So
many different codecs may implement such compression algorithms and they are often
interchangeable. For example, DivX and XviD are both implementations of MPEG4
compression method, so video compressed by one of them can be decompressed by another
one or even a third codec that knows how to decompress MPEG4. But some codecs have their
own unique compression methods and video compressed by such codec can be decompressed
only by the same codec.
Another way is to allow losing some information. Most video codecs go this way, they throw
out much of original information but in a way not very noticeable by the eye. In this case
decompressed video is not the same as original - it's always of lower quality. But now you can
control how much information will be thrown away and so control how large the result will be
measured in bytes. Amount of bytes (or bits) per second of video is called bitrate. The more
the bitrate is, the less information is lost, the better is quality. The lower bitrate, the lower
quality. And remember that each time you compress video by a lossy codec, the quality gets
worse.
3. What kind of codec to use
So when selecting a codec you need to decide first which kind to use - lossless or lossy. If you
need just to temporary store video for further editing and you need to keep maximum quality,
then a lossless codec is what you need.
If, otherwise, you need to create a file which will only be played but not edited, and you want
it to fit in limited size (like CD or DVD), then you need a lossy codec.
The next level is MPEG4 implementations, they provide a bit lower quality/compression ratio,
but fast enough for modern PCs.
DivX and XviD are most commonly used (the first is commercial and the second is free) and
they are our codecs of choice for lossy compression.
If you install the codec pack we recommend, you'll have a good choice of video codecs to use.
Audio codec
For audio we recommend using AC-3 ACM codec. To install it download the archive, unpack
it to any folder, go to x86 subfolder, right click the .inf file and select Install.
Wizard
This useful feature helps you to quickly diagnose which distortions your video file is subject
to and it will choose some filters for you. Select an input file (Browse>Choose file) and
follow Wizard's instructions checking the boxes as you analyze your file:
Wizard asks you to evidence interlacing, blocking and noise in your video. This will take a
few seconds. Then, choose a new resolution for your video (see "Setting desired resolution"
for more details):
After new parameters are entered, you can choose a video and audio compressors (read more
in "Choosing a video codec").
Wizard will probably suggest you to switch to Advanced mode to apply denoising or
deinterlacing or deblocking filters and clean your video. Just do so; Video Enhancer will
create a filter sequence by itself.
In the Advanced user interface mode you can create chains with any number of VirtualDub
and Super Resolution filters to be applied to your video. It means you can filter your video
before resizing, after resizing, between or even instead.
You can use over a hundred of VirtualDub filters to alter your video: deinterlace, denoise,
deshake, do color correction, apply some visual effects and much more. If you have
VirtualDub installed, then Video Enhancer will probably find your filters automatically. You
can see list of filters that work in Video Enhancer at
http://www.infognition.com/VideoEnhancer/filters.html.
Video Enhancer will automatically detect and make use of any already installed VirtualDub filters.
You may also easily install any additional filters.
1 You can choose and make use of any already installed filters.
2 Opens a link in your web browser for additional information about the
filter.
3 Automatically download and install the filter.
4 Manually install any additional .VDF filter.
You can change VirtualDub filter settings (configure) as desired when adding to the sequence
and later by pressing CONFIGURE button. When you are happy with the settings, click OK in
the filter configuration dialog box.
1. To change filters order: select a filter to be moved and click MOVE UP and MOVE
DOWN
2. To delete filters from the sequence: click DELETE
3. To add new filters: click VD FILTER
Options
Use multithreading
In Video Enhancer all filters, coders and decoders can work simultaneously in separate
threads. For example, if you process your video with two filters, then at the time coder
compresses the first frame second filter is already processing second frame, first filter is
processing third frame and decoder decompresses fourth frame. Simple test with processing
DV video with 3 filters and compressing it with XviD showed 1.9 times higher speed than
VirtualDub on Dual Core AMD Opteron. Just check "Use multithreading" box to optimize
parallel processing.
Number of threads in SR
Here you can select number of parallel threads used by one instance of super resolution
engine. Usually optimal value here is the number of logical CPUs of your PC, i.e. total
number of cores and hyperthreads. In Windows up to 7 this is the number of CPU graphs you
see in Task Manager. In Windows 8 Task Manager shows a single graph of CPU utilization
but tells number of "Logical processors" below.
Since version 1.9.4 super resolution can work in two different colorspaces: RGB32 and
YV12, and in 1.9.9 one more was added (YUY2). Previous versions worked only in RGB32.
YV12 is an uncompressed video format where luminance is stored in full resolution and two
color components (chrominance) are stored in half resolution, so it is 12 bits per pixel. Most
video codecs internally work in this format. When Video Enhancer sees that your video file
can be naturally decoded to YV12 and you don't apply any VirtualDub filters before Super
Resolution, it uses YV12 version of SR. It works approx. twice faster than RGB32 version. If
you check "Always work in RGB32" checkbox, VE will always use RGB32 version of SR.
When Video Enhancer is processing a file it may load your CPU to 100% and in some cases
this causes other applications to slow down. If you check this option, VE will work with lower
than normal priority and will not affect other applications while still utilizing as much CPU as
possible.
Show SR mode
When this option is enabled, Video Enhancer will show if it's working in RGB or YV12 mode
during processing.
In short:
Use for opening video files LAV splitters and decoders that Video Enhancer downloads itself,
or, if they can't handle your video file, try a few well known decoders but don't let the system
select decoders, i.e. don't rely on DirectShow default choice of codecs. Use this option in case
of having trouble opening or processing some files.
Longer story:
To process a video file Video Enhancer needs a splitter to read video and audio streams from
it and a decoder to get uncompressed video from a compresseed video stream. Earlier versions
of Video Enhancer delegated the choice of splitters and decoders to operating system:
installed decoders register themselves in the system with some priorities and the one with
highest priority is selected to try decoding first. Since some apps tend to install their own
codecs and register them with high priorities this sometimes leads to unstable work of apps
like Video Enhancer. That resulted to crashes and general inability of Video Enhancer to open
some files. Situation changed in version 1.9.9, starting from this version Video Enhancer first
tries splitters and decoders it knows well and only if they fail it tries other decoders installed
your system. One of the best open source splitter/decoder set these days is LAV, and if Video
Enhancer doesn't find it in your system and no suitable decoder is found for a video file, it
may suggest downloading LAV automatically and using it locally. But if you had some older
version of LAV installed or some other decoder seemed to handle the video file, then it was
used even if Video Enhancer didn't know this decoder. Starting from version 1.9.10 we have
this new option which tells Video Enhancer to only use LAV decoders it downloads itself or a
couple of well known codecs but never trust the system to choose decoders and splitters. This
will help in cases where some bad codecs are installed and registered as default ones, which
previously caused troubles opening some videos.
Language
Since version 1.9.4 Video Enhancer's interface can switch between different languages. All
language data is stored in text files with .lng extension. You can edit them in Notepad.
Anyone can create these translations files and add new languages. VE will search its folder for
.lng files and let you choose a language.
Skin
Here you can select how VE will look like. There are different looks available for your
choice. If you don't want any unusual skins, just select "No skin" and default Windows look
will be used.
Preview
Preview option allows you to see the output video resulting from parameters you have set and
compare it with original input file (without saving output file). It is recommended to always
preview at least several seconds of output file before you start processing of a large video in
order to avoid common mistakes (scaling-related, for instance).
During video processing, you will see live preview of your video.
1 Disable the live preview. Video Enhancer will use less memory.
2 Stop current processing. The aborted file will still be playable.
3 Resize the processing window. The live preview will be resized
accordingly.
4 Maximize the processing window.
Processing time
How long will it take to upsize your video and clean it with selected filters? There are a lot of
parameters to influence the processing time, including original and final video resolution
(width and height), available CPU usage, filter features, original file size etc. It is
recommended to end CPU consuming tasks (check in Windows Task Manager>Processes)
before you start processing a large file in order to speed up. Once you have set super
resolution parameters and selected the filters, remaining and elapsed time are indicated while
processing is in progress (in Preview mode as well). If you feel like changing the settings, just
press STOP and modify the data accordingly.
You can use Video Enhancer in batch files using its command line interface. You can either
just use Super Resolutiuon resizing (by setting desired resolution with -d option) or provide a
file name of a previously saved Video Enhancer project (where a sequence of filters and their
settings are described) to apply filters from this project.
Parameters:
1. -i infile - specify input file. Use double quotes (like "...") for filenames that include
spaces.
2. -o outfile - specify output file,
3. -d width height - destination video size, or alternatively
4. project_file.vep - specify a Video Enhancer project file (created in GUI mode) to
apply filters from,
5. -vc codec - set name for video codec. First codec which name includes substring you
specify here will be used. So you don't need to specify full name of the codec. If this
parameter is not set, uncompressed RGB32 video will be stored (huge size)!
6. -ac codec - set name for audio codec. If this parameter is not set audio will be copied
without recompression.
7. -vlist - output list of video codecs that can be used. All output is written to text file
ve.txt in the current folder.
8. -alist - output list of audio codecs.
9. -fast - use fast mode of super-resolution. If this parameter is not set, a slower high
quality mode will be used by default.
10. -nomt - do not use multithreaded processing.
Examples:
B. Resize a file "176.avi" to 1920x1080 and compress result with Huffyuv codec:
C. Process file "176.avi" with a sequence of filters described in a project file project.vep and
compress result with Huffyuv codec:
Chapter 4: Troubleshooting
XviD compression doesn't work.
In XviD version 1.1 to get it working one needed to change one option in Xvid's parameters
(this needs to be done just once). When you choose Xvid for compression in Video Enhancer,
press "Configure", then "Advanced options", "Debug" and switch off "Display encoding
status". After you've done it once, Xvid will work in VE.
To be able to work with FLV video you can install K Lite Codec Pack.
Follow these instructions to solve most problems with video codecs.
1) Can VE play the file in the main window when you open your file?
If no, you seem to lack a codec for this kind of files. We recommend installing K-Lite Codec
Pack (see link above). it contains necessary codecs to open 99% of files. When installing be
sure you check the points regarding FLV, FLV1 and VP6 (install FLV Splitter and set
ffdshow to decode FLV1 and VP6 video). In other points about DivX, XviD, MP3 etc we
recommend not to use ffdshow and use original codecs since ffdshow is not very stable.
Open your file in VE, choose what you want to do with it (e.g. resize with SR, process with
some filters) and press Preview. If preview does not start and shows some errors, this means
the problem is with the decoder compatibility. You can try installing different codec for this
kind of files or report the problem, read below how to get more details.
If processing doesn't start and shows some errors, then probably you chose a bad codec for
compression, try selecting another one.
If processing doesn't start but doesn't show any errors either - just sits still, it means your
codec wasn't configured properly, for example, see topics about XviD and DivX in the FAQ.
If you couldn't find the solution yourself, you can report the problem. Since there are dozens
of different codecs and thousands combinations of their interactions, the more information
you provide, the more chances to get it working:
Since version 1.9.1 Video Enhancer allows starting a program in debug mode in order to
create a bug description. Open Video Enhancer folder in Program Files and start
VideoEnhancerDebugMode. Then try to process your file as you wanted. At the same
directory where you told it to write output file it will create a .txt file with the name of your
output file which will contain list of components used in processing, including decoding and
encoding codecs and all intermediate filters. Please provide contents of this file when
reporting an error.