The XMPEG tool (which is based upon FlaskMPEG
sources) is a straightforward solution for converting
video sources. It give you great resizing quality and usage
is smoothly and extremely intuitive. But here we go with
the step-by-step guide on recompressing the video-stream:
Download the XMPEG
Encoder and unpack it into a directory of your choice.
(use the links above to determine the right version
for your processor)
Fire up XMPEGEncoder by starting XMPEG.exe
Choose your IFO-file with File->Open Media
(there are two choices here depending on what audio
you want to encode)
a)Multiplexing unmodified Dolby Digital AC3
with AVI:
Choose any stream that is shown. The audio processing
will not be done by FlasKMPEG.
b)Multiplexing MP3 or OGG Vorbis
Audio with AVI:
Choose the stream that is of interest for you. Check back
at SmartRipper to get the right stream-id for your
language.
Choose menu Options->Select Output Format->AVI
PlugIn
Choose menu Options->Global Project Options
Select tab Video
Enter appropriate framesize into Frame Size and select
appropriate Frames per Second !
PAL: 720 x 576 @ 25 fps NTSC: 720 x 480 @ 23.976 fps
Checkthe box Auto Selection at iDCT Options
Select tab Audio
Check the box Don't process audio
IMPORTANT: (for non AC3 users)
In case you don't want do use Dolby Digital AC3 as your
Audio codec but MP3 or some other PCM codec you have to
choose Decode Audio here and depending on your
Audio codec you have to downsample it to 44100 Hz
with the Sampling Frequency options.
Select tab Post Processing
Check the box YV12
(so the Codec or XMPEG does not have to do color-space
conversions )
Check the box No letterboxing
Check the box Keep aspect ratio
Choose 1:1 (VGA) DiVX ;-) in Output
Push the button Show Output Pad
(the button in the lower right corner of Letterbox,
Cropping...)
This will bring up the following window (with a sample
picture below it):
a)Click on the button with ">>"
on it and choose Autocrop (after that you should see a dotted line just around
the picture excluding the black widescreen bars, for further
control you may drag'n'drop these lines if the autocrop
feature works not as you expected) b)Push the button OK
Make sure X and Y sizes are multiples of 4
Select tab Files
Choose where to save the final AVI-File
Select tab General
Check the box Compile Whole File
Hit the OK Button
Now you're back at the main window
Choose menu Options -> Output Format Options
On Video Codec choose XViD MPEG-4 Codec
Choose appropriate settings in Audio Codec
a)Multiplexing Dolby Digital AC3 Stream with
AVI:
Just leave the Audio Codec at "<< Uncompressed
PCM Audio >>"
b)Multiplexing MP3 or OGG Audio streams
with AVI:
Choose codec and bitrate of choice in the
Audio Codec pane
Now the compression configurator will show up.
Use the Bitrate Slider in Encoding Options
and move it to the calculated bitrate for the video part
(you may also enter the exact bitrate in the Bitrate(Kbps)
field)
Hit Advanced options... and we're in the advanced
Options
Set Motion search precision to 6 - Ultra High
Check Enable lumi masking
(NOTE: you should first make a test in
order to check the quality of the results. Luma Masking
is kind of a psychovisal model which takes into
account the reaction of human eye towards specific changes
in pictures)
Now hit OK to return to the Global settings of
XViD
Now again hit OK to leave the XViD configurator
Now a last time hit OK to get back to the XMPEG
Main-screen
Now choose menu Run...->Start Conversion
Your movie is being converted
NOTE:
In case you already encoded audio you don't need to refer
to the audio decompression section but you may proceed to
Using VirtualDub to split the movie