Log in

View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92

buzzqw
14th June 2007, 16:12
here is the problem

16:22:57 DirectShowSource("D:\rippen\temp\fixed1.ac3")

why directshowshow source ?

is checked "Use DirectShowSource for Audio" on advanced settings ?

BHH

tha_reaper
14th June 2007, 18:36
halleluja! it works!
thanks a lot, that was the golden advice, although i still dont know how the hell that box became checked since i never touched it AFAIK.

Im going to experiment with the bitrates/quality now, because my AC3 is 422 MB, and 448 bitrate (over the 6 channels)
now im trying to find out what the best is for the AAC because when i first tried ND AAC quality .50, i got a file of 530 MB, and that not what i want (the bitrate was absurdly high).
Im now trying 2 streams in CT AAC+ (heard it was better then ND): 32 and 64 kbps. Going to check if the sound quality is still good.


EDIT: somehow i still have some troubles with the CT AAC. the encoding of those always stop when the file is around 5 MB (thats about 5-10 minutes of sound while the movie is 2 hours and 15 minutes)

Prospero424
15th June 2007, 04:50
I'd like to make a feature request.

I'm seeing h.264 transport streams (odd as they are) more and more often these days as PVRs and such adopt the format, is it possible for AutoMKV to handle these?

As it is now, I get the error message "no video sequence header found" followed by "no data, check your PIDS" immediately after starting the transcode.

buzzqw
15th June 2007, 07:14
@tha_reaper

... for CCT AAC encoding the audio is first pre processed to wav then encoded to aac
the preprocessing will bring a very huge file wav (for 5.1 output)... make sure you have to spare 5/6GB hd

@Prospero424

in advanced options check both "Use DirectShowSource for Video" and "Use directshowsource for audio"

"should" solve the problem

BHH

tha_reaper
15th June 2007, 10:20
buzzqw, i get a couple of audio wav file of 2.8 GB in size. I have 30 GB free space on my harddrive, so that cant be the problem...

sorry by the way that i have to keep bothering you with this stupid problems

EDIT: i updated to 0.85 (was using 0.84) but now i some stupid new symptom came... After the fixing audio delay phase, he checks the use directshowsource box all by himself everytime...

buzzqw
15th June 2007, 12:18
EDIT: i updated to 0.85 (was using 0.84) but now i some stupid new symptom came... After the fixing audio delay phase, he checks the use directshowsource box all by himself everytime...

delete automkv.ini ....


buzzqw, i get a couple of audio wav file of 2.8 GB in size. I have 30 GB free space on my harddrive, so that cant be the problem...

i can confirm the problem... seems a bug of piping from ffmpeg to cct encoder...

i will look for a solution... but now use nero aac

BHH

artisticcheese
15th June 2007, 14:56
Hi,

It would be invaliable if features of RipIt4Me would be added to current version of AutoMKV to remove copy protection from DVDs. Right now I have to use RipIt4Me first and then feed results to AutoMKV, it would be great to remove that extra step if possible.

tha_reaper
15th June 2007, 15:00
delete automkv.ini ....

already done that, but i grabbed a fresh install of 0.85 and that works.



i can confirm the problem... seems a bug of piping from ffmpeg to cct encoder...

i will look for a solution... but now use nero aac

BHH
ok, good that the problem isnt just with me (not for you of course, means more work)

Prospero424
15th June 2007, 15:30
in advanced options check both "Use DirectShowSource for Video" and "Use directshowsource for audio"

"should" solve the problem

That seems to be working fine, and I didn't even have to demux the TS beforehand like I thought I would!

Thanks again.

buzzqw
15th June 2007, 16:33
@Prospero424

:thanks: , and thanks to AviSynth! :)

BHH

Espio
16th June 2007, 01:15
How can I add borders to the top and botton of a video? I want to make a 16:9 video fit a 4:3 aspect ratio. I tried negative values in the cropping, but AviSynth just gave me an error message. If it's not possible in AutoMKV, is there a command for AviSynth that will do it?

