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
2nd July 2007, 12:41
@survivant

fixed in next update

and the ps3_41 is with 4.1 LEVEL

BHH

ericren23
2nd July 2007, 12:58
buzzqw,

I used the 0.86d and got a very good output. It plays very on MPC. however when i load it into VirtualDubMod i get the following error:

[!] MKV: A frame of stream 1 (at 67 ms) had only a forward reference (maybe
broken file).

all the way to: (around 100 of these)

[!] MKV: A frame of stream 1 (at 3657154 ms) had only a forward reference
(maybe broken file).

[!] MKV: Video frames seems to be weirdly ordered.

[!] Couldn't locate decompressor for format '????' (unknown).
VirtualDub requires a Video for Windows (VFW) compatible codec to
decompress video. DirectShow codecs, such as those used by Windows Media
Player, are not suitable. Only 'Direct stream copy' is available for this
video.

I've converted the video from a dvd with a length of 1hr. however, it seems to contain chapters from 00:00 to 01:53. having 53min of extra in the chapter info. something must have wentwrong with the dvd index. is there a tool to fixup the indexing? Otherwise its all good:) congrats!

buzzqw
2nd July 2007, 15:21
it seems to contain chapters from 00:00 to 01:53

yes.. in \exe folder there are a chapter.txt from a my previus encoding... this file is overwritten when automkv process a IFO file... is your input a ifo ? or vobs ?

about the virtualmod errors.. mkv+h264 aren't mean to be opened in virtualdubmod... these errors aren't "error" but simply virtualdubmod has a limited support to mkv and also you must install a vfw versione of x264 codec

anyway .. try with AviDemux (similar to VirtualDub) ! it has support for MKV and X264!

BHH

survivant
2nd July 2007, 22:17
buzzqw

thanks for the answer. just to be sure.. the ps3_4.1.xml profile equals the High Profile 4.1 in megui ? (there are Baseline, Main and High profile).

ericren23
3rd July 2007, 00:55
yes.. in \exe folder there are a chapter.txt from a my previus encoding... this file is overwritten when automkv process a IFO file... is your input a ifo ? or vobs ?


My input is a ifo, maybe thats why? I'll try out AviDemux

TheRyuu
3rd July 2007, 05:51
I was trying out the "snow" option in ffmpeg just for fun but it never seems to work. Is there some limitation with it or something?

This is the log file:
00:47:38 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:47:38 Selected Input file: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1.d2v
00:47:38 Selected Output dir: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\
00:47:38 Selected Final Name: VTS_04_1
00:47:38 Selected Container type: MKV
00:47:38 Selected Encoder: X264
00:47:38 Selected Size: 1 CD
00:47:38 Selected Slice: 1
00:47:38 Selected Profile: 2_Pass_Balanced.xml
00:47:38 Selected Width: Automatic
00:47:38 Selected Resizer: Spline36Resize (neutral sharp)
00:47:38 Selected Filters: RemoveGrain(mode=2)
00:47:38 Selected Deinterlacer: Decimating
00:47:38 Selected Field Order: TFF
00:47:38 Manual Crop: Enabled
00:47:38 Left Crop: 4
00:47:38 Top Crop: 0
00:47:38 Right Crop: 4
00:47:38 Botton Crop: 0
00:47:38 Manual Width: 704
00:47:38 Manual Height: 400
00:47:38 Track Language 1: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T01 3_2ch 448Kbps DELAY -158ms.ac3
00:47:38 Audio Codec 1: Lame
00:47:38 Audio Quality 1: 160
00:47:38 Audio Channel 1: Stereo
00:47:38 Advanced Audio Settings DUMP Track 1
00:47:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:47:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:47:38 Lame Settings: ABR
00:47:38 Audio Normalization: 1
00:47:38 Frequency: AUTO --- Tempo : NONE
00:47:38 Pitch: NONE --- Other Add :
00:47:38 Advanced Audio Settings DUMP Track 2
00:47:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:47:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:47:38 Lame Settings: ABR
00:47:38 Audio Normalization: 1
00:47:38 Frequency: AUTO --- Tempo : NONE
00:47:38 Pitch: NONE --- Other Add :
00:47:38
00:47:38 DelayCut CMD: C:\_Downloads\AutoMKV\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\fixed1.ac3" "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T01 3_2ch 448Kbps DELAY -158ms.ac3"
00:47:38 DelayCut CMD: C:\_Downloads\AutoMKV\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\fixed2.ac3" "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T02 2_0ch 224Kbps DELAY -126ms.ac3"
00:47:42 Number of Frames: 2798
00:47:42 Framerate: 29.970030
00:47:42 Movie length in Seconds: 94
00:47:42 Movie Width/Height: 720/480
00:47:42 DgIndex AR: 16:9
00:47:42 "C:\_Downloads\AutoMKV\AutoMKV086\exe\matroska\mkvmerge.exe" -o "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\VTS_04_1.mkv" --track-name -1:"VTS_04_1" --aspect-ratio 1:16:9 "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\movie.mp4" --language -1:und "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\" --title "Done with AutoMKV 0.86d http://forum.doom9.org/showthread.php?p=854221 "
00:47:42 Final Muxed size: -1 bytes
00:47:42 Encoding finished: 00:00:04 elapsed time
00:47:42 -----------------------------------------------------------------------
00:47:42 Script AutoCrop.log
00:47:42
00:47:42 Crop(10,0,700,480)
00:47:42 -----------------------------------------------------------------------
00:47:42 Script Resmovie.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script movie.avs
00:47:42
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\AddGrain.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\asharp.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\autocrop.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aWarpSharp(Pruned).dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\blockbuster.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\cnr2.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\ColorMatrix.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Convolution3D.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\corrector.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DctFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Decomb.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Deen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\degrainmedian.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DenoiseSharpen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DGDecode.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\EEDI2.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FFT3DFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FluxSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\frfun7.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\hqdn3d.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LeakKernelDeint.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MaskTools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\medianblur.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MipSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MSharpen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MT.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mt_masktools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvtools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\NicAudio.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RemoveGrainSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RepairSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RSharpenSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SangNom.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SimpleResize.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SoundOut.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SSE3Tools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TBilateral.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TDeint.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TIVTC.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TomsMoComp.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TTempSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnDot.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\VSFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\warpsharp.dll")
00:47:42 #loadpluginstart
00:47:42
00:47:42 #test1
00:47:42
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aSaWLimitedSharpen.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\BlindDeHalo3_mt2.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DeHalo_Alpha.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FasterLineDarken.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FastLineDarken.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\HybridFuPP.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LanczosPlus.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Lem.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LimitedSharpenFaster.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MCBob_v03c.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvbob.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\seesaw.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\spresso.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\toon-v0.8.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\vmToon-v0.74.avsi")
00:47:42 #importstart
00:47:42
00:47:42 #test2
00:47:42
00:47:42 movie = mpeg2source("C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1.d2v",info=3)
00:47:42 function getOrder(clip c) {
00:47:42 order = GetParity(c) ? 1 : 0
00:47:42 Return order }
00:47:42 #filter1start
00:47:42
00:47:42 #test3
00:47:42
00:47:42 movie = tfm(movie,d2v="C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\movie.d2v").tdecimate()
00:47:42 last = movie
00:47:42 crop(4,0,-4,-0)
00:47:42 #resizestart
00:47:42
00:47:42 #test4
00:47:42
00:47:42 Spline36Resize(704,400)
00:47:42 #filter2start
00:47:42
00:47:42 #test5
00:47:42
00:47:42 RemoveGrain(mode=2)
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio.bat
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio2.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio2.bat
00:47:42
00:47:42 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
3rd July 2007, 07:47
@survivant
4.1 is level as annex specification
the "level" is main, and this is the command line --pass 2 --bitrate 644 --stats .stats --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3

