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
21st July 2006, 10:17
Here the light version of MkvMagic, aimed to newby (and not so newby) user

Please use a MIRROR
stable NEW package WITH DVDFabDecrypter http://www.64k.it/andres/data/a/AutoMKV093.rar (15.5mb, all inclusive, NO install)
stable NEW package WITHOUT DVDFabDecrypter http://www.64k.it/andres/data/a/AutoMKV093_NORIP.rar (14.8mb, NO install)

NOTE: i have upgrade my compiler to one with better compatibility with Vista.. so any Vista users pay attention[/B]

please remember to delete the AutoMKV.ini after any new release

Manual http://automkv.wiki-site.com/index.php/Main_Page
Anybody that want to share knowledge feel free to update the Wiki

Main MIRROR AutoMKV093.RAR (http://www.mediafire.com/?bm1ebaygyb4)
Main MIRROR AutoMKV093_NORIP.rar (http://www.mediafire.com/?1vivjdlymzt)

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


http://img375.imageshack.us/img375/5227/automkv087clz7.png

a warm welcome for everyone using/testing it !

BHH

BIG FAT WARNING
For use NERO AAC you must put your copy of NeroAacEnc.exe (grab it here http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html) into \exe\besweet folder
A recent build of AviSynth 2.5.7 http://downloads.sourceforge.net/avisynth2/Avisynth_257.exe?modtime=1168199840&big_mirror=0
The XviD Koepi Build http://www.free-codecs.com/download_soft.php?d=1312&s=52 , is needed for the YV12 Decoder!
FFdshow as decoder! http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_beta4a_rev1723_20071224_clsid.exe?modtime=1198511934&big_mirror=0
Haali Media Spitter (for MKV input) http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe
for warpsharp plugin read this: http://forum.doom9.org/showthread.php?t=124585 mirror here (http://www.64k.it/andres/data/m/msvcr7071msvcp7071.rar)

If you have any problem with playback (or render issue) download and install Combined Community Codec Pack (http://www.cccp-project.net/download.php?type=cccp)

HOW to update: download full package, then replace automkv.exe with latest version

For WVC1 support is needed WMEncoder (9 serie's) + Windows Media Player 11
Please refer to the wiki for trouble on WMV installation http://automkv.wiki-site.com/index.php/Installation#WVC1
Read here for successive problem with WMV http://forum.doom9.org/showthread.php?p=911873
you can also test your wmv encoder with this software http://forum.doom9.org/showthread.php?t=128182

If you like to donate feel free to click the paypal button on AutoMKV or click here (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=azanzani%40gmail%2ecom&item_name=Donate%20to%20AutoMKV%20%21%20Thanks%20for%20your%20Support%20%21%21%21&no_shipping=1&return=http%3a%2f%2fwww%2e64k%2eit%2fandres%2fdata%2fa%2fThanks%2ehtm&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)

unskinnyboy
21st July 2006, 11:07
Nice. Count me in for some testing.

unskinnyboy
21st July 2006, 12:41
Few bugs..

AutoMKV doesn't recognize spaces in the input path. For e.g: if I extract AutoMKV to C:\Program Files\AutoMKV, and then start the encoding, during the audio encoding step, it flashes a commandline window saying C:\Program is not a recognized internal or external command. At least, that's what I could make out from it because the command window was flashing wildly (it was rapidly getting closed and re-created again. Very annoying - only way was to end the process from the Task Manager).

Actually, audio doesn't seem to work at all. I tried all Nero AAC options, none worked. It was always in the line of

07:09:06 Starting fixing audio delay on track number 1
07:09:06 No audio found at track number 1 switch to track 2
07:09:06 Finished fixing audio delay
07:09:07 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:09:07 No audio create, retry without apply Stereo
07:09:07 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:09:08 No audio create, retry without apply Original
07:09:08 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:09:09 No audio create, retry without apply Original
or
07:11:35 Starting fixing audio delay on track number 1
07:11:35 No audio found at track number 1 switch to track 2
07:11:35 Finished fixing audio delay
07:11:35 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:11:36 No audio create, retry without apply DLP II
07:11:36 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:11:37 No audio create, retry without apply Original
07:11:37 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:11:37 No audio create, retry without apply Original
07:11:37 Finished D:\Pollock\VIDEO_TS\ to AAC with setting
07:11:38 No audio create, retry without apply Original

Note how the log is incorrect too. First it says retry without apply DLP II and then in the next try, the error message switches to retry without apply Original.

Even Copy Original doesn't work. I get:

07:26:05 Starting fixing audio delay on track number 1
07:26:05 No audio found at track number 1 switch to track 2
07:26:05 Finished fixing audio delay
07:26:05 Renamed file to audio.
07:26:06 No audio create, retry without apply Stereo
07:26:06 Renamed file to audio.
07:26:07 No audio create, retry without apply Original
07:26:07 Renamed file to audio.
07:26:08 No audio create, retry without apply Original
07:26:08 Renamed file to audio.
07:26:08 No audio create, retry without apply Original
07:26:08 Renamed file to audio.
07:26:09 No audio create, retry without apply Original
07:26:09 Renamed file to audio.

I noted that you are not indexing the video and demuxing the audio tracks using DGIndex before this. That might be the reason why it is not able to find the audio streams.

In all of the above cases, the flashing window problem occurs and the only way out of it is to end task it.

OK, so then I selected no audio and DGIndex craps out with a No Video Sequence Header Found error (the kind you used to get if you opened an avs in DGIndex before) followed by a No data. Check your PIDs error. Looks like the PIDs are not being set, for whatever reason.

Whew, that's it for now. Got to leave for work. Will test later tonight if I am sober enough.

P.S: Are you allowed to distribute neroAacEnc? Note that the MeGUI folks aren't distributing it at the moment because of licensing issues.

buzzqw
21st July 2006, 12:58
AutoMKV doesn't recognize spaces in the input path.

good point, will be fixed in next update

noted that you are not indexing the video and demuxing the audio tracks using DGIndex before this. That might be the reason why it is not able to find the audio streams.

dgindex is always used ! in mkvmagic.log (at start) what command line is used for dgindex (like) "13:53:15 Dgindex CMD: C:\Programmi\PureBasic4\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -If=[C:\Programmi\PureBasic4\AutoMKV\aaa.vob] -OF=[C:\Programmi\PureBasic4\AutoMKV\movie] -exit -MINIMIZE"

what si your input file ? a dvd structure ? if so the main problem is with ifo parsing... try pointing at main ifo file. or at vob... and at end (before removing all) at an already created d2v

OK, so then I selected no audio and DGIndex craps out with a No Video Sequence Header Found error (the kind you used to get if you opened an avs in DGIndex before) followed by a No data. Check your PIDs error. Looks like the PIDs are not being set, for whatever reason.

TS input ? i found an ugly bug... please wait for next update

and about neroaacenc: no, i haven't any right to publish, i have replaced the original package... when i published the package i have included my neroenc... thank again for pointing it out

wait a fresh new build

BHH

unskinnyboy
21st July 2006, 14:01
dgindex is always used ! in mkvmagic.log (at start) what command line is used for dgindex (like) "13:53:15 Dgindex CMD: C:\Programmi\PureBasic4\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -If=[C:\Programmi\PureBasic4\AutoMKV\aaa.vob] -OF=[C:\Programmi\PureBasic4\AutoMKV\movie] -exit -MINIMIZE"

what si your input file ? a dvd structure ? if so the main problem is with ifo parsing... try pointing at main ifo file. or at vob... and at end (before removing all) at an already created d2v
All my testing was on a DVD input. DGIndex is used, but are you using it *before* encoding audio? If I select Nero AAC-Stereo as the audio format, AutoMKV immediately fires up the commandline for encoding the audio with neroAacEnc.exe. But I don't recollect a step happening where the AC3 is being demuxed out of the VOBs. I am pretty sure this was the case, but I will check the logs again tonight.

The input was indeed the main IFO file and I reckon vstrip_ifo.exe parsed it without any issues too.

TS input ? i found an ugly bug... please wait for next update
Nope. DVD input. Which makes the error all the more weird.

Also here are some suggestions:


The GPL license included, COPYING, doesn't have an extension. Make it COPYING.txt.



All the input options should be labelled, Audio Track #1, Audio Track #2, Subtitles, Resizer, Denoiser etc.



There should be an option None under the Denoisers, if I want no denoising. Also, there are non-denoisers listed in there, e.g: ColorMatrix. How come?



Do you plan to provide sharpening options too? I feel you should.


EDIT: And oh, inside the exe folder, you have a chapters.txt and an xvid.stats left over from some testing you have been doing.

buzzqw
21st July 2006, 15:02
http://www.64k.it/andres/data/a/AutoMKV04.exe UPDATE

All the input options should be labelled, Audio Track #1, Audio Track #2, Subtitles, Resizer, Denoiser etc
The GPL license included, COPYING, doesn't have an extension. Make it COPYING.txt.
There should be an option None under the Denoisers, if I want no denoising.
EDIT: And oh, inside the exe folder, you have a chapters.txt and an xvid.stats left over from some testing you have been doing.

DONE :)

Also, there are non-denoisers listed in there, e.g: ColorMatrix. How come?

filter combo is editable... and please take a look at "base.avs" into \exe\filter directory... is fully customizable :D

TS input: fixed
Space : should be fixed (finger crossed)

update (automkv.exe only) http://www.64k.it/andres/data/a/AutoMKV04.exe

EDIT: and now working on dvd input

buzzqw
21st July 2006, 15:42
http://www.64k.it/andres/data/a/AutoMKV05.exe

should be fixed dvd input

BHH

unskinnyboy
22nd July 2006, 00:58
Space : should be fixed (finger crossed)
No, not fixed.

dgindex is always used ! in mkvmagic.log (at start) what command line is used for dgindex (like) "13:53:15 Dgindex CMD: C:\Programmi\PureBasic4\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -If=[C:\Programmi\PureBasic4\AutoMKV\aaa.vob] -OF=[C:\Programmi\PureBasic4\AutoMKV\movie] -exit -MINIMIZE"

Audio part is working now. Now that I am home and checking the logs, I can confirm that there is no sign of DGIndex in them as you claimed. So what was the problem with that part of the code? Was I correct in my observation that you weren't demuxing the tracks before and hence the reason the audio encoding was failing?

Another problem now is that DGIndex's Information window is suppressed when running (Is it because of -MINIMIZE?). So I am not able to see any progress. To add to the problem, AutoMKV GUI itself totally disappears from view once DGIndex is fired off. A progress bar is a must here, IMO. Either enable the Information window of DGIndex or have AutoMKV itself display the log real-time (like in AutoGK), and if possible, both.

So it is encoding at the moment (at least I think so, since x264.exe got invoked now, but nothing in sight). I am out for the night. Will check back tomorrow for more.

EDIT: I can see the x264.exe window now and yes, it is running.

killerhex
22nd July 2006, 00:59
can you put mkv input

clone83
22nd July 2006, 03:08
and add inputs .divx, .avi and .ogm. and add .divx as an output aswell...?

buzzqw
22nd July 2006, 07:15
Quote:
Originally Posted by buzzqw
Space : should be fixed (finger crossed)
No, not fixed.

thanks again... i will try to reproduce and resolve the problem

Audio part is working now. Now that I am home and checking the logs, I can confirm that there is no sign of DGIndex in them as you claimed. So what was the problem with that part of the code? Was I correct in my observation that you weren't demuxing the tracks before and hence the reason the audio encoding was failing?

no. I use dgindex as demuxer, and if audio is working then dgindex is launched minimized, and at the and audio is encoded.

Another problem now is that DGIndex's Information window is suppressed when running (Is it because of -MINIMIZE?). So I am not able to see any progress.

just right click on dgindex minimized and click "restore"

AutoMKV GUI itself totally disappears from view once DGIndex is fired off. A progress bar is a must here, IMO
... not so easy (for me...). but i will try :)

AutoMKV itself display the log real-time (like in AutoGK), and if possible, both

read mkvmagic.log in destination folder

asap i will try to fix the bugs

BHH

buzzqw
22nd July 2006, 10:48
http://www.64k.it/andres/data/a/AutoMKV06.exe

space in source file and in installation path is fixed.

many thanks unskinnyboy

about ogm/mkv/.divx (and .divx output) input will be not supported directly (now). Since AutoMKV support avisynth input feed the program with a directshowsource file

BHH

Henrikx
22nd July 2006, 15:40
http://img164.imageshack.us/img164/8697/unbenanntechtfarben01largeva1.th.jpg (http://img164.imageshack.us/my.php?image=unbenanntechtfarben01largeva1.jpg)

buzzqw
22nd July 2006, 16:57
:D this is another matter... the destination folder "should" be without space in name...

anyway this build is without the "space" check (and will fuction even with space ... but not over 128 character lenght folder...)

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

please re-download. I also have optimized some routines (from 202kb to 197kb...)

Thanks for your test !
BHH

buzzqw
22nd July 2006, 17:06
and btw here the 0.07 build

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

this build will fix the restore of AutoMKV window at end muxing

BHH

unskinnyboy
22nd July 2006, 21:09
no. I use dgindex as demuxer, and if audio is working then dgindex is launched minimized, and at the and audio is encoded.
I don't think you got me. *Now* audio part is working fine (as of v0.05 I tested). Because you are launching DGIndex *before* the audio step, how it should be. This was NOT what you were doing in v0.03, where there wasn't any DGIndex step *before* the audio encoding step. You used to attempt to encode the audio, but without an input track in hand (because it was never demuxed out of the VOB container!). But anyway, good that it is fixed now.

just right click on dgindex minimized and click "restore"
I had tried all that. Restoring doesn't restore the information window. It only restores the main window. Does it work for you?

read mkvmagic.log in destination folder
I am not sure I got what you mean here. Are you saying that you will read mkvmagic.log (and hence maybe display the log in the AutoMKV window) or are you asking me to go read it if I want to know the progress? Former is fine, latter isn't. A newbie user wouldn't want to go looking in the source directory and read the logs to know the progress. Btw, why mkvmagic.log? You should rename it to automkv.log to reflect the name of the tool.

OK, now that the encode is done (with v0.05) , I see that it is undersized (I asked for 700 MB, it gave me 692.2 MB) and it wasn't IVTC'd. It should have been (QMF not working properly?). I am also 99.99% sure, I had selected the width to be 720, but the resultant file has a width of 704 (will confirm this later).

More suggestions..

You are creating a ton of stuff in the source directory and it is confusing. You should be moving all the intermediate files into a temp directory. The source directory should only contain the input files & the output files (movie+subs). You could even create an output directory and put the movie+subs there.

buzzqw
22nd July 2006, 22:54
But anyway, good that it is fixed now.

i can confirm that dvd input was broken in 0.03 , and it is ok from 0.05

I had tried all that. Restoring doesn't restore the information window. It only restores the main window. Does it work for you?

yes (as autogk faq..), anyway now dgindex is lauched not minimized

you asking me to go read it if I want to know the progress? Former is fine, latter isn't. A newbie user wouldn't want to go looking in the source directory and read the logs to know the progress. Btw, why mkvmagic.log? You should rename it to automkv.log to reflect the name of the tool.

... i will try to implement a direct log into main window... but i am a newby developer... be patient
about renaming... of course, i have reused some routines from my mkvmagic ... log will be now automkv.log

OK, now that the encode is done (with v0.05) , I see that it is undersized (I asked for 700 MB, it gave me 692.2 MB) and it wasn't IVTC'd

is previus version (prior to 0.6) dbautodeint wasn't correctly launched on path with space in name... please retry with 0.08 build (on a short vob). About undersize... i will try to do better compute... (try with 0.08)

. I am also 99.99% sure, I had selected the width to be 720, but the resultant file has a width of 704 (will confirm this later).
check mkvmagic.log should be written. Anyway the new log (0.08) will be filled with more information

Y The source directory should only contain the input files & the output files (movie+subs). You could even create an output directory and put the movie+subs there.

added a "Del Temp File" check. But remember since this software is in beta status, i analyze many temporary file for debugging

thanks again and here the 0.08 build http://www.64k.it/andres/data/a/AutoMKV08.exe

BHH

buzzqw
23rd July 2006, 08:16
http://www.64k.it/andres/data/a/AutoMKV09.exe

update deinterlace routines, log file, qmf will not called two times, on mpeg2 source colormatrix is applyed by default

quick note: filters are editable, and even deinterlacer so edit it to your taste

BHH

Henrikx
23rd July 2006, 09:14
...destination folder works now fine,but after pressing Start the program begins to work, but I cant see AutoMKV on Display,only by Taskmanager.
http://img98.imageshack.us/img98/9079/wowg4.th.jpg (http://img98.imageshack.us/my.php?image=wowg4.jpg)

I posted in the German doom9 (Forum Gleitz) news your program, so that more people help to test AutoMKV.
http://forum.gleitz.info/showthread.php?p=278786#post278786

BergH
23rd July 2006, 11:28
Hello !

Just downloaded it and started with an DVB-S Stream (Demultiplexed with ProjectX and cutted with Cuttermaran)
OC bla bla.mpg

After Start 10.000 plus CMD Windows opened and closed.
I could hradly kill the Thread AutoMKV with Windows Task Manager.
Any Idea who this can happen ?


Edit :Arggggggggggghhhhhhhhhhhhhhh
Forget my question .
I just downloaded the Update EXE instead installing the whole packet from Post 1

Of course I could edit the post, hence it may help somebdy else.


First Encode is running.

Thnaks HenriKx for mentioning the program.

BergH
23rd July 2006, 13:10
Hello again !

No success , same strange behavior as described above.

Can you see anything from the Logfile attached ?

buzzqw
23rd July 2006, 13:23
here is the 0.10 http://www.64k.it/andres/data/a/AutoMKV10.exe

now automkv window is no more hidden, and can be minimized, also a window will popup with the log of varius operation.

BHH

buzzqw
23rd July 2006, 13:24
@bergh

please post the log, otherwise a mod must be validate the attach

also ... try with latest version

BHH

killerhex
27th July 2006, 05:46
can mkv be input thru .avs

buzzqw
27th July 2006, 08:34
for sure !

pay attention to vfr file. audio should be encoded separately.

thanks for your interest
BHH

Henrikx
28th July 2006, 20:56
@buzzqw
Question :
Output Size < 1/4 CD . What to do ?
Is something like Custom Size (AutoGK) planned ?
THX for your Work !!!

buzzqw
28th July 2006, 22:08
just a note: if you write 200 (for example), overwriting "1 CD" you will got a 200MB final size. The same if you write 800 you will get a 800mb final size. The second number (usually "1") is the multiplier of slice.

let's say: 1 cd , 1 -> 1 cd as final output
2 cd , 2 -> 2 slice of 1400 mb
also 300 , 3 -> 3 slice of 300mb

do you understand ? (i hope so !)

BHH

Henrikx
29th July 2006, 07:32
Yes I understand !!
THX

DDogg
2nd October 2006, 14:49
A note for folks casually trying out this program - Make sure you download NeroAAC to the AutoMK\exe\BeSweet directory. Else, you will get an exasperating looping flickering command window without an error being indicated.

buzzqw
2nd October 2006, 15:34
thanks for the info

but is already diplayed in first topic :) (from 23/07)

BHH

DDogg
2nd October 2006, 16:55
thanks for the info

but is already displayed in first topic :) (from 23/07)