Edit: I made an avs script to add borders, but there's no audio and I don't know how to output a file (mp4 in my case) with the borders. After that I could just remux the audio in and everything would be fine, but some way to add borders in AutoMKV would make this much easier.

vasili69
16th June 2007, 02:56
@buzzqw

i just tried cropping a 15 second long mpg file (from tv capture card) but it did not work. when i encoded the file without the cropping, it worked fine. i have uploaded the log file at:

http://rapidshare.com/files/37451633/Running_out_test.mpg.log

am i doing something wrong? (btw i noticed that no figures where present when the x264 codec was displayed)
i can u/l the video clip if required (8mb)

also regarding my previous question (#2273 page 114). if say 2 years from now, i wish to see what format the file was encoded to, i will not be able to tell that it is in x264, as it simply displays 'MP4' (in 'the KMplayer') even though i use the mkv container. is there something wrong with The KMplayer?

buzzqw
16th June 2007, 08:23
@Espio

in advanced settings use Last Line AVS Script for AddBorders

@vasili69

i suppose you don't have used "Check Values" in manual crop...
12:29:42 crop(96,77,-100,-59)

these crops aren't allowed in avisynth... only mod2 or better /mod4,mod8,mod16) like 96,80,100,60 ...

is there something wrong with The KMplayer?
i use avinaptic for analysis, even if latest kmplayer use mediainfo... i prefere avinaptic for mkv/x264 files

BHH

paranoid87
16th June 2007, 17:06
i myself prefer avinaptic...its much more reliable..

buzzqw
17th June 2007, 14:43
the problem with cct plus isn't so easy

basically it will fuction well only if used stereo, on long movie if used with 5.1 channesl the pipe from ffmpeg to cct encoder simply crash

i don't know if is a problem of cct encoder or ffmpeg but i cannot release a know broken fuction

so i have 3 options

1) use cct aac only for stereo
2) use cct aac only for stereo and use faac for 5.1
3) drop cct aac and use only faac encoder (from mono to xx channels)

faac will accept pipe and work well with soundout plugin

i can even use only ffmpeg.exe without using at all faac.exe... but i prefer to not depends on ffmpeg for encoding (maybe one time i will made AutoMen or AutoFF :) )

one more information: i cannot use cct encoder on wav file bigger then 2gb, and if i use wave extented, cct encoder will not recognize those files

any suggestions ?

BHH

vorob
17th June 2007, 19:39
I can't see preview http://img404.imageshack.us/img404/9959/untitledft2.th.jpg (http://img404.imageshack.us/img404/9959/untitledft2.jpg)

buzzqw
17th June 2007, 19:59
@vorob

what is your input file ?

remember also to upgrade to avisynth 2.57, install ffdshow tryout and xvid (koepi build)

-------------

about cct and faac

seems some issue between faac.exe and soundout, expecially on long audio tracks( >2h) when normalize is in action..

i must investigate..

BHH

Espio
17th June 2007, 22:36
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?

TheRyuu
18th June 2007, 06:47
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?

I always considered Spline36 to be the best. There's this while thread on Lanczos vs. Spline36 (which I lost the link to, just search for it if you really wanna see it).
Basically (from their conclusion, and the fact that they could never figure out the "spline coefficients" :p (don't worry about that)), Spline36 is almost exactly the same as Lanczos resize, only it has less ringing (which is good). So I always use Spline36 for downsizing or upsizing (BTW, DVD resolution is 720x480, remember if your taking it from a DVD, you might have to crop off a little bit off the edge).

Best matrix, just leave it on "Auto" if your using xvid or "none" if your using x264. When your using Xvid for some reason it likes to default to the "Sharktooth EQM v3ULR". No idea why since it almost exclusively using the "Sharktooth EQM v3LR" when it's on Auto (unless this was changed with 0.85). At any rate, Auto for xvid, None for x264.
As a word of warning, using the wrong custom matrix can introduce artifacts into the video (and can also make it come in undersize). Bad stuff. :)

Also, make sure to select the right kind of deinterlacer if it is an interlaced DVD moive. The "auto detection" doesn't work so hot sometimes. Can't really detect when it needs to use IVTC (decimate), but don't worry about this unless the source is anime (since thats really the only thing that uses it). Just use the auto-detect for interlacing, it should work.

Anything else?? :p :)