@ericren23
My input is a ifo, maybe thats why?
when you input the ifo you should see a flash image of chapter extractor.. you can also control the chapter in advanced settings using the chapter button

@wizboy11
ffmpeg encoding is to use only with "pure" source, like vob, avi, mkv, flv, mov... not d2v, ifo... but avs is ok

BHH

samukas
3rd July 2007, 13:39
Hi everyone!
Fist of all, buzzqw, congratulation for AutoMKV, it's amazing :thanks:

Now, I've done some encode a while ago but then got totally lost with this many advanced options appearing :helpful:
I have a 1080i ntsc mpeg source that I'd like to convert do x264 720p... According to dgindex, the source has progressive and interlaced frames, is 99& Film and Video 1%...
So, I've selected "Partially Film" , "HQ Deint" and "TFF", are these options correct? This gave me a 29.97fps mkv...
I'd like to restore the video at 23.976fps and my question is, what Deinterlace options should I use?

Thanks in advance

buzzqw
3rd July 2007, 14:13
99& Film and Video 1%

this is pure film, no worry for partial film

select FILM type, tff and no need to check hq deint (for film type is always hq enabled)

BHH

TheRyuu
3rd July 2007, 17:58
Hi everyone!
Fist of all, buzzqw, congratulation for AutoMKV, it's amazing :thanks:

Now, I've done some encode a while ago but then got totally lost with this many advanced options appearing :helpful:
I have a 1080i ntsc mpeg source that I'd like to convert do x264 720p... According to dgindex, the source has progressive and interlaced frames, is 99& Film and Video 1%...
So, I've selected "Partially Film" , "HQ Deint" and "TFF", are these options correct? This gave me a 29.97fps mkv...
I'd like to restore the video at 23.976fps and my question is, what Deinterlace options should I use?

Thanks in advance

If you wanted to restore the original 24fps (23.976...) then you'd have to select "decimate" and your TFF (if thats what it is).

But you should make sure you need to perform IVTC first.
Open up the video in MPC, make sure you can see the interlacing artifacts (make the mpeg2 decoder ignore the 3:2 pulldown flag).

You should be able to do this in DGIndex too, just make sure it's ignoring the 3:2 pulldown flag (i.e. you can see the interlacing when it's playing). Then just step through it frame by frame. if some of the frames are interlaced and some aren't (like 3 progressive and 2 interlaced, but it can be a different order) then you should select decimate as your deinterlacer.

buzzqw
3rd July 2007, 18:03
@wizboy11

i reveal you a secret... AutoMKV will apply the same routine for FILM and Decimate ;)

movie = tfm(movie,d2v="movie.d2v").tdecimate()

BHH

TheRyuu
4th July 2007, 03:46
@wizboy11

i reveal you a secret... AutoMKV will apply the same routine for FILM and Decimate ;)

movie = tfm(movie,d2v="movie.d2v").tdecimate()

BHH

Never noticed that. Never really used the "Film" setting since I always just wind up setting the option myself doing manual testing to figure it out (I still don't trust the "auto-detect" :p)

BTW, just noticed this but the cropping in the preview thing (use it, great option) looks like YATTA's cropping. Has the same blue things and everything. You base it off of that or does something else use that too (that I'm not aware of). :)

:thanks:
Cya

buzzqw
4th July 2007, 06:16
I still don't trust the "auto-detect"

... i do my best.. but human experience is always better than a stupid complex algo...

great option
thanks!

