Welcome to MkvMagic !!! vers 1.33
With MkvMagic you will be able to backup your DVD and digital/analog capture in varius formats.
MkvMagic is able to encoded both mpeg2 and mpeg4 to mpeg2 or mpeg4. It use state of the art codecs and software to perform "magical" operations!
One important thing you should have understud is this program CANNOT BE USED TO BACKUP/COPY copyrighetd material.Same statement also for tv caps or other form video with copyright
In short : many and more GB, lots of
ram, and some GHz .
I suggest 18 gb free, 1 gb ram, 2+ Ghz of processor .
MkvMagic comes with almost all
that you'll need to create excellent quality backups of your DVDs (both
in Mpeg4 format or Mpeg2). If
you choose to use the XviD Codec or X264, you'll have to get and
install these as well. Other needed programs include
the XviD Coder/Decoder, FFdshow, AviSynth (2.56+), and
VobSub. You'll need them
for your encoding.
Mpeg2 video encoding is done with the excellent QuEnc or HcEnc or
AutoQMatEnc, already included in exe directory.
Is also possible to use Rejig for trascoding mpeg2 to mpeg2
Compatibility with standalones DVD/Mpeg4 Player :
Best way to encode your video with standalone is achivied in two ways
1) Edit xvid_1_1.reg and
xvid_1_2.reg,
in exe directory. These two files are dump of XviD registry settings
used one for first pass (xvid_1_1.reg) and
last (xvid_1_2.reg)
for second pass. You can invoke XviD settings by writing i dos task rundll32.exe xvidvfw.dll, Configure
Set all option for a first pass (not needed to set
bitrate) , click OK. From dos write reg
export HKEY_CURRENT_USER\Software\GNU\XviD xvid_1_1.reg
Repeat for second pass. Remember that bitrate will set by
MkvMagic
Replace these 2 reg with ones in exe directory. Now you can choose 2
Pass
FULL Automatic XVID without fear
2) Choose 2 Pass Manual XivD or 1 Pass Manual XviD. Click "Configure Codec" and set to your needs/taste for your standalone compatibility
First, you have to select an appropriate input file that MkvMagic is going to be dealing with and which determines also the type of input source:
If you want to encode multiple input files into one resulting AVI/MKV/MP4/MPEG2/DVD you can do it by appropriately naming input files: *_1.vob;*_2.vob etc and selecting just the first one (Extension can be any of supported types). In IFO mode MkvMagic automatically selects all VOBs that belong to one vobset.
![]() |
|
These Panel are used for configuring advanced task like Mpeg2 encoding (passes,interlace,field,bitrate,PAL/NTSC, or method of engage avi) Credits calculation or bitrate or audio settings (ABR or CBR, Nero over WinAmp), custom resize, custom compression test... Avisynth plugin, script before/post script, X264.exe Command line configuration, XviD encraw Command line Configuration, AVS Optimizing and Mencoder LAVC encoder |
![]() Step 1 Select input file (click on Input). This input could be a single file ifo,vob,mpeg1,mpeg2,ts files (as one from digital pvr), or avi or audio files If you have a DVD already ripped on hd, click on Input and browse for the corrispondenting IFO to process. Or click on main movie vob (one of main movie vob/s). When DGindex starts stop it. Load all vobs, and the save movie.d2v overwriting those already present. When DgIndex finish you must close it manually. This input could be also an AVI or D2v files If you have a DVD to rip, insert your dvd, in Choose DVD drive select corrisponding drive letter and then click Check Drive. Output file name will be movie.mkv/avi/mp4 or a BURN folder with the new DVD or a ISO |
![]() ![]() |
Mp3 Bitrate |
Ogg preset![]() |
Step 2 By default the first Audio
track is chosen, but feel free to choose
another of the audio tracks. Second audio track can be
selected as well and it might be the
Director's Commentary, or a second language. If you don't want any
other audio tracks other than one .set Choose Second Audio
Track to NONE After selecting Language (or audio pid for
vob/ts/mpeg...)
select encoding type for audio. Mp3 (Abr or Vbr)/Ogg/AAC
(both Nero 7 and WinAmp CT supported) stereo or
multichanell (5+1) or AC3. For maximun quality select Copy Original. Advanced setting like channel, encoding mode or engine are in "Extra Settings" |
![]() |
Step 3
If you want subtitles, then choose your subtitle track. Subtitle will be ripped and muxed in final mkv movie. This subtitle will not be "burnt-in" but dinamycally loaded with VobSub Let's go into a bit more details
about Subtitles. You can
only have till two language of subs. If you
don't want subs set Choose First (or Second)
Subtitles Traks to NONE. If you want to rip all subs choose RIP ALL SUB |
![]() |
Step 4 Set Container: Here you will set final movie container. Using MkvMerge or Avi-Mux_Gui or Mp4Box (all in Matroska Directory) MkvMagic is able to process video to final MKV or AVI or MP4. ES Video: this option will force MkvMagic to process only video file and ignore audio file ES Audio: this option will force MkvMagic to process only audio (and output only audio files). Usefull for trascoding audio files (ac3/wav/mp3....) to another audio format Set MB Size Unit Here you will set (write your size in mb) or choose size preset of output movie split. TIP: if you write 400 (for example) the final movie will be of .... 400 MB !! Number of Units Here you will set number of split. FINAL SIZE WILL BE : SET MB SIZE UNIT * NUMBER OF UNITS MkvMagic will automatic split final movie into Number of Units parts. |
![]() |
Step 5
Here you will choose the resizer to apply.
For 1 CD rip choose HybridFuPP or SimpleResize, for more quality choose LanczosResize. Best : try and choose your self ! The resizer is editable but pay
attention in
what you write. If you write anything this will be written in avs, also
if you don't want to apply resizer just choose NONE (in this way no autocrop and no resizer is applied) |
![]() |
![]() |
Step 6 Set Width: Force Mux DAR |
![]() ![]() ![]() ![]() ![]() ![]() |
Step
7 Here is the most importat part ! An explanation is required:
Also in Credits/Calc/Audio is possible to specify the Quantitizer for doing Autosize calculations |
![]() |
Step 7.5 If you enable ES Video or DVD in container the codec configuration will change. Here you will choose your preferred mpeg2 encoder |
|
Step 8 | ||
![]() |
||
Image 6![]() Image 7 ![]() Image 8 ![]() Image 9 ![]() |
This step will try to explain how to use avisynth filters in MkvMagic
First three box contain all filters listed listed in image 6, image 7 and image 8. Selecting one (or two, using both box) will apply to movie the corrispondenting filter as selected. On third box (the ones with "Write your filter configuration", image 9) is a freely editable text. Here you can write your filter settings, as RemoveGrain(mode=9), or FluxSmoothT(3)... One important rule is this : You must be sure that needed filter dll is loaded !!! Any filter (*.dll) present into \exe\filter directory will be automatically loaded
About : QMF() Script If you choose any of QMF () Script, "QMF.avs" in filter directory will be imported and the corrispondenting QMF() Script, in script directory applyed to final movie avs script. Take a look at varius QMF() Script, you can even edit this but remember the rules of filter and don't change name of QMF() Script About : clean clean is a more general script. If you choose "clean" all is written in clean script (in script filter directory) will be applyed at the end of final movie avs script. (and remember the filter rules !) About def-test def-test* : In list of filter you will find def-***. You can create how many preset of filter , put this preset file (take a look at def-test) into filter directory, the file MUST be named "def-" and any name of your choice like "def-fast" or "def-luma" ... This file will be paste at end of filter chain On last right you will see "Write here your avsi script To Import. As Import("c:\plugins\ipp.avs") And DONT' FORGET TO PUT NEEDED DLLs into \filter directory , this box is used if you need to import a script in final movie script. An example: you want to use IPP filter. First of all you need to import this avs scrip so in this box you write Import(c:\plugin\ipp.avs). AND in default.avs append all other non listed dll needed by IPP (and put in filter directory those dll) |
|
Image 8![]() |
If you leave "AUTO" a Interlace
test if performed (with BAutoDeint) Alayzing the log file this schema is applied unknown: If "Enable VFR" is checked than this script is applied tfm(d2v="movie.d2v").tdecimate(mode=3,hybrid=2,vfrDec=0,mkvOut="mkv-timecodesfile.txt") Else no routines is applied progressive: no routines interlaced: if order is know LeakKernelDeint(order=auto), if order is unknow than TDeint() decimating: tfm(d2v="movie.d2v").tdecimate() partly film: tfm(d2v="movie.d2v").tdecimate(hybrid=1) partly interlaced: tfm(d2v="movie.d2v").tdecimate(hybrid=3) film: Forced Film is applyed to d2v, than tfm(d2v="movie.d2v").tdecimate() If you want to apply a deinterlacer choose from one listed. Else if you don't want test or any deinterlacer choose "NONE" Advanced : this box is editable so if the deinterlacier isn't good, edit it. |
![]() |
Do a
Sample: if you
enable this option a 2.5% of movie will be encoded before final
encoding. This section will be encoded with the same resolution and
bitrate as final movie Delete temp. file : the proces of converting a dvd to mpeg4/mpeg2 will generate several GB of temporary files (audio, video premuxed...). Enable this check if you want to eliminate this temporary files when unneeded Build DVD-ISO : (option avaiable only selection DVD as output). This option will use mkisofs.exe for generating a DVD Video ISO ready to burn ShutDown : At end of all process the pc is shutdown To icon : all program launched by MkvMagic will be executed minimized |
|
![]() |
![]() |
# Pass:
set encoding type Encoding type is different from Encoder to Encoder. In this image the encoder is HCEnc. Using QuEnc 1 pass CBR and 1 Pass VBR are avaiable. |
In Bitrate/Max Bitrate you can set the bitrate for encoding or/and maxium bitrate for automatic encoding |
FrameRate
Conversion:
if detected frame rate of movie is different from ones choiched a
ConvertFPS() will be applyed. (Also applyed on audio encoding) Mpeg2 Output System: will be used for DVD mux, All other option can be quite auto explained |
![]() |
Specify the mode in witch way the avi should be engage. Don't worry if choosed one isn't fuctional MkvMagic will switch to other |
Credits/Calc/Audio Panel |
![]() |
Enabling "Enable Greyscale() Encoding" will
apply a Greyscale() filter to movie. Other settings are AutoCrop parameters. Refere to tooltip and AutoCrop manual for modify |
![]() |
All this values are applyed only if "Enable
Manual Crop" is checked Set Top Border/Set Left Border/Set Right Border/Set Bottom Border: are the values for cropping borders Width / Height : are the values for resize Set Top ADD/Set Left ADD/Set Right ADD/Set Bottom ADD: are for adding borders READ CAREFULLY ! (Example inside !) 1) Check "Enable manual crop", specify crop values and LEAVE "WIDTH" / "HEIGHT" to "AUTO". The movie will be cropped at specified values and automatic resize routines is used. First is applyed crop then resize. 2) Specify WIDTH and HEIGHT to your preferred values AND DO NOT CHECK "Enable manual crop". Movie will be resized to specified WIDTH and then AUTOCROPPED 3) Specify WIDTH and HEIGHT to your preferred values AND CHECK "Enable manual crop" AND SET ALL CROP VALUES. Movie will be manually cropped and THEN resized to specified WIDTH 4) If you want to use HGAvsOptimizer then you MUST specify already in resize configuration the width/height like LimitedSharpen(1.25,1.25,640,480,smode=4) ,where 640 is width and 480 is height |
![]() |
All this value are applyed only if "Enable Trim" or
"Rise Quant" is checked This option will let you calc starting frames either for trim or rise quantitizer Check Enable Trim for cutting from "Start Trim Frames" Check Rise Quant for enabling from this frame a fixed quantitizer of XX |
![]() |
A quite simple bitrate calculator. No more no less. For no audio encoding simply put 0 in Track X Size MB |
![]() |
Here you can specify the AAC encoder (NeroAACEnc.exe or WinAmp
CT). In format you can choose encoding profile (LC or HE) In AAC Enc Mode you can choose ABR or CBR or Quality profile (only for Nero) For Lame encoding is also possible to choose if encoding in ABR mode or CBR or new V mode Tempo / Pitch are SoundTouch fuction. Please use carefully |
![]() |
Here you can specify the fixed quantitizer at witch the
AutoSize routines will encode. An higher quant will bring more final resolution, a lower quant a lower final resolution |
![]() |
Here you can specify the priority of program lauched by MkvMagic Min Res and Max Res should be used to constraint the automatic width computed by MkvMagic. NOTE MkvMagic will not allow automatic resolution bigger than Max Res With "Test compression against WIDTH" you can specify the width against witch autosize should be computed You can alse set how much % of movie should be analyze. More % better autosize. 5% should be ok for all movie TRS is the threshold % for accept compression test. EXAMPLE You write here 75 and check "Only Compression Test" . If Compression Test will give 74 the encoding is stopped If Compression Test is over 75 the full encoding will start. If you write here 0 only the CT is done regardless of any CT results. If you write here 101 the CT is accepted regardless of any CT results and the encoding restart. If you don't check "Only Compression Test" the automatic autoresize routines is used |
![]() |
Choose the Decrypter to use. Please put DVDDecrypter.exe or DVDFabDecrypter.exe into \exe\Vsrip folder (with vstrip_ifo.exe,vStrip.dll...) |
Avisynth Panel |
![]() |
Here you can browse for dll to load in your avisynth
scrip
(here you can specify dll used by your filters, without writing in
default.avs) If you click on "Wr" the avisynth script would be written but no encode will be done |
![]() |
Here you can browse for AVS script to Import into final avisynth script |
![]() |
Write here your filter script. This script will written
BEFORE applying resizer. Source must be specified : like Undot(movie) |
![]() |
Write here your filter script. This script will written
AFTER applying resizer. Source must not be specified : like Undot() |
X264 Panel |
![]() |
||
|
![]() ![]() |
Here you can specify the type of encoding for X264. ABR : 1 pass encoding. If you change Bitrate/Quantitizer from AUTO this bitrate will be used for encoding. If you let AUTO, bitrate will calculated by MkvMagic Const. Quantitizer : the movie will be encoded at fixed quant. Please specify the quantitizer 2 Pass : automatic two pass encoding (auto bitrate or specify) Quality : the movie will be encoded at fixed quality. Please specify the quality |
![]() |
Sharktooth profiles must be present in installation
folder\profiles\video These profiles are a very good starting point. If know already how to use X264 feel free to change varius settings, otherwise use one of Sharktooth profiles. WriteCMD : click this button to generate a x264cmd.bat (in install directory) with all settings choosed (useful for debug and manual encode) |
![]() |
|
Here you can set the option for xvid command line mode.
This is an experimental version of both gui and xvid_encraw.exe. |
![]() |
|||||
|
![]() |
|
Here is the LAVC ! Using Mencoder and Mplayer you will encode with LAVC codec. TIP: read the tooltip TIP 2 look at "Download" : if you paste here an mms: or rtps: url you will be able to download the stream ... :) |
If source is | then this routines is applyed |
unknown | If "Enable VFR" is checked than this script is applied,Else no routines is applied tfm(d2v="movie.d2v").tdecimate(mode=3,hybrid=2,vfrDec=0,mkvOut="mkv-timecodesfile.txt") |
progressive | no routines |
interlaced | if order is know LeakKernelDeint(order=auto), if order is unknow than TDeint() |
decimating | tfm(d2v="movie.d2v").tdecimate() |
partly film | tfm(d2v="movie.d2v").tdecimate(hybrid=1) |
partly interlaced | tfm(d2v="movie.d2v").tdecimate(hybrid=3) |
film | Forced Film is applyed to d2v, than tfm(d2v="movie.d2v").tdecimate() |