buzzqw
18th June 2007, 07:25
thanks wizboy11 !!

just a note for a downscaling of half resolution.. even a bilinearresize is ok... i doubt that a 320*240 will be ever view in HDTV 40'' ...
i suppose that Espio will use a "portable device" for playing and so a bilinear or a bicubic (standard settings) is ok

about matrix...
the matrix is selected basing on CT test (for XviD)...
If CT>=10 And CT<50 -> Sharktooth's EQM v3ULR.cqm
If CT >=50 And CT<85 ->Jawor's 1CD Quantization Matrix.cqm
If CT >=85 And CT<95 -> NONE
If CT >=95 And CT<180 -> Sharktooth's EQM v3HR.cqm
If CT >=180 And CT<250 ->Didees SixOfNine-HVS.cqm
If CT >=250 And CT<350 ->Fox Home Entertainment.cqm
If CT >=350 And CT<450 ->Sharktooth's EQM v3EHR.cqm
If CT >=450 ->Sharktooth's EQM v3UHR.cqm

BHH

vgiozo
18th June 2007, 10:47
I would like to ask what is, to your mind, the best filter to use when encoding a tv-recorded video.

Next to that more general question I have a more specific one...on some channels, whose reception is mediocre, I get certain "waves" of coloring...
Which filter should I use to make them less apparent?

Thank you in advance...

delacroixp
18th June 2007, 11:47
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?
So I always use Spline36 for downsizing or upsizing (BTW, DVD resolution is 720x480, remember if your taking it from a DVD, you might have to crop off a little bit off the edge).

Best matrix, just leave it on "Auto" if your using xvid or "none" if your using x264.

It would be 720x480 if NTSC and 720x576 if PAL...
However, I have come across DVDs where the standard resolution is 640x480 (probably TV recordings).
Sometimes 640x480 TV movies are upscaled to 720xRes anamorphic which can look pretty nasty at times...

Either way, Spline36 and auto sounds good to me...


:):D:eek:
Pascal

buzzqw
18th June 2007, 12:26
@vgiozo

as forum rules don't ask what is best

look here for some rainbow hints http://forum.doom9.org/showthread.php?t=122835

BHH

buzzqw
18th June 2007, 16:47
i should have resolved CCT AAC audio problem

decompressing the source audio file via ffmpeg to wav AND piping (without first creating temporary wav file) to enc_aac seems working (encoded 3 full audio movie)

BHH

Espio
18th June 2007, 23:14
@wizboy11

Thank you very much for the help, I'm getting an mp4 player and wanted to get the best quality when downsizing. I know about DVD resolution and actually asked about adding borders a few posts up (thanks buzzqw), so I'm all ready to go when it ships here.

dansus
22nd June 2007, 00:26
@DIEGO7-5
thanks

@dansus
it's a bug of delaycut

it is often present in when working TS files.

in that case you must specify to NOT use DelayCut...

after loading your file go in advanced settings and check "Use projectX for TS files", the "Allow use of projectx" will be un-checked

then.. retry encoding!

BHH

Thanks, couldnt see an option to use project x? edit: found it, doh.

Also im encoding mpeg2 cap card rips into mp4, its coming out with saturated colours (mainly reds) and the audio is always out of synch, any suggestions?

thanks.

delacroixp
22nd June 2007, 11:04
The DAR automatic signalling for MKV files is working very nicely... I'm impressed !!!
I'm only doing upscale, oversampling encodes (sometimes, by up to 200% by width) with a variety of odd cropping... but AutoMKV has responded very favourably...
It certainly negates the necessity to use an aspect-ratio calculator and I'm sure that even SeeMoreDigital would be proud of your accomplishments...

We look forward with anticipation and excitement to the day that AutoMKV can also support MP4a surround... be it 5.1, 7.1 or better...


:):D:eek:
Pascal

buzzqw
22nd June 2007, 14:29
@dansus

