View Full Version : MkvMagic 1.33 (DVD/AVI/IFO/D2V/AVS to DVD/Mkv/Mp4/Avi All in One, GPL)
buzzqw
24th October 2005, 15:32
Hi All !
I am glad to annunce the new release of MkvMagic ! (ver. 1.33, scroll down for changelog)
In crude way (better reading the manual or take a look at images) : 13 way do encoding (manual, semi automatic, full automatic) in XviD (and XviD Command Line) or X264(VFW and EXE) or Mpeg2 (HcEnc,QuEnc,AutoQMatEnc,Rejig), 2 audio tracks (mp3/ogg/aac-lc/aac-he,5ch), 4 container (mkv/mp4/avi/dvd), 2 subs tracks (vobsubbed and the muxed in mkv), 14 resizer (now editable), automatic quality/resize, automatic ar, dvd support (dvd to rip or already ripped), or 30 avisynth filter (and possibility to expand over and over) (now much more), possibility to deinterlace (and apply custom deinterlacer) and over and over...
Link to Manual (http://www.64k.it/andres/data/mkvmagic/MkvMagic%20Tutorial.html) (just to take a taste...) UPDATE to 1.33
Project now hosted on SourceForge (https://sourceforge.net/projects/mkvmagic/)
Please Download from sourceforge or if problem here the direct link
MkvMagic 1.33 (http://www.64k.it/andres/data/mkvmagic/MkvMagic_1.33.7z)
The file is a .rar archive. No need to install new software just unpack. Only needed avisynth 2.55+, x264 ver 504+, xvid 1.1.0
Note : i live in pal land so all my tests is done with pal source material.
Sorce code (in purebasic) is avaiable on MkvMagic Sourceforge Site !
BHH
CHANGELOG
NEW CHANGELOG ON NEXT POSTS
0.68
Is now possible to process uncompressed avi (Thanks Rickee!!!)
Resolved bugs using 1 pass with X264
0.67
Now if choosed Quality or Quantitizer (for X264.exe) the bitrate combo is populated with default values
Now MkvMagic will search application directory in its folder.
THERE MUST BE PRESENT: BeSweet / DOC / exe / filter / matroska / profiles / script / Tutorial folders
0.66
Added language tag to audio when muxing into mp4
Is now possible to choose per mp3 audio encoding ABR or CBR
Is now possible to specify at witch Quant the compression test must be done (both for XviD or X264 VFW and Command Line)
0.65
Whenever you change container the audio choice will be reset to default (mp3 128)
Is now possible to encode audio in AC3 (both 2ch, 5ch+1). Be carefull, source audio cannot be ac3! (besweet bug..)
Update Lame_Enc to 3.98b2
Added FastPSkip option (will be parsed from Sharktooth' profiles)
0.64
Update log for BeSweet
BeSweet don't correctly parse frequency settings
Returned MP4Box into Matroska folder (and btw updated to 1.6.5+subs fix)
Introduced AAC audio settings in "Credits/Calc/Audio" panel. Used for tuning AAC encoding (or for choose WinAmp CT over Nero 7)
0.63
After much thinking i have adopted BeSweet for all audio encoding pourpose.
This will let out azid.exe/oggenc.exe/lame.exe/ffmpeg.exe and more.
I will use twolame.exe for mp2 encoding, 'cause both mp2enc/toolame isn't stable.
Also i will use delay_fix.exe by JSoto for fixing delay and check correct stream
Is also now possible to encode avi to avi (and apply convertfps() if needed)
0.62
Added support for besweet (not used)
Using Enc_aacPlus for 5+1 AAC encoding (AACEnc doesn't support 4gb+ wave file)
Now if you choose encoding in 5+1 (ogg/aac) , the wav file is always deleted
Moved Mp4Box into executable directory
Tuned up the autoresize settings for x264 (target Q=19)
Now checkmedia.txt,dvdinfo.txt and other files used for parsing is deleted
0.61
Even for d2v input AR is calculated now
If X264's Shartooth Profiles doesn't exist the program wil not hang :)
Now framerate is setted for AutoQMatEnc
0.60
Is now possible to specify output framerate and to framerate conversion for avi to dvd conversion (for PAL to NTSC or viceversa)
0.59
Near perfet AR calculation on X264 ( a good job !)
Better Autosize calculation (now is calculated on exact width/height)
Better bitrate calculation for X264
0.58
Better layout on panel (i tryed at least)
0.57
Splitting on Mp4 container is now fuctional (stupid bug, as usual)
0.56
Now all passes for X264 will write a batch file for a better analyse of command line string (and catch error...)
0.55
Is now possible to write a command line file based on X264 settings. Just click on "WriteCMD", on destination directory a "x264cmd.bat" will be writed
0.54
Bug fixes,bug fixes,bug fixes (and a lot more bugs!)
0.53
Is now possible to let MkvMagic parse and set AR even for X264 encoding
0.52
Most switch on X264 gui have now a tooltip based on Mencoder manual
0.51
Full fuctional X264.exe gui
Is possible to do ABR,2 Pass (auto bitrate,manual bitrate), Constant Quality, Constant Q
If 2 Pass or ABR is choosed is possible to specify the bitrate or by leaving "AUTO" let MkvMagic calculated it
For Constant Q and Costant Quality is NECESSARY SPECIFY THE Q OR CRF
0.50
For avi input is now possible to the frequency (48000 or 44100) for audio output
0.49
Better (again) resize routines for dvd to dvd
More tooltip for crop and bitrate calculator
Now even long path is supported (for input and output file). Max 100 char BUT NO SPACE in path !!!. (So don't copy on desktop !!!)
0.48
Better resize routines for avi to dvd (for AR respect)
0.47
MkvMagic is able to parse Sharktooth profiles for MeGui.
Un7zip the file in MkvMagic directory. It will create a folder profiles/video with all xml file in it
0.46
Added a Bitrate calculator
Added X264.exe gui (not fuctioning)
0.45
Added tooltip for new Avisynth Panel
Added tooltip for extra panel
is now possible to choose as input an audio file (or video...) . If you choose ES Audio only the audio track will be converted
0.44
Added a new Panel
Is possible to specify the dll to load
Is possible to specify the avsi to import
Is possible to write a command script both before resize and after resize filter
0.43
Added Trim option. Is possible to either trim source file or encoded at fixed quant
0.42
Is now possible to specify crop parameter
Is now possible to specify resize parameter
0.41
Is now possible to manual tune autocrop parameter. Pay attention, what is writtend is used by application
0.40
Is now possible to choose how to parse avi (and now ogm/mkv) file: using AviSource or DirectShowSource.
Default is on DirectShowSource
Is now possible to convert avi input in mpeg2 file
Tuning of mpeg2 encoding profiles
0.37
Using Avisource is now possible to add as source file avi
0.36
Update Avi_Mux-Gui at 1.17.4
Update Lame to 3.97 beta 1
Is now possible after a DVD encoding with DVD mux to build an iso-dvd for later burning
If enabled Delete temp.file and Build ISO, the AUDIO_TS and VIDEO_TS previusly created are deleted.
Now if mpeg4 as container is used all option used for mpeg2 encoding are disabled
0.35
Is now possible to delete all temporary file even for mpeg2 encoding
0.34
Is now possible in mpeg2 mode to encode only audio or only video (with no muxing)
Better disabled/enable option for mpeg2 routines
0.33
Enable subs in DVD mode.
The subs/audio also get correct language tag description. Subs are converted to sup.
0.32
Is now possible to build a DVD video, with AUDIO_TS and VIDEO_TS folders
0.31
Introduced the possibility to to a Costant Quality encoding. Only with HCenc or AutoQMatEnc.
Is also possible to encode in CQ Auto mode. With HCenc or AutoQMatEnc is possible to encode at fixed quant but with a maximum bitrate. In this way a 1 Pass VBR could be processed.
Wiser routines for enable/disable options/box on varius change of encoder/container
Is now possible to specify the max bitrate (when enabled in encoder) used in encoding.
Tooltip for new options
0.30
Introduced the possibility do encode in Mpeg2 format.
Using HCenc or QuEnc or AutoQMatEnc is now possible to do dvd copy (honoring all Law on copyright).
Right now is possible only to build audio (as mp2) and video (as mpv)
The video could be encoded in 2 Pass VBR, 1 Pass CBR or 1 Pass VBR. Bitrate can be manual or automatic
0.22
Varius bux fixes
Otpimized code
Updated AAC audio encoding libs
0.21
Is now possible to let resizer be applyed by QMF(). Take a look at "QMF() Script5" . It is easy:
1') in resize filter choose EDIT but do not write anything (resize box should be blank)
2') choose a QMF filter script with a resizer (in any fuction) applyed
Is now possible to choose more the 4 qmf script. AS LONG AS the first THREE character of filter is QMF , this filter will be used as a QMF function, so with import of QMF script and fuction ! (what you write as qmf filter, as "QMF Script 6" a file with the SAME file NAME must be present in script directory)
Added support for filter DCTFilter
Added support for filter HQDN3D
0.20
Added support for LimitedSharpen
Now on resize list you will find even LimitedSharpen. Feel free to edit the parameters BUT remember that output with/height must be named out_width/out_height , otherwise , after autocrop, will be applyed the width/height specified in edited string.
To test some fun try "LimitedSharpen(1.25,1.25,out_width,out_height,edgemode=-1,3)" (enable edit and choose LimitedSharpen, then edit it by adding "edgemode=-1")
BIG NOTE: if you edit the resizer (whatever resizer is edit) THAT STRING will be applyed for resizing (so no string -> no resizer, only auto crop, take a look at 0.16 upgrade)
0.19
Now Configure codec button is enabled only when is needed to configure Codec
0.18
Solved audio bug with vob input (introduced with 0.17)
Revisited the QMF script. Please take a look at QMF.avs and the new QMF() Script
Now QMF is much more efficent. Feel free to modify QMF() Script ! (my preferred are "QMF() Script4" and "QMF() Script2")
Added the possibility to Delete temporary file. If check is validated all file but final movie (and source movie/audio) will be deleted
0.17
Solved a stupid bug that will ignore AR set by user
Is now possible to choose as input file even file D2V. After choosing this file MkvMagic will prompt two time for choosing till two audio tracks. If you want to process only one audio tracks choose the first and click on cancel on second request.
Added an About box (mainly for Legality use)
NOTE: external audio could be ac3, mpeg layer2 or layer3, wav. NO OGG - NO DTS. OGG audio is compatibly only if Copy Original is choosed as audio codec
NOTE: the d2v file must be compatible with dgdecode.dll it filter directory (as now 1.4.6, DGIndexProjectFile12)
Update fft3dfilter to 1.8.1
0.16
Resolved (after a big hunt) the bug that occasionally crash MkvMagic after encoding , before muxing !!
Added the possibility to edit the Resizer filter. NOTE : if you want to apply autocrop write something like "SimpleResize(640,480)" if DO NOT WANT to apply autocrop write "SimpleResize(movie,640,480)
scrat
24th October 2005, 16:08
Hey!
Sounds really good. I'll have a look on it in the next days.
But why just 2 audio and 2 subtitles tracks?
cu, scrat
buzzqw
24th October 2005, 16:52
usually 2 audio and 2 subs is enough... (i will consider to expand however !)
thanks
BHH
buzzqw
7th November 2005, 13:52
update to 0.22
read first post for changelog !
BHH
buzzqw
12th December 2005, 13:21
Update to 0.67
Mayor Change:
many an more:
d2v input
avi input
mpeg2 output (even dvd or dvd iso) using hcenc,quenc,autoqmatenc or rejig
x264.exe full fledged gui (ABR, 2 automatic pass, constant quantitizer,quality), parsing Sharktooth profiles
bitrate calculator
trim/rise quant
nero7 or Winamp CT audio
and a lot more
BHH
buzzqw
12th December 2005, 15:22
EDIT : latest mkvmagic.exe
EDIT: LOOK at first post
changelog : www.64k.it/andres/_Changelog.txt
BHH
buzzqw
19th December 2005, 15:13
Update to 0.75 download link on first post !
changelog from latest 0.67
0.75
Added auto deinterlace option. If you choose "AUTO" a test on 2.5% of movie will be performed and if more than 5% of frames is interlaced the interlaced choosed in Credits/Calc/Audio will be applyed.
Else if you choose a denterlacer or this interlacer will be always applyed. If you choose "NONE" neither test or interlacer will be performed/used
0.74
Quantitizer factor for autosize test can accept decimal value (for XviD)
Output directory is now parsed for space in name. If space is found Mkvmagic will ask for another path
0.73
Update parsing of Sharktooth profiles (test with 19a)
Chapter is also applyed to MP4 container
Bug fixes (mkv muxing)
Reorganized Input Panel
Changed the size of media input. Now, as in calc/bit, there are varius preset (1cd, 2cd, 3cd,1/6dvd...). Is possible to write down the size however (like 50, for 50 mb)
Added MotionProtectedFPS() for framerate conversion (http://forum.doom9.org/showthread.php?t=101859&page=1&pp=20)
Changed About text (not more mutuated from AutoGK)
0.72
Totaly rewritten and recomposed programs path. Now in exe folder all files are organized for homogeneity.
Added ChapterExtractor for a correct chapter muxing (in mkv)
Updated HcEnc to 0.16A (0.16.0.1)(Thanks Hank315 !)
Updated AutoQMatEnc to 0.32b02
Corrected avisource in no-compressed avi
0.71
Now stats file of x264.exe is automatically deleted after encoding
Update MkvMerge to 1.6.5.4 (SSE2 build, if your processor isn't sse2 capable, substitute mkvmerge.exe with all mktoolnix contents)
Parsing of Script folder. Now you can put in script folder your script. At next start of MkvMagic the script will be automatically avaiable
Added a new button for writing avisynth script. This button will write the avisynth script based on filter choosed. For writing go in "Avisynth Extra" and click "Wr", the script file is movie.avs. NOTE that AR will be wrong
0.70
Is now possible to drag&drop input file (in input string)
Resolved crash of AviMux_Gui/Mp4Box when no audio is selected
0.69
Update Besweet plugin to latest Dimzon dll for Nero7
Update LibVorbis with correct 5+1 channel mapping
Corrected --me (x264.exe) on turbo pass
Resolved hang of avs2avi when encoding very short uncopressed avi
0.68
Is now possible to process uncompressed avi (Thanks Rickee!!!)
Resolved bugs using 1 pass with X264
killerhex
29th December 2005, 23:25
can you add Wmv Encoding Capabilities
ilscuro
30th December 2005, 12:03
Many thanks for this, quick question, my version only allows you to choose a standard cd size, or variables of the standard size, and not a certain filesize, do i need an older build?
buzzqw
30th December 2005, 12:16
using latest 0.75 simply write in "Set MB Size Unit" how many mb you want like "500" and how many piece (1 or more)
about wmv ... don't know.. i will study the scripting possibility
BHH
buzzqw
9th January 2006, 14:56
Update MkvMagic to 0.80
Here the changelog for last update (0.75 -> 0.80)
0.80
Now WriteCMD in X264 panel write batch for both passes
Added support for xvid_encraw
Added support for Anamorphic encoding + SAR signaling (X264/XVID in MKV container)
Resolved bug of copy audio source when input and output directory is different
Added Shutdown option. Will force shutdown at end of encoding
0.79
Is now possible specify for compression test to do encoding in CRF or QP or Bitrate
Added the possibility to specify the maximun resolution to test for compression test. For example if you let auto the compression test is done against full width so the file resulting will be bigger. Bigger file means less final width
Denterlace test is now faster and more saver to use (aka less prone to crash)
0.78
Added --bime option
Bime is now parsed from Sharktooth profiles (tested with 20)
On choose codec setting the application is no longer blocked
0.77
Update Audio routines when mpeg2 is choosed
Now Destination path is placed on input directory (when input is choosed)
0.76
Added two small button at each side of filter choice. If you click these button the scrip selected will be opened with notepad. Useful for checking qmf script !
Temporary hc.dbs file create by HcEnc is now automatically deleted after encoding
Update manual to 0.75
Better parsing of AR from d2v
Sirber
9th January 2006, 15:22
Should this thread be moved in New A/V Codecs, AVC or Xvid?
buzzqw
9th January 2006, 16:33
i truly don't know ...
like your RealAnime (that i like very much) this is a multipurpose program that work with a wide area input file (from dvd to avi) and output an equally range of output (avi/mkv/mp4/dvd)
And in for encoding pourpose it can use xvid (vfw or xvid encraw.exe) x264 (both vfw/exe) and mpeg2 (hcenc/quenc/rejig)
so.. i don't know where is best fitted :D
thanks for your interest Siber !!
BHH
buzzqw
23rd January 2006, 15:26
Update to 0.87 (see first post for download)
CHANGELOG
0.87
Finally resolved all problem (i hope !) for ifo parsing. Even for pgc the parsing is now correct.
Attention ! Changing PGC will change audio and subs selection ! REMEMBER THAT THIS CHOICE IS USED ONLY FOR SUBRIPPING. MKVMAGIC WILL PROCESS ALWAYS MAIN PGC. PLEASE CHOOSE MAIN PGC.
0.86
Corrected the filter separator ":" not "," http://forum.doom9.org/showthread.php?t=106150
If source is mpeg the audio wasn't correctly SSRC to selected frequence
The ecl for AutoQmatEnc now specify the number of frames (no more false autodetect)
The movie lenght routines now use xvid_encraw. Much faster and less ram to swap
0.85
Update XviD Command Line for work with 20/01/2006 release !
On XviD Command Line is now working single pass, 2 pass, quality encoding.
If XviD Command Line is choose compression test is no more done 2 times ;)
0.84
Update IFO/FILE parsing. Now the temporary file will be created in MkvMagic directory (so if some newby will try to open as input a dvd drive the program will not complain)
Now on DVD (ripped or to rip) MkvMagic will ask to choose PGC. This information is used for SubRipping (for better synchronization)
0.83
Update log file
0.82
Better bitrate calculation for X264
Now X264 compression test is done against a CRF of 18
Now Auto on "Force Mux DAR" will calculate the exact (NON ITU) DAR of movie (for film with DAR between 2.33 and 2.38 the DAR is set to 2.35. I will accept suggestion)
0.81
Added Noise Reduction in X264 options. Also parsed from SharkTooth profile
buzzqw
13th February 2006, 12:32
Update to 0.92
Changelog
0.92
Varius Buxfixing of HGAvsOptimizer.
0.91
Resolved hangs on HGAvsOptimizer on long movie.
Update HG filter profiles. Feel free to change and suggest better combo
0.90
Added preliminary support for HGAvsOptimizer. Using this fuction all movie will be encoded for finding the best filter settings. Go for tuning in Avs Optimizer. For enabling check "Use HG Avs Optimizer". A big thanks to Dario Genovese for this great utility !!! ( Grazie Dario!!!)
0.89
Optimized "Clean file" option. WOW ! MkvMagic go from 365Kb to 362Kb :)
Now after encoding and muxing MkvMagic will not close, but pop-up again
Added Copyright in MkvMagic Source Code (that is emailed upon request)
Minor Fix (delete temporary parsing file)
Added to Log file what decrypter is used
Only used filters are reported in log
In Log file both dgindex and delaycut command line is reported
0.88
Added support for DVDDecrypter. Go in "Credits\Calc\Audio" and choose what decrypter to use
I am forced to remove from package DVDFab Decrypter.
Please put in exe folder\vsrip or DVDFabDecrypter or DVDDecrypter
Added a message info if both decrypter weren't found
Already present in 0.87 (but missing update log report... :( ) Now "Sample" is avaiable even for X264.exe
buzzqw
27th February 2006, 15:40
Update to 0.95
Changelog
0.95
Update profile for muxing AVI. Problems with SA should be solved
Update Sharktooth profile to v21
0.94
WOW ! Added "To Icon" for minimize all program lauched by MkvMagic !!! Please this is an initial release so be carefull and test it ! Now is used only for mkv/mp4/avi rip
Tuned bitrate calcualtion for x264
Solved problem for non 48khz for OGG 5+1
buzzqw
17th March 2006, 13:26
Update to 1.00
Changelog
1.00
Added a preliminary support of better deinterlacing rountines. The program, using a simplified version of AutoGk routines (also taken from source_detection from Berrinam, Thanks !!!), can determine if stream is interlaced or film or telecined or even hybrid. The problems awake only if hybrid film is detected :( ... I haven't much samples for testing /also a big thanks to Special kei for providing some of this)
Update (again) parsing of file (from mpeg). If time.avs fail , parsing is done directly over d2v
Better calc of resolution. "Strange" values should not more appear :)
Added possibility to specify minimum and maximum resolution (due to automatic resolution)
0.99
If parsing d2v FILM % is found over 95% and framerate is 29.97 than Forced Film is appyed on d2v creation
Many updates in mkvmagic.log (for better bug's hunting)
Correct an ugly error in defalut.avs (bug reported by "Dale")
Update to Sharktooth profile's v22
Added a sanity check for very low resolution. If autosize would led to width less than 16. Than final width will be total width/3
For sake pourpose renamed X264 encoding mode "Quality" to "Quality (crf)"
0.98
Fixed error with very big/very small clip size
Fixed "Copy Original" when using DTS audio tracks ( bug reported by "Special Kei")
Changed (more robust) detection of movie parameter (problem reported by "Dale")
Added support for Force Film. If d2v report a % of film over 95% the force film is applyed. (my big thanks to "Special Kei" for spotting the problem and sending a sample for study !!)
Added Bit/Pixel support. In "Set MB Size Unit" write "bp=0.xxx" , where xxx are bit/pixel value (like 0.18 or 0.22). This values will be used for calculating bitrate. This bitrate will be used for both single or 2 pass. Actually only applyed to x264 command line and xvid command line
I am not a fan of this formula but this is the reward for the first bug reporting (my greatings to "Special Kei" )
0.97
Update support for CT encoder
Update autosize routines. Is now possible to specify how many % of movie to analyze
Added support for "--direct auto" in B-Frames-mode (now default). Temporary disabled parsing of this values from Sharktooth profiles (will be enabled when sharktooth will updates its profiles)
Update splitting routines for mp4
Added in MP4 muxing the -fps parameter
0.96
Added choice of priority (go to Credits/Calc/Audio). Defalut setting to Idle
Corrected a (very stupid) bug that in rare case would disable indexing of capitalized files... :(
Added support for MvBob deinterlacer. NOTE: i got several problem of "Width has to dividable by 8" even if width is even divisible by 32. So i put MVBOB after resize. If you have a solution or suggestion fell free to mail
bira
17th March 2006, 13:52
Any chance of Divx support?
riggits
23rd March 2006, 21:14
Any chance of Divx support?
umm yeah. And Divx 3.11 ;) while yer at it. lolol.
berrinam
23rd March 2006, 22:25
Added a preliminary support of better deinterlacing rountines. The program, using a simplified version of AutoGk routines (also taken from source_detection from Berrinam, Thanks !!!)Heh, I was wondering how you got the automatic deinterlacing to work ;)
Added support for MvBob deinterlacer. NOTE: i got several problem of "Width has to dividable by 8" even if width is even divisible by 32. So i put MVBOB after resize. If you have a solution or suggestion fell free to mailUmmmm.... you do know that if you resize vertically before deinterlacing, your results will be terrible? Are you perhaps putting the deinterlace after the cropping, which is causing those problems?
buzzqw
24th March 2006, 08:55
@bira & @riggits
No. Only Xvid VFW, Xvid_encraw, X264 Vfw and X264.exe.
But i am working on a new build with (very alpha) support for lavc (asp) codec with mencoder.exe :)
@berrinam
First of all thanks for for your great source/programs. Is was a great source of inspiration (and a good point of copy&paste... translated in purebasic)
Since i live in pal land near all my source are pal/progressive... so with a little help of some testers i put my code over ntsc (pure film, by parsing d2v file), and some telecined source.
The algorith is basically a simplified version of your algorithm.
I analyse both log (as produced from your routines) for finding TFF/BFF and interlace pattern.
Basically, after parsing log (true/false), i count all sections (of 5 frames), all interlaced sections (with patter not in 3 progressive/2 interlaced), and all telecined (3 progressive/2 interlaced), and all progressive pattern (4+ progressive) ,then i do a simple % comparison :p
If over 95% of progressive > progressive content
if over 95% of telecined > telecined
if interlaced over 15% > interlaced
Much semplified. Not the best but is quite fuctional.
Ummmm.... you do know that if you resize vertically before deinterlacing, your results will be terrible? Are you perhaps putting the deinterlace after the cropping, which is causing those problems?
:thanks: :thanks: :thanks:
I do exactly this error !!! Now if mvbob if choosed as deint i will be put BEFORE autocrop !!!
Thanks !
BHH
berrinam
24th March 2006, 09:36
I'm very glad that someone else found my work on source detection useful.
Since i live in pal land near all my source are pal/progressive... so with a little help of some testers i put my code over ntsc (pure film, by parsing d2v file), and some telecined source.My problem EXACTLY. From what I've read, so was len0x, who wrote AutoGK. It's really hard designing an algorithm for something you've hardly seen.
I analyse both log (as produced from your routines) for finding TFF/BFF and interlace pattern.I presume you realise that you only need TFF/BFF if it's interlaced or telecined (not if it's progressive)?
all interlaced sections (with patter not in 3 progressive/2 interlaced), and all telecined (3 progressive/2 interlaced)Better would be to check if the combed frames in telecined sections are consecutive; if they're not, then declare it an interlaced section, not telecined.
and all progressive pattern (4+ progressive),At the moment I require 5 uncombed to declare it progressive, but I considered reducing it to 4+ to help avoid small discrepancies. I think that's a good idea, but I want to do some testing first.
Hey! I just realised that you aren't checking for motion. I think you'll get way too many sections declared as progressive just because there is no motion.
then i do a simple % comparison :p
If over 95% of progressive > progressive content
if over 95% of telecined > telecined
if interlaced over 15% > interlaced
Much semplified. Not the best but is quite fuctional.This is by far the hardest part. It would be simple if all sources were entirely one type, but NO NO NO. Stupid content providers have to mix telecine with interlacing, and as a result, the Source Detection gets SO MUCH harder. All of a sudden, when looking for hybrid material, Source Detection gets tricked by all kinds of false detections, and so it declares way too much stuff as hybrid. Worse results are the product of that
Sorry for the rant, but, as you said, you've taken the easy path with that;if only all sources were like that. In fact, I've often considering making my Source Detection much less sensitive to hybrids, and the fact that you ignore hybrids has also suggested to me that I should. I think the things that would fix would severely outweigh the few samples which have small hybrid %s.
From what you've said, it sounds like your source detection can't detect repition-upconverted samples. Basically, it just counts the amount of moving frames in each group of 5, and if on of these stands out from the others by more than 2 times and it isn't 0 or 5, then the source has had the framerate upconverted via duplicate frames (you can use the motion data from the first analysis pass). Not a good description, I know, but there we go. I'll give you a more detailed explanation if you are interested.
Are you using IsCombed or IsCombedTIVTC? IsCombedTIVTC is much better, from my results.
Also, I don't know if you know about this, but you might want to have a look at http://avisynth.org/mediawiki/wiki/Interlace_detection for an in-depth description of most of the elements of my source detection.
riggits
24th March 2006, 19:02
(my divx 3.11 codec comment was satire of the previous comment :) i didn't intend to confuse)
buzzqw
24th March 2006, 20:36
I presume you realise that you only need TFF/BFF if it's interlaced or telecined (not if it's progressive)?
i use it for leakkerneldeint/kerneldeint order...
Better would be to check if the combed frames in telecined sections are consecutive; if they're not, then declare it an interlaced section, not telecined.
very good point ! Thanks... i will look how to implement !
Hey! I just realised that you aren't checking for motion. I think you'll get way too many sections declared as progressive just because there is no motion.
Opss... :o ... yes, i miss it not forget but miss it.
Sorry for the rant, but, as you said, you've taken the easy path with that;
Again yes, since mkvmagic was born (initially) as a personal application (dealing with pal/progressive clip only) i have preferred to let user edit deinterlacer parameter so if user already know how to deal (or is a freak for tuning) he can specify the varius parameter...
Are you using IsCombed or IsCombedTIVTC? IsCombedTIVTC is much better, from my results.
mixed results.. i use for test a pure telecined source.
with IsCombed i got 100% telecined (that's ok) , with IsCombedTIVTC i got 73% telecined ... i must analyze more clips before change...
From what you've said, it sounds like your source detection can't detect repition-upconverted samples...
too much... too much... :scared: :scared:
while i fell very interesting (and again a big thanks even for the link on wiki) studing and learning that possibility/nightmare clips , i fell too distant from my ACTUAL interest (maybe in a couple of days i change my mind ;) )
I have all interest speaking with you ! (and sorry for my english)
BHH
berrinam
24th March 2006, 23:13
Ok, I'm not going to interfere any more, just my last few thoughts:
mixed results.. i use for test a pure telecined source.
with IsCombed i got 100% telecined (that's ok) , with IsCombedTIVTC i got 73% telecined ... i must analyze more clips before change...I think this may have to do with the fact that you aren't checking for motion.
too much... too much... :scared: :scared:
while i fell very interesting (and again a big thanks even for the link on wiki) studing and learning that possibility/nightmare clips , i fell too distant from my ACTUAL interest (maybe in a couple of days i change my mind ;) )Good news for you: I'm planning on really cleaning up my code for all of Source Detection in MeGUI, so you might be able to just directly copy code then. I am aware of how hard the code is to follow at the moment, so I'm sorry about that. I'm also considering another fallback method, specifically for anime, but I won't go into that now....
buzzqw
25th March 2006, 08:06
As usual thanks for your suggestion.
I hope avisynth will introduce some "automatic deinterlaced routines" (with all that gurus around wouldn't be so impossible !) i a near future.
I will wait for you new improved routines , and btw... can you build it as a standalone application... with command line interface :D :D (and not need for .NET , if possible)
Hoping better news !!
BHH
berrinam
25th March 2006, 08:46
I hope avisynth will introduce some "automatic deinterlaced routines" (with all that gurus around wouldn't be so impossible !) i a near future.The best all-round filter-chain for doing pretty well on most sources is probably something like this:
deintted = TDeint()
tfm(clip2=deintted)
This should end up being basically the best (non-super-slow mvbob-style) filter-chain you can get for most sources. Of course, that doesn't decimate anything, but it practically ensures that you will end up with a progressive source. You can get even better results if you are willing to manage 2-pass VFR Matroska, in which case you can add tdecimate(mode=4,output="metrics.txt") to the end of the first pass script and tdecimate(mode=5,hybrid=2,vfrDec=0,input="metrics.txt",tfmIn="matches.txt",mkvOut="mkv-timecodesfile.txt") to the end of the second pass script (all of these script excerpts copied directly from the TIVTC manual). I hope no-one kills me for recommending one filter-chain to rule all sources, though ;)
I will wait for you new improved routinesGood, just don't hold your breath :D
and btw... can you build it as a standalone application... with command line interface :D :D (and not need for .NET , if possible)Actually, it already is a standalone application, just a very old version which I wouldn't recommend using.
buzzqw
27th March 2006, 12:57
Update to 1.05
1.05
Changed WinAmp CT profiles. Now bitrate is displayed and no more Nero's profiles.
If WinAmp CT and "HE-AAC" (not "HE-AAC 5ch" ) profile are choosed then -high option is set
1.04
More robust support for Mencoder (basically bug fixing... bug fixing and more bug fixing :) )
Added support to Spresso fuction by Didee( http://forum.doom9.org/showthread.php?t=103299 ). Very good for SPatial REcompreSSiOn
Reorganized filter and resize (only internal modifier, removed 25k of redundant code)
Corrected in log the Profile choosed
1.03
Added preliminary support to Mencoder (only for LAVC codec).
For using Mencoder put mencoder.exe and mplayer.exe into \exe\encoder folder.
If you use LAVC panel Mencoder/Mplayer is used for all purpose (ripping/encoding video/encoding audio). There only one big warning, isn't possible do do an automatic resolution test... with only mencoder. Look at "AVS CC" if you enable it (is enabled by default) than avisynth is used for creating a compression test script. If "AVS CC" is disabled the you must specify the final resolution
1.02
Update log
If HGAvsOptimizer was used on interlaced source the script wasn't correct.
Now HgAvsOptimizer accept even custom resizer !!! Awesome !!!
Tuned deinterlacer routines (a bit faster now)
Added support for mt_masktools, also update LimitedSharpen script to latest version (with smode 4 support)
Thansk to Berrinam solved problem with MvBob !!! Now if MvBob is choosed this deint is putted before crop
Again thanks to Berrinam for pointing me a correct approach to deinterlace routines !
1.01
Since latest x264 build need at last 32*32 image, update varius routines to this values (mainly interlace detection)
More Tooltip
Update log to indicate subtitle tracks
Added support for --thread-input (new x264 rev 474) (for multicore cpu). Automatic added if threads >1
Update support for CT Encoder
Correct channel order for 5.1 encoding on second audio tracks
Update HGAvsOptimizer. Much better now.
Update to Sharktooth profile's v23
Xayd
3rd April 2006, 04:21
it would be nice to have HiDef output resolutions available.
widths of 1280, 1366, 1920. sources are only 1280 or 1920, however some encode 1366x768 to match their plasma/LCD display if it has such a resolution natively.
perhaps even 1440 anamorphic would be possible?
edit: 1366 might not be valid, vid cards that do this resolution are 1360x768.
buzzqw
3rd April 2006, 08:43
it would be nice to have HiDef output resolutions available.
these resolutions are already avaiable ! just type 1920 (or what you want) in "Set Width" .
Or for fixed width/height (not autocropped) go in "Credits/Calc/Audio" and in WIDTH/HEIGHT write you HiDef !
ask again for any doubt :)
BHH
buzzqw
5th April 2006, 17:14
Update to 1.10 (read first post for download link)
1.10
Added average encoding speed in log report
Added support to generic vfw codec ( like DivX 6 ). In codec list are added two new entry: "2 Pass Manual VFW Codec" and "1 Pass Manual VFW Codec".
!!! NOTE !!!
"Conf. Codec" is enabled if you choose one of these encoding mode.
IF YOU CLICK on "Conf. Codec" you MUST configure one or two pass codec AND this EXACT SETTING (bitrate...) will be used in encoding, both for autosize and final encoding. TIPS: use "Credit/Calc/Audio" for computing bitrate
IF YOU DON'T CLICK on "Conf. Codec" MkvMagic will ASK and you MUST set codec at encoding time, both for autoresize and final encoding. Before autosize and final encoding a message info is displayed for average bitrate knowledge. The only drawback is encoding will wait for your input. Es. choose input, choose 2 pass vfw -> start ! -> indexing -> audio encoding -> ask for autoresize codec config -> ask two time for codec configuration (one for both pass)
Update Tutorial
1.09
Added support for Aud-X 1.2 audio engine. Use it only if audio is AC3 5ch !!! more information at http://www.aud-x.com/
Here a little report:
STRQ - Streaming Quality - (80 kbps)
STDQ - Standard Quality - (128 kbps)
HGHQ - High Quality - (192 kbps)
SPBQ - Superb Quality - (192 kbps)
Aud-X is an awesome audio format! Is able to encode in 5.1 channel on mp3 format with quality in low bitrate ! But isn't only this ... while decoding, using is directshow filter (freeware !!!) the stream is re-expanded in original ac3 format with full 5.1 channel support (even with spdif out)
Update lame_enc.dll to 3.98 beta2
Update LAVC. Removed -noskip because it can cause broken encoding with many mencoder build
1.08
Added custom compression check. As write in ToolTip:
Specify the threshold % for accept compression test. Es. You write here 75 and check "Only Compression Test" . If Compressione Test will give 74 the encoding is stopped, Else if CT 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.
Added the possibility to add custom options to X264 command line encoder (useful for zones...)
1.07
Is now possible to specify crop values in "Credits/Calc/Audio" , examples (please read carefully)
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 AUTOCROP
3) Specify WIDTH and HEIGHT to your preferred values AND CHECK "Enable manual crop" AND SET ALL CROP. Movie will be 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
1.06
Added in list of subs "Rip ALL SUBS" for subripping all sub
Added a new type of filter. 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
Is now possible to NOT apply filter in HGAvSOptimizer, just select NONE
Corrected bug using Spresso fuction with HGAvsOptimizer
ermage
7th April 2006, 18:06
it's a good program,and found it more nice than others.is there a way to rip from this x frame at this x number of frame ex. the end of a movie
buzzqw
7th April 2006, 20:30
yes, is possible.
In "Credits/Calc/Audio" at bottom right, there is "Trim Parameters"
Check "Enable Trim" and at right of "Start Trim Frames" write the start number of frames to trim (you can use also the tiny "Calc!" fuction for an exact time to frames conversion)
If you check "Rise Quant", from that frames the movie will be encoded at this quant (option avaiable for x264.exe and XviD automatic)
i am glad you like my program :thanks:
fell free to post any question or suggestion !
BHH
riggits
7th April 2006, 23:08
New bug: MkvMagic always asks for DVDdecrypter now! I copied it into the correct directory, but MkvMagic does not recognize this.
The last build I tried (v1.05) worked fine and saw DVDdecrypter in the exe/vsrip directory.
Also, the 1.10 asks for Mencoder and MPlayer. 1.05 did not ask for these.
buzzqw
8th April 2006, 03:37
@riggits
thanks for bug reporting !
the program fails to check if dvddecrypter.exe is present but this is only a warning
Even message about mencoder.exe is a simple warning for use/not use LAVC options.
:goodpost: :thanks:
i will correct these warnings in next version !
BHH
buzzqw
8th April 2006, 08:00
quick update
www.64k.it/andres/MkvMagic_1.12.exe
changelog
1.12
Traced in log the presence of decrypter, mplayer and mencoder
Corrected erroneus warning message about missing decrypter eve if presente (bug reported by riggits)
If DTS audio source is choosed then only "Copy Orginal" is avaiable as audio codec
Reported in log MkvMagic version
1.11
Added support for AVS input file. No filter or resize is applyed, only HGAvsoptimizer (if choosed),audio encoding and final encoding
riggits
9th April 2006, 12:20
awesome, very swift update,
Confirming that it works as expected again :)
Many thanks buzzqw!
markrb
10th April 2006, 01:25
I am still far from being able to get this working the way I want, but that is me as I am such a noob to x264 and the other similar ones.
One suggestion. Could you have the program remember your paths. I always use the same ones and it would make it harder for me to encode to the wrong directory.
Thanks,
Mark
buzzqw
10th April 2006, 08:26
I am still far from being able to get this working the way I want, but that is me as I am such a noob to x264 and the other similar ones.
some tips (from dvd ripped to mkv-x264): click on input, browse to ripped dvd, choose vts_xx_xx.ifo, choose audio tracks and audio codec, choose subtitle track, choose "x264.exe Command Line" (also you can go to "X264 Command line" tab to choose preset)
Click start : after many hours you will have a 700 mb mkv, with x264 video codec, with chapter, with audio,with auto ar...
OR: build your custom avisynth script and feed mkvmagic with it.
fell free to post any doubt
BHH
markrb
10th April 2006, 17:15
Getting it to start encoding was actually not bad, but I keep getting errors or the encode will freeze.
The error was something like pass one is not the same as pass 2 try lowering bitrate or Q. Something like that.
The freeze happened on another try about %35 of the way through. The rest of the system remained stable and I was able to kill the process.
I am pretty sure about system stability as CCE, Memtest, Prime95 and others all have never crashed on me.
I am at work and didn't keep the logs. I will try some other things and continue to read up. Unless there is something obvious you could point out.
I am also trying Megui and having a different issue with that. Again it's most likely something I am overlooking.
Mark
buzzqw
10th April 2006, 18:19
if the freezes are in x264.exe encoding... i don't know...
because if encoding is started then avisynth is correct and the problem could be only with bitrate
are you doing 1 pass encoding or 2 pass ?
BHH
markrb
11th April 2006, 00:54
2 pass insane quality profile.
What I did is set the size to 1 @ 2200mb.
I was looking to about cut in half the size of the original
Vob's. I never forced any kind of bitrate.
I don't know the compression levels.
Basically if Mpeg-2 is 4gb, what size x264 would be lossless?
I may want to convert them back in the future.
Mark
Edit: I may have found the problem although I haven't got time to test it.
It seems I was missing a few files (for megui anyway) or didn't have them all in the
right places. I re-read over the guides VERY carefully and found the spots I missed.
I hope that does it.
I also accidently had an old version of ffdshow, if that matters.
buzzqw
11th April 2006, 08:36
2 pass insane quality profile.
What I did is set the size to 1 @ 2200mb.
Basically if Mpeg-2 is 4gb, what size x264 would be lossless?
I may want to convert them back in the future.
so... you have set in "Set MB Size Unit" 2200 and in "Number of Units" 1
"insane quality" : very very slow ! If you want a very quality encoding in a reasonable time choose:
1) in "Set Width" put 720
2) in "Set encoding mode" choose "X264.exe command line"
3) in "X264 Command line" tab choose "CE High Profile"
4) in "X264 Command line" tab, on "Mode" choose "Quality CRF" and in "Bitrate/Quantitizer" put 16
4) set all other (audio...) as you want and click start
this would be a ONE pass encoding with very good quality BUT without know the final size
BHH
donnyj
13th April 2006, 17:32
I have put DVDDecrypter.exe into exe\vsrip and I still get the error, what am I doing wrong?
Also where to I put mencoder and mplayer so that I can kill those errors as well?
Update: Running RIP does load DVD Decrypter so the error must be in detecting that it is really there.
buzzqw
13th April 2006, 17:37
thanks for bug-hunting ... but you came later ;)
here the post with link to new build
http://forum.doom9.org/showpost.php?p=810777&postcount=36
thanks anyway !!!
please report any problem you have !
BHH
donnyj
13th April 2006, 18:30
Sorry, but the bug is still present on my system.....
buzzqw
13th April 2006, 19:01
:confused:
have you put into \exe\vsrip\ either dvddecrypter.exe or dvdfabdecrypter.exe ? (named as here)
Also where to I put mencoder and mplayer so that I can kill those errors as well?
into \exe\encoder folder
BHH
donnyj
13th April 2006, 22:44
yes, DVDDecrypter is in exe/vsrip and pressing rip works... so it's named correctly and in the right place....
Thanks
Strange, I put mplayer and mencoder in exe/encoders and now ALL the errors are gone???
buzzqw
14th April 2006, 08:13
Strange, I put mplayer and mencoder in exe/encoders and now ALL the errors are gone???
ONE big note: these aren't errors ! are warning about missing components
MkvMagic do not include a mencoder/mplayer build because these softwares can be quickly become outdate... , about missing decrypters as i wrote on changelog i had to remove since it is an illegal bundling in some country.
BHH
3dsnar
14th April 2006, 10:20
Hi,
Great app!
Thanx for including our codec.
I have a question, however.
Can you change (in the codecs list)
Aud-X to MP3 5.1
(or MP3 5.1 [Aud-X] if there is enough room)
so it will be less confusing for the users, 'cause not
everybody knows what Aud-X is).
An maybe, instead of using the quality codes (e.g. STDQ, HGHQ, etc) provide bitrates?
Please let me know
:thanks:
buzzqw
14th April 2006, 13:53
@3dsnar
Good suggestion!
AUD-X is changed to "MP3 5.1 Aud-X" (no space for []) and audio quality is indicated as this:
"80 STRQ" - "128 STDQ" - "192 HGHQ" - "192 SPBQ"
is it ok ?
BHH
3dsnar
14th April 2006, 16:18
Perfect :)
Thank you.
3dsnar
18th April 2006, 12:53
Hi, I have a very simple idea/suggestion.
I think it would be great to create something like
AutoMkvMagic. Very simplified tool (like AutoGK) for complete
DVD ripping/compression.
Also, it would be great to create a descent installer, which would
include all the necessary software tools (to run your software).
So the user will simply install it and forget.
With couple of mouse clicks, it will be possible to create the video file.
I think that such approach would extremely increase popularity of your app :)
(alot of people compain about 'scary' interface of MkvMagic, with to many
options. The options are very useful, but could be hidden as some advanced settings,
or something)
buzzqw
18th April 2006, 13:30
i must admit that user interface isn't my first interest...
BUT i want say that for a newby user mkvmagic could be very very simple !
1) download
2) un7zip (and install avisynth/xvid) AND put DVDDecrypter.exe into /exe/vsrip folder
3) insert dvd
4) launch mkvmagic
5) choose drive e press check drive
6) choose audio/video/size settings... (all in first panel)
7) click start !
there is no need to go in other panels.
:o ... i will try to do a more simple/cleaner interface...
BHH
3dsnar
18th April 2006, 15:32
Please do not get me wrong :)
Your app is great.
But the simple question is why for example AutoGK is so popular?
I think the answer is that the user does not have to learn anything to convert the video file.
The strong part of your APP is that it allows to directly convert DVD to AVI (or other video format). So it integrates all the necessary steps in one.
Why not make it as simple as AutoGK
(and automate the obvious things, or the most commonly
used ones)?
In other words, in my subjective opinion, if you would:
1) Create a descent installer, which would install all the necessary components, create an icon on the desktop,
add shortcut to start->programs in windows, etc.
2) Create very simplistic interface (maybe partly like a 'wizard' kind of thing)
3) Provide all the complex options as advanced settings
I think it would gain HUGE popularity, and be useful for millions of people (ofcourse if you care about this ;)
I am writing this, because you application is great,
and not because it is worthless.
I think there is a big potential in it, and I would love to see it more popular.
If you need some help with creating such an installer, or something, please let me know. I'd be happpy to help.
Cheers, 3d.
BigDid
19th April 2006, 03:32
...BUT i want say that for a newby user mkvmagic could be very very simple !...
7) click start !...
Hi,
First let me say it seems a great app and I hope you will continue the developpment.
I am a AGK addict but as it is not developped anymore I started searching for a complement or replacement :)
So I downloaded your app, filled the different paths set a VOB file as a test and launched the process....
1/I waited and nothing was happening
2/GOTO 1/
3/GOTO 1/
...
After a few minutes I just stopped the process because I was disturbed (compared to AGK) to have no indication of what was going on :(
My question/demand (I will limit to one at a time) Can you implement a simple onscreen log ?
AGK does it line by line with time stamp+ main steps, IE for a 2 pass XVID:
-demuxing
-analysis
-Audio
-comptest
-1st pass
-2nd pass
Maybe I just screwed up things:scared: , if not the full automatic way does'nt fit me.
Thanks for your time.
Did
buzzqw
19th April 2006, 06:09
for two week i will be away so this is a short answer
0) read the manual and the changelog
1) click on input
--- the vob/ifo/dv2/avs is parsed ---
1.1) check output dir
2) choose size (1 cd... or custom, by writing es. 500 for 500mb)
3) choose audio tracks
4) choose audio codec (or leave as is for mp3)
5) choose audio bitrate (or leave as is for 128kbs)
5.1) choose subtitles (if dvd input or ifo input)
6) choose resizer (or leave as is for HybridFuPP)
7) choose resize (write es. 640 or leave Automatic for auto resize)
8) choose DAR (or leave Auto for automatic recognition)
9) choose encoding mode (for x264.exe options go to "X264 command line" panel, for xvid_encraw.exe options go to "Xvid command line" panel
10) choose filter (or leave none for no filtering)
11) choose deinterlace (or leave auto for an automatic deinterlacer routines, if necessary)
12) Click Start
i hope to do a better manual :)
BHH
BigDid
19th April 2006, 09:07
Thanks for your quick answer,
Will try that ASAP but... if you reread my post you may realize I was asking not what is going on before N° 12/Click Start, but +after+ Click Start.
I may not have been clear, if so my apologies; my demand is to know what happens after Start, and what infos on what is going on.
To be as clear as I can, in other words, it seems after Click start it's a black box; What's in the black box? how to get infos from that black box.
Anyhow, enjoy your vacation (if any) and take the time if not :)
Did
buzzqw
19th April 2006, 14:29
(i am just 500 miles awayfrom home... but for work... and now abusing of a stupid dial-up connection)
my apologies go to you since i don't read well your post (it was 05.09 of night...)
displaying a log... insteresting... but i preferred to launch all program in minimized status... (checking "to icon" ) and mkvmagic goes to system tray
anyway you can read mkvmagic.log, in this log (near) every fuction is logged and documented (i open it in ultraedit editor so every time is iit updated i can read the new lines)
i hope to be clear
BHH
buzzqw
27th April 2006, 11:03
New version OUT ! 1.16
Changelog
1.16
Added --no-dct-decimate to x264 options
Added support for Teegedeck XviD preset. These presets could be very handy for a newby lost in xvid command line. Take a look at tooltip next to choice. Link to doom9 forum for discussion http://forum.doom9.org/showthread.php?t=107897
1.15
Added an hidden feature: if you write NONE in resize filter (where is lanczos, bicubic...), mkvmagic will neither do autoresize nor apply autocrop or any resize. If enabled HGAvsOptimizer will however autocrop the source
Isn't more possible to edit OGG and Aud-X audio codec BITRATE. Since OGG is based on quality preset and Aud-X on its preset the combo where choose bitrate is "greyed". NO PROBLEM !!! YOU CAN ALWAYS CHOICE FROM LIST
More Tooltip ! (again)... If mouse is over Mkvmagic icon in systray a popup will say what mkvmagic is doing
Added in log the AR calculated as Gordian Knot and the AR error (as Gordian Knot)
Added support for TBilateral and TTempSmooth
Optimized filter code (internal change, 5k code removed)
1.14
Changed "Credits\Calc\Audio" panel to "Extra Settings"
Better log if 1 or 2 Pass VFW is choosed
If "Calculate!" (in "Extra" panel) is pressed the bitrate calculate is putted in clipboard (for a copy&paste in vfw codec configurations)
Resolved a nasty bug that could bring very very low resolution on autosize with very short clip (less then 1 minute)
Changed name of AUD-X to "MP3 5.1 Aud-X" due to request of developers of Aud-X (not a big trouble !)
1.13
More complete support for XviD_Encraw. Now is possible to set all single pass and second pass options
1.12
Traced in log the presence of decrypter, mplayer and mencoder
Corrected erroneus warning message about missing decrypter eve if presente (bug reported by riggits)
If DTS audio source is choosed then only "Copy Original" is avaiable as audio codec
Reported in log MkvMagic version
1.11
Added support for AVS input file. No filter or resize is applyed, only HGAvsoptimizer,audio encoding and final encoding
First of all: congratulations for writing a programme that works on HD source material. For me DrDivx2, AutoGK and AviNet just don't work at all when it comes to HD.
Now to my problem.
I started with a 13Gb .ts 1080i file that I want to reduce to a 720p avi file that will fit on a DVDR, retaining the original AC3 audio, to be played back by a Showcenter.
So I loaded the file into MKVMagic. I selected "copy original" for the audio, "AVI" for the container, "DVD" for the size and "auto" for everything else. Then I hit "start".
36 hours later (surely this can't be right) I had a 4.1Gb Xvid avi file at 720p (lovely video quality!) with no audio instead of the 4.5Gb file with video and audio that I was expecting. I also had a 300+Mb AC3 audio file.
My questions:
1) What have I done wrong and what should I select to get the audio muxed with the video? Or do I have to DIY this?
2) Why did it take 36hrs? This seems really s-l-o-w. I have a P4 2.8Ghz and Nero Recode will encode the same file to Nero Digital in just a few hours. But I don't want Nero Digital because nothing I own will play it and the audio isn't AC3, which means my amp won't play it either.
TIA, and thanks again for writing this programme.
buzzqw
11th May 2006, 20:18
So I loaded the file into MKVMagic. I selected "copy original" for the audio, "AVI" for the container, "DVD" for the size and "auto" for everything else. Then I hit "start".
since you leave auto (that's good !) on deinterlace, and since your source IS interlaced, mkvmagic had deiterlaced the movie. So this will double (at least) the encoding time.
36 hours later (surely this can't be right)
the default resizer is HybridFuPP HightQuality, so this is both a resized and a cleaning filter. Again more time, but also a good choice !.
If your source is clean, let choose as resizer LanczosResize, it is good and fast, but remember that isn't a cleaning filter (on filter, a good and fast choice can be undot or removegrain(mode=2))
I had a 4.1Gb Xvid avi file at 720p (lovely video quality!) with no audio instead of the 4.5Gb file with video and audio that I was expecting. I also had a 300+Mb AC3 audio file.
4.1+0.3=4.4 gb file ! the size is good. What happened ?
Avi, can't go over 2GB if not in OpenDML format. I have tuned avi output for stand-alone player compatibility. So AviMux have refused to mux audio and video.
Now you can choose to launch avi_mux-gui.exe and manually mux files... or next time choose MKV :)
I hope thats help you !
please refer any problem you have (i never test my program on so big ts files... i am very glad it fuction !)
In next release audio part will be completely rewritten using avisynth/bepipe (as megui) so .NET framework will be needed
What do you (and all in this forum) think about this choice ?
BHH
Thanks for the filter info, and for your prompt reply. I don't mind it taking 36 hours if the end quality is good (it is) and as long as it is supposed to take 36 hours. I think I'll leave those settings as they are for the time being. The video quality was great!
I now understand the 2Gb file size problem. I am running another encode using the mk4 container now but I'm not sure if my Showcenter will play it. If it doesn't then I shall either mux the a/v manually, as you suggest, or split the original ts to 3 smaller sections which can be encoded to give 1/3 DVDR size each. These will play back with only a short break. My main aim is to get feature-length XvidHD video and AC3 sound on a DVD, for ease of storage today and compatibility with my amp and any future DVD player I may buy. These 10-15Gb HD Mpeg2 files are all very well, but how can you store them except on many external hard drives?
I have no problem with .NET as I have several other programmes that use it.
Keep up the good work! Thanks again.
One other point: my processor has Hyperthreading. Looking at the CPU usage it seems that not all the programmes that MKVMagic calls can use the second virtual processor. I will try turning the Hyperthreading off next time.
buzzqw
12th May 2006, 09:18
I think I'll leave those settings as they are for the time being. The video quality was great!
Thanks ! It is very positivee feedback !
I now understand the 2Gb file size problem.
i will update the avi_mux-gui profile so if target size >2gb then openDml will be used.
or split the original ts to 3 smaller sections which can be encoded to give 1/3 DVDR size each.
good idea !
These will play back with only a short break. My main aim is to get feature-length XvidHD video and AC3 sound on a DVD,
... one note... 1 dvd for 1 film (2 or 2.5hr film) is near overkill, even with ac3 audio.
I will suggest to try 1/3dvd or 1/2 for 1 film (or write in size 1985 for 1985 mb size... just for not use openDML :) )
I have no problem with .NET as I have several other programmes that use it.
very well, but as long you will "copy original audio" you will not use bepipe !
In next release i have already implemented the HT detection, so for x264.exe and xvid_encraw this will automatically used :) also ... for xvid (the default encoding type) try update your Xvid Build , like http://esby.free.fr/CelticDruid/mirror/XviD/xvid.cvs.head.2006.04.21.7z, new builds ha HT/SMP capabilities
BHH
My second test using the mp4 wrapper wasn't so good.
I started with a different 13Gb 1080i HD ts file, and I used auto settings wherever possible, with 1*DVD for the size.
For some reason the auto-resize decided that 704x400 would be the right size. Not what I wanted of course, but it did go much quicker. Next time I will set the size myself.
However, this time I got no audio at all. Just a 4.5Gb avi and no separate audio file or muxed sound component. I did get an error message about selecting PIDs when starting, and I thought that I had done this. Obviously not. Any ideas?
I want to use a full DVD per film because it makes filing easier and with HD content it pays to leave as much in as possible, I find. This is already a 65+% reduction from the original MPEG2 size, which seems fair.
buzzqw
12th May 2006, 17:23
For some reason the auto-resize decided that 704x400 would be the right size.
corrected. Next time if autoresize will give a resolution above 720, movie will be resized to 720
However, this time I got no audio at all. Just a 4.5Gb avi and no separate audio file or muxed sound component. I did get an error message about selecting PIDs when starting, and I thought that I had done this.
yes... it is a pid problem, for some reasong dgindex not demuxed it...
Have you choosed 2 audio tracks ? Afaik dgindex has some preblems demuxing 2 audio tracks at once inside a ts file.
i can suggest to select another audio pid and click start.
look at dgindex an see if audio is demuxed or not...
also, can you post the log file ? and can you mail-me a sample (7 - 8 mb would be sufficent, mail it at azanzani @ gmail.com) of this ts ?
thanks
BHH
I don't have the log file. I'll be sure to keep it next time.
I have just started another encode and, oddly, MkvMagic doesn't find any audio at all. DGIndex seems happy enough though and reports 1 audio stream at 3/2 384bps.
I have selected 1*DVD size and 720 res manually and will let it run overnight. I will then remux the audio and video manually, and will let you know.
Thanks for your help and interest.
buzzqw
12th May 2006, 20:13
I have just started another encode and, oddly, MkvMagic doesn't find any audio at all. DGIndex seems happy enough though and reports 1 audio stream at 3/2 384bps.
i am sorry you have these problem ... but MkvMagic has a solution !!!! :p
With dgindex.exe create d2v AND audio file (use dgindex present in \exe\dgindex folder), THEN launch mkvmagic, click on input and choose your d2v and then your audio !
Let's go ! you can start your encoding !
BHH
P.S a sample ts could be useful for diagnostic :(
Thanks for your help with this. That seems to have finally cracked it.
Demuxing the audio worked just fine and I have just reduced a 16Gb 1080i MPEG2 file to a single Xvid avi file of 4454Mb in 1280*720p with 3/2 AC3 sound. It took 42 hours!
My only trouble now is that I can't remember which settings I used. I should have written them down, I suppose. That'll teach me.
Playback is jerky on both my PC and my Showcenter, but on closer inspection that actually seems to be in the original MPEG.
Having proved that it is possible, I will now do some more tests with other resolutions to see which works best. I have several other MPEG2HD files to play with and those aren't jerky at all in the original.
I'll let you know how I get on, and thanks again.
buzzqw
14th May 2006, 20:34
Thanks for your help with this. That seems to have finally cracked it.
yes ! opening d2v or avs is a good feature i must admit :cool:
1080i MPEG2 file to a single Xvid avi file of 4454Mb in 1280*720p with 3/2 AC3 sound.
isn't too much 1280*720 ? i hope you have a good plasma/Projector... i thing that 720p is enough... for normal tv (32'-16/9) ... 1280 is near overkill... but i would like to see it too !
It took 42 hours!
again resolution is the culprit
My only trouble now is that I can't remember which settings I used. I should have written them down, I suppose. That'll teach me.
READ MKVMAGIC.LOG
waiting for news !
BHH
isn't too much 1280*720 ?
READ MKVMAGIC.LOG
720p is the minimum res for HD, AFAIK. The source is 1080i and at the moment I am doing a test on a 400Mb extract at 1080. We shall see how my Showcenter likes it.
Here's the log:
12/05/06 22:35:21 MkvMagic 1.16 - - - - - START JOBS - - - - - - - - - - - - -
12/05/06 22:35:21 Choosed input file:
12/05/06 22:35:21 No DVDDecrypter.exe found in C:\Program Files\MkvMagic_1.16\exe\vsrip\
12/05/06 22:35:21 No DVDFabdcrypter.exe found in C:\Program Files\MkvMagic_1.16\exe\vsrip\
12/05/06 22:35:21 No Mplayer.exe DVDFabdcrypter.exe found in C:\Program Files\MkvMagic_1.16\exe\encoder\
12/05/06 22:35:21 No Mencoder.exe found in C:\Program Files\MkvMagic_1.16\exe\encoder\
12/05/06 22:35:21 DelayCut CMD: C:\Program Files\MkvMagic_1.16\exe\dgindex\Delaycut.exe -auto -out "C:\Incoming\
12/05/06 22:37:28 DelayCut CMD: C:\Program Files\MkvMagic_1.16\exe\dgindex\Delaycut.exe -auto -out "C:\Incoming\
12/05/06 22:38:52 Audio Frequency Choosen: 48000
12/05/06 22:38:52 Renamed file fixed1.ac3 to audio.ac3
12/05/06 22:47:00 Number of Frames: 222760
12/05/06 22:47:00 Framerate: 29.970030
12/05/06 22:47:00 Movie lenght in Seconds: 7433
12/05/06 22:47:00 Movie Width: 1920
12/05/06 22:47:00 Movie Height: 1088
12/05/06 23:32:28 Source is declared tff by a margin of 247 To 2.
12/05/06 23:32:28 Advanced Deinterlace Routines Log
12/05/06 23:32:28 Analyzed 446 sections of five frames
12/05/06 23:32:28 Found Interlace Sections: 286
12/05/06 23:32:28 Found Progressive Sections:160
12/05/06 23:32:28 Found Telecined Sections: 70
12/05/06 23:32:28 The Movie is declared to interlace
12/05/06 23:32:28 Final Size: 4479MB * 1
12/05/06 23:32:28 Loaded Deinterlacer: LeakKernelDeint(order=AUTO,sharp=true)
12/05/06 23:32:28 NO filter loaded
12/05/06 23:32:28 Aspect Ratio: 16:9
12/05/06 23:32:28 Bitrate calculated: 4538
12/05/06 23:32:29 Starting First Pass - 2 Pass Full Automatic XviD
13/05/06 15:21:22 Starting Second Pass - 2 Pass Full Automatic XviD
14/05/06 17:51:06 Finished Encoding - 2 Pass Full Automatic XviD
14/05/06 17:51:06 Average encoding FPS: 1.462467
14/05/06 17:51:06 Computed AR: 1.777778
14/05/06 17:51:06 GordianKnot AR: 1.729630
14/05/06 17:51:06 DAR Error %: -0.549297
14/05/06 17:51:06 Choosed Audio Track Language:
14/05/06 17:51:06 Starting AVI muxing
14/05/06 17:58:20 Finished AVI muxing
14/05/06 17:58:20
14/05/06 17:58:20 Script AutoCrop.log
14/05/06 17:58:20
14/05/06 17:58:20 Crop(26,0,1868,1088)
14/05/06 17:58:20
14/05/06 17:58:20 Script Resmovie.avs
14/05/06 17:58:20
14/05/06 17:58:20
14/05/06 17:58:20 Script movie.avs
snip plugins
14/05/06 17:58:20 movie = mpeg2source("C:\...
14/05/06 17:58:20 function getOrder(clip c) {
14/05/06 17:58:20 order = GetParity(c) ? 1 : 0
14/05/06 17:58:20 Return order }
14/05/06 17:58:20 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
14/05/06 17:58:20 fixed_aspect = 1.007407
14/05/06 17:58:20 c_width = width(cropclip)
14/05/06 17:58:20 c_height = Round(height(cropclip) / fixed_aspect)
14/05/06 17:58:20 input_par = float(float(c_width)/float(c_height))
14/05/06 17:58:20 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
14/05/06 17:58:20 out_width = 1280
14/05/06 17:58:20 out_height = Round(float(out_width) / input_par)
14/05/06 17:58:20 hmod = out_height - (floor(out_height / 16 ) * 16)
14/05/06 17:58:20 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
14/05/06 17:58:20 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
14/05/06 17:58:20 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
14/05/06 17:58:20 global out_width = out_width
14/05/06 17:58:20 global out_height = out_height
14/05/06 17:58:20 LeakKernelDeint(order=1,sharp=true)
14/05/06 17:58:20 #@
14/05/06 17:58:20 HybridFuPP(out_width,out_height,preset="very high")
14/05/06 17:58:20 #@
14/05/06 17:58:20
14/05/06 17:58:20 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -
buzzqw
15th May 2006, 10:48
How to cut encoding time:
first lesson
12/05/06 22:47:00 Movie Height: 1088
12/05/06 23:32:28 Source is declared tff by a margin of 247
12/05/06 23:32:28 Loaded Deinterlacer: LeakKernelDeint(order=AUTO,sharp=true)
you source is obviusly interlaced (1080i). So don't make a deinterlacer test JUST deinterlace IT !
In Deinterlace option select LeakKernelDeint row
(this trick will reduce encoding time by 40 minutes)
second lesson
HybridFupp (the resizer) isn't indicated for an UPSIZE. Choose Lanczos Resize.
As filter choose Removegrain(mode=2)
i can bet you can cut near at half the encoding time.
best regards and waiting for new encoding time
BHH
i can bet you can cut near at half the encoding time.Hi. Thanks for that advice. I am currrently in the middle of another test which I don't want to stop but as soon as it is over I will do a test using your suggestions.
Thanks again.
buzzqw
17th May 2006, 13:28
download link at first post !
Update to 1.23
Changelog
1.23
Added -ignorelength to neroaacenc parameter
Bug fixings and tweak on audio part (MkvMagic is now a good gui for audio encoding!)
1.22
If final size is equal or bigger than 2GB and if avi is the final container then OpenDML is applyed in muxing
On mpeg4 input MkvMagic will switch to DirectShowSource or AviSource if choosed one isn't fuctional
Added ConvertAudioTo32bit() for sanity purpose into mkvmaudio.avs
If dgindex wasn't able to demux audio mkvmagic will relaunch dgindex on next audio tracks.
If dgindex don't found any audio than mplayer.exe is used to demux audio track selected into wav and the encoded in ac3 file with 192 cbr/2ch setting (only for ts files)
1.21
Totally rewritten from scratch audio part. Dropped support for besweet. Now mkvmagic use avisynth as main audio processor (as megui). Added support for frequency, tempo, pitch and channel.
Added tips for these new fuctions
This encoding is used both for mpeg4 output and mpeg2 output, so please pay attention when converting PAL2NTSC and viceversa
Added support for command line LAME.exe, Oggenc.exe, TwoLame.exe, Aud-X.exe, AAC_CTPlus and NeroAACEnc.exe.
Encoding to AC3 is demanded to QuEnc (and work quite well)
If input is audio file mkvmagic will process it without hiss. Like a BeSweet substitute ! :)
If output is mpeg2 audio file is encoded as 48000hz
Added support for FrFun7 filter
1.20
Automatic set of number of threads at program start, based upon hardware detection
Update QuEnc routines to 0.7
1.19
Update AutoQMatEnc upon choose avs as input (wrong ar in ecl creation)
Update dump of xvid_encraw settings. Upon click on "WriteCMD" mkvmagic will create one or two bat in working folder with xvid settings.
If Mplayer.exe is present into \exe\encoder folder, mkvmagic will use it for demuxing audio from mpeg4 file (avi/mkv/ogm...). This way is more robust than virtualdub demux
1.18
Again better support for avi input. Is now possible to "Copy Original" even for avi input
Varius bug fixes an avs input and avi input (no more bbmpeg crash on avi parsing..., this shouldn't ever done; no more try to parse d2v on avs input)
Update MkvMerge to 1.70
Added a new folder ( "Matrix" in exe folder )with several matrix for use with xvid.
Added support for -progress options in xvid_encraw
Better routines for get exact size with xvid_encraw
1.17
Added support for HC_Enc 0.18
Correct a bug that would calculate bitrate for hcenc on 1000 basis not on 1024
Added support for muxing .idx/.sub into mp4
Added support for avs input for conversion to mpeg2
Better avi input. Now audio is saved to wav with virtualdubmod
aiyunyi
20th May 2006, 10:37
how can I make manual crop without preview?
buzzqw
20th May 2006, 14:09
how can I make manual crop without preview?
is supposed that if you do a manual crop you already know how much to crop :rolleyes:
get values from dgindex. Use the clipping fuction !
BHH
buzzqw
20th May 2006, 16:39
just to add that mkvmagic do "autocrop" for your movie, there no needs to manually crop, however is possible to specify crop values
BHH
buzzqw
30th June 2006, 10:30
Update MkvMagic to 1.30 (NEW link to first post)
Here the changelog
1.30
Update MkvMagic log. Since the porting to PureBasic 4 the log wasn't immediately avaiable while mkvmagic is runnig. Now is possible to open mkvmagic.log while mkvmagic is running
Added support for DgIndex 1.4.8 beta 3 FILM/VIDEO flag
When encoding end MkvMagic will popup again
1.29
Update Teegedeck XviD Profiles parsing, is now possible to put xml profiles into \profiles\XviD-profiles
1.28
Update XviD command line options (bframes, max-iframes,custom cqm)
1.27
MkvMagic will NOT close at end of encoding
Correct AR signaling in mkv when set AR to anamorphic and x264 as codec
In CCT encoder choose audio is resampled to 16 bit for compliance
Update NicAudio plugin to use NicMPG123
Corrected second audio track not being encoded
1.26
Ported source code to PureBasic 4.00
Tunings for new source code
1.25
Bug fixing for ac3 to aud-x encoder
If downmixing mode choosen isn't correct for audio file then original audio channel is retained
1.24
Added support for encoding ac3 files with aud-x audio engine
Correct only audio encoding with QuEnc
Added Downmixing mode (Original, Mono, Stereo, DLP, DLP II)
Little clean-up of mkvmagic.log
Added support for autodeinterlace with avi input. If you don't want to deinterlace or test deinterlac routines, choose NONE on "Deinterlacer"
Update Lame VBR string, now default command line for VBR encoding is "-v --vbr-new -h -S -V 5"
BigDid
30th June 2006, 18:11
Hi BHH,
Update MkvMagic to 1.30 (NEW link to first post)
Please update the redirection link for the .7z download, not working with firefox, page to manual ok ?
You may want to check autogk main thread and eventually add details.
Did
buzzqw
30th June 2006, 18:38
Thanks BigDid!
Direct download link is fixed. But i must investigate 'cause link isn't working with FireFox... :sly:
Link to manual should be ok.
thanks again
BHH
BigDid
1st July 2006, 00:51
Hi BHH,
My bad link to tutorial was working and still is :)
New link to 1.30 OK.
Congratulations for your 7 grouped releases :D
Did
harycover
30th July 2006, 17:39
Hi buzz
I've been looking for an efficient gui to encode dvds to mkv for long, tried staxrip, wasn't happy with it, and today tried mkvmagic and I'm sorry to tell that there was no magic
Tried to encode an already ripped movie on my HD (files already decrypted) all the day long :
I'm a bit familiarized with video and audio encoding and I've read the whole tutorial http://mkvmagic.sourceforge.net/
I chosed the ifo file (the right one), then chosed subtitles, and audio tracks, using mkv as container, 1 dvd-r as final size and 1 pass x264 auto (I don't really care for the final file size, so I chose 1 pass)
When all is set I chose start, I had a look to other panels, but changed nothing
It extract subtitiles, audio, and encode it to mp3, until there all went fine
After that the x264 command window popped up and encoded a very small vidéo (32*32) where only one frame on 25 is encoded ?!?! -the result video is 1,5 MB or such and off course when it's finished it fails to mux it... saying that windows cannot find "del" or a similar message (my windows version is FR)
When I try to select no audio just to see if it works, dgindex pops out with a bug saying "no video sequence header found" and after that "no data check your pids"
if that can be of any help, I've put all the files it gave me for this last try (except audio ones) in this folder, including the log : http://apranax.free.fr/mkvmagic/
In this last try I chosed not to resize, autocrop enabled, hoping that help to resolve the movie size problem, but the result was the same
A minor bug : when I specify to x264 to use 2 threads instead of one, it still uses oonly one thread (I have an athlon 64 X2)
I hope these annoying bugs can be fixed
Kind regards
buzzqw
30th July 2006, 18:12
first of all thanks for using my application
i will analyze the log with you !
first:
movie size: Final Size: 4479MB * 1 :confused: 1 dvd as final output ??? ... well in this case the bitrate goes mad...
second:
17:05:05 Starting encoding - 1 Pass FULL Automatic X264
17:05:12 Finished encoding - 1 Pass FULL Automatic X264
so you are using VFW encoding. have you installed x264 vfw ?
also in vfw dual core isn't use... in x264.exe is automatically used
also... what resize have you used ??? in movie.avs there isn't one. Remember that if you don't want to resize just write NONE in Resizer.
other problem, i think come out from your choice of using vfw in one pass mode. With a so high bitrate i think that can be some problem
i suggest you to choose in "Set encoding mode" "x264.exe Command line" , the high profile will be automatically load.
There isn't need to go in "X264 Command Line" panel.
try again. I will be glad to help you :)
BHH
harycover
30th July 2006, 18:44
Thank you for so fast reply !
x264 vfw was indeed installed, at least when I chose for example "1 Pass Manual X264 but AUTO BITRATE" when I click on "configure codec" it pop out normally, so I guess it's properly installed
For resizer I Chosed "edit me" and then left it blank, as you said in your tutorial If you write anything this will be written in avs, also if you don't want to apply resizer just choose edit end leave blank the string. I'll try to write "NONE" this time
For bitrate problem : I want to backup one dvd9 on one dvd5 and retain maximum quality, that's why I chose DVD-R... why not let user chose a more appropriate size (in MB) while leaving the ability to chose in CD or DVD
thank you again for fast help, I'll try again and let you know if it works this time :)
buzzqw
30th July 2006, 20:05
or resizer I Chosed "edit me" and then left it blank, as you said in your tutorial
i must correct, or let be more clear, the tutorial... a resizer is always needed. Special case is NONE, but must be written
For bitrate problem : I want to backup one dvd9 on one dvd5 and retain maximum quality, that's why I chose DVD-R... w
x264 could retain maximum quality with less mb... 2 cd "should" be sufficent
Is already possible to specify a custom size... just overwrite "1 CD" (or whatever is written" with your size (in mb)
so if you write 1400 (under "Set MB size") you will get a 1400 MB final size output (audio+video+subs...), if you write 400 (under set mb size) and 2 (under numeber of units) you will get 2 file of 400 mb each one
hoping for better news !
thanks again
BHH
P.S. again i will suggest to use x264.exe, is more robust and faster for your hardware
harycover
30th July 2006, 23:14
Thank you
This time the encoding went fine
I didn't notice that there are 2 options "x264 vfw" and "x264.exe", however I selected 2 threads in x264 vfw dialog and it worked fine, about 25 fps for a 720*304 video
One thing though, subtitles for some reason were not muxed with the final mkv (even they were exctracted at first place)... maybe a mistake from me, this time I'll look twice before saying that there is a bug ;-)
I still have some questions if you don't care :
1- how to mux subtitles afterward
2-do you know a stand alone player to decode x264-mkv (without installing ffdshow)
Thank you
buzzqw
31st July 2006, 11:08
i am very glad that it worked !
for subtitle muxing problem please post (or publish) the mkvmagic.log
in log should be written the muxing sequence for adding subs (i think that subs are muxed... but you can't see it..)
do you know a stand alone player to decode x264-mkv (without installing ffdshow)
VideoLanClient ( http://www.videolan.org/vlc/download-windows.html) one of best (ops..:) ) player around
BHH
buzzqw
31st July 2006, 15:46
here the new 1.31 (https://sourceforge.net/projects/mkvmagic/)
(or for problem here the direct link... maybe slow (http://www.64k.it/andres/data/mkvmagic/MkvMagic_1.31.7z) )
Changelog
1.31
Update code to allow installatin in path with space. Like "c:\program files\mkvmagic\" also destination path could contain space
Now when MkvMagic is working a log windows is always ready to watch what is doing. Please don't close this window or mkvmagic will also close... i will correct this bug asap
There no more need to edit defaul.avs. All *.dll present in \filter will be loaded
Added MultiSWAR resizer
Added Aften Audio Encoder
Explicited use of NONE in resizer. Select NONE for NO resize and NO autocrop
Also correct some tips in Manual, thanks to harycover !
BHH
harycover
31st July 2006, 23:17
in log should be written the muxing sequence for adding subs (i think that subs are muxed... but you can't see it..)
I hurried and erased all temporary files, including the log (silly me) however I remember to have openned the movie (final .mkv) in mkvmergegui 1.7 and seen only video and audio there, no subtitles
However may be they didn't mux because I choose an exotic language (I selected english for first subtitles and arabic for the second one)
I should have kept the log, I'll try again with some other movies and let you know, for now I ripped english subtitles with subrip and muxed it with mkvmergegui
Happy to see that you've released a new version, it's refreshing to see how you support the software you made !
I can't do more tests till next week end because of a very busy week, since there, I thank you again for this useful software
btw vlc worked fine to playback this, I had it already installed but I didn't know that it can playback mkv this smooth
Cheers
buzzqw
1st August 2006, 10:02
However may be they didn't mux because I choose an exotic language (I selected english for first subtitles and arabic for the second one)
the problem isn't that arabic is an "exotic" language :) but when mkvmagic mux subs i will pass the ISO639-2 code ( "ara" for Arabic ) and i suppose will be something wrong...
i need a fragment of a vob to analyze the problem
thanks again
BHH
BigDid
3rd August 2006, 07:16
Hi BHH,
Wanted to try (finally) your 1.31. From already ripped or rip in MkvMagic, the DGIndex launch (1.48) but do not process. Here is the partial log:
MkvMagic 1.31 - - - - - START JOBS - - - - - - - - - - - - -
Choosed input file: NONE
Choosed output dir: F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\
Choosed Container type: AVI
Choosed Encoder: 2 Pass Full Automatic XviD
No DVDFabdcrypter.exe found in D:\DVD_DIVX\MkvMagic_1.31\exe\vsrip\
No Mplayer.exe DVDFabdcrypter.exe found in D:\DVD_DIVX\MkvMagic_1.31\exe\encoder\
No Mencoder.exe found in D:\DVD_DIVX\MkvMagic_1.31\exe\encoder\
Starting ripping from H:\VIDEO_TS\ to F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\
Using DVDDecrypter for Ripping
Finished Ripping
Starting Indexing
Dgindex CMD: D:\DVD_DIVX\MkvMagic_1.31\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\dvd\video_ts\_1.vob] -OF=[F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\movie] -exit -MINIMIZE
Edit: I just opened the Vob manually and Dgindex started; MkvM did continue after Dgindex.
Any clues?
Beside that I appreciate having the log open, :thanks:
Did
buzzqw
3rd August 2006, 10:02
Dgindex CMD: D:\DVD_DIVX\MkvMagic_1.31\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\dvd\video_ts\_1.vob] -OF=[F:\DVD\NOTORIOUS_BIG_VIDEOS_DIRTY\movie] -exit -MINIMIZE
got it, name of vob-set is wrong... could be due to the name of ifo file...
no prob. i already fixed it ! in next update will be correct
thanks for bug-hunting !
BHH
BigDid
4th August 2006, 22:46
...no prob. i already fixed it ! in next update will be correct...
While on the subject of updates, could you make the choices (all or usual or 1st screen) persistent if not too much work?
Ie: I use avi instead of mkv, always same DVD drive, removegrain(mode=5)as default filter etc... unless there is a save settings somewhere?
Encoded just 1 short movie atm so I'm sure missing a lot of things :o
Did
buzzqw
9th August 2006, 10:26
Changelog
1.33
Fixed bug on DVD input that cause dgindex to spot if ifo file name is malformed (or different from vobset)
If a second encode is lauched after the first one the log window will report only the second log
Update log file (for better debug)
Added Save Default button. If you click this button mkvmagic will save an mkvmagic.ini with main parameter. If mkvmagic.ini is present when mkvmagic.exe is loading the this file will be parsed and loaded
Fixed NeroAACEnc "-If" on second audio track, thanks to Koriyama Naohiro for bug hunting !
Added a sanity check for audio looping. If audio track isn't create the program will not stop trying to convert and continue with other process (fell free to suggest better solutions)
Update Tutorial
1.32
Update deinterlacer routines. Now using BAutoDeint by Berrinam ! My kudos to Berrinam !! Using this application i will able to analyze a precius log and then argue better deinterlace routines
If source is then this routines is applyed
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()
PLEASE FEEL FREE TO SUGGEST BETTER ROUTINES
Added a check button at side fo Deinterlacer that if checked allow building of VFR MKV file is source in unknow
Added the possibility to add a custom string to xvid command line encoder
When converting mpeg4 (avi/dv/mkv/...) file to dvd audio will be converted using or directshowsource or avisource (before was only directshowsource)
Correct deinterlacer routines in AVSOptimizer
turqmr2
9th August 2006, 21:38
I use the same settings every time to transcode my DVDs from DVD Files on hard disk:
MKV format
1/3 DVD-R
Original Audio
No Subtitles
LancosResize Filter
2 Pass Full Automatic XVID
<edit>Just tried 1.33 and I didn't get this error</edit>
I get this error everytime with VLC on Windows, but it always plays fine and doesn't return if I hit "Clear"
Unrecognized format for 'C:\temp\Sixth Sense\movie t01 3_2ch 384kbps delay 42ms_log.txt'
In addition, I'm having trouble with the audio/video sync with certain DVDs. "The Sixth Sense" is definitely one and at least one of the "Matrix" DVDs. I thought this might be because of more than one angle, so I used CloneDVD and reencoded the movie with only one angle, but it is still out of sync.
Also, I should mention this is my first post and thanks for this great program!
buzzqw
10th August 2006, 08:16
I get this error everytime with VLC on Windows, but it always plays fine and doesn't return if I hit "Clear"
Quote:Unrecognized format for 'C:\temp\Sixth Sense\movie t01 3_2ch 384kbps delay 42ms_log.txt'
this is a playeback issue... not even related to mkvmagic...
Anyway this file (.log) is the log of delaycut, a nice application by Jsoto that mkvmagic use to correct delay of audio files. Read it (if any interest) and then remove it.
The ripping part is demanded to dvddecrypter or dvdfabdecrypter or to user. I don't know how you ripped the movie.
If the ripping part isn't done in right way (and mkvmagic DON'T KNOW if dvdd or dvdfab have done a good job) audio desynch can appen
TIP: use RIPIT4ME, an awesome ripping machine !
thanks for using my application !
feel free to post any suggestion.
another tip: in mkvmagic 1.33 i have added the "Save Defaul" button. if you configure container (mkv), audio, resize filter, mb size... this will be loaded an next restart of mkvmagic
best regards
BHH
harycover
10th August 2006, 12:04
Hi buzz :-)
A small bug I think I've found in this new version :
-Dgindex won't work if output folder is on a different drive then the input one (changed output folder to the same as input one and everything worked fine) In my case the input folder was "f:/movie" and the output was "c:/movie" (both on hard drive)
Cheers
buzzqw
10th August 2006, 15:21
:( i cannot replicate the bug...
i tested with source folder in d:\temp and output c:\temp, with mkvmagic installed in c:\programmi\mkvmagic
and
source folder in c:\temp and output d:\temp and source in d:\application\mkvmagic...
can you please post the log ?
Thanks !!
BHH
turqmr2
17th August 2006, 15:51
In the last session, dgIndex (just like BigDid) didn't start working so I opened the files and it continued like normal.
I am also hoping to get another idea for my random sync problem. I ripped this with Ripit4me and it produced the same result.
10:56:11 MkvMagic 1.33 - - - - - START JOBS - - - - - - - - - - - - -
10:56:11 Choosed input file: C:\temp\MATRIX_REVOLUTIONS\VTS_01_0.IFO
10:56:11 Choosed output dir: C:\temp\
10:56:11 Choosed Container type: MKV
10:56:11 Choosed Size: 1/4 DVD-R
10:56:11 Choosed Slice: 1
10:56:11 Choosed Encoder: X264.exe Command Line
10:56:11 Choosed Resizer: LanczosResize
10:56:11 Choosed Max Width: 720
10:56:11 Choosed Width: Automatic
10:56:11 Choosed Filters: NONE NONE Write your filter configuration
10:56:11 Audio Track (1): English (AC3 6ch, 0xBD 0x80) [0,1,2]
10:56:11 Audio Codec (1): OGG
10:56:11 Audio Bitrate (1): Quality 4
10:56:11 Audio Track (2): NONE
10:56:11 Audio Codec (2): MP3
10:56:11 Audio Bitrate (2): 128
10:56:11 Choosed Width: Automatic
10:56:12 Ifo analyzed: VTS_01_0.IFO
10:56:12 VobSet analyzed: C:\temp\VTS_01_1.vob
10:56:12 Starting Indexing
10:56:12 Dgindex CMD: C:\Program Files\MkvMagic\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[C:\temp\VTS_01_1.vob] -OF=[C:\temp\movie] -exit -MINIMIZE
11:04:55 Finished indexing
11:04:55 Starting fixing audio delay on track number 1
11:04:55 DelayCut CMD: C:\Program Files\MkvMagic\exe\dgindex\Delaycut.exe -auto -out "C:\temp\fixed1.ac3" "C:\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
11:05:34 Finished fixing audio delay
11:05:34 Original Audio Size: 434316288 -1
11:05:34 Starting audio conversion to Ogg with Quality 4 quality
11:11:50 Finished conversion to Ogg with Quality 4 quality
11:11:50 ForcedFilm applied: 99.900002% FILM found
11:12:57 Number of Frames: 185964
11:12:57 Framerate: 23.976025
11:12:57 Movie lenght in Seconds: 7757
11:12:57 Movie Width: 720
11:12:57 Movie Height: 480
11:12:57 Starting Autosize procedure
11:12:57 Compression Test CRF: 18
11:12:58 X264 Compression String: --crf 18 --ref 16 --mixed-refs --bframes 3 --b-pyramid --filter -2:-1 --subme 7 --b-rdo --weightb --trellis 2 --analyse all --8x8dct --bime --direct auto --me umh --no-fast-pskip --sar 1:1 --progress --no-psnr --output "C:\temp\resmovie.mp4" "C:\temp\resmovie.avs"
12:14:36 Finished Autosize procedure
12:14:36 Make a test against Width: 720
12:14:36 Tested total movie: 5%
12:14:36 Movie Width Computed: 800
12:14:36 Resolution Formula: 720*(((1100*1024*1024-102555093-0-1/2)*0.99)/(73595329*13/(5/5)))
12:14:36 Computed resolution bigger than maximum. Setting Width to 720
12:14:36 Final Size: 1100MB * 1
12:14:36 NO filter loaded
12:14:36 Aspect Ratio: 16:9
12:14:36 Bitrate calculated: 1071
12:14:36 X264 based encoding on: "HQ-Insane.xml"
12:14:36 Command Line 1' Pass X264: C:\Program Files\MkvMagic\exe\encoder\x264.exe --pass 1 --bitrate 1071 --stats "C:\temp\.stats" --ref 0 --bframes 3 --no-b-adapt --b-pyramid --filter -2:-1 --subme 0 --b-rdo --weightb --trellis 2 --analyse none --direct auto --me dia --sar 1:1 --progress --no-psnr --output NUL "C:\temp\movie.avs"
14:19:11 Command Line 2' Pass X264: C:\Program Files\MkvMagic\exe\encoder\x264.exe --pass 2 --bitrate 1071 --stats "C:\temp\.stats" --ref 16 --mixed-refs --bframes 3 --b-pyramid --filter -2:-1 --subme 7 --b-rdo --weightb --trellis 2 --analyse all --8x8dct --bime --no-fast-pskip --direct auto --me umh --sar 1:1 --progress --no-psnr --output "C:\temp\movie.mp4" "C:\temp\movie.avs"
07:16:18 Average encoding FPS: 2.714724
07:16:18 Computed AR: 2.350000
07:16:18 GordianKnot AR: 2.370370
07:16:18 DAR Error %: -5.468749
07:16:18 Starting MKV muxing
07:16:18 MKV Muxing String: C:\Program Files\MkvMagic\exe\matroska\mkvmerge.exe -o "C:\temp\movie.mkv" --aspect-ratio 1:2.350000 --chapters "C:\Program Files\MkvMagic\exe\chapters.txt" "C:\temp\movie.mp4" --language 0:eng "C:\temp\audio.ogg"
07:18:23 Finished MKV muxing
07:18:23
07:18:23 Script AutoCrop.log
07:18:23
07:18:23 Crop(0,58,720,360)
07:18:23
07:18:23 Script Resmovie.avs
07:18:23
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\AddGrain.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\autocrop.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\aWarpSharp.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\blockbuster.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\cnr2.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\ColorMatrix.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Convolution3D.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\DctFilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\decomb.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Deen.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\degrainmedian.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\DGDecode.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\EEDI2.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\fft3dfilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\FluxSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\frfun7.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\gradfun2db.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\hqdn3d.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\kerneldeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\LeakKernelDeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MaskTools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MipSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Motion_12Dec05.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MSharpen.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\mt_masktools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MVTools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\NicAudio.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\RemoveGrain.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\SimpleResize.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TBilateral.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TDeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TIVTC.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TomsMoComp.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TTempSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\UnDot.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\UnFilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\warpsharp.dll")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\HybridFuPP.avsi")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\LimitedSharpen.avs")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\MultiSwar.avs")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\spresso.avs")
07:18:23 movie = mpeg2source("C:\temp\movie.d2v")
07:18:23 function getOrder(clip c) {
07:18:23 order = GetParity(c) ? 1 : 0
07:18:23 Return order }
07:18:23 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
07:18:23 fixed_aspect = 1.185185
07:18:23 c_width = width(cropclip)
07:18:23 c_height = Round(height(cropclip) / fixed_aspect)
07:18:23 input_par = float(float(c_width)/float(c_height))
07:18:23 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
07:18:23 out_width = 720
07:18:23 out_height = Round(float(out_width) / input_par)
07:18:23 hmod = out_height - (floor(out_height / 16 ) * 16)
07:18:23 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
07:18:23 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
07:18:23 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
07:18:23 global out_width = out_width
07:18:23 global out_height = out_height
07:18:23 LanczosResize(out_width,out_height)
07:18:23 function Comptest(clip c, float percent)
07:18:23 {
07:18:23 frange=floor(14./(percent/100.))
07:18:23 Return SelectRangeEvery(c, frange, 14)
07:18:23 }
07:18:23 Comptest(5)
07:18:23
07:18:23 Script movie.avs
07:18:23
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\AddGrain.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\autocrop.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\aWarpSharp.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\blockbuster.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\cnr2.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\ColorMatrix.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Convolution3D.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\DctFilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\decomb.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Deen.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\degrainmedian.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\DGDecode.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\EEDI2.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\fft3dfilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\FluxSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\frfun7.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\gradfun2db.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\hqdn3d.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\kerneldeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\LeakKernelDeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MaskTools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MipSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\Motion_12Dec05.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MSharpen.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\mt_masktools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\MVTools.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\NicAudio.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\RemoveGrain.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\SimpleResize.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TBilateral.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TDeint.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TIVTC.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TomsMoComp.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\TTempSmooth.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\UnDot.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\UnFilter.dll")
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\warpsharp.dll")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\HybridFuPP.avsi")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\LimitedSharpen.avs")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\MultiSwar.avs")
07:18:23 Import("C:\Program Files\MkvMagic\exe\filter\spresso.avs")
07:18:23 movie = mpeg2source("C:\temp\movie.d2v")
07:18:23 function getOrder(clip c) {
07:18:23 order = GetParity(c) ? 1 : 0
07:18:23 Return order }
07:18:23 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
07:18:23 fixed_aspect = 1.185185
07:18:23 c_width = width(cropclip)
07:18:23 c_height = Round(height(cropclip) / fixed_aspect)
07:18:23 input_par = float(float(c_width)/float(c_height))
07:18:23 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
07:18:23 out_width = 720
07:18:23 out_height = Round(float(out_width) / input_par)
07:18:23 hmod = out_height - (floor(out_height / 16 ) * 16)
07:18:23 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
07:18:23 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
07:18:23 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
07:18:23 global out_width = out_width
07:18:23 global out_height = out_height
07:18:23 #@
07:18:23 LanczosResize(out_width,out_height)
07:18:23 #@
07:18:23
07:18:23 Script mkvmaudio.avs
07:18:23
07:18:23 LoadPlugin("C:\Program Files\MkvMagic\exe\filter\NicAudio.dll")
07:18:23 NicAC3Source("C:\temp\fixed1.ac3")
07:18:23 EnsureVBRMP3Sync()
07:18:23 ConvertAudioToFloat()
07:18:23 #Applyed Stereo downmixing routines
07:18:23 a = last
07:18:23 fl = GetChannel(a, 1)
07:18:23 fr = GetChannel(a, 2)
07:18:23 c = GetChannel(a, 3)
07:18:23 lfe = GetChannel(a, 4)
07:18:23 sl = GetChannel(a, 5)
07:18:23 sr = GetChannel(a, 6)
07:18:23 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
07:18:23 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
07:18:23 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
07:18:23 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
07:18:23 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
07:18:23 Return MergeChannels(l, r)
07:18:23 Normalize()
07:18:23
07:18:23 Script mkvmaudio.bat
07:18:23
07:18:23 "C:\Program Files\MkvMagic\exe\besweet\bepipe.exe" --script "Import(^C:\temp\mkvmaudio.avs^)" | "C:\Program Files\MkvMagic\exe\besweet\oggenc2.exe" -q 4 - -o "C:\temp\audio.ogg"
07:18:23
07:18:23 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -
tarsier
21st August 2006, 10:06
Hi all
I'm a Linux user like to try MkvMagic. Could you guys please explain how to install MkvMagic on Windows XP. I like to rip DVDs to video: Xvid, audio: Ogg and container: Matroska.
Many thanks in advance.
Tarsier
buzzqw
25th August 2006, 10:36
@turqmr2 and @BigDid
i think i had resolved... please download www.64k.it/andres/data/mkvmagic/MkvMagic-1.34a.exe
thanks again and sorry for late answer but was on holiday in china for last 15 days
BHH
tarsier
26th August 2006, 13:32
I tired the MkvMagic-1.34a on Windows XP home. It crashes with "MkvMagic-1.34a.exe has encountered a problem and needs to close"
Tarsier
buzzqw
26th August 2006, 15:43
@tarsier
:confused: ... first time a user report a crash... could be the theme support... could you try this build ? i had disabled xp theme support ?
http://www.64k.it/andres/data/mkvmag...agic-1.34b.exe
have you installed avisynth 2.56 and xvid ?
BHH
dalihrp
27th August 2006, 03:52
Hi,
I've encoded 2 movie with mkvmagic, dvd ->XvID in MKV. Produce great results, thanks. But both came out without subs, I notice in muxing process seems just failed. Is this fixed in new update?
tarsier
27th August 2006, 05:25
It's still the same story, MkvMagic-1.34b crashes with the same error message as MkvMagic-1.34a. Sorry, there is no other info to send you to narrow down the error.
Please release the md5sum or sha1sum so that we know there is no download error.
My copy of Windows is just installed. Nothing was downloaded from Microsoft or others as Internet for Windows is not enabled. I trasfer files to Windows from Linux partition.
That's why I mentioned in my first post, how to install? It's important to a person who has little knowledge in Microsoft Windows. MkvMagic-1.34b is in C:\downloads\. Is this a valid folder for binary execution in Windows?
Where does Windows logs error messages so that I can send you more info?
We would be very pleased if you could consider to make your MkvMagic cross-platform. I know its not easy. The QT (www.trolltech.com/) is a very good cross-platform (Linux, Windows, Mac) C++ GUI tool kit free to use for GPL apps.
buzzqw
27th August 2006, 09:43
@tarsier
mkvmagic.exe isn't enough for running mpeg2-4 conversion. You need all the package.
Please download mkvmagic from https://sourceforge.net/projects/mkvmagic/ , you need this http://prdownloads.sourceforge.net/mkvmagic/MkvMagic_1.33.7z?download
is also needed to install AviSynth 2.56 (http://prdownloads.sourceforge.net/avisynth2/AviSynth_220406.exe?download), a recent xvid build (http://www.koepi.org/XviD-1.2.-127-25022006.exe), and obviously lot's of hd space.
Can be also recommed to install ffdshow, mediaplayer classic and haali media splitter.
After unpacking mvmagic_1.33.7z , put mkvmagic-1.34b.exe in mkvmagic folder and launch it.
About cross-compiling... i am a newby at programming and my knowledge with linux is limited (even if i worked with SUN platform) so please be patient as this will lend a mayor rewrite of application.
For linux there are very mature and fuctionally application already, just look al linux section of this forum.
best regards and post your problem !
BHH
tarsier
28th August 2006, 09:28
buzzqw, thanks it worked. It was a dependencies issue.
I tried yours because I tried Mencoder on Linux to rip DVD into Xvid, Ogg/FLAC and Matroska. I always get picture very clearly but sound is out of sync. MkvMagic does not have such a problem. Ideas and hints are most welcomed :) Thank you again.
buzzqw
28th August 2006, 11:32
@dalihrp
can you post the log ?
also: is subs extracted anyway ?
thanks
dalihrp
28th August 2006, 11:52
@dalihrp
can you post the log ?
also: is subs extracted anyway ?
thanks
I have erase the log .
Yes the subs get extracted. but seems it didn't mux in final mkv. Anyone else experience this, or just me ? :p
Another thing , when I try with MP4 container and AAC with latest NEro AAC, The process just stop when Nero begining transcoding the AC3 source :confused:
yes the log will be very useful, so i will try again with latest version.
I also wonder, when i use MP4, what subtitle format that mkvmagic use? i don't see where i can put my SRT or mkv use vobsub like Nero digital?
turqmr2
29th August 2006, 04:07
@turqmr2 and @BigDid
i think i had resolved... please download www.64k.it/andres/data/mkvmagic/MkvMagic-1.34a.exe
thanks again and sorry for late answer but was on holiday in china for last 15 days
BHH
I've tried both a and b and it's still not working right for me. I have a feeling that it is just my computer, though, because mine was working when BigDid's wasn't. I have no idea what changed to make mine go, so I am no help to you.
On another note, it might be nice to have a new error in the log: "Hey dumbass, you don't have enough HD space!" :o
buzzqw
29th August 2006, 10:16
the old error in ifo input (1.33) could be "circunvented" or better ... bypassed by choosing , where you have laying video_ts folder, as destination folder
about hd space... mmmhh, i will work on it !
BHH
dalihrp
30th August 2006, 01:41
Another thing , when I try with MP4 container and AAC with latest NEro AAC, The process just stop when Nero begining transcoding the AC3 source :confused:
Sorry My mistake,
because it stay quite a while at 0% , I Thought it's stop. It works now.
buzzqw
30th August 2006, 14:02
@dalihrp
it is caused by Normalize(), is used to gain volume.
it can be disabled in extra panel, under audio section
I also wonder, when i use MP4, what subtitle format that mkvmagic use? i don't see where i can put my SRT or mkv use vobsub like Nero digital?
latest mp4box can mux also .sub/.idx !
BHH
dalihrp
6th September 2006, 14:37
How to have a burnt-in force subs with mkvmagic?
killerhex
27th October 2006, 19:10
can someone reupload 1.34b
buzzqw
27th October 2006, 21:10
here http://www.64k.it/andres/data/mkvmagic/MkvMagic-1.34b.exe
BHH
cristox
25th November 2006, 12:55
Are there any news about MKVmagic?
buzzqw
25th November 2006, 14:03
well... there no news..
i am focused on automkv, but as you know mkvmagic is opensource so is freely downloadable the source code.
have you any suggestion / bugs about mkvmagic ?
BHH
Eles10
2nd January 2007, 08:38
Hey. I really like your GUI.
I used to create 1:1 (only cropped) DVD backups, pls help me with the right settings.
Here it is, with the important part of log and final output in MP4.
Where is the mistake?
No crop at all and I dont know why.
http://img101.imageshack.us/img101/3225/movieov3.th.jpg (http://img101.imageshack.us/my.php?image=movieov3.jpg)
Thanks :)
buzzqw
2nd January 2007, 10:13
i suggest to use the new AutoMkV !
it is more stable and offer both an "AutoCrop Only" (in width) or Resize NONE
BHH
Eles10
2nd January 2007, 10:37
Cool, thanks...
delacroixp
10th March 2007, 15:13
I've just started using AutoMKV to encode the 'Band of Brothers' series into Mkv Avi... using constant-quality quantizer. After much experimentation it dawned on me that the modified-quantizer is not working in batch-mode. Batching is quite important since I run the series through at, let say, Q24 and then again if the result is too big/small for a single 4.5GB DVD. I can also modify the resolution up or down for best results.
I encoded the entire series with Dr DivX 1 & VirtualDub many years ago (also onto 1 DVD) and again with Dr DivX 2 more recently ... I'm eager to compare the results with H264 and MP4 audio.
:thanks:
Pascal
buzzqw
10th March 2007, 16:15
@delacroixp
wrong thread ?
mkvmagic is a ended project.
i suppose you mean automkv, so this post is for automkv...
anyway mkvmagic doesn't support batch or queue
about your issue i can suggest to modify the x264 CRF profile ( ConstantQuality-CRF.xml ) the <BitrateQuantizer>18</BitrateQuantizer> to your value
i will look to this issue
thanks
BHH
delacroixp
10th March 2007, 20:32
@ buzzqw
Well I'm using AutoMKV though I've downloaded MkvMagic which looks really gr8... I'm quite happy with AutoMKV 0.76 though I do need the batching.
I do change the quantizer from the default 18 to 24, or even 16 (RAW Avi) but if I enqueue and run the queue it can't remember the 24 (even when I tick the 'Advanced Profile Editing' box and the saved xml file has the correct quantizer).
I should reiterate that 'modified quantizers' (other than 18) work flawlessly in single, direct encodes and the results are truly awesome.
wierd
:thanks:
Pascal
delacroixp
19th March 2007, 18:17
So I suppose MkvMagic is still the Real Deal... and the best H264 GUI...
:) :D :eek:
Pascal
salman1
19th March 2007, 22:47
i can't unpack this file and this is not in rar file
movmasty
30th April 2007, 06:06
Hi, in the wide resize section of Mkv i dont see the Bell filter,
i'm using it with good results for pics, so would be nice to have for movies too,
or maybe some filter that i dont know gives same results of Bell?(removing noise but sharper than bilinear)
delacroixp
5th May 2007, 13:43
Hi, in the wide resize section of Mkv i dont see the Bell filter,
i'm using it with good results for pics, so would be nice to have for movies too,
or maybe some filter that i dont know gives same results of Bell?(removing noise but sharper than bilinear)
Bells are all good and well but I use LimitedSharpenFaster and RemoveGrain(mode=2) (sse2) for all my up-scaling and oversampling encodes...
in a quest for true absolute quality with H264...
LoL
:):D:eek:
Pascal
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.