View Full Version : MkvMagic 1.33 (DVD/AVI/IFO/D2V/AVS to DVD/Mkv/Mp4/Avi All in One, GPL)
buzzqw
14th April 2006, 12: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, 15:18
Perfect :)
Thank you.
3dsnar
18th April 2006, 11: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, 12: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, 14: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, 02: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, 05: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, 08: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, 13: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, 10: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, 19: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, 08: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, 16: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, 19: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, 19: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, 09: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, 12: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, 09:37
how can I make manual crop without preview?
buzzqw
20th May 2006, 13: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, 15: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, 09: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, 17: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, 17: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
30th June 2006, 23: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, 16: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, 17: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, 17: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, 19: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, 22: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, 10: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, 14: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, 22: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, 09: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, 06: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, 09: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, 21: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, 09: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, 20: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, 07: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, 11: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, 14: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, 14: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 - - - - - - - - - - - -
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.