looks like YATTA's cropping
... maybe i used yatta one time only and too many years ago...no i don't remember it...
i a vaguely based the cropping panel on virtualdub and paranoia

BHH

ericren23
4th July 2007, 06:23
hm.. i dont get the flash of Chapterextractor at all. I see a quick flash of a command prompt, but its too fast to see what it is. I see its taking chapters from your chapters.txt I can manually use chapter extractor to get the chapters. how do i now get rid of the chapters in my already encoded files and put in this chapter? when i open the mkv file with mkvmerge GUI, the chapters tab is greyed out with nothing in it. I've also noticed that i can extract the info from the ifo file, but the format is different to the chapters.txt that you originally had in there. If i try to manually mux them together with mkvmerge, it says the file format is not supported? how do i now manually mux the correct chapters in?

Ive also noticed that somehow my audio is mp3 instead of the selected neroAAC. In the \temp directory of the output i see a audio.mp4 file and audio.mp3 file, but going through muxing.bat, i see this:
"D:\Downloads\video tools\AutoMKV086\exe\matroska\mkvmerge.exe" -o "D:\temp\output\temp\ai2.mkv" --track-name -1:"ai2" --aspect-ratio 1:1.333333 --chapters "D:\Downloads\video tools\AutoMKV086\exe\chapters.txt" "D:\temp\output\temp\movie.mp4" --language -1:eng "D:\temp\output\temp\audio.mp3" --title "Done with AutoMKV 0.86d http://forum.doom9.org/showthread.php?p=854221 "

This is from the mkvmaudio.bat

"D:\Downloads\video tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -vn -i "D:\temp\output\temp\fixed1.ac3" -f mp3 -ac 2 -ab 128 "D:\temp\output\temp\audio.mp3"



so its taking the .mp3 for somereason, To make matters more confusing, I looked at the cropped 1min test files of the same video, and they all have AAC audio. and the file i encoded earlier had AAC also.

To make matters more confusing For this video. i dont seem to have a log file, i have log files for the test clips though.

Strange stuff

survivant
4th July 2007, 10:54
@ buzzqw thanks. There is a way to have the 4.1 HP level ? The PS3 supporte the HP profile now. (only the 4.1)

tha_reaper
4th July 2007, 11:14
I have another little question.

I have a DVD, but imho the source is not very sharp (although its a pretty recent DVD). Ive tried around a bit, and I fell in love with the convolution 3d (anime HQ) filter for all my anime reencodes with a HQ source.

Now i want to sharpen my encode, but how do i do that? I have found under advanced profile editing the shapner.lvl script (should that be shaRpner?), but i dont know how to use it :(

buzzqw
4th July 2007, 14:37
This is from the mkvmaudio.bat

"D:\Downloads\video tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -vn -i "D:\temp\output\temp\fixed1.ac3" -f mp3 -ac 2 -ab 128 "D:\temp\output\temp\audio.mp3"

open the log file, if used ffmpeg mean that automkv isn't able to process the ac3 in normal way, in log file should be written some info.

about the chapter... is automkv installed in very long path ? (or with space ?) (but i think i have fixed it in next update)

i dont seem to have a log file
you must have a log... written or in automkv log panel

@survivant

There is a way to have the 4.1 HP level

isn't the ps3_41 hp ?

@tha_reaper

check "Enable HGAVS" and select the Sharpner.lvl, set your width and other choise.. then click start..
BUT remember that sharpning could be enhance the noise....

BHH

TheRyuu
4th July 2007, 18:38
I take it back. Wasn't YATTA I was thinking of, it was YMC (same program suite though).

I guess it's just one of the funny coincidences (maybe they based it off of something else :p)
http://img522.imageshack.us/img522/5175/ymczt4.jpg

I have another little question.

I have a DVD, but imho the source is not very sharp (although its a pretty recent DVD). Ive tried around a bit, and I fell in love with the convolution 3d (anime HQ) filter for all my anime reencodes with a HQ source.

Now i want to sharpen my encode, but how do i do that? I have found under advanced profile editing the shapner.lvl script (should that be shaRpner?), but i dont know how to use it

@tha_reaper

You don't have to do that. Just chain LimitedSharpenFaster with the Convo3d.

Like this (copy and paste into filter box):
Convolution3d(preset="animeHQ").LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1)
#or
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1)
#or you could also chain it with SeeSaw (not the right way to use SeeSaw, but it works)
degrainmedian(mode=1).SeeSaw(sstr=1.5)

The SeeSaw code will probably sharpen it more then the LSF code will, but will also most likely amplify the noise more or oversharpen it. You can control the sharpening amount by the sstr value.

If it's an Anime source try smode=3 since sometimes I think that creates a better image for the LSF smode value. Increasing the strength on smode=4 in LSF really doesn't do anything (no idea why, smode=4 uses "deep magic", I kid you not :)). If you change it to smode=3 then modify the strength value accordingly but strength=125 is a good amount I think. the ss values should be alright at 1.5. overshoot and undershoot control line darkening/line lightening. Wouldn't worry about those.