BHHYes, but I wanted people to know what the result was.

[Changed - The error I am having now seems to NOT be anything to do with audio. Rather, it seems to be something caused by using the CQ-ASP_Q2_Eq(crf) profile.] More later.
/add2: Yep, when I choose CQ-ASP_Q2_Eq(crf) profile the process stops before (or during?) the creation of the resmovie.mp4 file. I can then change only the profile to CQ-ASP_Q2_equiv and press start again and it works. Or, at least the resmovie.mp4 is running as I type. What is this resmovie.mp4 file for? Seems to me the CQ mode needs nothing but the encoding pass anyway?

Later: Chose CQ-Q2 equiv space 1/3 dvd - Ended up with a 1.25 gig file with a resolution of 336X144! (scratching head)

I appreciate your work on this program. It did a great encode [when the default settings were used] and is easy and comfortable to use.

/add: a few comments -
1> Although a user error, it is easy to forget to change the output directory to the HD when the input is a virtual drive. No error is thrown, just a crash.
2> If I chose H (my Vdrive) in the uppermost right drop down, should it pick up the dvd structure automatically? If so, it is not working. After start is pressed, DGIndex comes up and hangs open like it is waiting for input.

buzzqw
3rd October 2006, 07:56
AutoMKV 0.11 UPDATE (http://www.64k.it/andres/data/a/AutoMKV11.exe)

Rather, it seems to be something caused by using the CQ-ASP_Q2_Eq(crf) profile.

Later: Chose CQ-Q2 equiv space 1/3 dvd - Ended up with a 1.25 gig file with a resolution of 336X144! (scratching head)

i can confirm that this 2 mode was totaly broken. (fixed in automkv 0.11)

Seems to me the CQ mode needs nothing but the encoding pass anyway?

automkv will auto resize movie based on medium choosed. if you don't wat resize just choose NONE in Resizer ( added automkv 0.11)

1> Although a user error, it is easy to forget to change the output directory to the HD when the input is a virtual drive. No error is thrown, just a crash.
not easy... but i have one idea... (checking for free space...)

2> If I chose H (my Vdrive) in the uppermost right drop down, should it pick up the dvd structure automatically? If so, it is not working. After start is pressed, DGIndex comes up and hangs open like it is waiting for input.
usually you should input to one ifo, automkv would choose then the main movie.

thanks for your test !

DDogg
3rd October 2006, 22:05
Just finished an encode using the CQ-ASP_Q2_Eq(crf) profile and it completed and looked good. Thanks!

That brought up several deeper questions. I hope you don't mind.

I noticed a fair speed difference between AutoMK and MeGUI while using the identical profile so took a look a little deeper as a learning exercise.

Btw, I noticed AutoMK was not picking up the matrix that was hardcoded into the profile and copied to AutoMk's profile
folder (so I added it, hopefully in the correct place). I took both command lines from AutoMK and MeGUI and slightly modified
them to both use the same exe, matrix, avs, and destination folders.

The AutoMK cmdline showed 21.30 fps after 3% and the MeGUI line showed 15.58 fps after 3% (not very scientific, I know).

For some reason, I had in my head that using a profile pretty much caused the cmdlines to be the same in any program.
Probably a poor assumption on my part, but this x264 stuff is all new to me. I wonder if someone more experienced can spot
the difference in the cmdlines that made the speed difference.

Here are the cmdlines -

AutoMK 21.30 fpsc:\apps\x264.exe --crf 18 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter
-2,-1 --direct spatial --vbv-maxrate 25000 --me umh --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct
--threads 2 --cqmfile "C:\apps\extra\eqm_avc_hr.cfg" --output "D:\temp\auto2\movie.mp4" "D:\temp\auto2\movie.avs"
MeGUI 15.58 fpsc:\apps\x264.exe --crf 18 --ref 3 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --filter -2,-1 --subme 6 --trellis 1
--analyse all --8x8dct --vbv-maxrate 25000 --me umh --threads 2 --thread-input --cqmfile "C:\apps\extra\eqm_avc_hr.cfg" --progress
--no-psnr --output "D:\temp\auto2\movie.mp4" "D:\temp\auto2\movie.avs"
Also, on another subject, you mentioned a "NONE" in size. I saw a blank, but no "NONE" so set it to 720.

buzzqw
4th October 2006, 10:59
new full istaller at first post (http://www.64k.it/andres/data/a/AutoMKV015.rar)

Just finished an encode using the CQ-ASP_Q2_Eq(crf) profile and it completed and looked good. Thanks! :) :thanks:

Btw, I noticed AutoMK was not picking up the matrix that was hardcoded into the profile
added possibility to choose matrix (0.15)

For some reason, I had in my head that using a profile pretty much caused the cmdlines to be the same in any program.

this should be true !

differcence is "subme" . megui use subme 6 , but automkv use the default , 5

Also, on another subject, you mentioned a "NONE" in size. I saw a blank, but no "NONE" so set it to 720.

NONE is in Resizer, with SimpleResize,Lanczos...
if you choose NONE , then NO reisize is applyed.
Example:
1) SimpleResize / 720: movie is autocropped then resized to 720
2) SimpleResize / Automatic: movie is autocropped and resized to for better diplay
3) NONE / 640 : movie isn't either autocropped or resized
4) NONE / Automatica: movie isn't either autocropped or resized, AND NO resized applyed