Also im encoding mpeg2 cap card rips into mp4, its coming out with saturated colours (mainly reds) and the audio is always out of synch, any suggestions?

about colors... try playing with a different player like vlc or media player classic + ffdshow

also, is colormatrix used in script?

about out of synch.. i suppose there is some problem with the stream.. try using a stream fixer (like one in videoredo or mpeg2repair http://homepages.roadrunner.com/mwilczyn/mpeg2repair/ )

@delacroixp

thanks!, but there are surely errors around...

BHH

zacoz
25th June 2007, 12:26
@buzzqw
Been trying out AutoMKV over last few days, and finding it very simple to use right out of the box. Looks like it may be a stayer for me. :)

I'm not normally worried about adding much filtering (due to minimal knowledge on the subject) but really needing to add something to clean up a particular old TV Series source that I have. It contains some rather annoying noisy flickering (probably not the correct terms sorry) - especially noticable if viewing full screen.

4 second mpg video sample can be found here: http://thermal-ions.net/files/clip105.zip.

I've tried out a number of the stock filters within AutoMKV, and even chained a couple together but don't seem to be having much luck. Can anyone possibly at least point me in the direction of a filter or two I should be looking at to help with this?

Thanks.............ZacOz

TheRyuu
25th June 2007, 22:31
Try this (copy and paste it into the filters box):
undot().fft3dfilter().fft3dfilter().LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=100, undershoot=1, overshoot=1)

I'm not sure if you need the converttoyv12() in there (not sure if automkv automatically adds it in for your, but better keep it there, just in case).

By the way, it is extreamly slow (probably 1-3fps) But you can't really beat fft3dfilter. I added in LimitedSharpenFaster to sharpen it a bit after denoising.

Good luck :P

You can replace fft3dfilter() with something like degrainmedian(mode=1) but the results won't be as good.

zacoz
26th June 2007, 10:12
@wizboy11

Thanks for your help. I tried it out on the short clip I'd posted and found that while it did help with the grain, I was still getting the fluctuations.

I ended up adjusting your suggestion to "undot().fft3dfilter().fft3dfilter().TTempSmooth()" as I'd found while playing with the filters previously that on it's own TTempSmooth() had helped a little with the fluctuations. Combined they give me a result I'm more pleased with. I'll set it up to test on a larger clip later tonight to make sure it doesn't adversely affect the video sections that don't have the same level of fluctuations.

I didn't put converttoyv12() in the filter chain, and can't see any colour problems that have resulted, so guessing I don't need it either because of this specific source, filter combo or AutoMKV doesn't need me to add it. I'm a real noob when it comes to this colour conversion stuff - never done anything where I needed to worry about it and so as a result haven't be bothered reading up on it so far. I probably should though.

Thanks again, to you (and buzzqw for AutoMKV).

Cheers...........ZacOz

TheRyuu
27th June 2007, 01:55
@wizboy11

Thanks for your help. I tried it out on the short clip I'd posted and found that while it did help with the grain, I was still getting the fluctuations.

I ended up adjusting your suggestion to "undot().fft3dfilter().fft3dfilter().TTempSmooth()" as I'd found while playing with the filters previously that on it's own TTempSmooth() had helped a little with the fluctuations. Combined they give me a result I'm more pleased with. I'll set it up to test on a larger clip later tonight to make sure it doesn't adversely affect the video sections that don't have the same level of fluctuations.

I didn't put converttoyv12() in the filter chain, and can't see any colour problems that have resulted, so guessing I don't need it either because of this specific source, filter combo or AutoMKV doesn't need me to add it. I'm a real noob when it comes to this colour conversion stuff - never done anything where I needed to worry about it and so as a result haven't be bothered reading up on it so far. I probably should though.

Thanks again, to you (and buzzqw for AutoMKV).

Cheers...........ZacOz

I only added converttoyv12() in order to have compatibility with a filter I later removed from the script. I wasn't sure if any of the other filters needed it.

TheRyuu
27th June 2007, 05:22
@buzzqw

Having a little bit of an aspect ratio problem. I'm not sure if AutoMKV is at fault because this problem only seems to happen when I encode something with automkv.