Also, for an anime source. Another good trick is to darken the lines. Some people use vmtoon for it but, IMO, thats way too slow.
Copy this into text file and save as "FastLineDarkenMOD.avsi":
#############################
# FastLineDarken 1.3 MT MOD #
#############################
#
# Written by Vectrangle, last update 12 Sept 04
#
# * requires mt_masktools v2 -- http://manao4.free.fr/
# * requires yv12 input
#
# Usage is FastLineDarken(strength, luma_cap, threshold, thinning),
# named parameters are supported eg FastLineDarken(thinning=0)
#
# Note that you must import this avs into your script using import("...\FastLineDarken.avs")
#
# Parameters are:
# strength (integer) - Line darkening amount, 0-256. Default 48. Represents the _maximum_ amount
# that the luma will be reduced by, weaker lines will be reduced by
# proportionately less.
# luma_cap (integer) - value from 0 (black) to 255 (white), used to stop the darkening
# determination from being 'blinded' by bright pixels, and to stop grey
# lines on white backgrounds being darkened. Any pixels brighter than
# luma_cap are treated as only being as bright as luma_cap. Lowering
# luma_cap tends to reduce line darkening. 255 disables capping. Default 191.
# threshold (integer) - any pixels that were going to be darkened by an amount less than
# threshold will not be touched. setting this to 0 will disable it, setting
# it to 4 (default) is recommended, since often a lot of random pixels are
# marked for very slight darkening and a threshold of about 4 should fix
# them. Note if you set threshold too high, some lines will not be darkened
# thinning (integer) - optional line thinning amount, 0-256. Setting this to 0 will disable it,
# which is gives a _big_ speed increase. Note that thinning the lines will
# inherently darken the remaining pixels in each line a little. Default 24.
#
# Changelog:
# 1.3 - added ability to thin lines, now runs much slower unless thinning=0. Changed the defaults (again)
# 1.2 - huge speed increase using yv12lutxy =)
# - weird darkening issues gone (they were caused by yv12layer)
# - show option no longer available due to optimizations. Use subtract() instead
# 1.1 - added luma_cap option
# 1.0 - initial release
#


function FastLineDarkenMOD( clip c, int "strength", int "luma_cap", int "threshold", int "thinning")
{
## parameters ##
str = string(default(strength, 48) /128.)
lum = string(default(luma_cap, 191))
thr = string(default(threshold, 4))
thinning = default(thinning,24)
thn = string(thinning /16.)

## filtering ##
exin = c.mt_expand().mt_inpand()
diff = mt_lutxy(c,exin,yexpr="y "+lum+" < y "+lum+" ? x "+thr+" + > x y "+lum+" < y "+lum+" ? - 0 ? 127 +",uexpr="x",vexpr="x",u=2, v=2)
linemask= mt_lut(diff.mt_inpand(),"x 127 - "+thn+" * 255 +").mt_convolution("1 1 1","1 1 1",y=3,u=0,v=0)
thick = mt_lutxy(c, exin, yexpr="y "+lum+" < y "+lum+" ? x "+thr+" + > x y "+lum+" < y "+lum+" ? - 0 ? "+str+" * x +",uexpr="x",vexpr="x",u=2, v=2)
thin = mt_lutxy(c.mt_expand(),diff,yexpr="x y 127 - "+str+" 1 + * +",u=2, v=2)

return (thinning == 0) ? thick : mt_merge(thin,thick,linemask,y=3,u=2,v=2)
}

Line darkening can really improve an anime image. Copy the "FastLineDarkenMOD" file to the AutoMKV/exe/filter folder which has all the other plugins in it (so you know it's the right one) then just reload automkv and you can use FastLineDarkenMOD.

Like the sharpening just chain it with the others, couldn't be simpler.
Like this:
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1).FastLineDarkenMOD(thinning=0, strength=60)
You'll probably have to experiment with the strength option, but leave thinning=0 otherwise you get nothing, at least I get a green screen.
You can put FastLineDarkenMOD before or after sharpening but I found that if you put it after the sharpening (like above) it creates less shimmering. Not sure if there's a right way or a wrong way but I found that the above configuration works well, but you'll have to experiment to find what you like.

Also, IMO, convo3d is showing it's age, but to each his own. Try something like degrainmedian(mode=1) or (mode=2) (higher mode value means less denoising, so mode=2 would preserve more detail but also get rid of less noise then mode=1, so try them both).

Good Luck. :)
And remember that you need to find what you think is best.

P.S. I have way to much free time on my hand :p

buzzqw
4th July 2007, 19:14
@wizboy11

very good suggestions :goodpost: :thanks: !

BHH

survivant
4th July 2007, 22:10
@survivant

Quote:
There is a way to have the 4.1 HP level
isn't the ps3_41 hp ?

I asked if the PS3_41.xml was using the main profile or the HQ profile, you answered that it was the main profile.

if it's the HQ profile, that's perfect. sorry for the confusion.

PS. I tought that the PS3 wasn't able to support adaptive-b-frame. maybe with the latest firmware it does.. not sure

that the command line I have for the HP profile with megui compare to automkv.. look really similar
megui
--pass 3 --bitrate 4000 --stats ".stats" --level 4.1 --ref 3 --mixed-refs --bframes 3 --no-b-adapt --b-pyramid --bime --weightb --direct auto --trellis 1 --analyse p8x8,b8x8,i4x4 --threads auto --thread-input --progress --no-psnr --no-ssim --output "" ""

automkv
--pass 2 --bitrate --stats "C:\DVD\tools\AutoMKV086\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3

survivant
4th July 2007, 23:24
@wizboy11

good explanation.

I have encode an anime movie from a dvd to mp4 without any filter.