:thanks: for your test

BHH

DDogg
4th October 2006, 20:36
Problems in test (v15):
1> x264.exe does not like your -nf argument in 1P max speed.
2> Encoding worked before with my AutoMK dir in "Avi Out" - now borks on spaces. You left out the quote marks for the first of the cmdline.

Requests:
1> Possible to allow editing of the script before encode process starts? Just a save with the process paused so one can go to dir and play it to check if it is ok before continuing. The creation of the x264 test.bat would help also because a person could tinker with the script and run the testx264.bat to gauge speed, etc. When the person was finished, they would click a continue button on the AutoMK gui popup. This would save a world of time instead of starting over every time. That is frustrating.

2> A way to change the load plugin lines so I can use, for instance, RemoveGrainSSE3.dll? Presently renaming it, but that is kind of ugly. Perhaps replace your hardcoded loadplugin lines with an import of a separate plugin script which could be edited? I think that would work. [Yep, tested - importing Path:\plugin_scr.avs works fine as a substitute for your hardcode]

Later: I see the -nf thing was dealt with http://forum.doom9.org/showthread.php?p=883442#post883442

buzzqw
5th October 2006, 12:23
update www.64k.it/andres/data/a/AutoMKV16.exe

2> Encoding worked before with my AutoMK dir in "Avi Out" - now borks on spaces. You left out the quote marks for the first of the cmdline.