It could be automkv, or it could be one of my demuxers/decoders. Not sure.

Take a look at the screen shot:
Picture (http://img223.imageshack.us/img223/8906/arre8.jpg)

Now, I couldn't get a picture of the movie (overlay or some problem like that) but by the screen shot (and my horrible writing) I think it gets the problem across.

For some reason, it's displaying it in 3/4 not 4/3 like it should so it's like 640 is on the side and 480 is on the bottom, when it should be opposite.

However, when I disable a certain option in ffdshow (decoder) here:
another picture (http://img156.imageshack.us/img156/4686/disableqc5.jpg)
Then, the movie displays normally. However, I did not have the problem on the source when the option was enable so that's what made me think of it as maybe an automkv problem.

Do I need to do something like change the aspect ratio options in automkv to something like 4:3 NTSC? (since default is none)

buzzqw
27th June 2007, 07:01
Update! 0.86 (link on first post)

ADDED: Is now possible to edit even the width on Preview Panel
ADDED: Preview Resized on Preview Panel. It will displaye you movie resized (but no cropped)
ADDED: In Log usage of Use DirectShowSource for Audio and VIDEO
FIXED: The invoke of Deinterlacer routine is now hidden
FIXED: The invoke of VirtualDubMod for audio encoding is now hidden
FIXED: The invoke of wma encoding is now hidden
FIXED: When selecting source file AutoMKV will not more switch Audio codec or Audio bitrate (if possible) (thanks to BleedingGums)
FIXED: When changing codec or container AutoMKV will try to not change Audio codec or Audio bitrate (if possible) (suggestion by BleedingGums)
FIXED: Checking "Keep ITU-R BT.601-4" will now change immediately the width ... without need to "re-click" on height (thanks to Ermenegildo)
FIXED: On CQ Encoding the preview of command line reported pass 2 (thanks to weaver4)
FIXED: Audio input only was broken due to security check on avs
FIXED: When using HGAVS Opt the burnt-in subtitle was broken (thanks to DIEGO7-5)
FIXED: Some fixes on rare bugs on wma audio
FIXED: CCT Audio Encoding (i hope...)
FIXED: When encoding audio input file the encoded file is now named based on "Movie Name:" written
UPDATE: mvtools-v1.6.4, QMF by superqix (07/06/2007)

-------------------------

Hi WizBoy11!

could you please post the encoder bat file ?

maybe something wrong in par signaling...

thanks!

BHH

DIEGO7-5
27th June 2007, 08:43
Thanks for the update buzzqw!

It seems like automatic deinterlacing fails. The routine does not take more than 2 seconds and "deint.log" says:

Error: Error calling AVIStreamGetFrameOpen

Do you have an idea what this could be?

buzzqw
27th June 2007, 08:58
Error: Error calling AVIStreamGetFrameOpen
Do you have an idea what this could be?

reinstall xvid ...or avisynth 2.57

BHH

DIEGO7-5
27th June 2007, 09:24
Thanks a lot, now working perfectly :-)

TheRyuu
27th June 2007, 17:27
Hi WizBoy11!

could you please post the encoder bat file ?

maybe something wrong in par signaling...

thanks!

BHH

Ok.
Let me just run the encoding again.

Also you should update x264 to the latest rev.661:
http://mirror05.x264.nl/Cef/
I think that Cef took over building them since sharktooth hasn't done a rev. since 654 (the one I think your using).

g_aleph_r
27th June 2007, 17:32
Hi buzzqw First of all a BIG thanks for your wonderful work.
Can you post an example of a base.avs modified with custom script entryes? I tried and failed...

How can I batch encode a large number of files without manually create a job for everyone?

buzzqw
27th June 2007, 18:09
Hi g_aleph_r! and welcome to the Forum!

the base.avs tweak is somehow advanced and should not be done by new users

let's start analyzing base.avs


Base.avs is parsed for constructing both autoresize script and for final encoding script. Base.avs could be divided in several piece.

This pieces are
1)#loadpluginstart

#test1