For my first comparaison test which filter should I use ? (I don't have too much free time :) to compare few settings)

I don't want to perfect match for everything.. just a setting that I'll be satisfy for almost all my future encoding

thanks

survivant
5th July 2007, 00:12
it is possible to speficied a splitting size ?

I want a 1 DVD (5gig) but split into 2.2 gigs files. The PS3 seem to have a 2.5 gigs limit by files. For now I'm using YAMB to split the file

ericren23
5th July 2007, 01:31
Hi, it seems that no matterwhat i do i get this:

11:23:20 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:23:20 Selected Input file: D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB
11:23:20 Selected Output dir: D:\temp\output\temp\
11:23:20 Selected Final Name: testme
11:23:20 Selected Container type: MKV
11:23:20 Selected Encoder: X264
11:23:20 Selected Size: 5
11:23:20 Selected Slice: 1
11:23:20 Selected Profile: 2_Pass_Balanced.xml
11:23:20 Selected Width: Original
11:23:20 Selected Resizer: NONE
11:23:20 Selected Filters: NONE
11:23:20 Selected Deinterlacer: Interlaced
11:23:20 Selected Field Order: HYBRID
11:23:20 Enabled CRF/CQ AutoRes at 18 value
11:23:20 Track Language 1: AC3 Audio Stream 0
11:23:20 Audio Codec 1: Nero AAC
11:23:20 Audio Quality 1: 0.35
11:23:20 Audio Channel 1: Stereo
11:23:20 Advanced Audio Settings DUMP Track 1
11:23:20 Audio Track Language: und
11:23:20 Nero Option Profiles: HE --- Encoding Mode: Quality
11:23:20 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:23:20 Lame Settings: ABR
11:23:20 Audio Normalization: 0
11:23:20 Frequency: AUTO --- Tempo : NONE
11:23:20 Pitch: NONE --- Other Add :
11:23:20 Advanced Audio Settings DUMP Track 2
11:23:20 Nero Option Profiles: AUTO --- Encoding Mode: Quality
11:23:20 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:23:20 Lame Settings: ABR
11:23:20 Audio Normalization: 1
11:23:20 Frequency: AUTO --- Tempo : NONE
11:23:20 Pitch: NONE --- Other Add :
11:23:20
11:23:20 Dgindex CMD: D:\temp\AutoMKV086\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB] -OF=[D:\temp\output\temp\movie] -exit -minimize
11:23:21 D2V file size: 3181
11:23:21 Original 1' Audio Size: 670813 bytes
11:23:21 Not fixing audio delay
11:23:21 Encoding D:\temp\output\temp\fixed1.ac3 to NeroAAC with custom command line
11:23:24 Unable to encode Audio, trying with DirectShowSource!
11:23:24 Encoding D:\temp\output\temp\fixed1.ac3 to NeroAAC with custom command line
11:23:35 Encoded 1' Audio Track: 199884 bytes
11:23:35 Encoded 1' Audio Track: 199884 bytes
11:23:40 Number of Frames: 630
11:23:40 Framerate: 29.970030
11:23:40 Movie length in Seconds: 22
11:23:40 Movie Width/Height: 720/480
11:23:40 DgIndex AR: 4:3

However when i check audio.mp4 with mediainfo, it says its encoded by NeroAAC. This is all done with a cropped test file. I havent tried the entired process again on the original file becuase it will take me another 10hr or so. If worst comes to worst, i give that a try again.

I read in one of these threads that automkv uses nic audio plugin, so i downloaded that and placed it into the avisynth\plugins directory, but i still get that error.

TheRyuu
5th July 2007, 02:48
Hi, it seems that no matterwhat i do i get this:

11:23:20 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:23:20 Selected Input file: D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB
...

However when i check audio.mp4 with mediainfo, it says its encoded by NeroAAC. This is all done with a cropped test file. I havent tried the entired process again on the original file becuase it will take me another 10hr or so. If worst comes to worst, i give that a try again.

I read in one of these threads that automkv uses nic audio plugin, so i downloaded that and placed it into the avisynth\plugins directory, but i still get that error.

@ericren23
It should work.
Your using the latest version right?

Couldn't tell you why though. If the source is a vob file, DGIndex should split the file with the different audio tracks.
Just used a cropped file with vob as input and it worked just fine when encoding to an avi file (which has to use Lame audio).


it is possible to speficied a splitting size ?

I want a 1 DVD (5gig) but split into 2.2 gigs files. The PS3 seem to have a 2.5 gigs limit by files. For now I'm using YAMB to split the file
@survivant

It's in the Wiki. Type in the amount in MB you want (like 2200 for 2.2GB) then next to it another box will appear. So type 2 in that box for 2200*2=4400 in 2 files.

Also, good filter to start?
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1).FastLineDarkenMOD(thinning=0, strength=50)
#or you could chain it with SeeSaw (another sharpener)
degrainmedian(mode=1).SeeSaw().FastLineDarkenMOD(thinning=0, strength=50)

You can get fastlinedarkenmod from one of the above posts.

Also, I'm sure you have a little free time. Play around with smode=3 (sometimes I find it good for anime sources), and the strength value in both LSF and Line Darken.

Also, if the source isn't that noisy try mode=2 in degrainmedian. Higher mode=less denoising. Sorry but there's no one setting you'll like, you'll have to try around with everything. Nothing is best (per rule #12) and it is true.

buzzqw
5th July 2007, 07:26
@survivant

i haven't a ps3 ... so i glady accept suggestion about compatibilty profile
one of the biggest difference is cabac, multiple b frames and b pyramid, if these options are supported it would be very easy to modify the ps3 profile

@ericren23

the audio is encoded with NERO! simply nicaudio is unable to open, so automkv will automatically switch to directshowsource interface
just a question
11:23:21 Not fixing audio delay
why have you de-check use delaycut ?
delaycut will "cut" the delay but also fix problems within the audio file

@wizboy11
:)

BHH

survivant
5th July 2007, 11:01
@buzzqw

i haven't a ps3 ... so i glady accept suggestion about compatibilty profile
one of the biggest difference is cabac, multiple b frames and b pyramid, if these options are supported it would be very easy to modify the ps3 profile