the bat are created for debug pourpose. AutoMKV launch x264.exe with parameters.... anyway now automkv will lauch those bat.

Requests:
1> Possible to allow editing of the script before encode process starts?
DONE (0.16). just check "Pause before encoding", this check will pause encoding before autoresize routines and final encoding.

Also you can check it, adjust the autoresize bat, click on wait prompt, and if ok de-check "Pause..." and final encoding will not wait for start


2> A way to change the load plugin lines so I can use, for instance, RemoveGrainSSE3.dll?
every plugin (*.dll) in \filter is automatically loaded.

thanks again

BHH

DDogg
5th October 2006, 16:54
buzzqw, thanks for being so responsive. The pause feature will be very helpful. [V16 is broken I think, use V15]

The 2pass and CQ modes seem to be working ok, but 1Pass with auto is weird. Note the bitrate below. As well, the movie.avs generated a 112x48 resize! Suggest anybody trying this out should not choose 1Pass or automatic resizing for a while. CQ modes seem ok.

"C:\apps\AutoMK\exe\encoder\x264.exe" --bitrate 241155 --progress --keyint 250 --bframes 0 --qpmin 10
--qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 0 --direct auto --vbv-maxrate 25000 --me dia --merange 8 --nf --no-cabac
--no-b-adapt --no-chroma-me --threads 2 --output "C:\temp\resmovie.mp4" "C:\temp\resmovie.avs"
/add: choose 720 instead of auto on 1pass max speed - got --bitrate 679175
/add2: V16 seems to be borked > "... --pass 1 --bitrate 1555215"