#loadpluginend
2)#importstart

#test2

#importend
3)#filter1start

#test3

#filter1end
4)#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = aspectratio
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = outwidth
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)

#cropend
5)#resizestart

#test4

#resizeend
6)#filter2start

#test5

#filter2end

now a brief explanation

1) here you can specify more plugin to load.
This fuction is not so util, since every dll putted in \exe\filter folder will be automatically loaded
2) here you can write additional import avs file (like your ultraperfect avsi). Again this fuction isn't to utils... since every file .avsi present in \exe\filter folder will be automatically loaded
3) here you can write your filter that will be applyed just after source loading (es: movie=undot(movie))
4) here you can write what to apply after autocrop
5) here you can write what to apply after the resize
6) here you can write what to apply as last options

i can suggest to test this fuctions with simple remmed command
write after #test1 #first test , after test2 ... #second test ... and so on... then open the movie.avs produced bu automkv and look where your scripts were written :)

also ... look at this http://automkv.wiki-site.com/index.php/Advanced_Multi-threading

BHH

TheRyuu
27th June 2007, 18:51
@g_aleph_r
If you want to add custom script entries just add it right after #test5 and select "none" through AutoMKV. Just open up one of your own movie.avs files in the temp directory and you'll see what I mean.
The only thing I really see anyone changing is under #test5 (filters). Everything else AutoMKV does, it does a pretty dam good job at and gives you enough functionality.

LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\AddGrain.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\asharp.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\autocrop.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\blockbuster.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\cnr2.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Convolution3D.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\corrector.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DctFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Decomb.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Deen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\degrainmedian.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DenoiseSharpen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DGDecode.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\EEDI2.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FFT3DFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\frfun7.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\hqdn3d.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MaskTools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\medianblur.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MipSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MSharpen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MT.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mt_masktools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvtools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\NicAudio.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RemoveGrainSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RepairSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RSharpenSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SangNom.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SimpleResize.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SoundOut.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SSE3Tools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TBilateral.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TDeint.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TIVTC.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnDot.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\VSFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\warpsharp.dll")
#loadpluginstart

#test1 (you can add some into the filter folder and it'll always load it)
#insert setmtmode and setmemorymax here if you wan to use them (but I wouldn't recommend it)

Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aSaWLimitedSharpen.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\BlindDeHalo3_mt2.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DeHalo_Alpha.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FasterLineDarken.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FastLineDarken.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\HybridFuPP.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LanczosPlus.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Lem.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LimitedSharpenFaster.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MCBob_v03c.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvbob.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\seesaw.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\spresso.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\toon-v0.8.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\vmToon-v0.74.avsi")
#importstart

#test2 (source files)

movie = avisource(blah.avi,audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3(cropping)

last = movie
crop(4,4,-4,-4)
#resizestart

#test4 (resize filter you've used)
Spline36Resize(640, 480)

#filter2start

#test5 (filter(s) of your choice, just add it right under test5 in the base.avs and it'll appear right here)
a= last
b=a.yourfavoritedenoiser()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)

return last

I had to change something in the MT script thing (again) so that the SetMTMode() comes before the Import functions (like it should) not after. (just in case your using that too, but I wouldn't recommend it).

The only thing I'd really recommend modifying the base.avs file would be for the use of some of the more advanced filters that take up more then one line (like seesaw). If you get much more beyond that, it might be better to just start writing up your own script instead of using AutoMKV (although AutoMKV makes things 100x easier).

@buzzqw
Here are those *.bat files you wanted.
This is muxing.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\matroska\mkvmerge.exe" -o "C:\blah.mkv" --track-name -1:"blah" --aspect-ratio 1:1.000000 "C:\temp\movie.mp4" --language -1:und "C:\temp\audio.ogg" --title "Done with AutoMKV 0.86 http://forum.doom9.org/showthread.php?p=854221 "

This is x264cmdq_pass1.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\encoder\x264.exe" --pass 1 --bitrate 434 --stats "C:\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 1 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --b-pyramid --analyse none --threads 3 --output NUL "C:\temp\movie.avs"

And this is x264cmdq_pass2.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\encoder\x264.exe" --pass 2 --bitrate 434 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "C:\temp\movie.mp4" "C:\temp\movie.avs"

buzzqw
27th June 2007, 19:46
thanks WizBoy11 , your presence is very precius!

about your encoding: --aspect-ratio 1:1.000000
that's mean that your input file is most probably an mpeg4 file (avi/mkv...)... in that case automkv is unable to detect the ar... and then force a 1:1 par...

you should use "Force Muxing AR" in advanced settings

let me know for an problem!

thanks again :)