I'll do lot of tests this week-end. Just to be sure to understand the encoding process. If I chose an option, suppose cabac, it is garanti that the encoder will use it, or it could use it ? If it always use the option that will pass to it.. I will not be too hard to test.. I'll activate all the option, and look if mt PS3 is able to play it.

buzzqw
5th July 2007, 11:36
cabac is used per default and x264 obey to command line :)

do your test and report back what is ok

thanks!

BHH

survivant
5th July 2007, 13:02
#1
I'll

the command line from megui works and from automkv too.

I have the split the result file into 2.2gigs max.

If I check in megui, the difference between 4.1 main and 4.1HP in the option : bitrate : lossless.

I'll try that tonight.

#2
just a question like that. Suppose I have a cartoon 230 megs in divx and I want to convert it in mp4 (to be able to watch it from the PS3), what it the setting I should use to have an approriate file size ?

There is a setting for the file size Like 1CD, 1DVD.. but it will be oversize for nothing.. there is a way to just convert it using a bitrate vbr like 3000-5000 max ?

still not familiar with all the setting in automkv.

buzzqw
5th July 2007, 13:19
just few post before wizboy11 has answered the same question

@survivant

It's in the Wiki. Type in the amount in MB you want (like 2200 for 2.2GB) then next to it another box will appear. So type 2 in that box for 2200*2=4400 in 2 files.

anyway is possible to specify bitrate in advanced settings

AND btw is possible to convert your avi in mp4 just remuxing it, not reencoding

ffmpeg.exe -i test.av" -vcodec copy -acodec copy test.mp4

or by using yamb

BHH

tha_reaper
5th July 2007, 13:48
@tha_reaper

You don't have to do that. Just chain LimitedSharpenFaster with the Convo3d.

Like this ...

whow! thats a fair piece of information! im going to try it out, thanks a lot!