buzzqw
5th October 2006, 19:44
i think problem is caused by using time.avs

i launch x264.exe, with some very quick parameter, and -nf is one of these, and encode time.avs (this parameter will be removed in next automvk build)

then a file "c:\frame.txt" is created and then read (for information about frame, width,height...)

i think i have update my the x264.exe build and not those within the "installer".

Please update your x264.exe in your \exe\encoder folder with latest one from Sharktooth, and report again. (i am not able, now, to replicate the problem)

Also i accept every suggestion and criticism
:thanks:

BHH

agressiv
5th October 2006, 19:50
Can you set a target bitrate rather than a target size? (e.g I dont want to use 1/3 DVD etc, I want to use the default setting in the HQ-Slow profile)

Thanks!

agressiv

DDogg
5th October 2006, 20:22
Was using the very latest x264 build. I will revert back and try it with an older build if I can find it.

buzzqw, is this of any interest? http://forum.doom9.org/showthread.php?p=884035#post884035

GOP threading:
+ Scales perfectly to decent-sized clusters.
- Requires application support / restricts API (seekable input, heavily buffered output.) Not usable for realtime streaming.
- Requires CQ or 2pass (no ABR).
I have a dual 930 running with Avisynth 2.6. No problems at all with anything.

I give up trying to understand what is happening here with all the bitrate based stuff. The CQ modes work fine and that is all I need. I will be happy to help test for you when you have a somewhat tested version you feel might be ok. When you do, please upgrade the whole package so I can make sure I am using what you tested with.