BHH

TheRyuu
28th June 2007, 01:43
thanks WizBoy11 , your presence is very precius!

about your encoding:
that's mean that your input file is most probably an mpeg4 file (avi/mkv...)... in that case automkv is unable to detect the ar... and then force a 1:1 par...

you should use "Force Muxing AR" in advanced settings

let me know for an problem!

thanks again :)

BHH

It's like your psychic or something. :D
Yea, my source was an avi file and the force muxing AR worked just fine.

So, I'll always have to do that when my source is some type of mpeg4 (or whatever codec) in an avi/mkv/mp4 format?

Thanks.

Edit:
BTW, do the NeroAAC and the CTAAC encoders use the HE(v2) profiles?

buzzqw
28th June 2007, 08:07
So, I'll always have to do that when my source is some type of mpeg4 (or whatever codec) in an avi/mkv/mp4 format?

directshowsource or avisynth in general is unable to extract ar from file (i use dgindex for mpeg2)... so the simple answer is yes..everytime

i will look at mediainfo.. if is possible to use for extracting this kind of information from mpeg4 file

BTW, do the NeroAAC and the CTAAC encoders use the HE(v2) profiles?

NeroAAC if used in quality mode (default mode) choose itself the profiles...
CTAAC use LC profile by default (iirc) but you can open advanced audio settings and force the type of coding

btw i have a new build (most cosmetic fixed, look at log panel)
http://www.64k.it/andres/data/a/AutoMKV086b.exe

BHH

Prospero424
28th June 2007, 13:29
I'm not having any problems or anything, I'm just kind of curious about something.

I've noticed that with the latest version, bbsummary now takes about half of my processor time during encode (1080i MPEG2 TS to 720p x264 mkv 2-pass Insane Quality HQ deinterlace 4.5GB size) with x264 taking roughly the other half.

The encode process doesn't seem to be slower or anything so far (still on first pass), but I was wondering if this was something new and what bbsummary is. I can't find a description of its function with any Google search I've tried.

Thanks!

BTW, buzzqw: great work on the latest version, it's very clean.

buzzqw
28th June 2007, 14:01
bbsummary now takes about half of my processor time during encode

i don't think to understud well.. are you saying that bbsummary use 50% of your cpu WHILE x264 is encoding ?

if true that's a big bug! bbsummary is invoked only when analyzing the file (just when you select the input)and then must quit

OR you mean the display of encoding status ?

this display can be deactivated in advanced profile editing

thanks... waiting for info ...

BHH

Prospero424
28th June 2007, 14:19
...are you saying that bbsummary use 50% of your cpu WHILE x264 is encoding ?

Yes. So far, I've seen it during the first pass of the x264 encode process.

I'll try it with the display disabled as soon as I can and let you know.

buzzqw
28th June 2007, 14:25
bbsummary and display of stats have nothing to spare

kill bbsummary with task manager, as i said it is only used in the first seconds when users select the input

if bbsummary has hanged i suppose it were not able to do correctly the parse of ts file.

again , kill it

and also try (when you can) with other ts files and report if happens again

thanks!!!

BHH

Prospero424
28th June 2007, 14:38
kill bbsummary with task manager...BHH

Done. Seems to be working fine now.

I'll let you know if it happens again or if the output file is damaged. Thanks for your help.

buzzqw
28th June 2007, 14:42
i seriusly doubt of any damage... bbsummary is used ONLY for know the audio tracks... :) so i (and you) should not worry!

i can think a problem of muxing sw/hw that create these ts file...

BHH