Elwin
5th July 2007, 14:57
Is it possible somehow to use AutoMKV with the latest MT-enabled Xvid Beta builds? (http://ffdshow.faireal.net/mirror/XviD/)

I presume that'd require building and replacing xvid_encraw?

buzzqw
5th July 2007, 15:10
First of all Welcome to the Forum!

yes... is possible!

you must put simply in \exe\encoder folder the xvidcore.dll
i suppose there is no need to replace xvid_encraw.exe

BHH

TheRyuu
5th July 2007, 16:08
Is it possible somehow to use AutoMKV with the latest MT-enabled Xvid Beta builds? (http://ffdshow.faireal.net/mirror/XviD/)

I presume that'd require building and replacing xvid_encraw?

Just to let you know, the xvid_encraw on the page that you linked to is an older version then the one AutoMKV uses. However the xvid core dll file is newer.

buzzqw
5th July 2007, 16:17
... and in automkv is already present a SMP build of xvidcore

fyi in next full update i will include the 29/06/2007 build and change all xvid profile

i finally resolved a bug that "could" cause vdub to crash when cutting avi (mp3+xvid->avi)

BHH

survivant
5th July 2007, 17:38
@buzzqw

AND btw is possible to convert your avi in mp4 just remuxing it, not reencoding

ffmpeg.exe -i test.av" -vcodec copy -acodec copy test.mp4

the problem is that only change the container, so if your video codec is XVID.. it will still be Xvid in the mp4. and my PS3 don't play Xvid.. only video H264(in a mp4 container) or mpeg(1,2).

TheRyuu
5th July 2007, 19:00
Got a bit of a problem here. When AutoMKV uses direct show source (i.e. ffdshow/Haali media splitter) it seems that it doesn't close it down when doing more then one encode (like say you add 6 to the queue, it'll open 6 instances of ffdshow/HMS instead of opening one, then closing it then opening another one).

This winds up happening:
http://img123.imageshack.us/img123/5781/taskbarxn8.jpg

Not sure if this is ffdshow problem, AutoMKV problem, or one of the many programs AutoMKV uses.

The encoding process works just fine so there's really no problem with it opening 6 instances of ffdshow, just that the taskbar starts to fill up :).

buzzqw
5th July 2007, 19:06
@wizboy11

yes.. you are right... BUT i close the thread! :(

is secure a bug on my side :mad:

BHH

survivant
6th July 2007, 01:20
I found my problem.. it should be ConvertToYV12() (megui corrected the avs script)


The file in not encoded.. the final output file is not created

that's my avs

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\DVD\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\dvd\encode\D2VAVS\V01.D2V")
trim(8184,11459)
ConvertToYUY2()
AudioDub(BlankClip())


automkv log
19:42:22 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:42:22 Selected Input file: C:\DVD\encode\D2VAVS\V01000100001002.AVS
19:42:22 Selected Output dir: C:\DVD\encode\automkv\temp\
19:42:22 Selected Final Name: V01000100001002
19:42:22 Selected Container type: MP4
19:42:22 Selected Encoder: X264
19:42:22 Selected Size: 1/4 CD
19:42:22 Selected Slice: 1
19:42:22 Selected Profile: PS3_41.xml
19:42:22 Selected Width: Original
19:42:22 Selected Resizer: NONE
19:42:22 Selected Filters: NONE
19:42:22 Selected Deinterlacer: AUTO
19:42:22 Selected Field Order: AUTO
19:42:22 Enabled CRF/CQ AutoRes at 18 value
19:42:22 Track Language 1: NONE
19:42:22 Audio Codec 1: Nero AAC
19:42:22 Audio Quality 1: 0.85
19:42:22 Audio Channel 1: Stereo
19:42:22 Advanced Audio Settings DUMP Track 1
19:42:22 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:42:22 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:42:22 Lame Settings: ABR
19:42:22 Audio Normalization: 1
19:42:22 Frequency: AUTO --- Tempo : NONE
19:42:22 Pitch: NONE --- Other Add :
19:42:22 Advanced Audio Settings DUMP Track 2
19:42:22 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:42:22 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:42:22 Lame Settings: ABR
19:42:22 Audio Normalization: 1
19:42:22 Frequency: AUTO --- Tempo : NONE
19:42:22 Pitch: NONE --- Other Add :
19:42:22
19:42:22 DelayCut CMD: C:\DVD\tools\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\DVD\encode\automkv\temp\fixed1." "NONE"
19:42:24 DelayCut CMD: C:\DVD\tools\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\DVD\encode\automkv\temp\fixed2." "NONE"
19:42:28 Avi engage mode not corrected, switched to DirectShowSource
19:42:31 Checking script...time.avs
19:42:32 Script checked. All OK!!!
19:42:32 !!! BREAK - FILE NOT SUPPORTED !!! - Trying with MediaInfo!
19:42:34 Aspect ratio:
19:42:34 Number of Frames:
19:42:34 Framerate:
19:42:34 Movie length in Seconds: 1
19:42:34 Movie Width/Height: /
19:42:34 Number of Frames:
19:42:34 Framerate:
19:42:34 Movie length in Seconds: 1
19:42:34 Movie Width/Height: /
19:47:18 Starting X264 AutoResize with WIDTH of Original and wanted size of 183500800 bytes
19:47:18 CRF encoding X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\DVD\encode\automkv\temp\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3 --output "C:\DVD\encode\automkv\temp\resmovie.mp4" "C:\DVD\encode\automkv\temp\resmovie.avs"
19:47:21 Tested total movie: 2%
19:47:21 AutoResize movie size: 0 bytes
19:47:21 Movie Width suggested: 0 value based on sample size (-1.#J% of original width)
19:47:21 Warning !!! - Too low resolution. Set witdh to 0
19:47:22 Starting X264
19:47:22 Command Line 1' Pass X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 1 --bitrate 1466538 --stats "C:\DVD\encode\automkv\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 1 --direct auto --vbv-maxrate 14000 --me dia --no-ssim --level 4.1 --no-cabac --analyse none --threads 3 --output NUL "C:\DVD\encode\automkv\temp\movie.avs"
19:47:22 Command Line 2' Pass X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 2 --bitrate 1466538 --stats "C:\DVD\encode\automkv\temp\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3 --output "C:\DVD\encode\automkv\temp\movie.mp4" "C:\DVD\encode\automkv\temp\movie.avs"
19:47:25 Finished 1' Pass X264
19:47:30 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
19:47:30 Switched to FFmpeg for Video Encoding!
19:47:30 FFmpeg.exe String: "C:\DVD\tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -i "C:\DVD\encode\D2VAVS\V01000100001002.AVS" -vcodec h264 -bf 3 -b 1466537984 -s x -an -partitions all -deblockalpha -2 -deblockbeta -1 -directpred 2 -refs 6 -threads 0 -flags2 -brdo -wpred -bpyramid -mixed_refs -dct8x8 -pass 1 -r 25.00000 "C:\DVD\encode\automkv\temp\movie.mp4"
19:47:30 FFmpeg.exe String: "C:\DVD\tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -i "C:\DVD\encode\D2VAVS\V01000100001002.AVS" -vcodec h264 -bf 3 -b 1466537984 -s x -an -partitions all -deblockalpha -2 -deblockbeta -1 -directpred 2 -refs 6 -threads 0 -flags2 -brdo -wpred -bpyramid -mixed_refs -dct8x8 -pass 2 -r 25.00000 "C:\DVD\encode\automkv\temp\movie.mp4"
19:47:32 Fished FFmpeg Encoding!
19:47:32 "C:\DVD\tools\AutoMKV086\exe\matroska\NicMP4Box.exe" -normal-mode -add "C:\DVD\encode\automkv\temp\movie.mp4":par=-1.#IND00 -fps 25.00000 "C:\DVD\encode\automkv\temp\V01000100001002_full.mp4"
19:47:32 Final Muxed size: -1 bytes
19:47:32 Encoding finished: 00:00:07 elapsed time
19:47:32 -----------------------------------------------------------------------
19:47:32 Script AutoCrop.log
19:47:32 -----------------------------------------------------------------------
19:47:32 Script Resmovie.avs
19:47:32
19:47:32 movie = Import("C:\DVD\encode\D2VAVS\V01000100001002.AVS")
19:47:32 function Comptest(clip c, float percent)
19:47:32 {
19:47:32 frange=floor(14./(percent/100.))
19:47:32 Return SelectRangeEvery(c, frange, 14)
19:47:32 }
19:47:32 Comptest(last,2)
19:47:32 -----------------------------------------------------------------------
19:47:32 Script movie.avs
19:47:32
19:47:32 Import("C:\DVD\encode\D2VAVS\V01000100001002.AVS")
19:47:32 return last
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio.avs
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio.bat
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio2.avs
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio2.bat
19:47:32
19:47:32 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
6th July 2007, 07:01
on avs input automkv will not do many check...

you are right the converttoyv12 is needed

BHH

survivant
6th July 2007, 12:55
could it be possible (or make sense) to separate the input movie in smaller part (using avs script) to apply differents filters or bitrate on each part ?

my point in this. Suppose you have few sceens that have lot of actions, it could use higher bitrate specially for this sceens.

I dont know much about autodetect motion or autodetect which filter should be the better for the movie, but if there is somehitng like that, that can analyse a movie part, and suggest the best filter.. that could be usefull

DIEGO7-5
6th July 2007, 15:13
@survivant:

Its already there. You can choose "QmTrim" which is based on motion vector analysis and kinda slow, or "HG AVS Optimizer" which is based on frame size. All you have to do is choose a profile based on your source material.

buzzqw
6th July 2007, 15:36
you are correct DIEGO7-5

and finally i found the cause of the slowdown of build past 0.72...
wait for a boost of speed in next update (up to 10%)

BHH

buzzqw
6th July 2007, 18:09
beta update! 0.86e
take your old build if you haven't problem or.. take the edge with this build (that will be the base for 0.87)

http://www.64k.it/andres/data/a/AutoMKV086e.exe

ADDED: FFmpeg command line added to Log
FIXED: "Don't Care about Size" will change width only if with is "Automatic"
FIXED: When input is ifo AutoMKV will try to demux audio even if not requested
FIXED: When changing audio codec the downmixing will not change. It will be set to Stereo for Lame
FIXED: Deinterlace test results now is always reported
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
FIXED: Readded Deinterlace Status Analysis Window(beta)
FIXED: ChapterXtractor should work on long path
FIXED: FFDshow will remain invoked even if script is closed (2 fixed... more needed)
FIXED: Computing movie parameters is now hidden
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
FIXED: Removed -fps from xvid_encraw command line. Even if value passed was correct

BHH

TheRyuu
6th July 2007, 20:22
beta update! 0.86e
take your old build if you haven't problem or.. take the edge with this build (that will be the base for 0.87)

http://www.64k.it/andres/data/a/AutoMKV086e.exe

ADDED: FFmpeg command line added to Log
FIXED: "Don't Care about Size" will change width only if with is "Automatic"
FIXED: When input is ifo AutoMKV will try to demux audio even if not requested
FIXED: When changing audio codec the downmixing will not change. It will be set to Stereo for Lame
FIXED: Deinterlace test results now is always reported
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
FIXED: Readded Deinterlace Status Analysis Window(beta)
FIXED: ChapterXtractor should work on long path
FIXED: FFDshow will remain invoked even if script is closed (2 fixed... more needed)
FIXED: Computing movie parameters is now hidden
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
FIXED: Removed -fps from xvid_encraw command line. Even if value passed was correct

BHH

If colormatrix is the last parameter, then the source would have been already deinterlaced right?

So this:
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
and this:
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
Kind of contradict each other. Unless it works this out somehow.

Just curious :)
Also, colormatrix is only used when it's an ifo/dvd source right? Since I've seen encodes with and without colormatrix based on the source (I think).

Also (again :p), the last full build (.86) you forgot to update x264. I think your still using Sharktooths rev. 635 from May (not that really anything I can see really changes though).

Thanks.

~bT~
6th July 2007, 20:55
^ i was just about to ask exactly the same after reading the updates. :)

buzzqw
6th July 2007, 21:38
ops.. yes.. i have some misurestud...

anyway colormatrix is used as last, and so no interlace=true is applyed... BUT if in deinterlace is set leave interlaced then interlaced=true is applyed

Also, colormatrix is only used when it's an ifo/dvd source right?

is used whenever in d2v file is reported a color different from rec 601

I think your still using Sharktooths rev. 635
in next full update i have already added the 663 CEF build

thanks!

BHH

TheRyuu
6th July 2007, 23:20
BTW, I can build xvid from the cvs source if you want. :p
Then you'll know you've gotten the newest xvidcore.dll :p (don't do that :), see below)

On second though, stick with celtic-druid's MTK build. :p
I think I read somewhere that celtic-druid's MTK builds might be faster then the GCC builds. I think I better just leave it with the experts. (I think he uses ICL9, Intel Compiler)

For the hell of it, I'll have to run some speed tests between mine (GCC) and the MTK builds.

Also, I found a newer version of xvid_encraw (built using the latest source from the xvid CVS, update Jan 2007). It was on some xvid page, can't find the link anymore, but luckily I downloaded it. You can get it here. (http://files.filefront.com/xvid+encraw7z/;7983321;;/fileinfo.html)

Really seem into the :p face right now.

survivant
7th July 2007, 00:55
first test with HGAVS and I got an error

VirtualDub Error

can't open file : "c:\dvd\encore\temp\hgmovie.avs"


the file is 0 bytes.

here the log in the command prompt

C:\DVD\encode\automkv\temp>"C:\DVD\tools\AutoMKV086\exe\encoder\HGAVSOptimizer.e
xe" "C:\DVD\encode\automkv\temp\par.txt" "C:\DVD\encode\automkv\temp\hgmovie.avs
" "C:\DVD\encode\automkv\temp\hgavsmovie.avs"
HGAVSOptimizer 0.2 (13-05-2006) - Released under the GPL license
Author: Genovese Dario (AKA HellGauss)


VDM:
C:\DVD\tools\AUTOMK~1\exe\matroska\VIRTUA~1\VIRTUA~1.EXE /c /log"C:\DVD\encode\a
utomkv\temp\output.log" /nowrite /sTemp\job1.tmp /x

survivant
7th July 2007, 01:03
I try QMTrim.. I got en error.. again.. but this time.. Critical Error.. something like that.. I had the click 3-4 times on OK.. to close the window.. and after that all the setting in automkv are wrong. The size in empty, the audio in now ogg, the resize is active, the name of the movie is now movie.

I think these settings are ajusted by automkv and they are shown because of the previous error.

buzzqw
7th July 2007, 07:28
@wizboy11

the svn build miss the hvs patch and have also have the bug that framerate is always 25fps (if not specified)

@survivant

here is all ok.. please post/mail the logs

BHH