Can you set a target bitrate rather than a target size? (e.g I dont want to use 1/3 DVD etc, I want to use the default setting in the HQ-Slow profile)

Thanks!

agressiv Maybe I am not experienced enough to understand but isn't HQ-Slow profile a bitrate based 2 pass designed for a size target? If you just want a quality encode with no size target, try CQ-ASP_Q2_Eq(crf) profile. Did I misunderstand?

agressiv
5th October 2006, 20:33
If you see what I have selected in the dropdown, I dont want this file to conform to a particular size.

I just want this to say "Use profile setting" or "N/A"

agressiv

buzzqw
5th October 2006, 21:40
for custom size just overwrite , as example 1 CD or 1/3 DVD, with your wanted size in MB

so write 300 for an output size of 300 MB

i will look tomorrow for bitrate issue, sorry

BHH

buzzqw
6th October 2006, 07:07
UPDATE www.64k.it/andres/data/a/AutoMKV17.exe

fixed bitrate issue (0.17)

if neroAacEnc.exe is missing then automkvc will switch to ogg vorbis audio (0.17)

CRF and QP quantitizer is parsed from SharkTooth profile ( example: in CQ-ASP_Q2_eq(crf).xml there is one row <BitrateQuantizer>18</BitrateQuantizer> , 18 is used ) (0.17)

and sorry again for bitrate issue (even if i think is due to x264.exe...)

BHH

DDogg
6th October 2006, 14:37
Looks like bitrate issue is fixed. I'll do 2 or 3 more tests and edit in the results.

I noticed if neroAacEnc.exe is missing AND you have chosen original-original (ac3) then the ogg routines are still activated. A small thing as neroAacEnc.exe should have been in the BeSweet dir except I redownloaded yesterday and forgot to put it back in.

buzzqw
6th October 2006, 14:52
update www.64k.it/andres/data/a/AutoMKV18.exe
about Original Audio > fixed (0.18)

fixed some info about audio in log file

BHH

P.S. my best thanks to DDogg for his test !

DDogg
6th October 2006, 15:53
Since it looks like the bitrate thing is now working, I need to ask you some questions to better understand your automatic resizing thing -

As a hard test I chose a source of 90 minutes and selected the original AC3 (314 MB (329,891,072 bytes)) with a target of 1 cd using 1P intermediate.

Obviously this is not a good idea, but I wanted to see how your autosizing would work. What I am seeing is a bitrate of 532 and the movie.avs is still 704x304. I assumed the purpose of the automatic resizing would be to move that resolution down to more match the available bitrate. Am I confused, or should the resolution have been reduced? [Maybe it can't work right with 1P? That would make perfect sense as one would not use a 1P for this]

Personally I would not use that feature much, if ever, because I would be using x264 to create HQ stuff and would never want the resolution to be reduced. Still, I would like to understand it better so as to provide some decent testing for you in the future.

I CAN see a mode where a person would like to specify a resolution, quality and the size of the slices and let an automatic mode make the decision on how many slices to produce to yield the specified quality. But that is something to talk about in the future if you are interested as is [the companion topic of light compression enhancing] conditional filtering being triggered if the auto decision showed itself to be on the short edge of adding another incremental slice.

Btw, a process priority selection would be welcomed as x264 does a great job of maxing out my dual not leaving much CPU available for anything else unless I manually reduce the priority.


buzzqw, thanks for your work and let me know how I can help.

Success - The above described encode came out as 692 MB (725,651,061 bytes) - Change: The quality was suprisingly good given the 532 bitrate, 704x304 res, and using 1P intermediate. I think if the proper 2pass mode had been used it would have been quite good. X264 is amazing me more and more. Log attached.

agressiv
6th October 2006, 15:54
I will try leaving that size field blank. I never ever encode fixed sizes, I always just want target bitrates.

I dont have a lot of sources here at work, but the one I tested with has a large audio delay:

Movie T01 3_2ch 448Kbps DELAY 62224ms.ac3

Audio was desynced - and checking the log, it doesn't look like its attempting to compensate for it, nor can I see where I could compensate for it manually -

I frequently use this source because it represents a challenge :)

Attached is the log -

Other question - anyway of opening the various command line windows minimized or otherwise hidden?


agressiv

buzzqw
6th October 2006, 22:12
Obviously this is not a good idea, but I wanted to see how your autosizing would work.

basically i encode 5% of full movie (look at resmovie.avs) and look at the resulting size.
Based on this sized i calculate the "better" width

as you said 1pass mode isn't well suited for compression test, and, probably, if you had chosed 2 pass encode the width should be lower.


Btw, a process priority selection would be welcomed

before i allowed the editing of bat files automkv launched all encoding in idle priority. But since i allow editing of bat files, automkv cannot more choose these priority (since now i launch bat files no more x264.exe directly) . I must search another solution....


I will try leaving that size field blank. I never ever encode fixed sizes, I always just want target bitrates.
if you want target bitrate you know the resulting final size (since is based on bitrate !). Write on size box your wanted size.

Movie T01 3_2ch 448Kbps DELAY 62224ms.ac3
.... i think there is something wrong with this delay... try re-ripping and relaunch dgindex. Audio fix is based on delaycut by jsoto, an excellent application

Other question - anyway of opening the various command line windows minimized or otherwise hidden?
there no hidden window. if you want to check bat files before automkv lauch these files, just check "pause before encoding"

BHH

DDogg
6th October 2006, 22:40
Second test on same source using 2P Main Profile sized out at 691 MB (724,595,637 bytes). I used Deen() which is a little too heavy but maximizes compression. Resulting res was still 704x304 but it looked quite good with no artifacts. Maybe AutoMK felt the 704x304 was correct given the increased compression effects of Deen().

I'll try to do another with a strong sharpening filter. That should trigger a resolution change if it is ever going to do so, given a 550 bitrate. I attached the log if you need any information.

DDogg
7th October 2006, 05:53
buzzqw, this whole resolution thing got me going today. I found the method you are using does not create a different filesize even when one sample had Deen() in it and one had a crazy Sharpen(1). This should have near doubled the size of the sample.

So, this was the result http://forum.doom9.org/showthread.php?t=116773

As an exercise copy one of your resmovie scripts. In one put Deen() and the other use Sharpen(1). Use your normal res encode batchfiles and note very little difference in size (because you are using a bitrate specified method).

Now substitute a -crf 30 and see the filesize nearly double as it should because a constant quality mode is used and the additional complexity caused by the Sharpen(1) causes large bitrate increases as the use of Deen() will cause lower complexity and lower bitrate averages.

The deen() and sharpen(1) is just a quick way to fake movies of different complexity.

Btw, try using only a 1 or 2% sample. That should be fine. SelectRangeEvery(600,12) will give you a 2% and my tests showed it was pretty accurate.