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

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.

buzzqw
7th October 2006, 10:29
update www.64k.it/andres/data/a/AutoMKV19.exe

added possibility to specify % of movie to test for autoresize routines (0.19)
added possibility to use CRF (and value) instead of bitrate for autoresize routines (0.19)
added about button (0.19)

"extra" directory into \exe\encoder folder could be deleted

@DDogg : my test has show that x264.exe , not as xvid, isn't good when encoding in cbr mode (or 2 pass mode) when working with selectrange script. While xvid seems to jump bitrate correctly (from scenes to scenes) , x264.exe isn't so linear... , i think that CRF could be the GOOD answer for compcheck. THANKS for your test !

BHH

DDogg
7th October 2006, 21:00
Auto Resolution seems to working ok. On the above mentioned encode I chose crf 20 and it moved the resolution down to 464x192. I then reran with a crf of 25 and it chose to keep 704x304.

I still don't understand why someone would want this feature, but I admit my ignorance on many things mp4.

Temporarily for testing and only if it is an easy thing to do, It would be great if pressing the OK button reran the comptest and resolution decision IF AutoMK sees a time stamp change on the movie.avs file. Dunno, maybe more trouble than it is worth.

It is coming together nicely and should be able to already do most of the encodes that "set it and forget it" people want to do. Clearly a batchmode needs to be thought about at some stage to build upon the ease of use.

Folks wanting to get deep n the guts and mess around always have MeGUI. So concentrating on the "Auto" and "easy to do it" does seem to be the way forward for AutoMK and resisting adding too many odd bells and whistles (including mine) is something for you to think about :). AutoMK can't be all things to all people, so let it be really, really good for it's targeted users.

Nice job!

SeeMoreDigital
7th October 2006, 22:40
Hi DDogg,

I hear you but would there be any chance of adding the following options: -
Elementary stream input option (.M1V, .M2V)
A manual bit-rate encoding option
A manual output resolution option

I think the inclusion of these options would suffice most users requirements....

Great little GUI by-the-way and very simple to use ;)

Very nice work indeed :)

DDogg
7th October 2006, 23:00
Howdy, SMD,

I think 2 things:

1> If the buzzqw is having fun, and if there is an experienced person like you to help test, adding advanced stuff is always cool, but,

2>Seems there would nearly have to be an separate advanced functions menu/window so the clean simple front-end targeted at 95% of the users doesn't turn into the mishmash we have all seen so many times.

AutoGK had a little of that, but I always wished it had an additional advanced menu which would let me drill down/step through to the guts of the process on those few times I wanted to do so. Still, I understood the authors reluctance to deviate too far from his target user. He is a pretty smart guy :)

buzzqw
8th October 2006, 09:13
Temporarily for testing and only if it is an easy thing to do, It would be great if pressing the OK button reran the comptest and resolution decision IF AutoMK sees a time stamp change on the movie.avs file.

could be done in two way: by modifing the avs script or modding the x264 parameters in bat file
I could wait for modifing then relaunch autoresize. Stamp on log the resize gained, then if ok, read the x264 bat and the resmovie.avs.... sorry i think is beyond the scope of AutoMKV... anyway i will think on it :) (thanks for suggestion)

Folks wanting to get deep n the guts and mess around always have MeGUI or using my MkvMagic :D


Elementary stream input option (.M1V, .M2V) is already possble ! ... well... in list of support input just choose ALL file. AutoMKV will ask for audio file, just hit Cancel if you haven't any audio to process (anyway i had already added to list of support file these two extension)

A manual bit-rate encoding option is on the way

A manual output resolution option now is possible to specify the width of video. Your input file will be autocropped and then resized to your choice.
Is also possible to NO RESIZE (no autocrop/no resize), just choose NONE in Resizer list

Manual crop and manual width/height could be done by checking "pause before encoding". Edit your avs file and click ok. (anyway an advanced panel is to considering)

thanks all for your kind words

BHH

DDogg
8th October 2006, 14:49
> sorry i think is beyond the scope of AutoMKV

No problem whatsoever, but let me make sure we are speaking of the same thing. I was suggesting you set the archive bit or note the timestamp when you create the movie.avs. When OK is pressed and IF the archive bit is gone or timestamp changed you just loop back to the resmovie routine, else continue as normal. Thought that would be a simple thing, but understand if not as I don't know how your code is structured. Certainty not worth hardy any effort if it is not that simple.

buzzqw
8th October 2006, 15:59
update www.64k.it/andres/data/a/AutoMKV20.exe

added bitrate encoding: used in 1 pass encoding or 2 pass encoding (and ofr autoresize routines if not checked use CRF). Specified MB size is ignored. (0.20)

added an Advanced Panel:
moved here : Pause before encoding, Use CRF for Autosize..., Custom Comp% check, Specify Bitrate (0.20), Custom Matrix, Deinterlacer (0.20)

added (in advanced panel) Manual Crop&Resize:
if manual crop and resize is checked then automkv will use those crop parameters AND width/height written. (0.20) (user should use dgindex or gordianknot for finding values...) (0.20)

@DDogg
... i simple thing can be this:
i add a check: "Multiple AutoResize", if user tick this check i can allow
1) to modify avisynth filter from box list
2) x264/xvid profiles
3) resizers (simpleresize/lanczos...)
4) change value of "Use CRF for autoresize"
5) Allow/modify "Custom Comp check"
6) Switch to "Specify bitrate mode" (only for 1 or 2 passes encoding)

after each encoding i ask to continue or redo the autosize

what you think ?

BHH

buzzqw
8th October 2006, 16:30
anyway i had already done it

www.64k.it/andres/data/a/AutoMKV21.exe

added (in advanced panel) "Allow multiple autoresize", if checked automkv will ask to redo autoresize.

allowd changes are

1) to modify avisynth filter from box list
2) x264/xvid profiles
3) resizers (simpleresize/lanczos...)
4) change value of "Use CRF for autoresize"
5) Allow/modify "Custom Comp check"
6) Switch to "Specify bitrate mode" (only for 1 or 2 passes encoding)
7) change matrix

thansk again to DDogg for suggestion !

BHH

DDogg
8th October 2006, 16:53
You are freaking amazing! I think the advanced tab is well thought out and will not needlessly confuse people taking their first look at AutoMK.

It may be this evening, but I'll do a complete set of tests (need to finish my test CRF encodes first). Hopefully SMD can give it a workout also. Between the two of us we should be able to break it if it is breakable :)

Add: very, very nice! Selected multiple auto resize and input crf 22, got 608 res - said yes to redo, and changed to crf 25 and got 703, then did it again with crf 18 and got 368. Seems to be working nicely and I wonder if you should not remove the other size check or at least make crf the default?

I think you have nailed a good balance between user friendly and advanced use in one easy to use package. I will really try to break it later today.

buzzqw
8th October 2006, 17:54
@DDogg :goodpost: :thanks: :)

we should be able to break it if it is breakable breakable ??? is breakable like a crystal glass than iron ! (or lead !!!)

i agree about CRF resize, in next version "Use CRF for autoresize" will be check by default. At 18 value ? (should be enough)

and... i missed in changelog: added m1v and m2v to supported input :)

BHH

DDogg
9th October 2006, 01:21
Sorry, forget Texan might not translate into Italian :) I meant test it very hard and see if any bugs pop up. (I think crf 20 might be better)

Small thing, If multires and pause are checked, the second iteration will not allow input as the focus is held by by the continue box.

buzzqw
9th October 2006, 07:40
Small thing, If multires and pause are checked, the second iteration will not allow input as the focus is held by by the continue box.

i think is correct as is. "Pause before" is the first prompt that appear , and this allow editing of bat / avs files.

After click on "Click Ok when ready" the autoresize will start and at end of encoding the question about "Redo Autosize" will prompt (and you are allowd to edit automkv window)

If NO the encoding start (after asking again to be ready), if yes the routines restart.

BHH

buzzqw
9th October 2006, 11:40
update www.64k.it/andres/data/a/AutoMKV22.exe

added x264 and xvid profile editing. in the new tab "Advanced profiles editing" the actual profile will be loaded.
In this editor user can edit the profile , or reload it, and check "Use this profile".

If checked "Use this profile" , automkv will use these values and NOT those in standard profiles (just a little/fast way for editing profiles)

changed: CRF 19 is now default for autoresize

BHH

DDogg
9th October 2006, 15:06
Hmm, something not right with bitrate - 1P max speed - progressive source 150804 frames with 335 mb ac3 - target 2 cds - showing a bitrate of 3199 in the x264 commandline. Should be about 1400, right?

ForcedFilm applied: 99.900002% FILM found
Number of Frames: 150804
Framerate: 23.976025
Movie lenght in Seconds: 6290
Movie Width: 720
Movie Height: 480
Starting X264 Autosize
Command Line CRF encoding X264: C:\apps\AutoMK\exe\encoder\x264.exe --crf 20 --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
--cqmfile "C:\apps\AutoMK\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "D:\temp\auto6\resmovie.mp4" "D:\temp\auto6\resmovie.avs"
Tested total movie: 2%
Movie Width Computed: 1504
AutoResize movie size: 38693873
Starting X264
Command Line ABR encoding X264: C:\apps\AutoMK\exe\encoder\x264.exe --bitrate 3199 --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
--cqmfile "C:\apps\AutoMK\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "D:\temp\auto6\movie.mp4" "D:\temp\auto6\movie.avs"

buzzqw
9th October 2006, 15:20
target 2 cds

how have you choose it ? from the list (1 CD, 2 CD, 3 CD ) or have you written just 1400 ? (preferred choice)
or "1 CD" and in next box "2" ?

I can assure that bitrare calculation isn't changed

BHH

DDogg
9th October 2006, 15:22
2 cd 2 slice, which is confusing to me. Why is the second input there after the drop down? Not very intuitive. Seems to me if somebody chooses 2 cds they want it cut into 2 pieces.

buzzqw
9th October 2006, 15:38
"2 CD " "2" is 2 slice of 1400 mb

the first box is the size of each slice, the second box is number of slice

i understand that is confusing...

should first box just used for specifing MB size and second box for number of slice ?

i like user choose media type (cd or dvd) and number of media

opinions ?

BHH

something like this:
http://img501.imageshack.us/img501/1189/mediatypexr3.th.png (http://img501.imageshack.us/my.php?image=mediatypexr3.png)

DDogg
9th October 2006, 15:52
"2 CD " "2" is 2 slice of 1400 mb

the first box is the size of each slice, the second box is number of slice

i understand that is confusing...

should first box just used for specifing MB size and second box for number of slice ?

i like user choose media type (cd or dvd) and number of media

opinions ?

BHHConfusing is an understatement :) When a person chooses 2 cds they are saying they want 2 final files that will burn to 2 cds. If a person chooses 1/3 dvd they want 1 file of 1/3 dvd size. The user should not need to know, or input anything else (imo). It is your call as the author, but I would strongly recommend you consider changing this to be more intuitive and understandable. That is how all the other programs like recode do it, and I think people are used to it being that way.

/add: To provide advanced users with more options you could activate the number of slices IF the user typed in a numeric value NOT already in the dropdown box (or chose "custom")? Else make it grey, or invisible? The custom thing makes sense to me. If a user chose custom then 2 boxes would appear, size and number of slices, else you would automatically create just what they had chosen from the dropdown - 2cds = 2 slices of cd size

SeeMoreDigital
9th October 2006, 18:00
I hope you don't mind but here's my suggestion for tweeked-up GUI: -

http://img54.imageshack.us/img54/6370/automkvbasicvx3.png


Cheers

buzzqw
9th October 2006, 18:29
:eek: :eek: :eek:

ok... i'll try...

BHH

DDogg
9th October 2006, 18:39
:eek: :eek: :eek:

ok... i'll try...

BHH@SMD - Nicely laid out. Very clean and intuitive. Do we share a mutual background in project management - GUI's and usability?

@Buzzqw, we have complete confidence in you! No pressure at all :)

agressiv
10th October 2006, 01:59
Nice work buzzqw. Keep it up and AutoMKV might replace MeGUI for me :) (No offense to MeGUI :D )

Feedback:

1) The "Del Temp Files" doesnt seem to take care of subtitles.
2) Any way of saving settings? I find myself doing the same things over and over again:

Set Nero quality to .25
Set Nero channels to original
Change Resizing to Lanczos4 Resize
Change to 1 DVD-R
Change Profile to HQ-Slow
Advanced Page - Specify Bitrate - 1000

3) I still have a problem where the audio is desynced when the delay is really high (I had one that was 62224) It doesn't seem to compensate that much.
4) Still no option to launch windows minimized :D They frequently steal focus away while I'm doing other things.

Other than that, the only thing its missing is batch mode. I suppose I could try multiple instances, with different output directories, but I'm not too hip on having multiple encodes going on at once, its not the same thing as batch mode.

agressiv

buzzqw
10th October 2006, 10:18
update www.64k.it/andres/data/a/AutoMKV24.exe

added: big layout change (my :thanks: :thanks: to SeeMoreDigital)
changed: output size management (my :thanks: to DDogg)

1) The "Del Temp Files" doesnt seem to take care of subtitles.
thanks for reporting, fixed in next release

2) Any way of saving settings? I find myself doing the same things over and over again:
added in next release

3) I still have a problem where the audio is desynced when the delay is really high (I had one that was 62224) It doesn't seem to compensate that much.
sorry pal, but this a problem of your source. I doubt that will be ever fixed. btw is dgindex that report this delay ?

4) Still no option to launch windows minimized They frequently steal focus away while I'm doing other things.

sorry, not so easy since i changed the way of lauch... but i will work on it

Other than that, the only thing its missing is batch mode.
this is the most difficult task. I don't say no, but...

thanks for your suggestion

BHH

agressiv
10th October 2006, 15:44
sorry pal, but this a problem of your source. I doubt that will be ever fixed. btw is dgindex that report this delay ?

dgindex *does* report the delay.

If I manually compensate in the mkv gui muxer, all is well. Its just such a high value that AutoMKV doesn't seem to go that high. MeGUI doesn't either (5000 seems to be the limit)

Thanks for your work on this, I'll check out the new release now!

:thanks:

agressiv

buzzqw
10th October 2006, 16:15
is this file trasferible ? aka could you post a link to download ( or PM me)

BHH

agressiv
11th October 2006, 01:22
is this file trasferible ? aka could you post a link to download ( or PM me)


ehh, its over 3gb in size or so, not really worth it. I can just manually mux the audio myself, this is a rare condition.

agressiv

DDogg
11th October 2006, 15:36
Hi buzzqw, you must have put in a lot of time to change the GUI. I am still getting used to it, but it seems clean and well thought out.

The size thing is still confusing, imo. The way SMD suggested would work well. If you are going to have a custom selection, then suggest you open both size and slices boxes. That is, if custom is chosen then the user would see Custom, Size, slices. Else, my personal opinion is to go with SMD's suggestion. Both are intuitive, but the present way you have done custom is not, imo.

Others may feel differently, maybe the way my mind works is the problem.

Great progress!

/add: About the batch thing. It might be easier for you to think about doing a semi auto method of batch. That is, the user would do all the steps, including auto res, etc. At that stage they could chooses to begin encoding or defer it to a batch worklist. I suggest this because this would give you a situation where you had already created all your final batchfiles and scripts. Just a thought.

fenomeno83
11th October 2006, 21:54
Exsume me:I want rip my dvd in h264/aac.I want get a final file with a video and audio(5.1) quality similar to original dvd.Witch setting must I use?For me isn't important the final dimension of file.I prefer quality to speed (prefer encoding very slow but a better quality)

MiGster
11th October 2006, 23:06
I have a lot of DVD's rip to hard drive in IFO/VOB format. When I go to INPUT in AutoMKV (AM) I find I have to chose the video.ifo file because if I pick the first VOB file in the group DGIndex only sees the first VOB file and none of the rest. I've tried highlighting all the VOB's but I can only highlight one. In some of the other GUI's picking the first VOB brings them all over into DGIndex...atleast I'm pretty sure. If I pick the ifo file DGIndex doesn't run right and tells me to check my PIDS or something like that. Then I have to tell DGIndex to add the VOB's manually and it lets me highlight all of them then it runs the d2v file and AM continues on it merry way. Am I missing something here at the input stage? I am pretty green at this and still learning. I usually use Recode but the newest version is pretty FUBAR so I'm trying AM.

DDogg
11th October 2006, 23:54
Exsume me:I want rip my dvd in h264/aac.I want get a final file with a video and audio(5.1) quality similar to original dvd.Witch setting must I use?For me isn't important the final dimension of file.I prefer quality to speed (prefer encoding very slow but a better quality)
You have not mentioned the speed of your PC that will be used for encoding and for playback here or in the other thread.

As for your question, I can only answer what I would do and not try to make your decision for you. Only you can do that and suggest you do some actual encodes before asking too many more questions. Here are a few things to try and then YOU can report back to the group on your findings.

My DVDs are encoded to my home server and are not constrained to a certain size. I retain the AC3 as there is no compelling reason for me to convert to AAC. I use the MKV format with x264 video. As mentioned in the other thread, generally the method of encoding uses the CQ-ASP_Q2_eq(crf) profile.

The reason for this is CQ-ASP_Q2_eq(crf) profile is a constant quality mode which will automatically allocate more bits to more complex areas and the file size will be just as large, or small, as it needs to be depending on how complex the source is. So, at least try that method first and see if you can see any difference whatsoever between the encode and the original source.

If you are not happy with the encode THEN you could go into the profiles\x264 profiles folder and make a copy of the CQ-ASP_Q2_eq(crf) profile and rename it CQ-ASP_Q2_eq(crf-15) profile. Open that file for editing and change the <BitrateQuantizer>18</BitrateQuantizer> to <BitrateQuantizer>15</BitrateQuantizer> and try that new profile as your encoding profile. Filesize will increase ~ 50%. Wasteful perhaps, but something for you to try, as is the companion CQ-Lossless profile.

Or, you could simply use one of the 2 pass modes, maybe
HQ slow, and allocate a silly amount of space like 1/2 DVD. According the the x264 author, you might get better bitrate allocation from the 2 pass mode, but imo this is not as important for your situation as you mentioned you are not concerned about final size.

Also try the use of custom matrices. Try eqm_avc_hr as your first.

There is no best and only method, especially when filesize is not an issue. In the end it is your decision.

Let us know how your first encodes turn out. I think you will be highly surprised how good they are.

DDogg
12th October 2006, 00:22
Buzzqw, I wanted to redo an encode so chose the d2v previously made. I changed the filter also. The script that resulted:

#resizestart

#test4

Lanczos4Resize(out_width,out_height)
#filter2start

#test5
FFT3DFilter(sigma=3)
tart

#test5
RemoveGrain(mode=2)
Note the old filter is there as well as the "tart". Avisynth complained about being called a tart, tho we all know it can be a wench. (is a bad joke going to translate to Italian?) :)

fenomeno83
12th October 2006, 02:39
What's the difference between the type of resize?what you prefer?And can I choose the aac bitrate?for example If I want use aac 128 kbit/s which value must I use?

buzzqw
12th October 2006, 11:05
update www.64k.it/andres/data/a/AutoMKV27.exe

added job queue (VERY EXPERIMENTAL) (0.27)
little layout change on size (MB) (0.27)

added subtitles to files to cancel

added saving settings button. On click on "save setting" the following setting are saved
Container,Size,Slice,Resizer,Width,Set encoding mode,Audio Codec 1,Audio Bit 1,Audio Codec 2,Audio Bit 2, Encoding Profiles,Bitrate Encoding,Bitrate Value
a file named automkv.ini is created and will always parsed at program start (if present)

added launch windows minimized

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

I find I have to chose the video.ifo
click on VTS_01_0.IFO not on video.ifo (anyway i will look at thsi issue)

file because if I pick the first VOB file in the group DGIndex only sees the first VOB file and none of the rest. i will try to implement this fuction (auto loading)

And can I choose the aac bitrate
just select WinAmp CCT and move the slide

There is no best and only method, especially when filesize is not an issue. In the end it is your decision. and remember to set Resizer to NONE for ultra quality


BHH

buzzqw
12th October 2006, 11:36
update www.64k.it/andres/data/a/AutoMKV28.exe

fixed loading of ifo file that aren't main movie (user can choose video.ifo even if movie is in VTS_09_0.IFO) (0.28)

added autoloading of vob files. just click on first to input (0.28)

BHH

fenomeno83
12th October 2006, 12:51
I have problem with automvk and nero aac.I download nero aac encoder and copy it in BeSweet folder.But,when Automvk starting process of aac I have these errors:

13:42:47 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.40 quality
13:42:47 No audio create, retry without apply Original
13:42:47 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.40 quality
13:42:47 No audio create, retry without apply Original
13:42:47 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.40 quality
13:42:47 No audio create, retry without apply Original
13:42:47 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.40 quality
13:42:47 No audio create, retry without apply Original
13:42:47 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.40 quality
13:42:48 No audio create, retry without apply Original
13:42:48 Encoding C:\Documents and Settings\Alessandro.ALEX-4B73A998DD\Desktop\Nuova cartella\fixed1.ac3 to AAC with 0.00 quality
...................................................

How solve my problem?

buzzqw
12th October 2006, 13:10
first of all Ciao ! (fa piacere che ci sia qualche italiano che usa il programma)

check these options:

1)is neroaac executable named "neroAacEnc.exe" ?
also
2) if you choose Ogg or Winamp do you get the same error ?
3) try to move the "Nuova Cartella" in a folder like "c:\nuova_cartella"

hope better news !
BHH

fenomeno83
12th October 2006, 14:25
W ITALIA!!!
1)Yes
2)I try ogg but I have the same problem
3)I choose this output folder: C:\NuovaCartella.The same problem.I try move i C:\ also automkv folder and input dvd folder,but the same probme!!!

buzzqw
12th October 2006, 14:34
if even ogg is failing... i don't know...
last try

please uncheck "Del temp file" (in advanced tab) and launch encoding.

when failed close automkv.

From dos-prompt launch mkvaudio.bat and watch the error

thanks !

BHH

DDogg
12th October 2006, 14:44
buzzqw, running into several problems and have some comments:

There seems to be something changed with the auto res/multiple (28). I choose 1cd and checked crf 19, 2% sample, and multiple resize. The res came up as 320 which is different than before. I then changed to 2cds and selected redo, res was not changed and the continue/redo window stole the focus so I could not make any changes. Seems like it steals the focus every second time and it is not picking up the changes.

Choose "custom" which presents me with "custom" and "1" - Makes no sense at all to me. 1 what?

Understand the queue is experimental - Some way to delete from the queue? Also, what if a person wants to use multiple resize and such? That's why I suggested requiring the user to go through the initial stages and only have the actual encoding and muxing queued.

Adding so many features so quickly is great in many ways, but you might want to keep a more stable version like 22 in the first post and only update that as testing shows your next versions are somewhat stable.

buzzqw
12th October 2006, 15:37
www.64k.it/andres/data/a/AutoMKV29.exe

fixed size problem on autoresize.
added clear job list (all job)

Choose "custom" which presents me with "custom" and "1" - Makes no sense at all to me. 1 what?

1 is the number of slices. so if you choose custom and OVERWRITE CUSTOM by 1400 and write 2 on next field you will have 2 file of 1400mb

about filter error (tart) please edit default.avs in filter folder and add a return between
#test5
#filter2end

job queue isn't compatible with multiresize or editing of files (i don't check for pause or multiresize)

BHH

fenomeno83
12th October 2006, 15:47
Script used:
# begin
Import("C:\nuova cartella\mkvaudio.avs")
#end

ERROR:Can't open script!
ERROR: could not parse WAV file

MiGster
12th October 2006, 16:06
update www.64k.it/andres/data/a/AutoMKV28.exe

fixed loading of ifo file that aren't main movie (user can choose video.ifo even if movie is in VTS_09_0.IFO) (0.28)

added autoloading of vob files. just click on first to input (0.28)

BHH

I just tried this five different ways...tried first VOB, IFO, video.ifo,VTS_09_0.IFO
All of them did not work properly using AM28. Is anyone else having this problem?? In some cases DGIndex runs but it seems to be still just doing ONE VOB file, not all after picking first one. In some cases DGIndex ran twice??? I finally went back to AM22 and chose the video.ifo file, got the normal DGindex's warnings I got before in AM22 like "checkPIDS" then deleted the video.ifo file in the ADD file window of DGIndex and then clicked on ADD in the same window and chose all five of the VOB's and it goes on it's way...AM seems to work OK from there. Also, AM 28 did not seem like it was using force film when appropriate. Does it use it if I use AM 22 as described above.

buzzqw
12th October 2006, 16:13
I just tried this five different ways...tried first VOB, IFO, videoTS.ifo

don't choose first vob, BUT the first vob that contain the movie (usually VTS_01_1.VOB) the VIDEO_TS.VOB is used for menu, and usually VTS_01_0.VOB for intro...

choose VTS_01_0.IFO or VTS_01_1.VOB (or those used by movie) (even if for me choosing videots.ifo is ok..)

BHH

DDogg
12th October 2006, 19:31
1 is the number of slices. so if you choose custom and OVERWRITE CUSTOM by 1400 and write 2 on next field you will have 2 file of 1400mb I would suggest that is not very intuitive and that allowing "Custom" to be seen as well as a size box and number box would be a better way (or as SMD had suggested). The suggestion is only made to attempt to be helpful to you and the end users, not to pester you. ... please edit default.avs I think you meant the base.avs? job queue isn't compatible with multiresize or editing of files (i don't check for pause or multiresize) Hmm, that is a bummer. I guess I could stop the encodes and create my own batchfile to run the encodes from several directories, but it would be helpful if you would put a mux batchfile in the working directory, or better yet, build each job as a batch including the mux. This would be helpful for debugging, or for going back and redoing an encode. Possible?

@fenomeno83, go to program files\avisynth\examples directory and play the version.avs in windows media player, or VDub if you have it installed. Let buzzqw know what you see.

fenomeno83
12th October 2006, 21:20
I solved my problem:I didn't have installed avisynth!

DDogg
12th October 2006, 21:24
I solved my problem:I didn't have installed avisynth! Kinda what I thought <picks up baseball bat and whacks fenomeno83> :)

SeeMoreDigital
12th October 2006, 22:12
Many thanks for the new builds and apologies for not posting for a while...

I've been trying to generate XviD streams directly into the MP4 container but for some reason I can't.... XviD into the MKV container seems to work okay though!

Can anybody else confirm please?


Cheers

DDogg
12th October 2006, 22:50
> fixed size problem on autoresize.

(0.29) Using multi res, If I change from 1 cd to 2 and redo the test, the same resolution is computed and it continues to steal focus and not allow me to change anything after the 2nd or 3rd redo. Maybe because I am multitasking doing several other things like spreadsheets and email while the redo test is running?

I do notice, when the focus is stolen, that instead of having 3 AutoMK items in the taskbar, I have 2. To rephrase that, I've noticed when the settings in AutoMK can be changed for a redo there is always a 3 in the AutoMK icons on the taskbar. Does that make any sense to you?

agressiv
13th October 2006, 06:31
Nice work Buzzqw!

Some feedback:

1) Subtitles are still left behind.
2) Saved settings are great! Only thing missing (for me) is saving Audio tracks as "Original" (always defaults to stereo, doesn't seem to be a setting in the ini file)
3) Batch Encoding - ignores output directory and puts everything in the main movie directory
4) Batch Encoding - GUI disappears completely (no taskbar, no tray icon) but the process continues to run and completes. AutoMKV quits after batch completes.
5) Minimize works great! Only thing missing is dgindex - just add a -minimize at the end of the command line.

Any way of naming the final movie in advance instead of "movie.mkv" ?

Keep up the great work!

agressiv

buzzqw
13th October 2006, 06:53
I've been trying to generate XviD streams directly into the MP4 container but for some reason I can't.... XviD into the MKV container seems to work okay though!
Hi SMD !
i got no problem... a question: is automkv producing all temporary file ? link audio.mp4 and movie.avi ?
just for info the final file should be "movie_full.mp4"
also you can look at automkv.log to search the culprint (or mail it to me azanzani @ gmail . com )

mux batchfile in the working directory, or better yet, build each job as a batch including the mux. very good tips ! i will try today (i think like a "prepare phase only" check )

1) Subtitles are still left behind.
... i must investigate
2) Saved settings are great! Only thing missing (for me) is saving Audio tracks as "Original" (always defaults to stereo, doesn't seem to be a setting in the ini file)
again i will try to reproduce
3) Batch Encoding - ignores output directory and puts everything in the main movie directory
i have tested this fuction... dunno... i will try to reproduce
4) Batch Encoding - GUI disappears completely (no taskbar, no tray icon) but the process continues to run and completes. AutoMKV quits after batch completes. 5)
yes... i know... isn't so good... but is the first build with queue :)
Minimize works great! Only thing missing is dgindex - just add a -minimize at the end of the command line.
got it
thanks


> fixed size problem on autoresize.

and again sorry, you are right :(

and about steal focus: i had only one time this problem... i don't know why. seems that log window is the stealer (but don't close it!!!)

update www.64k.it/andres/data/a/AutoMKV30.exe

fixed size in multiresize envirnment, also added between [] (brachet ?) the exact computed size (before modding 16 and scale down to max 704)

my thanks again to DDogg and his patience !

BHH

SeeMoreDigital
13th October 2006, 10:00
Hi buzzqw,

Here are the files generated during encoding. The bottom image is what I obtain when the encoding stops and all the "temporary files" have been deleted: -

http://img172.imageshack.us/img172/6039/automkvdx1.png


And here's the log (http://82.10.220.174/Uploaded_Files/Doom9_Forum_files/AutoMKV_Logs/automkv_log_01.7z).


Hope that helps.... cheers

buzzqw
13th October 2006, 10:17
since resmovie.avi is created ( also can you open it and watch for avs error ?) i suppose that something wrong goes with movie.avs...

open in virtualdub movie.avs : got error ?

if not could be a limiter for dos... : your path for lauching xvid_encraw is over 600 ... even if this is ok since resmovie is builded...

with same setting BUT mkv container is OK ? :confused:

please lauch from dos the bat xvidfirstpass.bat and secondpass.bat and tellme the error (must be an error!)

BHH

buzzqw
13th October 2006, 15:44
update www.64k.it/andres/data/a/AutoMKV31.exe

added number of channel to saved setting

fixed dgindex is launched minimized

added "Prepare Phase only" if checked automkv will do
1) test interlace (if choosed)
2) encode audio
3) run auto resize (compatible with multiple autoresize)
4) prepare movie.avs, batches per encoding and batch for muxing

thanks to DDogg for this suggestion !

status: queue job is near broken use only without check pause before and allow multi resize

EDIT: fixed (not in a beautifull way.. i will work on this) the inability to edit field when multi resize pop-up. the problem arise only when automkv is the focus window. Now before prompting automkv is minimized, then is possible to rise up the window

BHH

DDogg
13th October 2006, 19:07
Wow! So much progress in so short a time! No need to thank me for patience as you are doing all the hard work. I just get to play :)

Moving the log to a tab was a good idea. It makes the look and feel much better and seems to have fixed the focus steal. The "prepare phase only" (PPO) is also very nice, but it brings up some questions. Your patience is appreciated.

When multires and PPO is checked, It would seem natural (intuitive) when the "No" on redo is checked that a pop-up appeared saying "Added to Queue". Maybe you have set it up so that if PPO is checked, one should press the Queue button? That does not seem right to me if so. In fact, I wonder if you should move the PPO check to the Basic settings page and ghost/grey the Add to Queue button while it is checked?

You are creating a mux.bat now (thanks!). Seems you could then create a batch in the working directory that includes, or calls, the separate batchfiles there now and the Queue would simple run the full job batchfile? Dunno, just thinking out loud.

Some cosmetic thoughts for you to think about later (not now :) ). There are areas where some selections should be deactivated/greyed out if certain other options have been chosen. For example, if a crf mode is selected, the output size could be greyed to show it will have no effect (parse for --crf in the profile?).

Another example, if a fixed resolution is chosen, multires should be deactivated, or a pop-up could appear if a user chose multires saying "Only available with Autores mode" - Something like that.

These things are not important now in an alpha stage, but it looks like this program can become a really great one (if you don't get burned out), so these cosmetic usability areas will become more important down the line as you try to help the user intuitively understand the program. Think of those programs you have experienced that just seemed to make sense from the first day you saw them.

Buzzqw, really incredible work. Hope you are having fun doing it. If not, take a break. Remember, "you don't owe anybody anything". We owe you, and we can damn well wait for a few days for you to take the time to fix or change things when you feel like fixing/doing them. It is not as if you are getting paid for this :)

Again, great job and much respect your way!

agressiv
13th October 2006, 21:11
Paths are working great now! DGIndex is minimized! Such quick work!

:thanks:

1) Any way of changing the final name of the movie? (change it from movie.mkv to something else)
2) Any way you can launch x264.exe with low priority? Right now its set to "normal"
3) Subs don't process at all in batch mode (they extract and process fine when doing a single movie)

agressiv

buzzqw
14th October 2006, 14:27
update www.64k.it/andres/data/a/AutoMKV32.exe

added: subtitle to queue
fixed: autoresize will respect bitrate choosen if USE CRF isn't checked.
added: lot of tips
added: some layout suggestion by DDogg

about ppo (prepare only phase) and queue, i think that queue should be used only by someone that run a full encoding.
I can add support for queue ppo work, by saving the check PPO, so the final encoding isn't launched.

about one only full batch ... i must see an easy way (well is a easy work for sure ... but a lot of code to add... i will see)

about output file name: is a little thing to add but would be usefull... ? i think that problem could arise only if i encode multiple file (queue) that are in the same directory... (anyway i will see this fuction)

BHH

DDogg
14th October 2006, 16:17
Nice work on the user interface.

1> I am still getting this in the final movie.avs after using multires:

LanczosResize(out_width,out_height)
#filter2start

#test5

FFT3DFilter(sigma=3)
rt

#test5

Undot() Note the undot() which was used on the first size pass, then changed to FFT3DFilter(sigma=3) for a redo (the undot() should have been removed). Also note the "rt" which red lines the script. I did add the CR in base.avs as you suggested.

2> Sometimes try opening a d2v, or avs from an existing AutoMK working directory where del temp file was not checked. Let me know if it works for you.

3> Doesn't seem to make sense to allow a PPO to be queued - You end up with a ok/redo pop-up without having access to AutoMK to make changes. Still think you should ghost Queue if PPO is checked and add it to the queue when "no" is chosen for redo, but maybe I don't understand something. Btw, if you don't think that is a good idea, then you might want to throw an information pop-up when "No" is clicked saying something like "PPO finished - Batch files created in <working directory>". Just a thought.

4> Can't you just make a simple batch [and call from the queue if the PPO flag is 1] by creating a bat with:


Rem full batch to run all bats in a working directory
call D:\temp\x264cmdq_ABR.bat
call D:\temp\muxing.bat Works fine for me.

travisbell
14th October 2006, 18:56
Wow. First try with AutoMKV and it actually worked! With no BS!

Thanks man, this is gonna rock my world.

\

buzzqw
14th October 2006, 19:35
@travisbell
I am very glad !

1> I am still getting this in the final movie.avs after using multires:
i cannot replicate the problem ! (damn!) please try downloading (and use) my base.avs www.64k.it/andres/data/a/base.avs

Sometimes try opening a d2v, or avs from an existing AutoMK working directory where del temp file was not checked. Let me know if it works for you.
NO don't work. Must fix in next build :EDIT: fixed avs input. d2v should fuction alredy, just don't put destination directory in the same source directory

PPO finished - Batch files created in <working directory>". Just a thought.
Good suggestion. Queue is a full save of all setting (near all).As is builded isn't possible to add PPO. but i have some ideas :)

Can't you just make a simple batch as already said isn't difficult. is only to collect varius batch/values... let me do some code

BHH

DDogg
14th October 2006, 22:08
> ... please try downloading (and use) my base.avs ...
That seems to have fixed it. Thanks.

> ... d2v should function alredy, just don't put destination directory in the same source :o Yep

AMED
14th October 2006, 22:43
Hi I'm have problems with the auto deinterlace part of AutoMKV 0.32.

At the moment i am trying to encode Xfiles season 2 (PAL) but after it runs the auto deinterlace the FPS change from 25 to 20.

10:16:13 - - - - - START JOBS - - - - - - - - - - - - -
10:16:13 Choosed input file: F:\Xfiles\S2xE01 - Little Green Men\VTS_01_0.IFO
10:16:13 Choosed output dir: F:\Xfiles\S2xE01 - Little Green Men\
10:16:13 Choosed Container type: MKV
10:16:13 Choosed Size: 344
10:16:13 Choosed Slice: 1
10:16:13 Choosed Encoder: X264
10:16:13 Choosed Profile: HQ-Slow.xml
10:16:13 Choosed Width: Automatic
10:16:13 Choosed Resizer: LanczosResize
10:16:13 Choosed Filters: RemoveGrain(mode=3)
10:16:13 Choosed Deinterlacer: AUTO
10:16:13 Starting Indexing
10:16:13 Dgindex CMD: H:\Download2\AutoMKV015\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\Xfiles\S2xE01 - Little Green Men\VTS_01_1.vob] -OF=[F:\Xfiles\S2xE01 - Little Green Men\movie] -exit -minimize
10:17:48 Finished indexing
10:17:48 Starting fixing audio delay on track number 1
10:17:48 DelayCut CMD: H:\Download2\AutoMKV015\exe\dgindex\Delaycut.exe -auto -out "F:\Xfiles\S2xE01 - Little Green Men\fixed1.ac3" "F:\Xfiles\S2xE01 - Little Green Men\movie T01 2_0ch 192Kbps DELAY -15ms.ac3"
10:17:50 Finished fixing audio delay
10:17:50 Encoding F:\Xfiles\S2xE01 - Little Green Men\fixed1.ac3 to AAC with 0.35 quality
10:17:51 No audio create, retry without apply Stereo
10:17:51 Encoding F:\Xfiles\S2xE01 - Little Green Men\fixed1.ac3 to AAC with 0.35 quality
10:21:50 Number of Frames: 64996
10:21:50 Framerate: 25.000000
10:21:50 Movie lenght in Seconds: 2600
10:21:50 Movie Width: 720
10:21:50 Movie Height: 576
10:24:24 Processing completed. Type is determined to be partly interlaced.
10:24:24 Processing completed. Type is determined to be partly interlaced.
10:24:24 BFF= 77 - TFF= 182 -> order=1
10:24:24 Starting X264 Autosize
10:24:24 Command Line CRF encoding X264: H:\Download2\AutoMKV015\exe\encoder\x264.exe --crf 19 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 1 --output "F:\Xfiles\S2xE01 - Little Green Men\resmovie.mp4" "F:\Xfiles\S2xE01 - Little Green Men\resmovie.avs"

The Deint Log
processed frames: 23/2265 -- 1% completed
processed frames: 46/2265 -- 2% completed
processed frames: 68/2265 -- 3% completed
processed frames: 91/2265 -- 4% completed
processed frames: 114/2265 -- 5% completed
processed frames: 136/2265 -- 6% completed
processed frames: 159/2265 -- 7% completed
processed frames: 182/2265 -- 8% completed
processed frames: 204/2265 -- 9% completed
processed frames: 227/2265 -- 10% completed
processed frames: 250/2265 -- 11% completed
processed frames: 272/2265 -- 12% completed
processed frames: 295/2265 -- 13% completed
processed frames: 318/2265 -- 14% completed
processed frames: 340/2265 -- 15% completed
processed frames: 363/2265 -- 16% completed
processed frames: 386/2265 -- 17% completed
processed frames: 408/2265 -- 18% completed
processed frames: 431/2265 -- 19% completed
processed frames: 453/2265 -- 20% completed
processed frames: 476/2265 -- 21% completed
processed frames: 499/2265 -- 22% completed
processed frames: 521/2265 -- 23% completed
processed frames: 544/2265 -- 24% completed
processed frames: 567/2265 -- 25% completed
processed frames: 589/2265 -- 26% completed
processed frames: 612/2265 -- 27% completed
processed frames: 635/2265 -- 28% completed
processed frames: 657/2265 -- 29% completed
processed frames: 680/2265 -- 30% completed
processed frames: 703/2265 -- 31% completed
processed frames: 725/2265 -- 32% completed
processed frames: 748/2265 -- 33% completed
processed frames: 771/2265 -- 34% completed
processed frames: 793/2265 -- 35% completed
processed frames: 816/2265 -- 36% completed
processed frames: 839/2265 -- 37% completed
processed frames: 861/2265 -- 38% completed
processed frames: 884/2265 -- 39% completed
processed frames: 906/2265 -- 40% completed
processed frames: 929/2265 -- 41% completed
processed frames: 952/2265 -- 42% completed
processed frames: 974/2265 -- 43% completed
processed frames: 997/2265 -- 44% completed
processed frames: 1020/2265 -- 45% completed
processed frames: 1042/2265 -- 46% completed
processed frames: 1065/2265 -- 47% completed
processed frames: 1088/2265 -- 48% completed
processed frames: 1110/2265 -- 49% completed
processed frames: 1133/2265 -- 50% completed
processed frames: 1156/2265 -- 51% completed
processed frames: 1178/2265 -- 52% completed
processed frames: 1201/2265 -- 53% completed
processed frames: 1224/2265 -- 54% completed
processed frames: 1246/2265 -- 55% completed
processed frames: 1269/2265 -- 56% completed
processed frames: 1292/2265 -- 57% completed
processed frames: 1314/2265 -- 58% completed
processed frames: 1337/2265 -- 59% completed
processed frames: 1359/2265 -- 60% completed
processed frames: 1382/2265 -- 61% completed
processed frames: 1405/2265 -- 62% completed
processed frames: 1427/2265 -- 63% completed
processed frames: 1450/2265 -- 64% completed
processed frames: 1473/2265 -- 65% completed
processed frames: 1495/2265 -- 66% completed
processed frames: 1518/2265 -- 67% completed
processed frames: 1541/2265 -- 68% completed
processed frames: 1563/2265 -- 69% completed
processed frames: 1586/2265 -- 70% completed
processed frames: 1609/2265 -- 71% completed
processed frames: 1631/2265 -- 72% completed
processed frames: 1654/2265 -- 73% completed
processed frames: 1677/2265 -- 74% completed
processed frames: 1699/2265 -- 75% completed
processed frames: 1722/2265 -- 76% completed
processed frames: 1745/2265 -- 77% completed
processed frames: 1767/2265 -- 78% completed
processed frames: 1790/2265 -- 79% completed
processed frames: 1812/2265 -- 80% completed
processed frames: 1835/2265 -- 81% completed
processed frames: 1858/2265 -- 82% completed
processed frames: 1880/2265 -- 83% completed
processed frames: 1903/2265 -- 84% completed
processed frames: 1926/2265 -- 85% completed
processed frames: 1948/2265 -- 86% completed
processed frames: 1971/2265 -- 87% completed
processed frames: 1994/2265 -- 88% completed
processed frames: 2016/2265 -- 89% completed
processed frames: 2039/2265 -- 90% completed
processed frames: 2062/2265 -- 91% completed
processed frames: 2084/2265 -- 92% completed
processed frames: 2107/2265 -- 93% completed
processed frames: 2130/2265 -- 94% completed
processed frames: 2152/2265 -- 95% completed
processed frames: 2175/2265 -- 96% completed
processed frames: 2198/2265 -- 97% completed
processed frames: 2220/2265 -- 98% completed
processed frames: 2243/2265 -- 99% completed
processed frames: 2265/2265 -- 100% completed
BAutoDeint [info]: Number of sections of type `unknown': 55
BAutoDeint [info]: Number of sections of type `progressive': 67
BAutoDeint [info]: Number of sections of type `interlaced': 29
processed frames: 0/1505 -- 0% completed
processed frames: 16/1505 -- 1% completed
processed frames: 31/1505 -- 2% completed
processed frames: 46/1505 -- 3% completed
processed frames: 61/1505 -- 4% completed
processed frames: 76/1505 -- 5% completed
processed frames: 91/1505 -- 6% completed
processed frames: 106/1505 -- 7% completed
processed frames: 121/1505 -- 8% completed
processed frames: 136/1505 -- 9% completed
processed frames: 151/1505 -- 10% completed
processed frames: 166/1505 -- 11% completed
processed frames: 181/1505 -- 12% completed
processed frames: 196/1505 -- 13% completed
processed frames: 211/1505 -- 14% completed
processed frames: 226/1505 -- 15% completed
processed frames: 241/1505 -- 16% completed
processed frames: 256/1505 -- 17% completed
processed frames: 271/1505 -- 18% completed
processed frames: 286/1505 -- 19% completed
processed frames: 301/1505 -- 20% completed
processed frames: 317/1505 -- 21% completed
processed frames: 332/1505 -- 22% completed
processed frames: 347/1505 -- 23% completed
processed frames: 362/1505 -- 24% completed
processed frames: 377/1505 -- 25% completed
processed frames: 392/1505 -- 26% completed
processed frames: 407/1505 -- 27% completed
processed frames: 422/1505 -- 28% completed
processed frames: 437/1505 -- 29% completed
processed frames: 452/1505 -- 30% completed
processed frames: 467/1505 -- 31% completed
processed frames: 482/1505 -- 32% completed
processed frames: 497/1505 -- 33% completed
processed frames: 512/1505 -- 34% completed
processed frames: 527/1505 -- 35% completed
processed frames: 542/1505 -- 36% completed
processed frames: 557/1505 -- 37% completed
processed frames: 572/1505 -- 38% completed
processed frames: 587/1505 -- 39% completed
processed frames: 602/1505 -- 40% completed
processed frames: 618/1505 -- 41% completed
processed frames: 633/1505 -- 42% completed
processed frames: 648/1505 -- 43% completed
processed frames: 663/1505 -- 44% completed
processed frames: 678/1505 -- 45% completed
processed frames: 693/1505 -- 46% completed
processed frames: 708/1505 -- 47% completed
processed frames: 723/1505 -- 48% completed
processed frames: 738/1505 -- 49% completed
processed frames: 753/1505 -- 50% completed
processed frames: 768/1505 -- 51% completed
processed frames: 783/1505 -- 52% completed
processed frames: 798/1505 -- 53% completed
processed frames: 813/1505 -- 54% completed
processed frames: 828/1505 -- 55% completed
processed frames: 843/1505 -- 56% completed
processed frames: 858/1505 -- 57% completed
processed frames: 873/1505 -- 58% completed
processed frames: 888/1505 -- 59% completed
processed frames: 903/1505 -- 60% completed
processed frames: 919/1505 -- 61% completed
processed frames: 934/1505 -- 62% completed
processed frames: 949/1505 -- 63% completed
processed frames: 964/1505 -- 64% completed
processed frames: 979/1505 -- 65% completed
processed frames: 994/1505 -- 66% completed
processed frames: 1009/1505 -- 67% completed
processed frames: 1024/1505 -- 68% completed
processed frames: 1039/1505 -- 69% completed
processed frames: 1054/1505 -- 70% completed
processed frames: 1069/1505 -- 71% completed
processed frames: 1084/1505 -- 72% completed
processed frames: 1099/1505 -- 73% completed
processed frames: 1114/1505 -- 74% completed
processed frames: 1129/1505 -- 75% completed
processed frames: 1144/1505 -- 76% completed
processed frames: 1159/1505 -- 77% completed
processed frames: 1174/1505 -- 78% completed
processed frames: 1189/1505 -- 79% completed
processed frames: 1204/1505 -- 80% completed
processed frames: 1220/1505 -- 81% completed
processed frames: 1235/1505 -- 82% completed
processed frames: 1250/1505 -- 83% completed
processed frames: 1265/1505 -- 84% completed
processed frames: 1280/1505 -- 85% completed
processed frames: 1295/1505 -- 86% completed
processed frames: 1310/1505 -- 87% completed
processed frames: 1325/1505 -- 88% completed
processed frames: 1340/1505 -- 89% completed
processed frames: 1355/1505 -- 90% completed
processed frames: 1370/1505 -- 91% completed
processed frames: 1385/1505 -- 92% completed
processed frames: 1400/1505 -- 93% completed
processed frames: 1415/1505 -- 94% completed
processed frames: 1430/1505 -- 95% completed
processed frames: 1445/1505 -- 96% completed
processed frames: 1460/1505 -- 97% completed
processed frames: 1475/1505 -- 98% completed
processed frames: 1490/1505 -- 99% completed
processed frames: 1505/1505 -- 100% completed
BAutoDeint [info]: Number of sections of type `bff': 77
BAutoDeint [info]: Number of sections of type `tff': 182
BAutoDeint [info]: Number of sections of type `unknown': 42

Processing completed. Type is determined to be partly interlaced.
Field order is variable.

The resmovie AVS
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\autocrop.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\blockbuster.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\cnr2.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\ColorMatrix.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\Convolution3D.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\DctFilter.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\decomb.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\Deen.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\degrainmedian.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\DGDecode.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\fft3dfilter.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\FluxSmooth.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\frfun7.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\hqdn3d.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\LeakKernelDeint.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\MipSmooth.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\NicAudio.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\RemoveGrain.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\SimpleResize.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\TBilateral.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\TDeint.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\TIVTC.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\TTempSmooth.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\UnDot.dll")
LoadPlugin("H:\Download2\AutoMKV015\exe\filter\UnFilter.dll")
#loadpluginstart

#test1

Import("H:\Download2\AutoMKV015\exe\filter\QMF.avs")
#importstart

#test2

movie = mpeg2source("F:\Xfiles\S2xE01 - Little Green Men\movie.d2v",info=3)
ColorMatrix(movie,hints=true)
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 704
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)

tfm(d2v="F:\Xfiles\S2xE01 - Little Green Men\movie.d2v").tdecimate(hybrid=1)
#resizestart

#test4

LanczosResize(out_width,out_height)
#filter2start

#test5
RemoveGrain(mode=3)
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(5)

AMED
14th October 2006, 22:45
Linked to my post above

If the run the same episode through MeGUI, The chosen deinterlace method isedeintted = last.SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(full=false,edeint=edeintted)

agressiv
15th October 2006, 02:45
Ironically, I'm doing some TV episode encodes as well, and deint.bat isn't working.

This is in deint.log:
Error: Error calling AVIStreamGetFrameOpen

I'm not sure what I'm missing.... and thus interlaced encodes look horrible.

Whats the syntax for using an external de-interlacer to replace "AUTO"?

I created an AVS file that has this:
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(clip2=tdeintted).tdecimate(hybrid=1)


And replaced "AUTO" with:
Import("C:\Program Files\AutoMKV\exe\filter\deint.avs")

but it seems like the wrong way to do it.

1) How can I get the AUTO de-interlacer to work?
2) Whats the proper way of configuring de-interlacing other than pasting in the line from the AVS script?

Edit: #2 isn't working anyways. I'm just not adept enough with Avisynth to figure out why.

agressiv

buzzqw
15th October 2006, 07:36
update www.64k.it/andres/data/a/AutoMKV35.exe

fixed: avs input
added: courtesy message at end of PPO
added: at end of PPO a fullbatch.bat is created (first/second pass and muxing)
added: if custom.avs is present into filter directory, this file will be imported automatically
EDIT: added: possibility to specify output file name (also added to queue list)

@AMED
try using this build. the problem shoud be fixed

@agressiv
USE THI BUILD
PUT EEDI2.dll INTO FILTER DIRECTORY
DELETE DEFAULT.AVS
create a custom.avs script in filter directory and write this:

function aggressiv(last)
{
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(clip2=tdeintted).tdecimate(hybrid=1)
}

in AutoMKV, on deinterlace write: aggressiv()
DONE !

custom.avs could be a very quick way for loading several fuction... just use your immagination :)

BHH

AMED
15th October 2006, 09:08
thanks that seemed to do the trick.

Is there any way you could improve the responsiveness of AutoMKV, it seems to effect my whole system. it makes it very painful to use.

buzzqw
15th October 2006, 09:19
automkv use less than 1% of cpu, is x264 that use the last 99.9%...

as i already said in previus build all program launched were in idle priority, now lauching batch files i have less control.

Anyway you could lower the priority by tast manager.

BHH

AMED
15th October 2006, 09:27
can't you launch the batchfiles using

START /low C:\Batchfile.bat

buzzqw
15th October 2006, 10:00
yes but in this way is difficult to catch when encoding is finish...

anyway i am studing...

BHH

DDogg
15th October 2006, 22:53
Love the PPO message and the full batch, thanks for doing that!

Don't know if the following is a problem (part of it is), or a future feature :)

If a a CFR profile is selected, and autoresize and multires selected, clearly there should be no reduction in resolution. There is presently, so you might want to look at that.

Now you might ask why would somebody want do this. You know the answer, because we want to see the size of the sample (lot of useful information there). You already know you are in CRF mode (as you ghosted the size) as well as the sample %, and actual size of the sample, it would be great if you could simply do the math and show the ~projected size of video and audio when you bring up the redo box. Nearly like an information screen ... Again, just thinking out loud.

/add: or maybe not as it is does not seem intuitive. You are presently greying multirez if a custom size is chosen ... hmm, dunno, but I don't think my suggestion is good in this way because I am using the multires not like it was intended. It is very useful, but kind of a backdoor approach that should not be expanded. Anyway, I have a feeling you might be adding another tab soon that might be more tuned to this type of use :)

/add2: Non related. I noticed JohnV put a link to a TS file in the nero post. I tried it with AutoMK and it went a little crazy. I believe it is because it has open gops and dgindex is throwing an error. Might give it a try and see. AutoMK worked fairly well when a manually created d2v was opened in AutoMK. Not sure if the interlace options were correct as I don't do interlace, or ts for that matter, or if there was a problem with the ts steam. The quality was only marginal in the original, especially on the pans.

buzzqw
16th October 2006, 12:58
Hi DDogg !

i have some good news... (read your PM)

Non related. I noticed JohnV put a link to a TS file in the nero post. I tried it with AutoMK and it went a little crazy. AutoMKV don't find the correct audio track, BUT if you choose NONE on audio track encoding will be running well.

About framerate (59.998) actually automkv don't do anythink... since I don't know how to work with these files :o ;( , i will search on

EDIT: in 0.37 fixed private ac3 stream as in Michigan_Marching_Band--Star_Spangled_Banner_720p_ATSC.ts

BHH

mrdutchie
16th October 2006, 18:26
For some reason, I can't get it to save to
AVI anymore... it either creates MP4 or MKV files (container names)
even though I said it to use Xvid.

What am I missing here?


Seems I am having that with megui too... maybe I am getting to old for this, but I want AVI (Xvid)

SeeMoreDigital
16th October 2006, 18:58
AutoMKV is able to mux audio and video streams to within either the .MP4 or .MKV containers.... As far as I know it's never provided the option to mux audio and video streams to within the .AVI container!

mrdutchie
16th October 2006, 21:20
AutoMKV is able to mux audio and video streams to within either the .MP4 or .MKV containers.... As far as I know it's never provided the option to mux audio and video streams to within the .AVI container!

in the previous beta, or the last final version
you have 4 checkboxes you can set for the Container and output.
there is AVI available.

problem is and with the latest one i am having is that it crashes in a loop, that it cannot find the autosomething.bat
file

agressiv
16th October 2006, 21:40
in the previous beta, or the last final version
you have 4 checkboxes you can set for the Container and output.
there is AVI available.

problem is and with the latest one i am having is that it crashes in a loop, that it cannot find the autosomething.bat
file

ehh.. I've used almost every beta for the past few weeks, and its always been MKV/MP4 - AVI was never an output option AFAIK.

You sure you don't mean AutoGK? It uses AVI as its standard output format.

agressiv

DDogg
16th October 2006, 23:52
For some reason, I can't get it to save to
AVI anymore... it either creates MP4 or MKV files (container names)
even though I said it to use Xvid.

What am I missing here?


Seems I am having that with megui too... maybe I am getting to old for this, but I want AVI (Xvid)Yeah, understand old and wanting to stay with something you are comfortable with. If so stay, with AutoGK. Hard to go wrong with that for AVI.

Still, once you take just the few minutes to install a splitter to allow playback, mkv is a better way to go for many reasons. Suggest you bite the bullet and give it a try. You will be back in your comfort zone quickly, at least that is all it took for me. Good luck.

buzzqw
17th October 2006, 08:43
i can confirm that automkv never had AVI output.

BUT can be done. Just choose your setting BUT disable "Del Temp file". After encoding just mux with virtualdubmod the movie.avi and audio.mp3

BHH

buzzqw
17th October 2006, 12:04
www.64k.it/andres/data/a/AutoMKV038.rar

added new stable (or near) full package

lot's of change under the hood, just to name fews

---fixed private ac3 stream in TS files (thanks to DDogg for pointing files with this stream)
---log name is based on input file name
---if resizer is set to NONE then WIDTH is set not to automatic
---Colormatrix shifted to end script
---Better message on multiresize (also suggestion from DDogg)
---On Queue use is possible to use multires. AutoMkv window will be hided when encoding BUT on message for redo autoresize it will pop-up and will be possible to edit window
---Better support to track language on second audio

BHH

DDogg
17th October 2006, 15:29
Nice work - The additional prediction information in the multires box is very helpful so long as the user understands it is an approximate value. Later, if we get enough data on the curves, you may want to add a curve correction factor. So far it looks like crf 17-20 would need a ~ -5-6%, but that is way premature at this point.

1> Crf profiles are a special case since they include a crf #. You might want to parse that number and put it in the value box for "Use crf for autoresize routines" so your prediction will agree with the profile crf. If the user manually changes the crf for a redo you might want to use that crf for the final encode as the user would want the encode size to follow the prediction. Am I thinking straight?
2> Adding commas would be good thing :)
3> Including the size of the video only would be good if you have the room in the pop up box. Else, not a big deal.
/add:
4> What if 2 audio streams are selected? If you don't have the space to list audio2 then maybe show total audio by adding the sizes of the two audio tracks? And then there are the subs ...

Other:

1> In advanced profiles editing it would be useful to show the commandline generated by the profile that you will be using for the encode (and allow editing of the cmdline)? I ran into a situation where I wanted to use a redo with a matrix that recommended "--deadzone-inter 6 --deadzone-intra 6" [and would have like to manually enter this since not supported in profile]. This would seem to follow your purpose when you added the advanced profiles tab.

/add: Note: Trying to do more comprehensive testing for you - Testing with 2 audio and 2 subs. Crf profile -Auto size on - 2 cds as output. Prediction showed 1.8 gs as final output yet resolution was still kept at 704. Just fyi.

Mux line from fullbatch:
c:\\mkvmerge.exe" -o "D:\\movie.MKV" --aspect-ratio 1:2.397004 --split 700M --chapters "C:\\AutoMKV036\exe\chapters.txt" "D:\temp\movie.mp4"
--language 0:eng "D:\\audio.ac3" --language 1:eng "D:\\audio2.mp4" "D:\\vts.idx" //=edit

mrdutchie
17th October 2006, 19:40
Yeah, understand old and wanting to stay with something you are comfortable with. If so stay, with AutoGK. Hard to go wrong with that for AVI.

Still, once you take just the few minutes to install a splitter to allow playback, mkv is a better way to go for many reasons. Suggest you bite the bullet and give it a try. You will be back in your comfort zone quickly, at least that is all it took for me. Good luck.


Yeah i like it, but it's making my Yu-Gi-Oh DVD's out of sync

When I decode the AC3 there is a -4 Ms Delay in it
and you can't such thing like that in AutoGK...

buzzqw
17th October 2006, 21:53
i will analyze tomorrow rest of post

/add: Note: Trying to do more comprehensive testing for you - Testing with 2 audio and 2 subs. Crf profile -Auto size on - 2 cds as output. Prediction showed 1.8 gs as final output yet resolution was still kept at 704. Just fyi.

sorry ... but in multires message what width was suggested ?
you can read also in log file at line "AutoResize movie size:"
also: what final size have you got ?

autores will search WIDTH for an average CRF of 19. Can you check this value with this tool http://www.64k.it/andres/data/x/x264_Stats_Analyzer.0.1.5-vr_nga.rar , it analyse the stats file

if in this message is suggested 704 then 704 is used... BUT i think i have understud your point of view...

(idea for next version: add button auto REDO -> check for predicted size, if > SIZE requested, diminish width, redo again)

BHH

SeeMoreDigital
17th October 2006, 22:32
www.64k.it/data/a/AutoMKV038.rarI don't seem to be able to get access to this link :eek:

DDogg
17th October 2006, 22:55
i will analyze tomorrow rest of post

sorry ... but in multires message what width was suggested ?
704. Size had been set to automatic. you can read also in log file at line "AutoResize movie size:"
also: what final size have you got ?Width or filesize? 704 was the width and I am redoing encode. later: The prediction in the log for video was 1,367,448,960 and actual was 1,307,182,261 ... 95.6% not bad at all :)autores will search WIDTH for an average CRF of 19. ??? I had manually set to 18 to MATCH the crf in the profile. Can you check this value with this tool http://www.64k.it/andres/data/x/x264_Stats_Analyzer.0.1.5-vr_nga.rar , it analyse the stats file Will play with it. [What stats file? There is none with crf mode, is there? Btw, where did this tool come from? Are there any docs?]if in this message is suggested 704 then 704 is used... BUT i think i have understood your point of view... Not sure which point of view you are speaking of. (idea for next version: add button auto REDO -> check for predicted size, if > SIZE requested, diminish width, redo again)Maybe useful for some. I only use the autores to find a point it does NOT reduce width. In other words, if it reduces width I add a filter, change matrix, or add size. The very last thing I want is for the resolution to be reduced. It is kind of funny, using autores in a backwards manner allows me to find out how NOT to reduce resolution. Since I have input a crf value for the sample, this tells me I can get close to that crf value without wasting any space and without reducing resolution.

That is one of the reasons I think you should parse the crf value contained in a crf profile and put it into the sample box value. That crf is what the encode will be created with right? So for a crf mode encode it makes sense to start multires with a matching crf in the crf sample box. IF a user then changes the CRF value in the sample box (for a redo), does the redo, and then selects "no" to redo, the crf value in the sample box should be used for the final encode as that was the crf used to make the prediction. (only a crf profile). At least that is how I would do it and I think it makes sense.

DDogg
17th October 2006, 22:56
I don't seem to be able to get access to this link :eek:Use the link in the first post. That seems to work for me.

SeeMoreDigital
17th October 2006, 23:07
Use the link in the first post. That seems to work for me.Indeed... Thanks mate,

The link that works is: www.64k.it/andres/data/a/AutoMKV038.rar

The link that doesn't is: www.64k.it/data/a/AutoMKV038.rar


Cheers

DDogg
18th October 2006, 03:52
The subs will not work for me with the muxline created by AutoMK. MPC will not show them.
Mux:
"\\mkvmerge.exe" -o "\\movie.MKV" --aspect-ratio 1:2.397004 --split 700M --chapters "\\chapters.txt"
"\\movie.mp4" --language 0:eng "\\audio.ac3" --language 0:eng "\\audio2.ac3" "\\vts.idx"

But one I created manually in mkvmerge works fine:

"mkvmerge" -o "D:\temp\auto1\movie2.mkv" -d 1 -A -S D:\temp\auto1\movie.mp4 --language 0:eng
--track-name "0:Main 51" --default-track 0 -a 0 -D -S D:\temp\auto1\audio.ac3 --language 0:eng --track-name
"0:Dir Comments" -a 0 -D -S D:\temp\auto1\audio2.ac3 --language 0:en --language 1:en -s 0,1 -D -A

buzzqw
18th October 2006, 07:13
Width or filesize? 704 was the width and I am redoing encode.

sorry i mean in log file this:
Movie Width Computed: 688
17:27:18 Predicted file size: 1460820 byte

have you got what file size (at final encoding) ? this 1,307,182,261 ? if so i think that 704 was good :)

??? I had manually set to 18 to MATCH the crf in the profile. i wrote 19 because is the default parameter. BUT automkv use THE number you typed.

Will play with it. [What stats file? There is none with crf mode, is there? Btw, where did this tool come from? Are there any docs?] sorry i forget that crf will not build any file stats. this tools come from an italian forum (and is free to use). Is like the DRFAnalyzer but for X264, and analyze only the file stats not the video. And... no doc, just poit it to stats file.

That is one of the reasons I think you should parse the crf value contained in a crf profile and put it into the sample box value DONE

the crf value in the sample box should be used for the final encode actually NOT... but i think too that should be used for final encoding.

about mux subs i will look.

1> In advanced profiles editing it would be useful to show the commandline generated by the profile that you will be using for the encode (and allow editing of the cmdline)? about showing i will look, editing... don't know... add custom parameter for sure !

any other suggestin is take as threasure for nex versions.

:thanks:

BHH

buzzqw
18th October 2006, 14:00
update www.64k.it/andres/data/a/AutoMKV39.exe

--- If CRF profile is choosed and Multires checked then value (of crf) under "Use CRF autoresize" will be used for final encoding
--- in multires box added profile used and if use crf is checked value written
--- Added in advanced panel the command line used
--- Added in advanced panel possibility to add custom commands
--- In multires box both audio tracks size are counted
--- In multires box will be displayed only video size (not audio or sub added)

BHH

DDogg
18th October 2006, 16:26
The way you did the command line and allowed changes worked out nicely, and using the crf value in the sample box for the encode [when and only if final encode is done via a crf mode] is very good.

I wonder if it is time for you to consider freezing features so we can test all parts of the program? We could hope that more users will take the time to report problems to you. I've only tested x264 in mkv format with ac3 audio. There are large areas that need further testing.

1> Muxing subs is still a problem for me with v39. Are you still working on this area, or should I report the problems now?
2> Consider an icon with an abort button for Queued encodes? I think it is not good for a user to have to use task manager to attempt to kill the process. Is it difficult to put an icon in the tray like AutoGK does?
3> Encoding windows are not minimized now since you added the process priority change.
--------------------------------------------------------

The only comment I would make is about the beginning crf value when a crf profile is used, but I think the language barrier might be causing confusion. I'll try to show my thinking like this:

1> User picks CQ-ASP_Q2_eq(crf)
2> The stock CQ-ASP_Q2_eq(crf) profile is preset at crf 18
3> If user does not know to change the "Use crf for autosize routines" value, the encode will not follow the CQ-ASP_Q2_eq(crf) profile because it will use crf 19.
4> Do you disagree that the starting sample should be made with the value in the loaded crf profile value (18)? This assumes the user has only loaded the CQ-ASP_Q2_eq(crf) profile and not changed the crf sample value.
5> Or, is it simply that it is difficult to parse the value and put it in the value box? If so, I can understand that.

-----------------------------------------------------------
Folks, buzzqw has worked hard to make a really good program for us to use. A little payback is in order by us doing some complete tests and reporting any problems with enough information so bussqw can replicate the problem and fix them.

buzzqw
18th October 2006, 16:49
I wonder if it is time for you to consider freezing features so we can test all parts of the program?

i must admin that i am like a running train :D

this build is a good one for test and reports problem. i am glad if anyone will report bugs and request. And i am glad to put in frozen status. I will try to correct all bugs and mantain a parallel version with new features.

There are large areas that need further testing that for sure ! i tested only a little the xvid part, while audio part "should" be correct :fingercrossed:

Muxing subs is still a problem for me with v39. and for me too !

i (and everyone who want) must make some more serius test in this area.
While subripping is good i cannot make a correct mux with audio/video. EVEN if i use mmg.exe i cannot see subs... (could be a problem on my side...).

mediainfo reports that subs are present...

some test is seriusly needed

The stock CQ-ASP_Q2_eq(crf) profile is preset at crf 18
Or, is it simply that it is difficult to parse the value and put it in the value box? If so, I can understand that

no, it is very easy. in next version i will parse the profile (crf) ant put this value on "Use Crf for autores..." (DONE while writing this post...)


Folks, buzzqw has worked hard to make a really good program for us to use. A little payback is in order by us doing some complete tests and reporting any problems with enough information so bussqw can replicate the problem and fix them.

I MUST thank pubblic you. Without your support AutoMKV would have been only half of what is now. :thanks:

BHH

EDIT: typos

buzzqw
18th October 2006, 16:55
2> Consider an icon with an abort button for Queued encodes? I think it is not good for a user to have to use task manager to attempt to kill the process. Is it difficult to put an icon in the tray like AutoGK does?

is VERY difficult SINCE i launch bat files..., i can do by listing process and KILL... but is an hackish procedure.

The easy way is to kill automkv window. In this mode the batch queue is lost

3> Encoding windows are not minimized now since you added the process priority change.

it's a problem of timing... i tested on 2 of my computers, the one slower (P4 2.6) minimized is good, the faster (p4 3.2) not... i must put a mayor delay before checking for opened windows...

BHH

DDogg
18th October 2006, 19:16
Happy to help and hope I have not harassed you! :)

While subripping is good i cannot make a correct mux with audio/video. EVEN if i use mmg.exe i cannot see subs... (could be a problem on my side...).I don't think it is a big problem [tho I never have used subs and know nothing about them]. It seems to be just your mux.bat, because when I use mkvmerge GUI and load it with the files you made, the new muxed file plays fine in Media Player Classic with both audio and subs.

So, here is your mux line that does not work:
"C:\apps\AutoMKV036\exe\matroska\mkvmerge.exe" -o "D:\temp\auto2\2\movie.MKV" --aspect-ratio 1:2.397004 --chapters
"C:\apps\AutoMKV036\exe\chapters.txt" "D:\temp\auto2\2\movie2.mp4" --language 0:eng "D:\temp\auto2\2\audio.ac3"
--language 0:eng "D:\temp\auto2\2\audio2.ac3" "D:\temp\auto2\2\vts.idx"
and here is the command line made by mkvmerge GUI which works (using only your files)[note trackorder at end]:
"mkvmerge" -o "D:\temp\auto2\2\movienewmux.mkv" -d 1 -A -S D:\temp\auto2\2\movie.mp4 -a 0 -D -S D:\temp\auto2\2\audio.ac3
-a 0 -D -S D:\temp\auto2\2\audio2.ac3 --language 0:en --language 1:en -s 0,1 -D -A D:\temp\auto2\2\VTS.idx
--track-order 0:1,1:0,2:0,3:0,3:1 --chapters C:\apps\AutoMKV036\exe\chapters.txt Note: mkvmerge GUI does not like your aspect ratio when I tried to paste it in. The chapters.txt was added to be more like your line.

al2k
18th October 2006, 22:24
First of all I'd like to thank buzzqw for making this program, it looks to be a real winner!

I'm having an error though when I tried to convert some 1080i MPEG-2 TS files into same resolution MKV x264 ones, the error is pasted below, any ideas?

14:08:59 ERROR - There are some problem with movie lenght! Try parsing D2V file
14:08:59 Number of Frames: 0
14:08:59 Framerate: 23.976000
14:08:59 Movie lenght in Seconds: 1
14:08:59 Movie Width: 1920
14:08:59 Movie Height: 1080
14:08:59 Starting X264

DDogg
19th October 2006, 01:15
Suggest you manually create a d2v file with dgindex and then open that d2v with AutoMK to see if it encodes the video. If not, then try to make a snip of the video available to buzzqw via a PM'ed link. I think the TS thing is barely tested at all, so looks like you got a job :)

buzzqw
19th October 2006, 07:19
I think the TS thing is barely tested at all, i have only 3 stream... so yes... is barely tested :o

about subs... i resolved conflict with vobsub in my pc... BUT now i can see subs even with my usual mux :confused: (yes, i have removed subs from folder before playing with mpc)

anyway i will look at matroska spec for tracks order :)

BHH

buzzqw
19th October 2006, 09:49
update www.64k.it/andres/data/a/AutoMKV41.exe
i must admit that i feel guilty.... i added avi support.

EDIT:
--- AVI mux
--- better avi support (not allowed option is no more visible)
--- fixed mp4 mux with xvid codec

unpack avi-mux gui into \matroska folder

BHH :o

EDIT: silent update. Same version. Fixed muxing routines and "maybe" not minimized encoding

DDogg
19th October 2006, 15:27
update www.64k.it/andres/data/a/AutoMKV41.exe
i must admit that i feel guilty.... i added avi support.

EDIT:
--- AVI mux
--- better avi support (not allowed option is no more visible)
--- fixed mp4 mux with xvid codec

unpack avi-mux gui into \matroska folder

BHH :o

EDIT: silent update. Same version. Fixed muxing routines and "maybe" not minimized encodingSome quick thoughts:
1> Hmmm, allowing x264 in an avi format? hmmm - Adding this stuff now is a complication
2> Seems like use crf should be greyed out when doing XVid? Confusing now. I am not even sure what you are doing. If you are going to allow that, then maybe you should use the Xvid CQ mode?
3> Link to the specific version of AVIMux? AutoMK just crashes with the version I used ... and why would it go directly to the avimux step right after "no" in autoresize is clicked? It does not seem to try to do the actual encode.
4> AutoMK, for reasons I don't understand at this point, will sometimes just vanish when start encode is pressed. I assume that is some sort of crash, but it just disappears. Will try to figure out what is happening when I have more time. You can then run AutoMK again, select the same parameters, and it will not crash - :confused: (I also saw this with v38 but not v39)

Suggest test, test, test with 2 audio and rip all subs always selected. btw, did you notice "rip all subs" is listed twice?

buzzqw
19th October 2006, 16:12
Hmmm, allowing x264 in an avi format? hmmm - Adding this stuff now is a complication
2> Seems like use crf should be greyed out when doing XVid? Confusing now. I am not even sure what you are doing. If you are going to allow that, then maybe you should use the Xvid CQ mode?
link to the specific version of AVIMux? AutoMK just crashes with the version I used ... and why would it go directly to the avimux step right after "no" in autoresize is clicked? It does not seem to try to do the actual encode.

re download 0.41, and use the last build of avimux gui 1.17.7

AutoMK, for reasons I don't understand at this point, will sometimes just vanish when start encode is pressed. you press start queue (i do often this error...)(i have an idea....: EDIT: start queue is hidden until job is added to queue)

BHH

DDogg
19th October 2006, 17:55
re download 0.41, and use the last build of avimux gui 1.17.7Did this, and directly after I press NO, get "File is already in use C:\matrix\work\audio.ac3". Then XP throws a "AVIMux_GUI has encountered a problem" - Still don't get why it is even going to avimux when the encode has not been done. ?

you press start queue (i do often this error...)(i have an idea....: EDIT: start queue is hidden until job is added to queue)
Thanks, Just slapped myself :)

buzzqw
19th October 2006, 18:50
Did this, and directly after I press NO, get "File is already in use C:\matrix\work\audio.ac3". Then XP throws a "AVIMux_GUI has encountered a problem" - Still don't get why it is even going to avimux when the encode has not been done. ?

i am not able to replicate :(

can you please post what you do without missing anythink ?

BHH

DDogg
19th October 2006, 19:56
Sent a log via PM, but running fresh test again. I think I may have got tangled up between the 2 v41s 'cause I swore I saw it was allowing x264 and avi to be chosen, now it does not. Maybe I was hallucinating? Will do this fresh test and report back with all settings if it crashes again.

/add: Yep, crashed using proven source

1> Basic - Slected 2 audio (Original Original on both), 2 subs, Lanczos, automatic, 3 cds, Avi, XVid, 90 comp fast
2> Advanced - Autoresize, PPO
3> Pressed start encode. Subs extracted and dgindex run, comp test run, selected NO and immediately AviMux comes up (no encoding remember I had PPO on), and the error says audio.ac3 is open. Exact text in above post. So, suspect it has to do with PPO?

Running again with PPO unchecked. <yep>

/Another issue has popped up with v41. Think stable and freeze man! :) I had to rem out ColorMatrix(d2v="movie.d2v") in resmovie. Else I get "ColorMatrix: d2v and filter frame counts do not match". Since it puts it back in on a redo, this has stopped testing.

buzzqw
20th October 2006, 08:51
update 0.42 www.64k.it/andres/data/a/AutoMKV42.exe

to update from lates stable download
www.64k.it/andres/data/a/AVI-Mux_GUI-1.17.7.zip -> unpack into \matroska directory
www.64k.it/andres/data/x/xvid_encraw.zip -> unpack into \encoder directory


--- Added: PAR value is passed to MP4Box
--- Fixed: muxing into MP4 container when XivD codec was choosen
--- Fixed: Prepare phase only was broken with AVI container
--- Fixed: Color matrix use was not correct when Force Film is applyed
--- Fixed: Start Queue button is avaiable only if job is queued
--- Fixed: spelling error in log file

BHH

DDogg
20th October 2006, 20:36
Thanks. Check the contents of fullbatch in xvid PPO mode. Mine just has the mux line in it.

/add:
XVid full encode test completed 3 cd with 2 audio and rip all subs. Sample 2%, crf unchecked, Auto res with PPO. Batch lines later run. See above.
1> 2 audio played ok
2> No subs were viewable in MPC
3> Originally 2 cd's were selected, then changed to 3 cd's after a redo.
Final mux was 2 files. File 1 was 2,131,798,116 bytes, File 2 was 71,650,804 bytes

Mux line was simply:
"C:\apps\AutoMKV036\exe\matroska\AVIMux_GUI.exe" "C:\<snip>\Movie\work\muxavi"
muxavi was (note no subs):
CLEAR
LOAD C:\<snip>\Movie\work\movie.avi
LOAD C:\<snip>\Movie\work\audio.ac3
LOAD C:\<snip>\Movie\work\audio2.ac3
SELECT FILE 1
ADD VIDEOSOURCE
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 1
RECLISTS 0
AUDIO INTERLEAVE 3 FR
AVI ADDJUNKBEFOREHEADERS 0
PRELOAD 200
WITH AUDIO
NAME 1 english
END WITH
OVERWRITEDLG 0
CLOSEAPP 1
DONEDLG 0
ALL AUDIO 1
LEGACY 0
RECLISTS 1
NUMBERING ON
MAXFILESIZE ON 700
END WITH
START C:\<snip>\Movie\work\full.avi
Avi, yuck ..... Somebody else is going to have to test this further for you. Back to mkv for me 'cause I have already kicked my cat too many times today.

/add2: X264 mkv Getting there :)

1> Video and 2 audio in sync
2> Subs still same as before. Not showing in MPC.
3> Selected 2 cd's. Got 3 files - 2 files @734,561,276 and 1 file @79,962,867 (could be because I screwed up and had audio 1 set for aac stereo and audio 2 was set as ac3 original)
4> Sent log

travisbell
21st October 2006, 01:11
Hey man, I am having a weird problem.

All new encodes don't result in an actual file... AutoMKV encodes for a while, and according to the log finishes... but no file is created. I have linked to my .log here, maybe you can understand what's going on.

I am trying to encode HD .ts files, I have tried 3 different files and have the latest versions of all the files.

http://consumeroo.com/files/automkv.log


Thanks man,

buzzqw
21st October 2006, 07:53
XVid full encode test completed 3 cd
1> 2 audio played ok
2> No subs were viewable in MPC
avimux_gui do NOT support muxing of subtitles...

take your subs and rename to movie_full.idx/sub , mpc will load vobsub automatically

3> Originally 2 cd's were selected, then changed to 3 cd's after a redo.
Final mux was 2 files. File 1 was 2,131,798,116 bytes, File 2 was 71,650,804 bytes

NUMBERING ON
MAXFILESIZE ON 700

sorry pal... i give the exact paramenter to avimux :o
cloud you try manually launch avimux and load movie_avi and audio files and retry mux asking to split at 700mb ?

/add2: X264 mkv Getting there
1> Video and 2 audio in sync
2> Subs still same as before. Not showing in MPC.

please open with mediainfo or gspot the mkv file, and tell me if subs is present. also... can you see subs from manually muxed files ?

3> Selected 2 cd's. Got 3 files - 2 files @734,561,276 and 1 file @79,962,867 (could be because I screwed up and had audio 1 set for aac stereo and audio 2 was set as ac3 original)

i don't recheck if audio parameter is chanced. in this case those 79mb are the difference between audio.mp4 and audio.ac3...

4> Sent log

Thanks as always :)


and according to the log finishes... but no file is created
there is a problem with your source, automkv diagnose as film BUT applyed wrong deinterlacer routines.

stay tuned for 0.43

thanks

BHH

buzzqw
21st October 2006, 10:23
update 0.43 www.64k.it/andres/data/a/AutoMKV43.exe

Added: More debug information in log file
Added: Log is now reporting size of final video only
Added: low is now reporting size of audio files
Fixed: Use of Qmf
Fixed: Fullbatch was missing of encoding paramters when xvid is selected and PPO mode activate
Fixed: "Film" type wasn't correctly deinterlaced
Fixed: Mux string for avi container was missing in log file
Fixed: Opendml is activaten when single media size is over 2gb (and not when sum of media size is over 2gb)

BHH

DDogg
21st October 2006, 17:33
XVid - AVIavimux_gui do NOT support muxing of subtitles... Well since you decided to add avi, maybe you should use something else that does?cloud you try manually launch avimux and load movie_avi and audio files and retry mux asking to split at 700mb ?erm, tried, but really don't know the tool very well. Seems like crap. Would make one 700 file then stop.

X264 mkv please open with mediainfo or gspot the mkv file, and tell me if subs is present. also... can you see subs from manually muxed files ?Like I said several times before. Manually muxing works fine. I did install the CCCP and I get the green auto vobsub thing in the taskbar. Maybe you should install CCCP before we go much further? don't recheck if audio parameter is chanced. in this case those 79mb are the difference between audio.mp4 and audio.ac3...Nope, I did not change a thing in audio for the redo. The only oddity was I had Audio1 set for AAC stereo and Audio2 Original Original when I first started the encode. I think you mis-calculated size?

SeeMoreDigital
21st October 2006, 18:44
avimux_gui do NOT support muxing of subtitles...

take your subs and rename to movie_full.idx/sub , mpc will load vobsub automatically
XVid - AVI Well since you decided to add avi, maybe you should use something else that does?
As far as I know, AVI-Mux GUI supports SRT and SSA subtitles and embeds them within the AVI container.


Cheers

travisbell
21st October 2006, 20:31
update 0.43 www.64k.it/andres/data/a/AutoMKV43.exe

Added: More debug information in log file
Added: Log is now reporting size of final video only
Added: low is now reporting size of audio files
Fixed: Use of Qmf
Fixed: Fullbatch was missing of encoding paramters when xvid is selected and PPO mode activate
Fixed: "Film" type wasn't correctly deinterlaced
Fixed: Mux string for avi container was missing in log file
Fixed: Opendml is activaten when single media size is over 2gb (and not when sum of media size is over 2gb)

BHH

Testing with the same source as before right now...

Thanks for the usual quick responses and updates!

travisbell
21st October 2006, 22:09
Yup, 43 fixed the problem with my attempts at encoding the files.

Right on man! Woo!

buzzqw
23rd October 2006, 07:45
new stable package www.64k.it/andres/data/a/AutoMKV044.rar

Added: selection of PGC (used for subs)
Added: is possible to encrust/burn in movie the sub
Fixed: Sub file will be rename base on movie name
Fixed (again): Colormatrix usage
Fixed: Audio size calculation for second audio track


BHH

DDogg
23rd October 2006, 13:32
"ColorMatrix:invalid mode string!" for resmovie ColorMatrix("Rec.S170->Rec.601",hints=false)

buzzqw
23rd October 2006, 15:54
:angry: :angry:

www.64k.it/andres/data/a/AutoMKV45.exe

removed case of colormatrix that I HAVEN'T TESTED BECAUSE I HAVEN'T THE CORRECT SOURCE MATERIAL !

BHH

P.S. sorry for this post but.... can you please chop a piece of mpeg and send me a link ?

DDogg
23rd October 2006, 19:29
Take a breath :) Sent.

BigDid
23rd October 2006, 20:08
Hi BHH,

Great work, you are updating quicker than I can test :)

Don't get a coding overdose. Cheers.

Did

SeeMoreDigital
23rd October 2006, 20:35
By-the-way....

http://img329.imageshack.us/img329/6982/automkvtg3.png


Cheers

DDogg
23rd October 2006, 21:01
Glad you mentioned that. I've never even understood what it does, or is there for :)

Buzzqw, can you put fullbatch in the working dir when PPO is not checked? This would be helpful for debugging or crash.

KitchenStaffSupervisor
24th October 2006, 15:40
The 'log' tab of AutoMKV has a vertical scrollbar, but not a horizontal one. If it's too wide for the window size, can you enable a horizontal scrollbar?

buzzqw
24th October 2006, 16:42
The 'log' tab of AutoMKV has a vertical scrollbar, but not a horizontal one. If it's too wide for the window size, can you enable a horizontal scrollbar?

done in 0.46

DDogg Glad you mentioned that. I've never even understood what it does, or is there for

AutoMKV can command dvdfabdecrypter, for a dvd to mkv/mp4 direct conversion

Buzzqw, can you put fullbatch in the working dir when PPO is not checked? This would be helpful for debugging or crash.

fullbatch is done by copying already existent batch files. If automkv crash no files is created...

SeeMoreDigital By-the-way....

:D thanks!

BHH

DDogg
24th October 2006, 17:15
fullbatch is done by copying already existent batch files. If automkv crash no files is created...
Was speaking of a machine crash or such after encode has been started. Would be nice to go to dir and click fullbatch to redo it. Not a big thing.

buzzqw
24th October 2006, 17:34
Was speaking of a machine crash or such after encode has been started. Would be nice to go to dir and click fullbatch to redo it. Not a big thing

not so easy... i suggest to read log file, within there are all command line launched. (anyway i will search for a solution)


BHH

glynor
24th October 2006, 17:45
I just wanted to say thanks a lot, buzzqw (and the rest of you that have been helping out on this thread). This application is fantastic and just what I've been looking for! :D

A couple of things...

I did read a few pages back that you're aware that having the UI completely vanish when you start a batch encode with the Queue is not ideal, but this hasn't changed. Is this still coming or did it drop off the radar? (It baffled me until I dug through this thread to find it mentioned.)

Also, this is quite a bit less important, but it'd be nice. Is there any way that if you call AutoMKV with a file path as a command line argument that you could have it load up with that file pre-loaded as the Input file? This would be pretty cool for using Right Click --> Send to directly on the media files themselves in Windows Explorer (or from inside other media management applications).

glynor
24th October 2006, 19:04
I've actually now found a problem with encoding a certain video file using AutoMKV. When it gets to the DelayCut stage, the fixed1.mpa file it creates just keeps growing and growing until it uses up all of my available hard drive space. I had it grow to 170 GB for a one hour video clip one time and the second time it got to almost 70 GB before I stopped it. The process never ends...

The video I was test encoding was recorded by my HTPC by BeyondTV:

http://www.geocities.com/ri0n/AutoMKV-audiogrows.jpg

Here is the DelayCut line from the AutoMKV log:

12:27:38 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "C:\video\projects\fixed1.mpa" "C:\video\projects\movie T01 DELAY 102ms.mpa"

The log starts like this:

[Input info]
Bitrate=384
Actual rate=384.000000
Sampling Frec=48000
TotalFrames=169388
Bytesperframe=1152.0000
Filesize=195134976
FrameDuration= 24.0000
Framespersecond= 41.6667
Duration=01:07:45.312
Channels mode=Stereo
LFE=LFE: Not present
[Target info]
StartFrame=-4
EndFrame=169387
NotFixedDelay= 6.0000
Duration=01:07:45.408
====== PROCESSING LOG ======================
Time 00:44:48.312; Frame#= 112014. Unsynchronized frame...REWINDED 1148 bytes. Found new synch word
Time 00:44:48.360; Frame#= 112016. Unsynchronized frame...REWINDED 1148 bytes. Found new synch word

And goes on like that for a long time (with the unsynchronized frame messages), probably basically until I cut it off.

The video plays fine in MPC and doesn't seem to be out-of-sync. Other videos I've recorded with BeyondTV did encode fine with AutoMKV and MeGUI (though I don't know that I've tried this actual video file in MeGUI).

DDogg
24th October 2006, 19:15
glynor, nice to see another tester! I'm wondering if the same problem would show if you were to load that file in VdubMod, use directstream copy and create a new file to test with AutoMK? Or, file>open>check extended options and rekey the file? Just curious - and it might help buzzqw identify the problem if that fixes it.

/add: sorry, I just saw that was a mpeg file. He may need a snip link pm'ed to him.

buzzqw
24th October 2006, 19:35
I did read a few pages back that you're aware that having the UI completely vanish when you start a batch encode with the Queue is not ideal, but this hasn't changed. Is this still coming or did it drop off the radar?

not forget, but trying to find a solution. now is i don't minize automkv, the window go freeze... i must check some threads... (of automkv)

Also, this is quite a bit less important, but it'd be nice. Is there any way that if you call AutoMKV with a file path as a command line argument that you could have it load up with that file pre-loaded as the Input file?

0.46 DONE

When it gets to the DelayCut stage, the fixed1.mpa file it creates just keeps growing and growing until it uses up all of my available hard drive space.
some time i got this problem too... usually happens when the mpeg isn't perfectly muxed.

can you cut a small part around the culprit , from 00:44:48.312 to 00:45:00:00 and post me a link where to download ? i hope to replicate the problem... and point jsoto to the problem

TRY using this CUSTOM build www.64k.it/andres/data/a/AutoMKV46CRC.exe i added to delaycut command line the order to fix with silence CRC errors

please report back!

BHH

DDogg
24th October 2006, 20:40
1> was doing a manual crop [enable manual crop and resize]. The script redlined. Found I had to change crop line to: crop(movie,8,2,-6,-4) from crop(8,2,-6,-4)

2> having trouble loading an avs as source. It is sized as 640x352 and encodes with no problem in x263cli, however, if I try to play resmovie.avs which has imported this script I get the complaint about width must be divisible by 4.

movie = Import("C:\640.avs")
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
640.avs is a simple:
DGDecode_mpeg2source("C:\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
#blank deinterlace line
crop(8, 4, -6, -4)
LanczosResize(640,352) # Lanczos (Sharp)
However, resmovie will play when "return movie" is added:
movie = Import("C:\SPR\spr640.avs")
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
return movie

glynor
24th October 2006, 21:40
can you cut a small part around the culprit , from 00:44:48.312 to 00:45:00:00 and post me a link where to download ? i hope to replicate the problem... and point jsoto to the problem

TRY using this CUSTOM build www.64k.it/andres/data/a/AutoMKV46CRC.exe i added to delaycut command line the order to fix with silence CRC errors

please report back!

Will do! I have some annoying job-stuff to deal with right now, but I should be able to test it out tomorrow with the file (and get you a snip of it as well).

Thanks for the change on the command line argument too!

KitchenStaffSupervisor
24th October 2006, 21:57
I noticed yesterday that I encoded a movie (after changing the movie name to something OTHER than 'movie') and the result was...nothing. I'm wondering if changing the default movie name in the UI isn't totally bug-free, and that there may be some case where the encoded video isn't seen because it has the wrong filename, or something like that. Has anyone else had problems with using something other than 'movie' in the name field?

buzzqw
25th October 2006, 08:15
1> was doing a manual crop [enable manual crop and resize]. The script redlined. Found I had to change crop line to: crop(movie,8,2,-6,-4) from crop(8,2,-6,-4)

fixed

2> having trouble loading an avs as source. It is sized as 640x352 and encodes with no problem in x263cli, however, if I try to play resmovie.avs which has imported this script I get the complaint about width must be divisible by 4.

On avs source file automkv will not apply any resize or filter.
Better: when using avs as source the width value "automatic" or any other value IS IGNORED in final encoding.

Even if autoresize suggest, for example 640, the final movie.avs will be only "import ("ooo.avs") , without any resize applyed

Anyway fixed avs import file

I noticed yesterday that I encoded a movie (after changing the movie name to something OTHER than 'movie') and the result was...nothing.

Name file should follow dos rules: no space, no point, no special character...

BHH

AMED
25th October 2006, 09:33
I've found a small bug in v0.45 and v0.46-CRC.

Change the X264 profile to HQ-Slower and then click the drop down on the container, it will change the profile back to CE-mainprofile.

if you try a similar thing with XVID, the Codec will change to X264 and the profile will change to CE-mainprofile.

buzzqw
25th October 2006, 14:13
update 0.47 www.64k.it/andres/data/a/AutoMKV047.exe

ADDED: shutdown at end of encoding
ADDED: is possible to specify input file on command line
ADDED: fixcrc silence on mpa audio file (could be a temporary fix)
ADDED: drag&drop on input string
FIXED: In log window is present an horizontal bar, is also possible to write notes
FIXED: Check DVD Drive
FIXED: avs input file. NO filter and NO resize is applyed on this files

@AMED
isn't bug. On change of container i reset the codec/profiles status

KitchenStaffSupervisor
25th October 2006, 15:30
Name file should follow dos rules: no space, no point, no special character...

BHH

Well, I tried re-encoding the same stream again yesterday, with the same result, no movie. I then encoded a third time, without changing the default movie name (it was set to 'movie') and I turned off the 'delete temp' option so at least I could see what was happening...and I did get a movie.mkv from the encode that I could look at, but I don't know if it would have been deleted by with the temporary files. The filename I was using when the encode never materialized was 's2e05'.

The encode I did was not a real high quality one (I didn't want to wait 6 hours for no results) so I'm going to experiment a bit now. I'll give you feedback in a few hours.

buzzqw
25th October 2006, 15:51
i done a simple encoding (just few mb of vob files) and named the file "s2e05" (without quotes). Got a s2e05.mkv

open the log file and look before scripts , you should see "Only Movie Size:..." this is the size of movie encoded. If there isn't a value no movie were created...

BHH

glynor
25th October 2006, 16:14
Okay! I've made a few interesting discoveries with this clip. First off, there does appear to be an error of some kind in the source clip. Watching the source footage, there is an audible (and visible) error at right around 00:44:48. Here's a clip of just that stretch:

http://users.adelphia.net/~edandjenn/temp/RTBM-2006-09-08-0_smclip.zip

What I've found:

1. 0.46CRC and 0.47CRC made no difference when trying to encode the original source file. Same exact problem.

2. I am able to use 0.45 (and 46-47 as well) to encode the small clip that I just posted above. Something about the way that I edited the MPEG seems to have altered the error. I might just be using a bad MPEG editor (I've been suspicious, but I'll get to that).

In order to cut out the small clip, I used Womble Multimedia's MPEG-VCR (v3.14). That's one of the few cheap applications out there I've found that will let you edit Program Stream MPEG-2 files with the audio track already muxed in. I belive Pegasys's TMPGEnc MPEG Editor 2 (http://tmpgenc.pegasys-inc.com/en/product/tme20.html) will do it too, but that's a little more expensive. Unfortunately, TMPGEnc itsef, and MPEG2Schnitt and Cuttermaran all can't handle the MPEG2 files that come out of BTV (I think because they're muxed MPG files).

I'd read postings here on Doom9 that MPEG-VCR does not re-encode the MPEG2 files you edit unless it has to. I've never been able to find that stated in it's documentation anywhere though! I do know that Womble's newer product (MPEG Video Wizard) does have this feature, but I didn't like it's interface (and I'd rather just cough up the money for TMPGEnc MPEG Editor). This result (and the fact that when the error actually occurs it is visibly different in the cut version I made vs. the original) makes me very suspicious that MPEG-VCR is actually re-encoding the video... Though it's pretty darn fast so I'm not positive.

So... Two questions:

1. Does anyone know for sure that MPEG-VCR does or does not re-encode video when you're simply snipping out chunks (to remove commercials or whatnot)? I've confirmed in other postings what I first read here that it does not, but perhaps it also tries to fix any errors or something...

2. Is there a better application that I could use that would more perfectly provide that piece of this video for you to analyze? The whole thing is almost 4 GB so sending it is obviously not possible.

buzzqw
25th October 2006, 16:43
i used both vcr and wvw and i prefer the wizard. as far as i know, and used, both do a direct stream copy of audio/video
I used mostly on ts source but i never got some serius problem with womble video wizard

Try loading the original (the big and broken) file with vcr and RE-EXPORT , without reencoding.
Then try to load this new file. I can beat that remuxing will fix the problem

BHH

glynor
25th October 2006, 19:02
That sure did fix it (I tried exporting the file using both MPEG-VCR and MPEG Video Wizard, which is growing on me a little). :D

I'm happy then. The only reason I was even trying to encode a raw recording off of BTV (without clipping out the stuff at the beginning and end) was to test AutoMKV out. In "real life" I'd never do that without first trimming the file in MPEG-VCR (or maybe the Video Wizard, we shall see). Since that should fix any little blips that might end up in my video files because of BTV (I should really switch back to SageTV one of these days), I'm not going to worry about it.

Oh, and thanks for the command line argument thing! That's been great (I have it defined as a Send to option in J. River Media Center now, which I use to manage all my media).

Again... I'm really quite impressed with all your work on this! I think it's going to definitely become my encoder of choice (MeGUI is good if you really want to "get in there", but the UI is terrible). Keep it up!

DDogg
25th October 2006, 20:29
Noticed AutoMKV is on low priority when launched. Makes it feel very slow and 'gummy' when other low priority processes are going on in the background (like x264).

buzzqw
25th October 2006, 21:57
good point.

fixed in 0.48

BHH

DDogg
25th October 2006, 23:49
V47 - x264 mkv
Selected 2 individual subs, one in each window. Sub idx was called "movie.idx", but muxing.bat and fullbatch.bat called "vts.idx". I noticed this method also creates .srt's which I wish selecting "rip all subs" would also do. Or, did you just change this in v47?

btw, when I changed the name in the muxing.bat to movie.idx all worked well. Subs finally show! :thanks:

KitchenStaffSupervisor
26th October 2006, 00:10
OK, I had no trouble with non 'movie' movie names when encoding directly, but if I tried to add a non 'movie' name to the queue, it didn't seem to work. I'll try again to confirm.

Another thing that's bugging me...the DVD rips of multi-episode shows that I have on my hard drive have a file structure like this:

VTS_01_0.IFO
VTS_01_1.VOB
VTS_01_2.VOB
VTS_01_3.VOB
VTS_02_0.IFO
VTS_02_1.VOB
VTS_02_2.VOB
VTS_02_3.VOB
VTS_03_0.IFO
VTS_03_1.VOB
VTS_03_2.VOB
VTS_03_3.VOB

If I select any of the IFO files, it only allows me to choose the longest of the three episodes on the disc instead of any of them (only one entry is present in the pulldown menu). The only way I've found to circumvent this is to put the VTS_0x files in a separate directory before opening them with AutoMKV.

buzzqw
26th October 2006, 08:52
V47 - x264 mkv
Sub idx was called "movie.idx", but muxing.bat and fullbatch.bat called "vts.idx".

fixed in 0.48

I noticed this method also creates .srt's which I wish selecting "rip all subs" would also do. Or, did you just change this in v47?

i worked (hard) on subs... and i resolved :)

OK, I had no trouble with non 'movie' movie names when encoding directly, but if I tried to add a non 'movie' name to the queue, it didn't seem to work. I'll try again to confirm.

i do some test too

Another thing that's bugging me...the DVD rips of multi-episode shows that I have on my hard drive have a file structure like this:

it's wanted.

If you want to do episode by episode just select the first vob of episode (VTS_01_1.VOB,VTS_02_1.VOB...)

If I select any of the IFO files, it only allows me to choose the longest of the three episodes on the disc instead of any of them (only one entry is present in the pulldown menu).

let's me do some tests... :)

BHH

glynor
26th October 2006, 14:40
I'd been having a lot of trouble at home downloading AutoMKV over the past few days. The downloads would start fine, but would "end" well before they were finished (the "full" RAR file would end up only a few hundred K and wouldn't work of course). At first I assumed the problem was on "the other" end, but then when it worked for me on a different machine at work, but then again didn't work in the evening at home I got suspicious that the problem was at my end...

Well, I figured it out last night, and I thought I'd post it in case anyone else is having similar troubles. I have PeerGuardian 2 installed and running on that machine. I know it's not fully effective but its probably better than nothing and I hate having them "watch" me. Either way, it was causing the trouble. If I disabled it, the downloads were just fine. If I re-enabled it, they'd mess up again. (This was odd because I do not have HTTP blocking enabled, and the only list I have installed is the regular P2P blacklist.)

Just in case it's also related, I am using Firefox 2 (the final build for now until I start using nightlies again).

Sooooo... If you have PG2 and you can't download AutoMKV, try disabling it.

buzzqw
26th October 2006, 17:01
update www.64k.it/andres/data/a/AutoMKV048.exe

Added: Force ITU resizing
Added: support for episodic dvd (adv. setting). if you check this, only the pointed ifo of an already dvd ripped, will processed . And check this BEFORE pointing to ifo (beta)
Added: anamorphic encoding (beta till i don't full understend what "anamorphic" mean)
Fixed: audio bitrate is now editable
Fixed: automkv will be launched at normal priority

BHH

DDogg
26th October 2006, 19:34
V47 AVI XVid

1> Selected 2 audio with Lame/Stereo in both. Got endless loop encoding audio.mp3 over and over.
2:49:03 Finished fixing audio delay
12:49:03 Encoding C:\temp\fixed1.ac3 To Mp3 with 8 quality
12:50:42 No audio create, retry without apply Original
12:50:42 Encoding C:\temp\fixed1.ac3 To Mp3 with 8 quality
12:52:19 No audio create, retry without apply Original
12:52:19 Encoding C:\temp\fixed1.ac3 To Mp3 with 8 quality
12:53:57 No audio create, retry without apply Original
12:53:57 Encoding C:\temp\fixed1.ac3 To Mp3 with 8 quality
<snip>
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
13:29:38 Audio Size 1' Track: 404918784
<snip>


v48 If you open a VIDEO_TS.IFO you get nothing in audio or select pcg.
V48a (below) working

Also, please consider dealing with the crash when a virtual drive is used and output is not changed (when time permits).

buzzqw
26th October 2006, 19:59
quick fix

www.64k.it/andres/data/a/AutoMKV048a.exe

BHH

crashed
28th October 2006, 00:10
First of all, thanks for the amazing prog

second, the little problems i have:

1. on a dualcore, when encoding in x264 onlz 55% of the cpu is used! (using ce mainprofile) but 90% is used when using p1-maxspeed, is there any reason why this is like that?

2. could you make an option so that the dvd gets ripped first, and then ripps the subs? (so that the dvd only has to stay in the dvdrom for 15 mins =)

3. I cant remember since what version, but something after 38 wont let me rip the dvds anymore, if i put a dvd in, then check the dvd it finds the ifo file. I then select the language and start encoding, as shown on screenshot setup. After that, nothing really happens except dgindex gets started. In the log file it sais done ripping, but it hasnt done anything at all, goes straight away to dg index and stays like that forever. Well of course, no dvd was ripped.

4. Would be great if possible to safe the settings one makes in the advanced settings tab as well!

Thanks again!

DDogg
28th October 2006, 00:44
First of all, thanks for the amazing prog

second, the little problems i have:

1. on a dualcore, when encoding in x264 onlz 55% of the cpu is used! (using ce mainprofile) but 90% is used when using p1-maxspeed, is there any reason why this is like that?

2. could you make an option so that the dvd gets ripped first, and then ripps the subs? (so that the dvd only has to stay in the dvdrom for 15 mins =)

3. I cant remember since what version, but something after 38 wont let me rip the dvds anymore, if i put a dvd in, then check the dvd it finds the ifo file. I then select the language and start encoding, as shown on screenshot setup. After that, nothing really happens except dgindex gets started. In the log file it sais done ripping, but it hasnt done anything at all, goes straight away to dg index and stays like that forever. Well of course, no dvd was ripped.

4. Would be great if possible to safe the settings one makes in the advanced settings tab as well!

Thanks again! 1> Well I have a D930 and I am always maxed out. However, I do run avisynth 2.60 alpha and maybe that makes a difference. Also, have you set threads to 2 in the profile?

As for the rip, I just did that today with 48a and it worked fine. Did you dl the whole 44 new package and update the exe to 48a, or did you just update the original 3x full package? You should have 5 files in C:\apps\AutoMKV044\exe\Vsrip plus any logs created.

buzzqw
28th October 2006, 01:33
1. on a dualcore, when encoding in x264 onlz 55% of the cpu is used! (using ce mainprofile) but 90% is used when using p1-maxspeed, is there any reason why this is like that?

i check for number of processor and put the adeguate --threads at x264 script. You can look in advance profile editing at "Command line:" the threads value are automatic and is the last value (no need to edit the profiles)

2. could you make an option so that the dvd gets ripped first, and then ripps the subs? (so that the dvd only has to stay in the dvdrom for 15 mins =)

is already as this. once the dvd is ripped the subs is processed from vobs laying on hd. You can open para.lst (open with notepad) for vsrip parameter

3. I cant remember since what version, but something after 38 wont let me rip the dvds anymore, if i put a dvd in, then check the dvd it finds the ifo file.

check if in \exe\vsrip folder there is DVDFabDecrypter.exe
The flow for dvd->mkv is:
1) insert dvd in drive
2) click on check dvd driver , after selecting the drive
3) choose audio/subs/media...
4) click start encoding

4. Would be great if possible to safe the settings one makes in the advanced settings tab as well!

i will look at this :)

please report any other problem !

BHH

crashed
28th October 2006, 08:30
I redownloaded the package, checked for dvdfabdecrypter.exe and its in vsrip as it should be. But i can not find the para.lst file you talked about anywhere. took a screenshot of my vsrip folder, thats all there is.

Even after redownloading, the whole package, i have the same problem. The dvd is not ripped, it goes straight to dgindex and stops there. (like in the previous screenshot)

09:20:08 0.48a - - - - - START JOBS - - - - - - - - - - - - -
09:20:08 Selected Input file:
09:20:08 Selected Output dir: C:\Documents and Settings\crashed\Desktop\AutoMKV044\
09:20:08 Selected Container type: MKV
09:20:08 Selected Size: 1 CD
09:20:08 Selected Slice: 1
09:20:08 Selected Encoder: X264
09:20:08 Selected Profile: 1P-Maxspeed.xml
09:20:08 Selected Width: Automatic
09:20:08 Selected Resizer: SimpleResize
09:20:08 Selected Filters: RemoveGrain(mode=2)
09:20:08 Selected Deinterlacer: AUTO
09:20:08 Enabled CRF autoresize with value 19
09:20:08 Audio Track Language: Deutsch (AC3 6ch, 0xBD 0x80) [0]
09:20:08 Audio Track Language: NONE
09:20:08 Starting ripping from E:\VIDEO_TS\ to C:\Documents and Settings\crashed\Desktop\AutoMKV044\
09:20:08 Finished Ripping
09:20:08 Starting Indexing
09:20:08 Dgindex CMD: C:\Documents and Settings\crashed\Desktop\AutoMKV044\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[C:\Documents and Settings\crashed\Desktop\AutoMKV044\dvd\video_ts\VTS_22_1.vob] -OF=[C:\Documents and Settings\crashed\Desktop\AutoMKV044\movie] -exit -minimize

thas the dvdinfo file created:

Video info: MPEG2 720x576 PAL 16:9 letbox

PGC 1. Length: 1:50:44:00

Audio 1. Deutsch (AC3 6ch, 0xBD 0x80) [0]
Audio 2. English (AC3 6ch, 0xBD 0x81) [0]
Audio 3. English (AC3 2ch, 0xBD 0x82) [0]

Subtitle 1. Deutsch 0 (0xBD 0x20) [0] wide
Subtitle 2. English 1 (0xBD 0x21) [0] wide
Subtitle 3. Turkish 2 (0xBD 0x22) [0] wide
Subtitle 4. Deutsch 3 (0xBD 0x23) [0] wide
Subtitle 5. English 4 (0xBD 0x24) [0] wide

so it sais it finished ripping, but it didnt even start. Plus i wonder why there is no inputfile mentioned either in the log.

Also tried to delete all registry entries for dvdfab, but still doesnt work

When saving the options, the filtersettings arent saved either. Is there a point to have remove grain when ripping from a dvd?

(Note if i select the ifo file directly from the dvd, it works but it doesnt rip, just encodes straight away the audio and movie. The file one gets out of this is not usable though, as the dvd wasnt decoded in the first place)

buzzqw
28th October 2006, 09:05
update www.64k.it/andres/data/a/AutoMKV049.exe

@crashed
got the problem. Thanks. Is due to space in your installation folder. Grab this new build

Added: Autoresize in XviD is based (as X264) on CQ
Added: Possibility to add a last line to avs script
Added: Default value now save "Delete temporary files", "Encrust/Burn Subtitles", "Enable Shutdown", "Episodic DVD", "Force ITU Resizing", "Anamorphic Encoding"
Fixed: Ripping from installation folder with space
Fixed: Shutdown will ask to confirm or after 30 the pc will be shutting down


BHH

crashed
29th October 2006, 09:52
thanks, works now, tomorrow ill test an episodic dvd after this one running right now is through... (right now german dvd with 2 language tracks and 6 subtitles is being encoded)

crashed
29th October 2006, 18:13
would it be possible to make a 5min sample encoding of a movie? (so it only encodes 5mins of sound, subs and moviefile?)

would it be possible so it states the size of the audiostreams, subs and videostream crated in the log file?

if i select hq-slow profile, in the logfile it still states ce-mainprofile was selected, so which one does it really use? (see screenshots) (in the advanced setting tab hq-slow is in the profile though....

the x264.exe is still launched as a low priority process, maybe make it so one can set it themselves in the advanced settings tab what priority it should be?

if the finaly encoded mkv file is opened in core media player, it states that some mediastreams could not be rendered. I dont know which ones though, everything seems to work, any idea what it could be? or how i can find out what it is? the log file of cmp is below.

> The Core Media Player 4.x root loaded...OK
> Loading Audio Input CDL: APE Decoder 0.7 (MAC v3.99)
> Loading Audio Input CDL: FLAC Decoder 0.6
> Loading Audio Input CDL: ModPlug MOD Decoder 0.1
> Loading Audio Input CDL: MP3 Decoder 0.5
> Loading Audio Input CDL: MPC Decoder 0.6
> Loading CDL: CoreMediaProp.cdl...Returned CORE_OK
> Loading CDL: MatroskaCDL.cdl...Returned CORE_OK
> [OGMINFO] Loading Release version

> Loading CDL: ogminfo.cdl...Returned CORE_OK
> Reading settings from CorePlayer.ini...OK
> Volume : 100, 0
> Loading Default Playlist...OK
> Checking for new versions of the player...
> Running application main loop...
> Registration & icons associations...
> Registration & icons associations...OK
> =====> Entering LoadMediaFile... 1
> Opening D:\moviefast.mkv
> Matroska CDL: Found Matroska File
> CDL_MediaPropExec executed on Media Properties
> CDL_MediaPropExec executed on Matroska Info
> CDL_MediaPropExec executed on OGM Information CDL C/C++
> CDL_ReadTags executed on Media Properties
> CDL_ReadTags executed on Matroska Info
> CDL_ReadTags executed on OGM Information CDL C/C++
> Metadata:
> Title:
> Artist:
> Album:
> Track: 0
> Year: 0
> Genre:
> Rating: 0
> Bitrate: 0 KB/s
> Extension: mkv
> Codec:
> EncodingStyle:
> Comment:
> Extended:
> Checking header...
> Prepare to summon filters...
> Summoner cleared
> Summoner filled
> About to clear a DVD graph
> DVD graph cleared
> File will be opened now !
> Core: Init COM Interface...
> Core: Creating DirectShow graph...
> Core: Querying Interfaces...
> Core: Adding MPEG Layer-3 Decoder
> Core: RenderFile()...
> Core: RenderFile() rendering time: 2782ms
> Some of the streams in this movie are in an unsupported format.
> TCMP's Core can not render the file : D:\moviefast.mkv
> Some of the streams in this movie are in an unsupported format.
> Core: PDivXCore_PutVideoThroughOvM(pOvM, pVR)
> Core: Operation completed in: 1328ms
> Core: Getting Duration...
> Core: Put_Owner...
> Core: Getting overlay colorkey...
> Colorkey is: 1048592
> Core: Deleting filters not connected...
> Core: Put_MessageDrain...
> Initializing OSD...
> Volume : 85, -423
> Modifying balance...
> Volume : 100, 0
> Setting DirectDraw surface position...
> Initializing chapters/bookmarks...
> Applying Dynamic Equalizer settings (loading preset) ...
> Applying Dynamic Equalizer settings (updating GUI)...
> Applying Dynamic Equalizer settings (setting gain)...
> Setting winamp plugin path...
> Operation sucessfull.
> Processing TrackInfoList...
> TrackInfoList sucessfully processed...
> Getting filters in use...
> Setting title to moviefast
> Scrolling informations filled successfully...
> Auto play is checked, start playing...
> We should be playing now.
> Everything seems to be ok, birds are singing...
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Found video track
> Matroska CDL: Found Display Size: 1024 x 576
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> Matroska CDL: Searching tracks for a video track
> <===== Leaving LoadMediaFile. 1

buzzqw
29th October 2006, 18:33
would it be possible to make a 5min sample encoding of a movie? (so it only encodes 5mins of sound, subs and moviefile?)

for movie, check "Last line avs script", and write "Trim(0,7500)"
audio ? interrupt the encoding, CTRL+C.
Subs ? no, not possible

Sorry crashed, not so easy.

would it be possible so it states the size of the autiostreams, subs and videostream crated in the log file?

Audio and video is already reported. only subs size is missing
"Only Movie Size:" and "Audio Size 1' Track:"

if i select hq-slow profile, in the logfile it still states ce-mainprofile was selected, so which one does it really use? (see screenshots) (in the advanced setting tab hq-slow is in the profile though....

hit "Reload profile" , even if on change of profile the adv prof. editing should change automatically...

BHH

travisbell
29th October 2006, 22:14
I'd been having a lot of trouble at home downloading AutoMKV over the past few days. The downloads would start fine, but would "end" well before they were finished (the "full" RAR file would end up only a few hundred K and wouldn't work of course). At first I assumed the problem was on "the other" end, but then when it worked for me on a different machine at work, but then again didn't work in the evening at home I got suspicious that the problem was at my end...

I have always had this problem... sometimes it take me 4 or 5 times to get the whole file downloaded. I have traced it back to something on his servers end, not saying it's his server per-say but rather wherever it's hosted, and my ISPs ability to get there.

crashed
30th October 2006, 11:29
things seem to work fine now, 3 more sugestions i have:

1. would it be possible so it saves the last line avs script setting and the filters setting ?

2. would it be possible to encode a batch of files. I know that you can queue jobs but you have to open each file and set everything for it. lets say you have 50 episodes, is there a way to make it so it encodes all the episodes while just having to set the variables once and not 50 times?

3. For example in the german dvd "closer" it finds 2 german, 2 english and 1 turkish subtitles, in the final mkv file only 1 german 1 english and 1 turkish subtitle is playable, out of 5 listed. Any idea how to get rid of the other 2? Or could you make 4 subtitle tracks aviable so one can choose more than 2 but doesnt have to rip all the subs? This is also why core player comes with an error that some streams are unsupported (the error i talked about in my previous post), if i dont have those "fake subs" in the mkv file everything works fine.

Thanks,

crashed

buzzqw
30th October 2006, 13:52
things seem to work fine now, 3 more suggestions i have:

More then welcome !

1. would it be possible so it saves the last line avs script setting and the filters setting ?

DONE in 0.50 , also added to queue object (the last line)

lets say you have 50 episodes, is there a way to make it so it encodes all the episodes while just having to set the variables once and not 50 times?

mhh.. not so easy again, anyway only audio track/subs changes on input a new source file

3. For example in the german dvd "closer" it finds 2 german, 2 english and 1 turkish subtitles, in the final mkv file only 1 german 1 english and 1 turkish subtitle is playable, out of 5 listed. Any idea how to get rid of the other 2? Or could you make 4 subtitle tracks available so one can choose more than 2 but doesn't have to rip all the subs? This is also why core player comes with an error that some streams are unsupported (the error i talked about in my previous post), if i don't have those "fake subs" in the mkv file everything works fine.

the same file with mpc (with or without haali splitter) is ok ?

those subs are not "fake" but probably used in some angle.
In subs list only those in select pgc are show, rip all subs is to be used when 2 subs track aren't enough... i i think that 2 subs is usually enough... (but please report if this file is ok with mpc)

thanks you too

BHH

fogbav
3rd November 2006, 19:12
Thank you very much 4 this great prog !

i have one question :

what exactly is the syntax for cli ... i figured out that a can do an :

AutoMKV049.exe c:\test.mpg

are there more Options ?

thanx

FoGBaV

buzzqw
3rd November 2006, 23:01
(this is the first build of 0.50 series, please be cautius, is a little more then a beta build)

and here the long awaited 0.50(d) series

now the good news

AutoMKV .5x includes new features for the quality oriented who want a crf based HQ encode in 1Pass, yet still want size control. As well, the new features provide those who want a high level of control with expanded features.

Quick start - Choose input and output, Choose Output file size, Choose the CQ-ASP_Q2_eq(crf) profile. Answer "Hit Media size" to the pop-up. In the advanced tab select "Allow multiple autoresize" and start encode (if you want more interaction with quality choose)

AutoMKV will sample the source to identify the level of compressibility. When "Allow multiple autoresize"is checked, the user will be presented with the suggested Resolution, CRF value to be used, and other information. If acceptable, press "No" to redo and the enclode will start. If the resolution and CRF value (crf values < 22 should be good with crf 18 being very good) are not to your liking, simply leave the pop-up as is, go to autoMKV and add more size, change matrix, add a filter, etc., then Click yes for redo. Process will repeat. When you are comfortable with the values presented, just press no and encode will proceed.

After the crf encode is completed, AutoMKV will trigger the 2nd pass only if the encode size is outside the values in MinSize Maxsize.

(ehi... don't be afraid there are always 2 pass encoding !)

and here the (big) changelog

FIXED: added sub size to log file
FIXED: lame encoding for second audio track
FIXED: better support for process.exe, no process.exe flash up more
FIXED: on avi source, copy original audio is no more allowed
FIXED: added "last line avs script" to save default

ADDED: log save both audio avs/batch files
ADDED: is now possible to select what CQM use in XivD
ADDED: a simple command line support. Create your setting (video codec, container , media size..)(use "Save Default") and give it a personalized name (es. 24hour.ini)
create a .bat file (within automkv directory) with this AutoMKV050d.exe 24hour.ini "C:\path\to\24h\test1.vob" 2 2 1 0 start
The "2 2 1 0 start" mean:
2 on first audio track choose second audio present
2 on second audio track choose second audio present
1 on first sub track choose first sub
0 on second sub track choose NONE to sub
start ... mmm ...let's start encoding ?
ADDED: language translate support. After choosing language (on advanced settings), click on save default and restart AutoMKV.
Use automkv.ita as reference. Name the language file to automkv.XXX where XXX is the ISO639-2 code of nation (better, look on advanced settings the code of your language)
ADDED: more accurate crf size prediction with conditional 2nd pass for automatic correction of oversize, undersize. Many high quality encodes will take just 1 pass. The conditional 2nd pass is only activated if size exceeds user set min/max values

@fogbav

what exactly is the syntax for cli ... i figured out that a can do an : AutoMKV049.exe c:\test.mpg
are there more Options ?

with new build (050d) just create your default.ini personalized with codec settings, audio settings... then launch
AutoMKV050d.exe default.ini "C:\path\to\your\files.vob" 1 0 0 0 start

I want to public :thanks: (again) DDogg for the tremendus test, time, idea, support he had given to this project !

BHH

DDogg
4th November 2006, 00:37
Thanks, buzzqw, always glad to help where I can. Seems to be working well on my first test.

The target was 1/4 dvd and the muxed file would have been 1,082,163,420 bytes so was about 96.07% of target size of 1,126,400,000
bytes. Not bad at all and I think a few more tweaks will come out soon to narrow it down. The 2nd pass was triggered because I left the Min too high [your setting]. More time, but the encode can only get better (fractionally).
Accepted values are between 1080 and 1105 mb
Got a file of size: 716.73 mb + audio size 314.61 mb
Switching to 2 pass mode
I can see where you may want to change the min-max to a percentage. I would be happy to accept an encode 5% small and trigger the 2nd pass if 1% too big. To do that now would need the settings changed in min/max - min at 1045 and max at 1111 for 1/4 DVD (right?). That is easy. What is not easy is doing it every single time a size target is changed. Would be a lot easier to put in 5% and 1% and be done with it. (or at least have the boxes autofilled with numbers based upon a user setting, ini setting, etc.)

Then you have the whole confusion thing between a KB and a MB - Might be better to stay with bytes as the log above is confusing, at least to me - Well I hope you will consider it.

Huge progress with this version! Very powerful with a lot of advanced features, yet still easy to get started with and use. That is not an easy task. Great job!

SeeMoreDigital
4th November 2006, 10:54
Wow... lots of new stuff :D

Errrrrm.... Seeing as though it's now possible to generate MPEG-4 streams and place them within MKV, MP4 or AVI. Any thoughts about changing the name of the application?

Don't shoot me!

buzzqw
4th November 2006, 11:42
Errrrrm.... Seeing as though it's now possible to generate MPEG-4 streams and place them within MKV, MP4 or AVI. Any thoughts about changing the name of the application?

any suggestion ?

AutoMK4 (seems a gun name...)
AutoAMM (avi,mp4,mkv... no... just a bigger gun !)
AutoX2MMAK (alien name ?)
X265 ? (brand new name !)

i haven't good ideas... feel free any suggestion !

BHH

buzzqw
4th November 2006, 12:04
Would be a lot easier to put in 5% and 1% and be done with it.

in automkv 0.50e the value will be percent ... and log file will report bytes

BHH

SeeMoreDigital
4th November 2006, 12:15
AutoMPEG4 springs to mind...


Cheers

fogbav
4th November 2006, 14:46
Little problems with CLI Mode ...

1. automkv.exe doesn't shut down when finished -> batch hangs - using pskill.exe now ..8)
2. automkv goes to hidden mode (design - not realy a problem - but can't view logs,settings,etc)
3. even when 0 0 0 0 is set for audio and subs 2 Requests for Audio file name pops up ... i wan't to encode an blank m2v file without audio ... audio encoding is done by my script because i need 3 Audio Tracks (DVB-TS with AC3 German/Stereo German / Stereo English) ... batch hangs again because of the file-request windows
ini settings :
Audio Codec 1 = 1
Audio Bit 1 = 7
Audio Channel 1 = 0
Audio Codec 2 = 1
Audio Bit 2 = 7
Audio Channel 2 = 0
i can't get rid of these popups ...grrrr ..8)


non batch mode
4. Delaycut runs my harddisc full on some ts files ... hmm ..

thank you very much 4 your great work here !!!

buzzqw
4th November 2006, 15:07
already time for a new update

www.64k.it/andres/data/a/AutoMKV050e.exe

0.50e
FIXED: KB/MB/TB or whatever... now only simple bytes!
ADDED: missing tooltips
FIXED: Allowed Undersize and Oversize are express by % value. Default value are 5% of undersize and 1% of oversize
FIXED: automkv will now close pop-up again when batch is ended (OR PREFER TO END IT ???) (thanks to fogbav for bug report)
FIXED: on cmd launch on no audio file (like m2v) and NO audio is precified to use automkv will not ask for audio file (thanks to fogbav for bug report)

fogbav
4th November 2006, 15:15
Boah ... you are pure lightspeed ...

unbelievable !

Thhhaanks ! Going to test ...8)

Edit :

Audio Popus in CLi are gone ... Thhanks !

Exe still running in Task-Manager when encoding has finished ... 8(
Logfile says finished jobs ... so no Full Stop at the End ...8)

buzzqw
4th November 2006, 15:34
Exe still running in Task-Manager when encoding has finished ... 8(
Logfile says finished jobs ... so no Full Stop at the End ...8)

as i wrote... now automkv will un-hide and popup

prefer to end (kill) it ?

BHH

fogbav
4th November 2006, 15:37
Yes ... kill would be perfect ... because my batch has to run all *.ts and *.mpg files in a special Dir and all subdirs ... (Streams from my Dboxes)

Your perfect logfile is telling my batch-script if something has gone wrong .. so a direct kill would be great ...

maybe you can implement a new switch in cli called "fullstop" ?

8)

buzzqw
4th November 2006, 15:45
re download the 0.50e

added 1 more parameter after start

kill ,kill automkv at end
wait ,automkv will pop up et end of encoding

BHH

fogbav
4th November 2006, 15:49
On which cluster system are you compiling ?
AMD Opteron Blade Centers -Grid ?

wohoo ... thankkks !

Edit : Works perfekt now ... converted 10 TS Streams without an error in superb quality ... thank you so much for your great work here !

buzzqw
5th November 2006, 10:27
update www.64k.it/andres/data/a/AutoMKV050f.exe

ADDED: command line help, from dos box write automkv.exe /? or ?
FIXED: bad AR on automatic crf autoresize

BHH

fogbav
5th November 2006, 15:33
Hello buzzqw ,

if i want the original width of the source without resizing - is it the right setting to choose resizer : none - so no resize will happen ?

P.S: Thanks 4 the new version ... ! 8)

buzzqw
5th November 2006, 16:54
is it the right setting to choose resizer : none - so no resize will happen

exactly. you you choose NONE under resizer the movie will not processed for resize, only for filters (if used)

BHH

fogbav
6th November 2006, 19:12
I think there is an little error in selecting XVID ... everytime i do a save (MP4/AVI Container with XVID) and reload automkv with automkv.ini the Profiles jumps back to H264 Profiles ....

Container Type mp4 (also saying in log file) on Xvid leads to Container AVI

Edit : It seems that automvk is killing the complete tmp folder INCLUDING the generated AVI File in XVID MODE... only deactivating del temp is saving the final file ... tested in cli mode ...




Greets FoGBaV

buzzqw
6th November 2006, 19:25
I think there is an little error in selecting XVID ... everytime i do a save (MP4/AVI Container with XVID) and reload automkv with automkv.ini the Profiles jumps back to H264 Profiles ....

fixed in next release 0.50g (eta end week)

Container Type mp4 (also saying in log file) on Xvid leads to Container AVI

with automkv.ini ?

BHH

fogbav
6th November 2006, 19:29
Edit :
wrote bullshit ... i have to verify whats wrong with mp4box ... and my avi file ... sorry

buzzqw
6th November 2006, 19:35
check you PM

BHH

travisbell
8th November 2006, 06:16
Hey man, I am getting a weird problem over, and over now with ALL the files I have tried...

From the log...

18:09:51 Dgindex CMD: C:\Documents and Settings\Administrator\Desktop\AutoMKV050d\exe\dgindex\dgindex.exe -FO=0 -OM=1 -AP=001 -VP=1000 -YR=2 -If=[C:\Holding Zone C\little.man.tate.1080i.dd20.ts] -OF=[C:\Holding Zone C\movie] -exit -minimize
18:13:02 Starting fixing audio delay on track number 1
18:13:02 Finished fixing audio delay
18:13:02 Renamed file to audio.
18:13:02 No audio create, retry without apply Original
18:13:02 Renamed file to audio.
18:13:02 No audio create, retry without apply Original
18:13:02 Renamed file to audio.
18:13:02 No audio create, retry without apply Original

There IS audio, and it IS the track it's choosing, yet we got nothing... any idea why this is?

Thanks!

buzzqw
8th November 2006, 08:16
18:09:51 Dgindex CMD: C:\Documents and Settings\Administrator\Desktop\AutoMKV050d\exe\dgindex\dgindex.exe -FO=0 -OM=1 -AP=001 -VP=1000 -YR=2 -If=[C:\Holding Zone C\little.man.tate.1080i.dd20.ts] -OF=[C:\Holding Zone C\movie] -exit -minimize
18:13:02 Starting fixing audio delay on track number 1
18:13:02 Finished fixing audio delay

4 minute of dgindex and no time for delay fix...

is audio extracted ? (movie.....xxxx.ac3)
is audio fixed ? (look ad fixed1.ac3)

launch from dos mkvmaudio.bat

what the error ?

BHH

vanger
8th November 2006, 20:32
How about taking audio from .avs ?
It would be great to convert audio sources from 48kHz to 44,1kHz for encoding mp3...
And why if Audiotrack is wav or mp3 I should select the audio files again before encoding?

TinTinFan
11th November 2006, 14:23
Hi All!
first post in this forum ever. Hope it works.

I have tried your program and it is very nice.
I have one question though about BAutoDeint.exe. When I check deint.log I see

Error: Error calling AVIStreamGetFrameOpen

Whts is wrong?

buzzqw
11th November 2006, 17:31
i can suppose you are encoding an avi file (since the error)
and since you not report the automkv.log... i can only argue what's wrong... (next time give more information..)

check the automkv.log , is reporting something about "Avi engage mode not corrected, switched to DirectShowSource" or "Avi engage mode not corrected, switched to AviSource" ?

also is frame.txt file created ?

and can you play this file with media player classic ?

and... even with the error is deint.log reporting at end file the deinterlace information ?

BHH

TinTinFan
12th November 2006, 10:53
Nope I am using MPEG2, IFO-file.

This the logfile: Nothing is said about deinterlacing.20:01:47 0.50f - - - - - START JOBS - - - - - - - - - - - - -
20:01:47 Selected Input file: E:\Filmer\DVDrip\Ny mapp\VTS_01_0.IFO
20:01:47 Selected Output dir: E:\Filmer\DVDrip\
20:01:47 Selected Container type: MKV
20:01:47 Selected Size: 1/3 DVD-R
20:01:47 Selected Slice: 1
20:01:47 Selected Encoder: XviD
20:01:47 Selected Profile: XviD '_rt_58% comp. check' (fast).xml
20:01:47 Selected Width: 640
20:01:47 Selected Resizer: LanczosResize
20:01:47 Selected Filters: Convolution3d (preset="movieHQ")
20:01:47 Selected Deinterlacer: AUTO
20:01:47 Enabled CRF autoresize with value 2.5
20:01:47 Enabled Prepare Phase Only
20:01:47 Track Language 1: Korean (AC3 6ch, 0xBD 0x80) [0]
20:01:47 Audio Codec 1: WinAmp CCT
20:01:47 Audio Quality 1: 112
20:01:47 Track Language 2: NONE
20:01:47 Audio Codec 2: Nero AAC
20:01:47 Audio Quality 2: 0.35
20:01:47 Starting SubRipping
20:05:43 Selected subtitle tracks: Svenska 3 (0xBD 0x23) [0] wide
20:05:43 Finished SubRipping
20:05:43 Subtitle Size: 2668544
20:05:43 Starting Indexing
20:05:43 Dgindex CMD: C:\video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Filmer\DVDrip\Ny mapp\VTS_01_1.vob] -OF=[E:\Filmer\DVDrip\movie] -exit -minimize
20:10:09 Finished indexing
20:10:09 Starting fixing audio delay on track number 1
20:10:09 DelayCut CMD: C:\video\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Filmer\DVDrip\fixed1.ac3" "E:\Filmer\DVDrip\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
20:11:03 Original 1' Audio Size: 386975232
20:11:03 Finished fixing audio delay
20:11:03 Encoding E:\Filmer\DVDrip\fixed1.ac3 to WinAMP CCT with 1792000 setting
20:45:49 Audio Size 1' Track: 183851701
20:48:30 Number of Frames: 172757
20:48:30 Framerate: 25.000000
20:48:30 Movie lenght in Seconds: 6911
20:48:30 Movie Width: 720
20:48:30 Movie Height: 576
20:48:32 Order: 1
20:48:33 Command Line FIRST pass XviD: "C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -turbo -progress -size 1320338 -max_bframes 2 -imax 4 -qpel -quality 6 -vhqmode 1 -pmin 3 -pmax 5 -bmin 3 -bmax 5 -bquant_ratio 162 -bquant_offset 0 -kboost 100 -kthresh 1 -kreduction 20 -ostrength 5 -oimprove 5 -odegrade 5 -chigh 15 -clow 5 -reaction 16 -averaging 100 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Didees SixOfNine.cqm" -i "E:\Filmer\DVDrip\movie.avs" -type 2 -avi "E:\Filmer\DVDrip\movie.avi"
20:48:33 Starting First Pass
20:48:33 Command Line SECOND pass XviD: "C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -size 1320338 -max_bframes 2 -imax 4 -qpel -quality 6 -vhqmode 1 -pmin 3 -pmax 5 -bmin 3 -bmax 5 -bquant_ratio 162 -bquant_offset 0 -kboost 100 -kthresh 1 -kreduction 20 -ostrength 5 -oimprove 5 -odegrade 5 -chigh 15 -clow 5 -reaction 16 -averaging 100 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Didees SixOfNine.cqm" -i "E:\Filmer\DVDrip\movie.avs" -type 2 -avi E:\Filmer\DVDrip\movie.avi"
20:48:33 Starting Second Pass
20:48:33 Selected Subtitle Track: Svenska 3 (0xBD 0x23) [0] wide
20:48:33 C:\video\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Filmer\DVDrip\movie.mkv" --aspect-ratio 1:2.350000 --chapters "C:\video\AutoMKV\exe\chapters.txt" "E:\Filmer\DVDrip\movie.avi" --language 1:kor "E:\Filmer\DVDrip\audio.mp4" "E:\Filmer\DVDrip\movie.idx"
20:48:33
20:48:33 Script AutoCrop.log
20:48:33
20:48:33 Crop(0,72,720,432)
20:48:33
20:48:33 Script Resmovie.avs
20:48:33
20:48:33
20:48:33 Script movie.avs
20:48:33
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\autocrop.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\blockbuster.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\cnr2.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\ColorMatrix.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\Convolution3D.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\corrector.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\DctFilter.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\decomb.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\Deen.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\degrainmedian.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\DGDecode.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\EEDI2.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\fft3dfilter.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\FluxSmooth.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\frfun7.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\hqdn3d.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\LeakKernelDeint.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\MaskTools.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\medianblur.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\MipSmooth.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\mvtools.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\NicAudio.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\RemoveGrain.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\SangNom.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\SimpleResize.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\TBilateral.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\TDeint.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\TIVTC.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\TomsMoComp.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\TTempSmooth.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\UnDot.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\UnFilter.dll")
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\VSFilter.dll")
20:48:33 #loadpluginstart
20:48:33
20:48:33 #test1
20:48:33
20:48:33 Import("C:\video\AutoMKV\exe\filter\mvbob.avsi")
20:48:33 Import("C:\video\AutoMKV\exe\filter\QMF.avsi")
20:48:33 #importstart
20:48:33
20:48:33 #test2
20:48:33
20:48:33 movie = mpeg2source("E:\Filmer\DVDrip\movie.d2v")
20:48:33 function getOrder(clip c) {
20:48:33 order = GetParity(c) ? 1 : 0
20:48:33 Return order }
20:48:33 #filter1start
20:48:33
20:48:33 #test3
20:48:33
20:48:33 #cropstart
20:48:33
20:48:33 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
20:48:33 fixed_aspect = 1.422222
20:48:33 c_width = width(cropclip)
20:48:33 c_height = Round(height(cropclip) / fixed_aspect)
20:48:33 input_par = float(float(c_width)/float(c_height))
20:48:33 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
20:48:33 out_width = 640
20:48:33 out_height = Round(float(out_width) / input_par)
20:48:33 hmod = out_height - (floor(out_height / 16 ) * 16)
20:48:33 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
20:48:33 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
20:48:33 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
20:48:33
20:48:33 #resizestart
20:48:33
20:48:33 #test4
20:48:33
20:48:33 LanczosResize(out_width,out_height)
20:48:33 #filter2start
20:48:33
20:48:33 #test5
20:48:33
20:48:33 Convolution3d (preset="movieHQ")
20:48:33 ColorMatrix("Rec.709->Rec.601",hints=false)
20:48:33
20:48:33 Script mkvmaudio.avs
20:48:33
20:48:33 LoadPlugin("C:\video\AutoMKV\exe\filter\NicAudio.dll")
20:48:33 NicAC3Source("E:\Filmer\DVDrip\fixed1.ac3")
20:48:33 EnsureVBRMP3Sync()
20:48:33 ConvertAudioTo16bit()
20:48:33 #Applyed Original downmixing routines
20:48:33 Normalize()
20:48:33
20:48:33 Script mkvmaudio.bat
20:48:33
20:48:33 "C:\video\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Filmer\DVDrip\mkvmaudio.avs^)" | "C:\video\AutoMKV\exe\besweet\enc_aacPlus.exe" - "E:\Filmer\DVDrip\audio.aac" --cbr 1792000
20:48:33
20:48:33 Script mkvmaudio2.avs
20:48:33
20:48:33
20:48:33 Script mkvmaudio2.bat
20:48:33
20:48:33
20:48:33 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

and deint.log just say
Error: Error calling AVIStreamGetFrameOpen

Frame.txt looks strange:
172757 25.000000 720 576
172757 25.000000 720 576
172757 25.000000 720 576
172757 25.000000 720 576
172757 25.000000 720 576
172757 25.000000 720 576

Repeated many times (172757?)

And yes I can play my movie in Media Player Classic

buzzqw
13th November 2006, 16:42
i found one error using latest TIVTC. you can try with TIVTC v1.0 RC6

BHH

TinTinFan
13th November 2006, 22:39
i tried TIVTC 1.0 RC5 RC6 RC7 and RC8
Same error as before:confused:

Any ideas?

buzzqw
14th November 2006, 08:45
the deint fuction creates 6 files

createautodeintmovie.avs
createautodeintmovie.avs.bautodeint_temp.avs
createautodeintmovie.avs.bautodeint_temp.data
createautodeintmovie.avs.bautodeint_temp.data.fieldorder
deint.bat
deint.log

could please zip it and send me via email ? (look at about button for email address)

one more try will be processing only one vob (in the middle of serires) and watch for errors

thanks

BHH

buzzqw
15th November 2006, 14:37
update (full pack) www.64k.it/andres/data/a/AutoMKV051.rar

Changelog
ADDED: check for read only destination folder
ADDED: possibility to force AR in muxing
ADDED: better log
ADDED: Mkvtoolnix 1.8.0+fixing
ADDED: CQ profile for XviD
FIXED: rewritten all xvid profiles, for better compatibilty.
XviD_CQ.xml -> for constant quality encoding
XviD_Extra_Slow.xml -> For extra compression and quality. Very Slow profile, two pass encoding
XviD_Fast.xml -> Fast, but good quality encoding. One pass encoding
XviD_Fastest.xml -> Fastest, not so good quality, but damned fast. One pass encoding
XviD_Normal.xml -> Good trade-off between time and quality. Two pass quality
Xvid_SAP.xml -> Similar to Normal profile. Tuned for Stand Alone Player compatibility. Two pass encoding
XviD_Slow.xml -> For very good compression. A little slower than normal profile. Two pass endoding
FIXED: command line launcher with MP4 and XviD
FIXED: no more "retry" on audio create. Now automkv will check for number of audio channles and if isn't possible to apply downmixing selected audio will be processed at full original audio channels
FIXED: several tuning in X264 CRF profile

weaver4
15th November 2006, 16:35
Are their any profiles for Single Pass constant quality in AutoMKV? That is generally how I do my encodes.

EDIT: I just saw the Changelog for version 051, thanks for adding it.

weaver4
15th November 2006, 19:55
In the CQ profile how do you change the quantizer value? It looks like the value that is passed to the coded (-cq 2.5 in the xvidsingle.bat) but the profile it looks like the quantizer is set to 3 <BitrateQuantizer>3</BitrateQuantizer>.

Also in the profile is says <MaxNumberOfPasses>2</MaxNumberOfPasses>. I thought the CQ mode only had one pass.

buzzqw
15th November 2006, 20:04
In the CQ profile how do you change the quantizer value? It looks like the value that is passed to the coded (-cq 2.5 in the xvidsingle.bat) but the profile it looks like the quantizer is set to 3 <BitrateQuantizer>3</BitrateQuantizer>.

yep... quite an error. I get the value from "Use crf for AutoResize" ... will be fixed in next build ! thanks

Also in the profile is says <MaxNumberOfPasses>2</MaxNumberOfPasses>. I thought the CQ mode only had one pass.

this value is not parsed from any profile. CQ is ONE pass profile

BHH

TinTinFan
15th November 2006, 22:32
With the latest build I get this message in deint.log again.

Error: Error calling AVIStreamGetFrameOpen

decomb and TIVTC are the version I tried with yesterday

Any new ideas?

agressiv
16th November 2006, 00:11
With the latest build I get this message in deint.log again.

Error: Error calling AVIStreamGetFrameOpen

decomb and TIVTC are the version I tried with yesterday

Any new ideas?

I used to get this as well. I traced it back to something missing on the client. After I installed AutoGK (notypo, really, AutoGK) with the XVID library this went away.

I did some registry traces and there is some reference to:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers\vidc.XVID

...that its looking for. Why, I dont know. I just know that when this stub appeared here, baudodeint.exe started working.

YMMV

agressiv

buzzqw
16th November 2006, 08:13
i have vidc.XVID in HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers32\ (using WinXp Pro SP2)

BHH

TinTinFan
16th November 2006, 12:43
Thanks for the advice guys! I tried to install AutoGK with XVID codec.

It seems to be okay now! But I have no idea how Xvid vfw can affect bautodeint.exe.

weaver4
16th November 2006, 14:30
I think something else may be wrong with the Xvid-CQ. I did a movie and was surprised that it was only 611Meg so I did the same movie with AutoGK, avi.net and MPEG Mediator with a quantizer of 2.5 and the movie size came out 825Meg, 818Meg and 829Meg; much bigger than the 2.5cq version of AutoMKS.

What should I look at to help you debug this?

buzzqw
16th November 2006, 14:37
check resolution, matrix, filter... and, as always post the log :)

btw: have you answered "Unlimited media size" or "Hit media size" ?... since is 611 mb +audio =~ 1CD

BHH

weaver4
16th November 2006, 14:59
The resolution was 640x272 on all of them. I used the default sharktooth Matrix (Sharktooth's EQM v3ULR.cqm) and here is the log file. I selected "unlimited media size"

================================================
12:50:16 0.51 - - - - - START JOBS - - - - - - - - - - - - -
12:50:16 Selected Input file: E:\Movies\DVDFabRip\MainMovie\CRASH\VIDEO_TS\VTS_01_0.IFO
12:50:16 Selected Output dir: E:\Movies\Output\
12:50:16 Selected Container type: AVI
12:50:16 Selected Size: 1 CD
12:50:16 Selected Slice: 1
12:50:16 Selected Encoder: XviD
12:50:16 Selected Profile: XviD_CQ.xml
12:50:16 Selected Width: 640
12:50:16 Selected Resizer: SimpleResize
12:50:16 Selected Filters: RemoveGrain(mode=2)
12:50:16 Selected Deinterlacer: AUTO
12:50:16 NeroAACEnc.exe not present
12:50:16 Enabled CRF/CQ autoresize with value 2.5
12:50:16 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
12:50:16 Audio Codec 1: Lame
12:50:16 Audio Quality 1: 6
12:50:16 Starting Indexing
12:50:16 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV051\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\DVDFabRip\MainMovie\CRASH\VIDEO_TS\VTS_01_1.vob] -OF=[E:\Movies\Output\movie] -exit -minimize
12:52:43 Finished indexing
12:52:43 Starting fixing audio delay on track number 1
12:52:43 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\Output\fixed1.ac3" "E:\Movies\Output\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
12:53:01 Original 1' Audio Size: 377871872 bytes
12:53:02 Finished fixing audio delay
12:53:02 Encoding E:\Movies\Output\fixed1.ac3 To Mp3 with 6 quality
13:16:24 Encoded 1' Audio Track: 67682290 bytes
13:16:24 ForcedFilm applied: 99.300003% FILM found
13:16:32 Number of Frames: 161784
13:16:32 Framerate: 23.976025
13:16:32 Movie lenght in Seconds: 6748
13:16:32 Movie Width: 720
13:16:32 Movie Height: 480
13:16:32 CQ encoding XviD: C:\Downloads\AutoMKV\AutoMKV051\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads\AutoMKV\AutoMKV051\profiles\XviD-profiles\matrix\Sharktooth's EQM v3ULR.cqm" -i "E:\Movies\Output\movie.avs" -type 2 -avi "E:\Movies\Output\movie.avi"
14:52:21 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
14:52:21 Got a file of size: 565409520 bytes + audio size 67682290 bytes (633091840)
14:52:21 Only Movie Size: 565409520 bytes
14:53:10 Final Muxed size: -1 bytes
14:53:10
14:53:10 Muxing Script
14:53:10 C:\Downloads\AutoMKV\AutoMKV051\exe\matroska\AVIMux_GUI.exe E:\Movies\Output\muxavi
14:53:10
14:53:10 CLEAR
14:53:10 LOAD E:\Movies\Output\movie.avi
14:53:10 LOAD E:\Movies\Output\audio.mp3
14:53:10 SELECT FILE 1
14:53:10 ADD VIDEOSOURCE
14:53:10 SET INPUT OPTIONS
14:53:10 SET OPTION MP3 VERIFY CBR NEVER
14:53:10 SET OPTION MP3 VERIFY RESDLG OFF
14:53:10 SET OUTPUT OPTIONS
14:53:10 WITH SET OPTION
14:53:10 OPENDML 0
14:53:10 RECLISTS 0
14:53:10 AUDIO INTERLEAVE 3 FR
14:53:10 AVI ADDJUNKBEFOREHEADERS 0
14:53:10 PRELOAD 200
14:53:10 WITH AUDIO
14:53:10 NAME 1 english
14:53:10 END WITH
14:53:10 OVERWRITEDLG 0
14:53:10 CLOSEAPP 1
14:53:10 DONEDLG 0
14:53:10 ALL AUDIO 1
14:53:10 LEGACY 0
14:53:10 RECLISTS 1
14:53:10 NUMBERING OFF
14:53:10 MAXFILESIZE OFF
14:53:10 END WITH
14:53:10 START E:\Movies\Output\movie_full.avi
14:53:10
14:53:10 Script AutoCrop.log
14:53:10
14:53:10 Crop(10,58,700,368)
14:53:10
14:53:10 Script Resmovie.avs
14:53:10
14:53:10
14:53:10 Script movie.avs
14:53:10
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\autocrop.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\blockbuster.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\cnr2.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\ColorMatrix.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Convolution3D.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\corrector.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\DctFilter.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Decomb.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Deen.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\degrainmedian.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\DGDecode.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\EEDI2.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\fft3dfilter.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\FluxSmooth.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\frfun7.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\hqdn3d.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\LeakKernelDeint.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\MaskTools.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\medianblur.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\MipSmooth.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\mvtools.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\RemoveGrain.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\SangNom.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\SimpleResize.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TBilateral.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TDeint.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TIVTC.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TomsMoComp.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TTempSmooth.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\UnDot.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\UnFilter.dll")
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\VSFilter.dll")
14:53:10 #loadpluginstart
14:53:10
14:53:10 #test1
14:53:10
14:53:10 Import("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\mvbob.avsi")
14:53:10 Import("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\QMF.avsi")
14:53:10 #importstart
14:53:10
14:53:10 #test2
14:53:10
14:53:10 movie = mpeg2source("E:\Movies\Output\movie.d2v")
14:53:10 function getOrder(clip c) {
14:53:10 order = GetParity(c) ? 1 : 0
14:53:10 Return order }
14:53:10 #filter1start
14:53:10
14:53:10 #test3
14:53:10
14:53:10 #cropstart
14:53:10
14:53:10 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
14:53:10 fixed_aspect = 1.185185
14:53:10 c_width = width(cropclip)
14:53:10 c_height = Round(height(cropclip) / fixed_aspect)
14:53:10 input_par = float(float(c_width)/float(c_height))
14:53:10 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
14:53:10 out_width = 640
14:53:10 out_height = Round(float(out_width) / input_par)
14:53:10 hmod = out_height - (floor(out_height / 16 ) * 16)
14:53:10 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
14:53:10 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
14:53:10 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
14:53:10
14:53:10 #resizestart
14:53:10
14:53:10 #test4
14:53:10
14:53:10 SimpleResize(out_width,out_height)
14:53:10 #filter2start
14:53:10
14:53:10 #test5
14:53:10
14:53:10 RemoveGrain(mode=2)
14:53:10 ColorMatrix("Rec.709->Rec.601",hints=false)
14:53:10
14:53:10 Script mkvmaudio.avs
14:53:10
14:53:10 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
14:53:10 NicAC3Source("E:\Movies\Output\fixed1.ac3")
14:53:10 EnsureVBRMP3Sync()
14:53:10 ConvertAudioTo16bit()
14:53:10 #Applyed Stereo downmixing routines
14:53:10 function stereo(clip a)
14:53:10 {
14:53:10 fl = GetChannel(a, 1)
14:53:10 fr = GetChannel(a, 2)
14:53:10 c = GetChannel(a, 3)
14:53:10 lfe = GetChannel(a, 4)
14:53:10 sl = GetChannel(a, 5)
14:53:10 sr = GetChannel(a, 6)
14:53:10 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
14:53:10 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
14:53:10 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
14:53:10 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
14:53:10 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
14:53:10 Return MergeChannels(l, r).Normalize()
14:53:10 }
14:53:10 #
14:53:10 function original(clip a)
14:53:10 {
14:53:10 Normalize(a)
14:53:10 Return last
14:53:10 }
14:53:10 6==Audiochannels() ? stereo() : original()
14:53:10
14:53:10 Script mkvmaudio.bat
14:53:10
14:53:10 "C:\Downloads\AutoMKV\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\Output\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV051\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "E:\Movies\Output\audio.mp3"
14:53:10
14:53:10 Script mkvmaudio2.avs
14:53:10
14:53:10
14:53:10 Script mkvmaudio2.bat
14:53:10
14:53:10
14:53:10 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

buzzqw
16th November 2006, 15:13
C:\Downloads\AutoMKV\AutoMKV051\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads\AutoMKV\AutoMKV051\profiles\XviD-profiles\matrix\Sharktooth's EQM v3ULR.cqm" -i "E:\Movies\Output\movie.avs" -type 2 -avi "E:\Movies\Output\movie.avi"


it's all ok (on automkv side). i can suppose that autgk use a different xvid configuration, maybe bquant_ratio (1.62) or BQuantOffset (1.00)...

BHH

weaver4
16th November 2006, 15:31
it's all ok (on automkv side). i can suppose that autgk use a different xvid configuration, maybe bquant_ratio (1.62) or BQuantOffset (1.00)...

BHH

Thanks, I will compare the quality of the encodes tonight and let you know the results.

SeeMoreDigital
16th November 2006, 16:25
Hi Buzz,

Just noticed a little "typo" in the audio encoder drop down options.

It currently says: WinAmp CCT. When I think it should say: WinAMP CT.

That said, seeing as though Coding Technologie's (500KB) AAC encoder is now named "enc_aacplus.dll", it might be okay to call it just "Coding Tech. AAC"

http://img87.imageshack.us/img87/4841/automkvmf7.png

By the way, Coding Technologie's AAC encoder offers both AAC-LC and AAC-HE encoding ;)

weaver4
17th November 2006, 03:43
On the latest version it does not appear to be saving all the settings. For example if forgets that my audio codec is Lame, but it does remember the setting is 4 for the audio codec. It also forgets that I selected XviD, and the XviD-CQ profile and such.

buzzqw
17th November 2006, 07:27
On the latest version it does not appear to be saving all the settings. For example if forgets that my audio codec is Lame, but it does remember the setting is 4 for the audio codec. It also forgets that I selected XviD, and the XviD-CQ profile and such.

on my side save default is ok. Delete old automkv.ini and save a new one. if you have the error again please post here your automkv.ini , i will load it and check.

btw what you mean by "but it does remember the setting is 4 for the audio codec" ? bitrate ?

thanks

BHH

weaver4
17th November 2006, 23:57
Here you go this is after I deleted the automkv.ini file.

Here are the Setting when I hit the Save Settings buttons

Output Folder
E:\Movies\Output

Audio Track 1
Lame
Quality - 4

Resizer
Set Width Resolution 640

Container - AVI

Codec - XviD

Profile - XviD_CQ.xml

Movie Name - movie

Disk Settings: 1 DVD-R (grayed out)

=============================================================

After Quiting AutoMKV 0.51 and restarting it I get the following


Output Folder
E:\Movies\DVDFabRip\MainMovie\X3\VIDEO_TS\

Audio Track 1
Nero ACC
Quality - .55

Resizer
Set Width Resolution 640

Container - AVI

Codec - X264

Profile - 1P-Intermediate.xml

Movie Name - movie

Disk Settings: 1 DVD-R (not grayed out)

=============================================================

Here is the INI file.

; AutoMKV default parameters
; If AutoMKV.ini is present then specified parameters will be loaded
[AutoMKV]
Container = 2
Size = 1 DVD-R
Slice = 1
Resizer = 2
Width = 640
Set encoding mode = 0
Audio Codec 1 = 1
Audio Bit 1 = 11
Audio Channel 1 = 1
Audio Codec 2 = 1
Audio Bit 2 = 7
Audio Channel 2 = 1
Encoding Profiles = 1
Bitrate Encoding = 0
Bitrate Value = 700
Delete temporary files = 1
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Episodic DVD = 0
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = RemoveGrain(mode=2)
Enable Last Line AVS Script = 0
Last Line AVS Script =
Deinterlacer = AUTO
Language = eng

buzzqw
18th November 2006, 10:17
update to 0.51a

www.64k.it/andres/data/a/AutoMKV051a.exe

Fixed: XviD CQ profile now read the value of CQ from profile
Fixed: renamed audio codec "Winamp CCT" to "Coding Tech. AAC" (thanks to SMD for suggesting)
Fixed: In log the final muxed size of AVI+XviD wasn't reported
Fixed: save default with new XviD profiles was broken (thanks to weaver4 for reporting)
Added: in log file is now reported if cor CQ/CRF profile, the media size is unlimited or fixed

travisbell
19th November 2006, 01:43
Hey man,

I had this problem before but I am not sure why it went away, but is now back.

I have linked my log here, but for whatever reason at the end of 2 days of encoding no .mkv file is created... I can't seem to see any problems from the .log file so here it is. Hopefully you can explain why it didn't work.

http://consumeroo.com/files/little.man.tate.1080i.dd20.ts.txt

Thanks man!

weaver4
19th November 2006, 04:06
I am having a problem where I put multiple files into the queue and then start the queue and the AutoMKS51a application disappears. It still runs, I can see it in the task manager and all of the "child" programs still run but the window is missing from the screen. There is no entry in the TaskBar either.

I am running WindowsXP.

buzzqw
19th November 2006, 10:34
I have linked my log here, but for whatever reason at the end of 2 days of encoding no .mkv file is created... I can't seem to see any problems from the .log file so here it is. Hopefully you can explain why it didn't work.

http://consumeroo.com/files/little.m...0i.dd20.ts.txt

no mkv is created 'cause no audio is created.

In log file your audio is "PID 1001, Private AC3 Audio Stream 1" but when dgindex demux it search "-AP=001" , so the walue is wrong "1" is missing.

Why ? i never found pid over 1000... (and btw i have only 2 s streams to test...)

try this build should be bulletproof to audio pid (and video pid): www.64k.it/andres/data/a/AutoMKV051b.exe

A BIG Thanks for reporting !

I am having a problem where I put multiple files into the queue and then start the queue and the AutoMKS51a application disappears. It still runs, I can see it in the task manager and all of the "child" programs still run but the window is missing from the screen. There is no entry in the TaskBar either.

it's know. i will work on this when my knowledge of programming will be better. :)

BHH

travisbell
19th November 2006, 19:52
try this build should be bulletproof to audio pid (and video pid): www.64k.it/andres/data/a/AutoMKV051b.exe

A BIG Thanks for reporting !

Trying it now... I will let you know if it's smooth sailing from here on in...


THANKS!

TinTinFan
19th November 2006, 22:40
I am not sure how episodic DVD in advanced settings is working. I have an episodic DVD and I see different PGC:s for each episode.
But when I try to encode an episode the entire DVD is encoded to 1 movie.

If I check Episodic DVD in advanced settings nothing seems to happen.

What am I doing wrong?

buzzqw
20th November 2006, 08:49
i have few epsodic dvd to test... anyway do this:

lauch automkv
go in advance and check episodic dvd
on main click on INPUT and browse to your IFO to process
set application as you want and click start


PGC selection is actually used only for subtitles extraction.

But i think that selectiong pgc "could" be like selecting different ifo... i will work on this

BHH

weaver4
22nd November 2006, 02:02
OK here is a really good one. I am using a profile that is for XviD single pass quantizer of three. But when I encode the log file says the quantizer is set to 18. It is encoding with a quantizer of 18 because the file is tiny. Below are the profile and the log file.

====================================
Profile
====================================
<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>cq</Name>
<Settings xsi:type="xvidSettings">
<EncodingMode>1</EncodingMode>
<BitrateQuantizer>3</BitrateQuantizer>
<KeyframeInterval>300</KeyframeInterval>
<NbBframes>2</NbBframes>
<MinQuantizer>2</MinQuantizer>
<MaxQuantizer>31</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>true</Trellis>
<CreditsQuantizer>12</CreditsQuantizer>
<FourCCs>
<string>XVID</string>
<string>DIVX</string>
<string>DX50</string>
<string>MP4V</string>
</FourCCs>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>0</FourCC>
<Zones />
<MaxNumberOfPasses>2</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<MotionSearchPrecision>6</MotionSearchPrecision>
<VHQMode>1</VHQMode>
<QuantType>0</QuantType>
<MinPQuant>2</MinPQuant>
<MaxPQuant>31</MaxPQuant>
<MinBQuant>2</MinBQuant>
<MaxBQuant>31</MaxBQuant>
<BQuantRatio>162</BQuantRatio>
<BQuantOffset>100</BQuantOffset>
<KeyFrameBoost>10</KeyFrameBoost>
<KeyframeThreshold>1</KeyframeThreshold>
<KeyframeReduction>20</KeyframeReduction>
<OverflowControlStrength>5</OverflowControlStrength>
<MaxOverflowImprovement>5</MaxOverflowImprovement>
<MaxOverflowDegradation>5</MaxOverflowDegradation>
<HighBitrateDegradation>0</HighBitrateDegradation>
<LowBitrateImprovement>0</LowBitrateImprovement>
<ReactionDelayFactor>16</ReactionDelayFactor>
<AveragingPeriod>100</AveragingPeriod>
<FrameDropRatio>0</FrameDropRatio>
<RateControlBuffer>0</RateControlBuffer>
<VbvPeakRate>0</VbvPeakRate>
<VbvMaxRate>0</VbvMaxRate>
<VbvBuffer>0</VbvBuffer>
<PackedBitstream>false</PackedBitstream>
<GMC>false</GMC>
<ChromaMotion>true</ChromaMotion>
<ClosedGOP>true</ClosedGOP>
<VHQForBframes>true</VHQForBframes>
<AdaptiveQuant>true</AdaptiveQuant>
<Greyscale>false</Greyscale>
<Interlaced>false</Interlaced>
<BottomFieldFirst>true</BottomFieldFirst>
<LumiMasking>false</LumiMasking>
<BframeThreshold>0</BframeThreshold>
<CustomQuantizerMatrix>extra\Sharktooth's EQM v3ULR.cqm</CustomQuantizerMatrix>
</Settings>
</VideoProfile>
====================================
Log File
====================================
18:14:06 0.51a - - - - - START JOBS - - - - - - - - - - - - -
18:14:06 Selected Input file: E:\Movies\DVDFabRip\MainMovie\KILLBILL_VOL1\VIDEO_TS\VTS_01_0.IFO
18:14:06 Selected Output dir: E:\Movies\Output\
18:14:06 Selected Container type: AVI
18:14:06 Selected Size: 1 DVD-R
18:14:06 Selected Slice: 1
18:14:06 Selected Encoder: XviD
18:14:06 Selected Profile: XviD_CQ30.xml
18:14:06 Selected Width: 640
18:14:06 Selected Resizer: SimpleResize
18:14:06 Selected Filters: RemoveGrain(mode=2)
18:14:06 Selected Deinterlacer: AUTO
18:14:06 NeroAACEnc.exe not present
18:14:06 Enabled CRF/CQ autoresize with value 18
18:14:06 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
18:14:06 Audio Codec 1: Lame
18:14:06 Audio Quality 1: 4
18:14:06
18:14:06 Starting SubRipping
18:15:31 Selected subtitle tracks: English 0 (0xBD 0x20) [0] wide
18:15:31 Finished SubRipping
18:15:31 Subtitle Size: 425984 bytes
18:15:31 Starting Indexing
18:15:31 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV051\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\DVDFabRip\MainMovie\KILLBILL_VOL1\VIDEO_TS\VTS_01_1.vob] -OF=[E:\Movies\Output\movie] -exit -minimize
18:17:12 Finished indexing
18:17:12 Starting fixing audio delay on track number 1
18:17:12 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\Output\fixed1.ac3" "E:\Movies\Output\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
18:17:24 Original 1' Audio Size: 372006656 bytes
18:17:24 Finished fixing audio delay
18:17:24 Encoding E:\Movies\Output\fixed1.ac3 To Mp3 with 4 quality
18:38:00 Encoded 1' Audio Track: 106714704 bytes
18:38:00 ForcedFilm applied: 99.800003% FILM found
18:38:06 Number of Frames: 159274
18:38:06 Framerate: 23.976025
18:38:06 Movie lenght in Seconds: 6644
18:38:06 Movie Width: 720
18:38:06 Movie Height: 480
18:38:07 CQ encoding XviD: C:\Downloads\AutoMKV\AutoMKV051\exe\encoder\xvid_encraw.exe -cq 18 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads\AutoMKV\AutoMKV051\profiles\XviD-profiles\matrix\Didees SixOfNine.cqm" -i "E:\Movies\Output\movie.avs" -type 2 -avi "E:\Movies\Output\movie.avi"
19:49:44 Accepted values are between 4461743104 and 4743537664 bytes (movie+audio)
19:49:44 Got a file of size: 147092958 bytes + audio size 106714704 bytes (254020656)
19:49:44 Only Movie Size: 147092958 bytes
19:49:44 Selected Subtitle Track: English 0 (0xBD 0x20) [0] wide
19:50:14 Final Muxed size: -1 bytes
19:50:14
19:50:14 Muxing Script
19:50:14 C:\Downloads\AutoMKV\AutoMKV051\exe\matroska\AVIMux_GUI.exe E:\Movies\Output\muxavi
19:50:14
19:50:14 CLEAR
19:50:14 LOAD E:\Movies\Output\movie.avi
19:50:14 LOAD E:\Movies\Output\audio.mp3
19:50:14 SELECT FILE 1
19:50:14 ADD VIDEOSOURCE
19:50:14 SET INPUT OPTIONS
19:50:14 SET OPTION MP3 VERIFY CBR NEVER
19:50:14 SET OPTION MP3 VERIFY RESDLG OFF
19:50:14 SET OUTPUT OPTIONS
19:50:14 WITH SET OPTION
19:50:14 OPENDML 1
19:50:14 RECLISTS 0
19:50:14 AUDIO INTERLEAVE 3 FR
19:50:14 AVI ADDJUNKBEFOREHEADERS 0
19:50:14 PRELOAD 200
19:50:14 WITH AUDIO
19:50:14 NAME 1 english
19:50:14 END WITH
19:50:14 OVERWRITEDLG 0
19:50:14 CLOSEAPP 1
19:50:14 DONEDLG 0
19:50:14 ALL AUDIO 1
19:50:14 LEGACY 0
19:50:14 RECLISTS 1
19:50:14 NUMBERING OFF
19:50:14 MAXFILESIZE OFF
19:50:14 END WITH
19:50:14 START E:\Movies\Output\killbill1_full.avi
19:50:14
19:50:14 Script AutoCrop.log
19:50:14
19:50:14 Crop(2,60,716,356)
19:50:14
19:50:14 Script Resmovie.avs
19:50:14
19:50:14
19:50:14 Script movie.avs
19:50:14
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\autocrop.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\blockbuster.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\cnr2.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\ColorMatrix.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Convolution3D.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\corrector.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\DctFilter.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Decomb.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\Deen.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\degrainmedian.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\DGDecode.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\EEDI2.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\fft3dfilter.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\FluxSmooth.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\frfun7.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\hqdn3d.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\LeakKernelDeint.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\MaskTools.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\medianblur.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\MipSmooth.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\mvtools.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\RemoveGrain.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\SangNom.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\SimpleResize.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TBilateral.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TDeint.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TIVTC.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TomsMoComp.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\TTempSmooth.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\UnDot.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\UnFilter.dll")
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\VSFilter.dll")
19:50:14 #loadpluginstart
19:50:14
19:50:14 #test1
19:50:14
19:50:14 Import("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\mvbob.avsi")
19:50:14 Import("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\QMF.avsi")
19:50:14 #importstart
19:50:14
19:50:14 #test2
19:50:14
19:50:14 movie = mpeg2source("E:\Movies\Output\movie.d2v")
19:50:14 function getOrder(clip c) {
19:50:14 order = GetParity(c) ? 1 : 0
19:50:14 Return order }
19:50:14 #filter1start
19:50:14
19:50:14 #test3
19:50:14
19:50:14 #cropstart
19:50:14
19:50:14 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
19:50:14 fixed_aspect = 1.185185
19:50:14 c_width = width(cropclip)
19:50:14 c_height = Round(height(cropclip) / fixed_aspect)
19:50:14 input_par = float(float(c_width)/float(c_height))
19:50:14 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
19:50:14 out_width = 640
19:50:14 out_height = Round(float(out_width) / input_par)
19:50:14 hmod = out_height - (floor(out_height / 16 ) * 16)
19:50:14 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
19:50:14 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
19:50:14 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
19:50:14
19:50:14 #resizestart
19:50:14
19:50:14 #test4
19:50:14
19:50:14 SimpleResize(out_width,out_height)
19:50:14 #filter2start
19:50:14
19:50:14 #test5
19:50:14
19:50:14 RemoveGrain(mode=2)
19:50:14 ColorMatrix("Rec.709->Rec.601",hints=false)
19:50:14
19:50:14 Script mkvmaudio.avs
19:50:14
19:50:14 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
19:50:14 NicAC3Source("E:\Movies\Output\fixed1.ac3")
19:50:14 EnsureVBRMP3Sync()
19:50:14 ConvertAudioTo16bit()
19:50:14 #Applyed Stereo downmixing routines
19:50:14 function stereo(clip a)
19:50:14 {
19:50:14 fl = GetChannel(a, 1)
19:50:14 fr = GetChannel(a, 2)
19:50:14 c = GetChannel(a, 3)
19:50:14 lfe = GetChannel(a, 4)
19:50:14 sl = GetChannel(a, 5)
19:50:14 sr = GetChannel(a, 6)
19:50:14 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
19:50:14 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
19:50:14 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
19:50:14 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
19:50:14 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
19:50:14 Return MergeChannels(l, r).Normalize()
19:50:14 }
19:50:14 #
19:50:14 function original(clip a)
19:50:14 {
19:50:14 Normalize(a)
19:50:14 Return last
19:50:14 }
19:50:14 6==Audiochannels() ? stereo() : original()
19:50:14
19:50:14 Script mkvmaudio.bat
19:50:14
19:50:14 "C:\Downloads\AutoMKV\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\Output\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV051\exe\besweet\lame.exe" -v --vbr-new -h -S -V 4 - "E:\Movies\Output\audio.mp3"
19:50:14
19:50:14 Script mkvmaudio2.avs
19:50:14
19:50:14
19:50:14 Script mkvmaudio2.bat
19:50:14
19:50:14
19:50:14 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

buzzqw
22nd November 2006, 13:31
18 is the crf value for X264 encoding .. BUT when you select XviD automkv SHOULD change it to the value written in xml profile...

can you tell me all click made to achive an xvid encoding with cq 18 ? i wasn't able to replicate :(

BHH

glynor
22nd November 2006, 16:05
Quick note... I've been away for a little bit but calling AutoMKV with a file as a command line argument seems to be broken now. Not sure what build it happened with!

One other, not so small, thing.... I realize this might be a huge request, and if it is then no huge deal but hopefully!

I do a lot of my video editing on a Mac in Final Cut Pro. It would be super convenient if AutoMKV was able to use DV Stream files (such as those captured by BTV Pro or outputted by FCP) as an input format. As it is, I have to convert them to DV AVI files in Quicktime Pro. Of course, this process re-encodes the file and degrades the quality. If I was able to use the ".dv" files directly in AutoMKV it would be a godsend!

Barring that, does anyone know of a simple Mac-or-PC way to transcode .dv files to AVI without re-encoding the video?

buzzqw
22nd November 2006, 16:46
automkv command line interface isn't broken but UPGRADED

try from dos automkv.exe /?

new example of command line "AutoMKV051b.exe automkv.ini _aaa.ts 1 0 0 0 start wait"

was able to use DV Stream files (such as those captured by BTV Pro or outputted by FCP)

is this normal "dv" type avi? if so... try change extension to .avi ?

if not.. what is .dv ? and could you please send me a sample ?

thanks

BHH

fogbav
22nd November 2006, 16:55
i have a little problem with the movie.avs file ...

Something is going wrong converting to xvid ... and the only thing i can say ( 8) ) is that movie.avs is not showing anything - only returning "the scripts return value was not a video clip" ...



#test2

movie = mpeg2source("D:\ACE3.0\tmp\movie.d2v")

exists ... saying :

DGIndexProjectFile13
1
D:\ACE3.0\tmp\film.m2v

Stream_Type=0
MPEG_Type=2
iDCT_Algorithm=6
YUVRGB_Scale=0
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=4:3
Picture_Size=720x576
Field_Operation=0
Frame_Rate=25000 (25/1)
Location=0,0,0,1517


film.m2v is playable ...

Any ideas ? 8) ...

Thanx

FoGBaV

glynor
22nd November 2006, 17:09
automkv command line interface isn't broken but UPGRADED

try from dos automkv.exe /?

new example of command line "AutoMKV051b.exe automkv.ini _aaa.ts 1 0 0 0 start wait"

Ah ha! See I knew I should have finished digging through for the change logs you posted. Sorry! (See what happens when you get busy for a little while!)

I'll get back to you on the DV file stuff. I believe they are Quicktime-like files, not AVI. It's supposed to be a raw stream of what actually comes off of the camera or Analog<->Digital converter though.

I'll do more research and I can certainly post a small example file.

buzzqw
22nd November 2006, 17:33
Something is going wrong converting to xvid ... and the only thing i can say ( 8) ) is that movie.avs is not showing anything - only returning "the scripts return value was not a video clip" ...

please post log (and if batching or command line or using normal input)

also is frame.txt created ?

thanks

BHH

glynor
22nd November 2006, 18:36
automkv command line interface isn't
if not.. what is .dv ? and could you please send me a sample ?


As requested: http://users.adelphia.net/~edandjenn/temp/dv_stream.zip

Details: (according to Quicktime Player)
Video: Apple DV, 720 x 480 (640 x 480), Millions of colors, 29.97 FPS
Audio: DV, Stereo, 48000 kHz
Duration: 00:00:03.19 (3 seconds)

Container: (according to G-Spot)
File Type: Raw DV - IEC 61834 (.DV)
Mime Type: video/DV

I thought I'd mention. VLC can play this file back without problem (well, the colors are all messed up, but I think that's my config in VLC).

fogbav
22nd November 2006, 18:51
frame.log is created ...

Log :

0.51b - - - - - START JOBS - - - - - - - - - - - - -
Selected Input file: D:\ACE3.0\tmp\film.m2v
Selected Output dir: D:\ACE3.0\tmp\
Selected Container type: MP4
Selected Size: 4
Selected Slice: 1
Selected Encoder: XviD
Selected Profile: XviD '_rt_30% comp. check' (fast).xml
Selected Width: Automatic
Selected Resizer: NONE
Selected Filters: NONE
Selected Deinterlacer: AUTO
Enabled CRF/CQ autoresize with value 18
Track Language 1: NONE
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35

Dgindex CMD: D:\ACE3.0\exe\dgindex\dgindex.exe -FO=0 -OM=1 -YR=2 -If=[D:\ACE3.0\tmp\film.m2v] -OF=[D:\ACE3.0\tmp\movie] -exit -minimize
Number of Frames: 946
Framerate: 25.000000
Movie lenght in Seconds: 38
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be partly interlaced.
Processing completed. Type is determined to be partly interlaced.
BFF: 34
TFF: 75
Order: 1
FIRST pass XviD: "D:\ACE3.0\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 882 -stats "D:\ACE3.0\tmp\xvid.stats" -turbo -threads 1 -max_bframes 2 -imin 3 -imax 5 -quality 6 -vhqmode 1 -pmin 3 -pmax 5 -bmin 3 -bmax 5 -bquant_ratio 162 -bquant_offset 0 -kboost 100 -chigh 30 -clow 15 -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE3.0\profiles\XviD-profiles\matrix\eqm_v3ulr_rev3.xcm" -i "D:\ACE3.0\tmp\movie.avs" -type 2 -avi "D:\ACE3.0\tmp\movie.avi"
SECOND pass XviD: "D:\ACE3.0\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 882 -threads 1 -max_bframes 2 -imin 3 -imax 5 -quality 6 -vhqmode 1 -pmin 3 -pmax 5 -bmin 3 -bmax 5 -bquant_ratio 162 -bquant_offset 0 -kboost 100 -chigh 30 -clow 15 -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE3.0\profiles\XviD-profiles\matrix\eqm_v3ulr_rev3.xcm" -i "D:\ACE3.0\tmp\movie.avs" -type 2 -avi D:\ACE3.0\tmp\movie.avi"
Starting First Pass
Starting Second Pass
D:\ACE3.0\exe\matroska\mp4box.exe -add "D:\ACE3.0\tmp\movie.avi":par=1.333333 -chap "D:\ACE3.0\exe\chapters.txt" -add -fps 25.000000 "D:\ACE3.0\tmp\movie.mp4"
Final Muxed size: -1 bytes

Script AutoCrop.log

Crop(4,0,712,576)

Script Resmovie.avs


Script movie.avs

LoadPlugin("D:\ACE3.0\exe\filter\autocrop.dll")
LoadPlugin("D:\ACE3.0\exe\filter\blockbuster.dll")
LoadPlugin("D:\ACE3.0\exe\filter\cnr2.dll")
LoadPlugin("D:\ACE3.0\exe\filter\ColorMatrix.dll")
LoadPlugin("D:\ACE3.0\exe\filter\Convolution3D.dll")
LoadPlugin("D:\ACE3.0\exe\filter\corrector.dll")
LoadPlugin("D:\ACE3.0\exe\filter\DctFilter.dll")
LoadPlugin("D:\ACE3.0\exe\filter\decomb.dll")
LoadPlugin("D:\ACE3.0\exe\filter\Deen.dll")
LoadPlugin("D:\ACE3.0\exe\filter\degrainmedian.dll")
LoadPlugin("D:\ACE3.0\exe\filter\DGDecode.dll")
LoadPlugin("D:\ACE3.0\exe\filter\EEDI2.dll")
LoadPlugin("D:\ACE3.0\exe\filter\fft3dfilter.dll")
LoadPlugin("D:\ACE3.0\exe\filter\FluxSmooth.dll")
LoadPlugin("D:\ACE3.0\exe\filter\frfun7.dll")
LoadPlugin("D:\ACE3.0\exe\filter\hqdn3d.dll")
LoadPlugin("D:\ACE3.0\exe\filter\LeakKernelDeint.dll")
LoadPlugin("D:\ACE3.0\exe\filter\MaskTools.dll")
LoadPlugin("D:\ACE3.0\exe\filter\medianblur.dll")
LoadPlugin("D:\ACE3.0\exe\filter\MipSmooth.dll")
LoadPlugin("D:\ACE3.0\exe\filter\mvtools.dll")
LoadPlugin("D:\ACE3.0\exe\filter\NicAudio.dll")
LoadPlugin("D:\ACE3.0\exe\filter\RemoveGrain.dll")
LoadPlugin("D:\ACE3.0\exe\filter\SangNom.dll")
LoadPlugin("D:\ACE3.0\exe\filter\SimpleResize.dll")
LoadPlugin("D:\ACE3.0\exe\filter\TBilateral.dll")
LoadPlugin("D:\ACE3.0\exe\filter\TDeint.dll")
LoadPlugin("D:\ACE3.0\exe\filter\TIVTC.dll")
LoadPlugin("D:\ACE3.0\exe\filter\TomsMoComp.dll")
LoadPlugin("D:\ACE3.0\exe\filter\TTempSmooth.dll")
LoadPlugin("D:\ACE3.0\exe\filter\UnDot.dll")
LoadPlugin("D:\ACE3.0\exe\filter\UnFilter.dll")
LoadPlugin("D:\ACE3.0\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("D:\ACE3.0\exe\filter\mvbob.avsi")
Import("D:\ACE3.0\exe\filter\QMF.avsi")
#importstart

#test2

movie = mpeg2source("D:\ACE3.0\tmp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 720
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)

edeintted = last.SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(full=false,edeint=edeintted)
#resizestart

#test4

last=movie
#filter2start

#test5


Script mkvmaudio.avs


Script mkvmaudio.bat


Script mkvmaudio2.avs


Script mkvmaudio2.bat


- - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -


starting from batch ...

Changing to H264 ... X264 is telling me :

avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'D:\ACE3.0\tmp\movie.avs'

buzzqw
22nd November 2006, 20:28
Ok, got the error. is due to NO RESIZE and INTERLACED content.


use this build www.64k.it/andres/data/a/AutoMKV051c.exe

if ok i will publish changelog of 0.51c


Thanks ofr testing

BHH

weaver4
22nd November 2006, 20:36
18 is the crf value for X264 encoding .. BUT when you select XviD automkv SHOULD change it to the value written in xml profile...

can you tell me all click made to achive an xvid encoding with cq 18 ? i wasn't able to replicate :(

BHH

I was able to duplicate.
> Open automks51a (profile loads)
> Select input file (a *.ifo file)
> Select output directory
> Select subtitle
> Press Start

What else should I look at for you?

weaver4
22nd November 2006, 20:39
I was able to duplicate.
> Open automks51a (profile loads)
> Select input file (a *.ifo file)
> Select output directory
> Select subtitle
> Press Start

What else should I look at for you?

Look at this line from the Log file:
12:52:29 Enabled CRF/CQ autoresize with value 18

It looks like it is still getting the quantizer value from this field rather than the profile!

buzzqw
22nd November 2006, 20:45
@weaver4

got the error too. :thanks:

wait for a fix !

BHH

glynor
22nd November 2006, 21:27
Hey. I've been doing some tests of AutoMKV vs. Nero Recode 2 (AutoMKV is looking good btw) comparing encodes of my DV sources.

One little thing that would be nice with AutoMKV is if it timestamped the entries in the log, and perhaps gave us a total encoding time when finished.

So far it looks like AutoMKV is faster and a little better quality than Nero Recode 2! (Both are very good, but Nero's encodes are a little warmer than the source. AutoMKV with x264 is basically indistinguishable from my source clip.)

fogbav
22nd November 2006, 22:34
@buzzqw : You are the man !

Works like a sharm again ... thanx 4 your work ... going to encode now ...8)

P.S. : Little small bug - xvid_ecraw second pass is running with priority normal ... (First one runs correctly on low)

and ... i configure 1 Pass Xvid --- he is doing a 2 pass ... but this one is maybe my fault ... will check this tomorrow ...

buzzqw
22nd November 2006, 22:46
update to 0.51c www.64k.it/andres/data/a/AutoMKV051c.exe

changelog

FIXED: in ts files, audio and video pid greater then 1000 were not processed (thanks to travisbell)
FIXED: using NONE as resizer and AUTO deinterlacer on interlaced files... (thanks to fobgav)
FIXED: loading automkv using a template with XviD CQ will not put the correct CQ value (from profile if CQ or 2.5 fo other template)
ADDED: more resizer (maybe too tecnical now... as always i am open to suggestion)

BHH

buzzqw
23rd November 2006, 09:53
UPDATE 0.51d www.64k.it/andres/data/a/AutoMKV051d.exe

FIXED:added a workaround to fix autodeinterlacer routines

BHH

buzzqw
24th November 2006, 15:08
P.S. : Little small bug - xvid_ecraw second pass is running with priority normal ... (First one runs correctly on low)

fixed in next build (0.51e) thanks !


and ... i configure 1 Pass Xvid --- he is doing a 2 pass ... but this one is maybe my fault ... will check this tomorrow ...

have you checked ?

BHH

fogbav
24th November 2006, 16:04
Yup .. sorry ... stupid me ...8)

My fault ...

weaver4
24th November 2006, 18:18
I tried to back up my copy of Aviator using AutoMKV 0.51d, constant quality XviD; quantizer of 3.

I tried using four different programs and here are the file size results.

-AutoGK >> 1.2G
-avi.net >> 1.21G
-Staxrip >> 1.33G
-MPEG Mediator >> 1.23G
-AutoMKV >> .933G

All five were done with CQ, with a quantizer of three. The audio file was the largest for AutoMKV by about 30 Meg. The size on all five are 640x272.

It does not make any sense that AutoMKV result would be 25% smaller than these other four programs.

Any ideas why?

Here is the log file.

============================================
08:26:12 0.51d - - - - - START JOBS - - - - - - - - - - - - -
08:26:12 Selected Input file: E:\Movies\RipAnyDVD\Aviator\VTS_01_0.IFO
08:26:12 Selected Output dir: E:\Movies\Output\
08:26:12 Selected Container type: AVI
08:26:12 Selected Size: 1 DVD-R
08:26:12 Selected Slice: 1
08:26:12 Selected Encoder: XviD
08:26:12 Selected Profile: XviD_CQ30.xml
08:26:12 Selected Width: 640
08:26:12 Selected Resizer: BicubicResize (soft=0,0.333)
08:26:12 Selected Filters: RemoveGrain(mode=2)
08:26:12 Selected Deinterlacer: AUTO
08:26:12 NeroAACEnc.exe not present
08:26:12 Enabled CRF/CQ autoresize with value 3
08:26:12 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
08:26:12 Audio Codec 1: Lame
08:26:12 Audio Quality 1: 4
08:26:12 Selected Unlimited media size
08:26:12 Starting Indexing
08:26:12 Dgindex CMD: C:\Downloads2\AutoMKV\AutoMKV051\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\RipAnyDVD\Aviator\VTS_01_1.vob] -OF=[E:\Movies\Output\movie] -exit -minimize
08:29:05 Finished indexing
08:29:05 Starting fixing audio delay on track number 1
08:29:05 DelayCut CMD: C:\Downloads2\AutoMKV\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\Output\fixed1.ac3" "E:\Movies\Output\movie T01 3_2ch 384Kbps DELAY -25ms.ac3"
08:29:31 Original 1' Audio Size: 489944064 bytes
08:29:31 Finished fixing audio delay
08:29:31 Encoding E:\Movies\Output\fixed1.ac3 To Mp3 with 4 quality
09:03:27 Encoded 1' Audio Track: 154390272 bytes
09:03:27 ForcedFilm applied: 100.000000% FILM found
09:03:36 Number of Frames: 244728
09:03:36 Framerate: 23.976025
09:03:36 Movie lenght in Seconds: 10208
09:03:36 Movie Width: 720
09:03:36 Movie Height: 480
09:03:36 CQ encoding XviD: C:\Downloads2\AutoMKV\AutoMKV051\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads2\AutoMKV\AutoMKV051\profiles\XviD-profiles\matrix\Sharktooth's EQM v3ULR.cqm" -i "E:\Movies\Output\movie.avs" -type 2 -avi "E:\Movies\Output\movie.avi"
11:57:03 Accepted values are between 4461743104 and 4743537664 bytes (movie+audio)
11:57:03 Got a file of size: 818629950 bytes + audio size 154390272 bytes (973020224)
11:57:03 Only Movie Size: 818629950 bytes
11:58:08 Final Muxed size: -1 bytes
11:58:08
11:58:08 Muxing Script
11:58:08 C:\Downloads2\AutoMKV\AutoMKV051\exe\matroska\AVIMux_GUI.exe E:\Movies\Output\muxavi
11:58:08
11:58:08 CLEAR
11:58:08 LOAD E:\Movies\Output\movie.avi
11:58:08 LOAD E:\Movies\Output\audio.mp3
11:58:08 SELECT FILE 1
11:58:08 ADD VIDEOSOURCE
11:58:08 SET INPUT OPTIONS
11:58:08 SET OPTION MP3 VERIFY CBR NEVER
11:58:08 SET OPTION MP3 VERIFY RESDLG OFF
11:58:08 SET OUTPUT OPTIONS
11:58:08 WITH SET OPTION
11:58:08 OPENDML 1
11:58:08 RECLISTS 0
11:58:08 AUDIO INTERLEAVE 3 FR
11:58:08 AVI ADDJUNKBEFOREHEADERS 0
11:58:08 PRELOAD 200
11:58:08 WITH AUDIO
11:58:08 NAME 1 english
11:58:08 END WITH
11:58:08 OVERWRITEDLG 0
11:58:08 CLOSEAPP 1
11:58:08 DONEDLG 0
11:58:08 ALL AUDIO 1
11:58:08 LEGACY 0
11:58:08 RECLISTS 1
11:58:08 NUMBERING OFF
11:58:08 MAXFILESIZE OFF
11:58:08 END WITH
11:58:08 START E:\Movies\Output\aviator_full.avi
11:58:08
11:58:08 Script AutoCrop.log
11:58:08
11:58:08 Crop(10,54,700,368)
11:58:08
11:58:08 Script Resmovie.avs
11:58:08
11:58:08
11:58:08 Script movie.avs
11:58:08
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\autocrop.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\blockbuster.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\cnr2.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\ColorMatrix.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\Convolution3D.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\corrector.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\DctFilter.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\Decomb.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\Deen.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\degrainmedian.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\DGDecode.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\EEDI2.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\fft3dfilter.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\FluxSmooth.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\frfun7.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\hqdn3d.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\LeakKernelDeint.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\MaskTools.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\medianblur.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\MipSmooth.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\mvtools.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\RemoveGrain.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\SangNom.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\SimpleResize.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\TBilateral.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\TDeint.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\TIVTC.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\TomsMoComp.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\TTempSmooth.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\UnDot.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\UnFilter.dll")
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\VSFilter.dll")
11:58:08 #loadpluginstart
11:58:08
11:58:08 #test1
11:58:08
11:58:08 Import("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\mvbob.avsi")
11:58:08 Import("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\QMF.avsi")
11:58:08 #importstart
11:58:08
11:58:08 #test2
11:58:08
11:58:08 movie = mpeg2source("E:\Movies\Output\movie.d2v")
11:58:08 function getOrder(clip c) {
11:58:08 order = GetParity(c) ? 1 : 0
11:58:08 Return order }
11:58:08 #filter1start
11:58:08
11:58:08 #test3
11:58:08
11:58:08 #cropstart
11:58:08
11:58:08 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
11:58:08 fixed_aspect = 1.185185
11:58:08 c_width = width(cropclip)
11:58:08 c_height = Round(height(cropclip) / fixed_aspect)
11:58:08 input_par = float(float(c_width)/float(c_height))
11:58:08 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
11:58:08 out_width = 640
11:58:08 out_height = Round(float(out_width) / input_par)
11:58:08 hmod = out_height - (floor(out_height / 16 ) * 16)
11:58:08 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
11:58:08 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
11:58:08 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
11:58:08
11:58:08 #resizestart
11:58:08
11:58:08 #test4
11:58:08
11:58:08 BicubicResize(out_width,out_height,0,0.333)
11:58:08 #filter2start
11:58:08
11:58:08 #test5
11:58:08
11:58:08 RemoveGrain(mode=2)
11:58:08 ColorMatrix("Rec.709->Rec.601",hints=false)
11:58:08
11:58:08 Script mkvmaudio.avs
11:58:08
11:58:08 LoadPlugin("C:\Downloads2\AutoMKV\AutoMKV051\exe\filter\NicAudio.dll")
11:58:08 NicAC3Source("E:\Movies\Output\fixed1.ac3")
11:58:08 EnsureVBRMP3Sync()
11:58:08 ConvertAudioTo16bit()
11:58:08 #Applyed Stereo downmixing routines
11:58:08 function stereo(clip a)
11:58:08 {
11:58:08 fl = GetChannel(a, 1)
11:58:08 fr = GetChannel(a, 2)
11:58:08 c = GetChannel(a, 3)
11:58:08 lfe = GetChannel(a, 4)
11:58:08 sl = GetChannel(a, 5)
11:58:08 sr = GetChannel(a, 6)
11:58:08 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
11:58:08 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
11:58:08 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
11:58:08 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
11:58:08 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
11:58:08 Return MergeChannels(l, r).Normalize()
11:58:08 }
11:58:08 #
11:58:08 function original(clip a)
11:58:08 {
11:58:08 Normalize(a)
11:58:08 Return last
11:58:08 }
11:58:08 6==Audiochannels() ? stereo() : original()
11:58:08
11:58:08 Script mkvmaudio.bat
11:58:08
11:58:08 "C:\Downloads2\AutoMKV\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\Output\mkvmaudio.avs^)" | "C:\Downloads2\AutoMKV\AutoMKV051\exe\besweet\lame.exe" -v --vbr-new -h -S -V 4 - "E:\Movies\Output\audio.mp3"
11:58:08
11:58:08 Script mkvmaudio2.avs
11:58:08
11:58:08
11:58:08 Script mkvmaudio2.bat
11:58:08
11:58:08
11:58:08 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

buzzqw
24th November 2006, 18:58
first question:

how about quality ? is all files at the same VISUAL quality ?

second: resizer, was the same for all programs ? (i don't think so)

third: filters, were the same for all programs ? (this maybe)

fourth: matrix, was the matrix the same ? (i don't think so)

fifth: the xvid_encraw was lauched with the same parameters ? (i don't think so)

my only hope i that quality is at least equal as the movie done with others encoders

about audio ...

this is the command line...
lame.exe -v --vbr-new -h -S -V 4 - audio.mp3
other program run different command line ?

BHH

gonwk
24th November 2006, 19:33
Hi Weaver,

from the 5 programs that you mentioned which AVI file looked the BEST picture wise?

Thanks,
G!

weaver4
24th November 2006, 21:01
I put the avi.net, autogk and automkv outputs on a DVD. Then I put it on my HD TV.

To me it appears that the automkv is not as good quality as the other two.

The image sizes are the same, but the resizers and filters are different. The Matrix is not the same, but I do think that the avi.net uses the same Sharktooth matrix as I was using in automkv.

I am not sure, but I don't think any of these other programs use xvid_encraw.

gonwk
24th November 2006, 21:05
Thanks Weaver!
G!

buzzqw
24th November 2006, 22:39
The image sizes are the same, but the resizers and filters are different. The Matrix is not the same, but I do think that the avi.net uses the same Sharktooth matrix as I was using in automkv.

autogk is probably using the LanczosResize, on of most sharpen.

Anyway i had very little control over cq encoding. i can suggest in "defense" of automkv to try with
1) lanczos resize
2) at cq 3 the "Sharktooth's EQM v3ULR.cqm" isn't well suited, better a non "ultra low rate"...
3) use a 2 pass profile :D ;)

thanks for your test... i am very glad to improve the quality of encoding

BHH

fogbav
25th November 2006, 15:25
Hi buzzqw ... i tested some random TV-Rips ... and about 50 % are converted superb ... but the other ones will not encode ...

I have uploaded a TS sample (8 MB with mkv.ini file)

http://www.file-upload.net/download_25.11.06_kg7l8h.rar.html


Maybe you can analyse ... i think the avs thing is not working correctly ...

Batch-job from my scripts :

automkv.exe automkv.ini %1 0 0 0 0 start kill

ts file is splitted with projectx into m2v and sound files .... so i parse the m2v (only video) to automkv ...

an other bug with this ts in GUI mode with automkv ... delaycut is not working correctly ... filling up my complete hard disk with the mpa file ... but i think you will see ...

Maybe one time i can do an batch : automkv.exe convertallaudiotracks start kill ....8)

thanx

FoGBaV

SeeMoreDigital
25th November 2006, 15:46
Maybe you can analyse ... i think the avs thing is not working correctly ...I've just tried feeding your source "directly" into DGIndex 1.4.8 and it would seem it's unable to "automatically" detect any of the streams within your .TS source.

It's probably best to contact Neuron2 (Donald Graft) direct about this source


EDIT: Even HDTVtoMPEG2 and MPEG2 Repair have problems locating the elementary streams within your .TS source


Cheers

fogbav
25th November 2006, 16:02
@SeeMoreDigital : Thanks for analysing ...

hmm ... taking the ts file through projectx is taking me to a playable m2v file without errors ... hmm ...

TS is from a dbox2 ...

OK ... this is the resulting ProjectX File ...

http://www.file-upload.net/download_25.11.06_odiab9.rar.html

buzzqw
25th November 2006, 16:18
if delaycut is unable to fix and go crazy filling disk that would mean demuxing was wrong.
Better remuxing m2v and mpa an then go with dgindex
This isn't a true problem of automkv , just of delaycut and your source files

maybe one time i can do an batch : automkv.exe convertallaudiotracks start kill ....8)

this is already possible. just use "All audio tracks", BUT remember that dgindex is unable to demux more than 1 audio tracks at time from ts files.

BHH

fogbav
25th November 2006, 16:22
Please retry with file uploaded file above ... (ProjectX has no prblems with the TS stream) ...

and ... i never sayed that it is a direct automkv problem - never thought of this ... never ...8) ... really ...8)

buzzqw
25th November 2006, 16:28
i have an idea... i will try to work this weekend...

should i drop dgindex usage TS files and use instead projectx ?

ALL please post your ideas

BHH

weaver4
25th November 2006, 16:37
buzzqw or sharktooth: What filter do you recommend for XviD cq 3?

I will retest it again.

fogbav
25th November 2006, 16:43
Would be great .... never had problems with ProjectX in the past ... also ProjectX is fixing errors in TS ...

Also ... cutting in TS with ProjectX is very easy ....

But i think my problem is not dgindex (log shows correct frames and With/size etc.) ... think the problem is the avs file ...

Future wishes :
The only thing i want is take a ts (or MPG) file from my Dbox2 Record and convert ALL audio Tracks with org. Settings (Stereo/AC3-> AAC) to a XVID/H264 file ... with reduction of XX% (that is the job my script is doing - modifying your automkv.ini- dest size setting) ... and if possible ... watch a "record-Folder" for new files.

I'm recording some TV-Series and some other things and ts files are very big (you know about that ..8) )... so i only want to convert everything to format XXX - playable at my Xbox (so Xvid is perfect )

Computers here are running 24/7 so waching an TS-Incoming folder is a great deal ... and 2 or more computers are computing XX TS files at the same time ...tagging a converting file so the other computer is not working on the same file (but i don't know if this wishes is a target for your great application).

buzzqw
25th November 2006, 17:04
buzzqw or sharktooth: What filter do you recommend for XviD cq 3?

simply change resizer to Lanczos, in cq30.xml change <BQuantOffset>100<BQuantOffset> to <BQuantOffset>0<BQuantOffset> and for matrix use Sharktooth's EQM v3LR.cqm

no filter adjustmen is needed

BHH

buzzqw
25th November 2006, 18:39
@fogbav

check your pm

BHH

weaver4
26th November 2006, 00:04
simply change resizer to Lanczos, in cq30.xml change <BQuantOffset>100<BQuantOffset> to <BQuantOffset>0<BQuantOffset> and for matrix use Sharktooth's EQM v3LR.cqm

no filter adjustmen is needed

BHH

OK, I did that, much better results.

I think you should change the default profile to the above. It does not make sense to have Sharktooth's EQM v3ULR.cqm when you have the quantizer set to 3.

fogbav
26th November 2006, 10:27
One little bug : Selecting Filers : None with TS file above is not working - stalling at enconding ...

With same preferences and file selecting any Filter is working ...

(Think that is the error i mentionend above)

and ... if it is ok .. i would wish one last parameter for batch encoding :

Size = 10
Slice = 1

until now i have to fix automkv.ini manually befor encoding to select final size of the encode.
(witch doesn't really matter - but would be nicer to set it with cli parameters)

Edit : Audio "All Tracks" - already implemented ... stupid FoGBaV ... 8) 3 0 0 0 in CLI does the trick perfectly ... thanks !


Greets

FoGBaV -P.S. : Buzzqw 4 president ...8)

buzzqw
26th November 2006, 11:02
got the error too... BUT with X264.exe i got NO error...
i think something is wrong with xvid_encraw...

i will search on xvid forum

thanks for testing !

BHH

travisbell
26th November 2006, 18:43
i have an idea... i will try to work this weekend...

should i drop dgindex usage TS files and use instead projectx ?

ALL please post your ideas

BHH

I don't think you should. I have been using AutoGK for 2 years (it uses DGIndex) and now your app with DGIndex with HD .ts files and never once ran into a problem.

If you did change it, it would be nice to have the option to choose which to use, because I myself have always like DGIndex.

Thanks!

buzzqw
26th November 2006, 20:31
projectx is only used for demuxing pourpose (from ts to m2v+ac3/mpa...)

Dgindex is then call to parse the m2v and do all the fine job

Using projectx my ts demuxing (before done by dgindex) is more robust: Delaycut no more hang, is possible to extract more then 1 only audio, ts streams corrupted got fixed...

I had already implemented projectx and if you want test please PM

About using choice of use dgindex or projectx i will see what possible.

BHH

P.S: even if projectx is used... is used only for .TS files... i can just rename your TS file to .VOB and then dgindex is used... :) and is fully fuctional as always ! :) :)

SeeMoreDigital
26th November 2006, 20:34
All clever stuff indeed Buzz ;)

fogbav
26th November 2006, 22:14
Yehaaa ...8) ...

ProjectX is a absolut stable software - repairing even the most "destructed" ts-files ... i use it 4 many years now ... without errors ..

SeeMoreDigital
26th November 2006, 22:48
Yehaaa ...8) ...

ProjectX is a absolut stable software - repairing even the most "destructed" ts-files ... i use it 4 many years now ... without errors ..Does it still need Java to run?

fogbav
26th November 2006, 22:55
There is an version compiled to an exe ... Google -> Oozoon.

But he wants some money for that ... 8(

But also the Java Version runs very fast ... very unlikely to java ..8)

Program to compile to EXE : Excelsior JET

SeeMoreDigital
26th November 2006, 23:02
I'll pass....

weaver4
27th November 2006, 00:55
I really don't want to go through the Java hassle either.

fogbav
27th November 2006, 07:07
there is no real Java-Show-Blocking thing ... you even will not see anything ... and i think nearly every win pc has java onboard. so - no problem here ... Projectx looks like every other cli tool ... in command line mode.

Just try and you will see ...

@Buzzqw : did you watch this topic ?
http://forum.doom9.org/showthread.php?t=117889
8)
Maybe some playground for automkv 1.11 beta ...8)

buzzqw
27th November 2006, 08:31
no hassle at all...

in next stable version user can choose to use dgindex or projectx to demux :)

BHH

crashed
27th November 2006, 12:22
Finally... After a clean reinstallation, bepipe always crashed every time i tried to start it... Finally i realized that it needed Framework 1.1 to run.. I suggest you mention it next to where you mention to download the nero aac encoder. Going back to further testing now, everything runs smooth atm.. =)

weaver4
27th November 2006, 13:06
One other tiny suggestion.

I have a movie folder that I keep all my movies in (as you might guess). Well I don't want to use it as my output folder because of all the extra files that AutoMKV makes. But then if I make it go to an temp folder once the encoding is done I need to go to that temp folder find the final avi and rename and copy it to my movie directory.

So I prefer the approach than AutoGK, Dr 2, Avi.net takes in that they let you select your temp (working folder) and the output file name/location.

crashed
27th November 2006, 14:05
It seems I have a new problem that I cant solve: after automkv rips the subs off the dvd and starts encoding the audio it goes straight away to Finished Jobs. It doesnt even really start encoding the audio. In the processing log I get the following.====== PROCESSING LOG ======================
Time 01:13:27.104; Frame#= 137723. Crc1 error SILENCED: read = 3344; calculated=7753
Time 01:13:27.104; Frame#= 137723. Crc2 error SILENCED: read = FBD8; calculated=146D
Time 01:13:27.136; Frame#= 137724. Unsynchronized frame...REWINDED 224 bytes. Found new synch word
Number of written frames = 215686
Number of Errors= 3

Is there anything i am missing? this is running on a clean installation of windows with the newest 51.d version. I attached all the logs.. Thanks..

buzzqw
27th November 2006, 14:12
====== PROCESSING LOG ======================
Time 01:13:27.104; Frame#= 137723. Crc1 error SILENCED: read = 3344; calculated=7753
Time 01:13:27.104; Frame#= 137723. Crc2 error SILENCED: read = FBD8; calculated=146D
Time 01:13:27.136; Frame#= 137724. Unsynchronized frame...REWINDED 224 bytes. Found new synch word
Number of written frames = 215686
Number of Errors= 3

this is just a bad rip. Sorry.
try re-ripping (with ritit4me)

BHH

crashed
27th November 2006, 19:40
Hm i had the same problem again, using a different dvd, again the dvd was ripped, as well the subs, but no audio streams where extracted or encoded, no video either. onlz 3 log files, dvd rip, movie.idx, movie.sub and para.lst are to be found in the target folder. here the log files:

0.51d - - - - - START JOBS - - - - - - - - - - - - -
Selected Input file:
Selected Output dir: D:\dvdripps\
Selected Container type: MKV
Selected Size: 800
Selected Slice: 1
Selected Encoder: X264
Selected Profile: HQ-Slow.xml
Selected Width: Automatic
Selected Resizer: NONE
Selected Filters: NONE
Selected Deinterlacer: NONE
Enabled CRF/CQ autoresize with value 18
Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Track Language 2: Deutsch (AC3 6ch, 0xBD 0x81) [0]
Audio Codec 2: Nero AAC
Audio Quality 2: 0.35

Starting ripping from E:\VIDEO_TS\ to D:\dvdripps\
Finished Ripping
Starting SubRipping
Selected All subtitles tracks
Finished SubRipping
Subtitle Size: 8710144 bytes
Starting Indexing
Dgindex CMD: C:\AutoMKV051\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1,2 -YR=2 -AIF=[D:\dvdripps\dvd\video_ts\VTS_01_1.vob] -OF=[D:\dvdripps\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "D:\dvdripps\fixed1.ac3" "D:\dvdripps\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 377853952 bytes
DelayCut CMD: C:\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "D:\dvdripps\fixed2.ac3" "D:\dvdripps\movie T02 3_2ch 384Kbps DELAY -8ms.ac3"
Original 2' Audio Size: 323874816 bytes
Finished fixing audio delay
Encoding D:\dvdripps\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: -1 bytes
Encoding D:\dvdripps\fixed2.ac3 to NeroAAC with 0.35 quality
Encoded 2' Audio Track: -1 bytes
ERROR - There are some problem with movie lenght! Try parsing D2V file
Number of Frames: 360
Framerate: 25.000000
Movie lenght in Seconds: 15
Movie Width: 720
Movie Height: 576
Starting X264
Command Line 1' Pass X264: C:\AutoMKV051\exe\encoder\x264.exe --pass 1 --bitrate 444624 --stats "D:\dvdripps\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "D:\dvdripps\movie.avs"
Command Line 2' Pass X264: C:\AutoMKV051\exe\encoder\x264.exe --pass 2 --bitrate 444624 --stats "D:\dvdripps\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "D:\dvdripps\movie.mp4" "D:\dvdripps\movie.avs"
Selected Subtitle Track: RIP ALL SUBS
C:\AutoMKV051\exe\matroska\mkvmerge.exe -o "D:\dvdripps\movie.mkv" --aspect-ratio 1:1.#INF00 --chapters "C:\AutoMKV051\exe\chapters.txt" "D:\dvdripps\movie.mp4" --language 1:eng "D:\dvdripps\audio.mp4" --language 1:deu "D:\dvdripps\audio2.mp4" "D:\dvdripps\movie.idx"
Final Muxed size: -1 bytes

Script AutoCrop.log


Script Resmovie.avs


Script movie.avs

LoadPlugin("C:\AutoMKV051\exe\filter\autocrop.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\blockbuster.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\cnr2.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\Convolution3D.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\corrector.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\DctFilter.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\Decomb.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\Deen.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\degrainmedian.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\DGDecode.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\EEDI2.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\frfun7.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\hqdn3d.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\MaskTools.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\medianblur.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\MipSmooth.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\mvtools.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\NicAudio.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\SangNom.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\SimpleResize.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\TBilateral.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\TDeint.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\TIVTC.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\UnDot.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\UnFilter.dll")
LoadPlugin("C:\AutoMKV051\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\AutoMKV051\exe\filter\mvbob.avsi")
Import("C:\AutoMKV051\exe\filter\QMF.avsi")
#importstart

#test2

movie = mpeg2source("D:\dvdripps\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.422222
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 = 720
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)

#resizestart

#test4

last=movie
#filter2start

#test5

ColorMatrix("Rec.709->Rec.601",hints=false)

Script mkvmaudio.avs

LoadPlugin("C:\AutoMKV051\exe\filter\NicAudio.dll")
NicAC3Source("D:\dvdripps\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed Original downmixing routines
Normalize()

Script mkvmaudio.bat

"C:\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^D:\dvdripps\mkvmaudio.avs^)" | "C:\AutoMKV051\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\dvdripps\audio.mp4"

Script mkvmaudio2.avs

LoadPlugin("C:\AutoMKV051\exe\filter\NicAudio.dll")
NicAC3Source("D:\dvdripps\fixed2.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed Original downmixing routines
Normalize()

Script mkvmaudio2.bat

"C:\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^D:\dvdripps\mkvmaudio2.avs^)" | "C:\AutoMKV051\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\dvdripps\audio2.mp4"

- - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

[Input info]
Bitrate=448
Actual rate=448.000000
Sampling Frec=48000
TotalFrames=210856
Bytesperframe=1792.0000
Filesize=377853952
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=01:52:27.392
Channels mode=3/2: L+C+R+SL+SR
LFE=LFE: Present
[Target info]
StartFrame=0
EndFrame=210855
NotFixedDelay= 0.0000
Duration=01:52:27.392
====== PROCESSING LOG ======================
Number of written frames = 210856
Number of Errors= 0


[Input info]
Bitrate=384
Actual rate=384.000000
Sampling Frec=48000
TotalFrames=210856
Bytesperframe=1536.0000
Filesize=323874816
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=01:52:27.392
Channels mode=3/2: L+C+R+SL+SR
LFE=LFE: Present
[Target info]
StartFrame=0
EndFrame=210855
NotFixedDelay= -8.0000
Duration=01:52:27.392
====== PROCESSING LOG ======================
Number of written frames = 210856
Number of Errors= 0

buzzqw
27th November 2006, 19:54
this message

ERROR - There are some problem with movie lenght! Try parsing D2V file

is even more important... mean that time.avs gone wrong...

i must suppose there is something wrong with avisynth...

open in virtualdub time.avs and spot the error (maybe related to audio... since it works on avisynth)

BHH

crashed
27th November 2006, 21:30
Hm, I cant open time.avs in virtualdub, gives me the following error: AVI import filter error: (Unknown) 80040154

So what does it mean? i dont have avisynth installed, because i reinstalled windows... doh! You can also add that to the nero aac and frameworks lol.

Thanks for the virtualdub hint, that made me realize... its encoding the audio atm, so seems to be working fine, will report back..

crashed
27th November 2006, 22:17
I was wondering if it is possible to have the mkv file split, lets say into two times 650mb files? (so that i dont have one 1.3gb file) or is that impossible when a movie contians 4 subs, 2 audio tracks and 1 vido track?

buzzqw
27th November 2006, 22:24
or is that impossible when a movie contians 4 subs, 2 audio tracks and 1 vido track?

is more than possible ! this is why matroska was created !

for 2 files of 650 mb do this:

on disk setting choose "Write Here Custom MB Size" and overwrite it writting 650
on form that appear after writing 650 write 2

this will lead to 2 files of 650mb !

BHH

crashed
28th November 2006, 10:39
I c, thanks so much. Already another problem has come up. Again it runs dgindex etc, but once it should start encoding the movie it doesnt. This time i selected copy original soundtrack, so it shouldnt have to encode it, as i always get that error in the log file. I ripped the dvd 10 times now, tried everything i could think of, just cant get it to work. Any ideas?

[Input info]
Bitrate=448
Actual rate=448.000000
Sampling Frec=48000
TotalFrames=215684
Bytesperframe=1792.0000
Filesize=386507072
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=01:55:01.912
Channels mode=3/2: L+C+R+SL+SR
LFE=LFE: Present
[Target info]
StartFrame=0
EndFrame=215683
NotFixedDelay= 2.0000
Duration=01:55:01.888
====== PROCESSING LOG ======================
Time 01:13:27.104; Frame#= 137723. Crc1 error SILENCED: read = 25BE; calculated=B820
Time 01:13:27.104; Frame#= 137723. Crc2 error SILENCED: read = 99D3; calculated=BC9A
Time 01:13:27.136; Frame#= 137724. Unsynchronized frame...REWINDED 224 bytes. Found new synch word
Time 01:50:38.304; Frame#= 207448. Crc1 error SILENCED: read = 5387; calculated=4DAD
Time 01:50:38.304; Frame#= 207448. Crc2 error SILENCED: read = 9DD3; calculated=68FD
Time 01:50:38.336; Frame#= 207449. Unsynchronized frame...REWINDED 224 bytes. Found new synch word
Number of written frames = 215685
Number of Errors= 6


0.51d - - - - - START JOBS - - - - - - - - - - - - -
Selected Input file: D:\dvdripping\DVD\VIDEO_TS\VTS_01_0.IFO
Selected Output dir: D:\dvdripping\DVD\VIDEO_TS\
Selected Container type: MKV
Selected Size: 1000
Selected Slice: 1
Selected Encoder: X264
Selected Profile: HQ-Insane.xml
Selected Width: Automatic
Selected Resizer: NONE
Selected Filters: NONE
Selected Deinterlacer: NONE
Enabled CRF/CQ autoresize with value 18
Track Language 1: English (AC3 6ch, 0xBD 0x81) [0,1]
Audio Codec 1: Copy Original
Audio Quality 1: 0.35

Starting Indexing
Dgindex CMD: D:\dvdripping\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2 -YR=2 -AIF=[D:\dvdripping\DVD\VIDEO_TS\VTS_01_1.vob] -OF=[D:\dvdripping\DVD\VIDEO_TS\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 2
DelayCut CMD: D:\dvdripping\exe\dgindex\Delaycut.exe -auto -out "D:\dvdripping\DVD\VIDEO_TS\fixed1.ac3" "D:\dvdripping\DVD\VIDEO_TS\movie T02 3_2ch 448Kbps DELAY 2ms.ac3"
Original 1' Audio Size: 386507520 bytes
Finished fixing audio delay
Renamed file fixed1.ac3 to audio.ac3
Encoded 1' Audio Track: 386507520 bytes
Number of Frames: 172552
Framerate: 25.000000
Movie lenght in Seconds: 6903
Movie Width: 720
Movie Height: 576
Starting X264
Command Line 1' Pass X264: D:\dvdripping\exe\encoder\x264.exe --pass 1 --bitrate 766 --stats "D:\dvdripping\DVD\VIDEO_TS\.stats" --ref 0 --no-b-adapt --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 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "D:\dvdripping\DVD\VIDEO_TS\movie.avs"
Command Line 2' Pass X264: D:\dvdripping\exe\encoder\x264.exe --pass 2 --bitrate 766 --stats "D:\dvdripping\DVD\VIDEO_TS\.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 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "D:\dvdripping\DVD\VIDEO_TS\movie.mp4" "D:\dvdripping\DVD\VIDEO_TS\movie.avs"
D:\dvdripping\exe\matroska\mkvmerge.exe -o "D:\dvdripping\DVD\VIDEO_TS\movie.mkv" --aspect-ratio 1:1.777778 --chapters "D:\dvdripping\exe\chapters.txt" "D:\dvdripping\DVD\VIDEO_TS\movie.mp4" --language 0:eng "D:\dvdripping\DVD\VIDEO_TS\audio.ac3"
Final Muxed size: -1 bytes

Script AutoCrop.log

Crop(10,0,700,576)

Script Resmovie.avs


Script movie.avs

LoadPlugin("D:\dvdripping\exe\filter\autocrop.dll")
LoadPlugin("D:\dvdripping\exe\filter\blockbuster.dll")
LoadPlugin("D:\dvdripping\exe\filter\cnr2.dll")
LoadPlugin("D:\dvdripping\exe\filter\ColorMatrix.dll")
LoadPlugin("D:\dvdripping\exe\filter\Convolution3D.dll")
LoadPlugin("D:\dvdripping\exe\filter\corrector.dll")
LoadPlugin("D:\dvdripping\exe\filter\DctFilter.dll")
LoadPlugin("D:\dvdripping\exe\filter\Decomb.dll")
LoadPlugin("D:\dvdripping\exe\filter\Deen.dll")
LoadPlugin("D:\dvdripping\exe\filter\degrainmedian.dll")
LoadPlugin("D:\dvdripping\exe\filter\DGDecode.dll")
LoadPlugin("D:\dvdripping\exe\filter\EEDI2.dll")
LoadPlugin("D:\dvdripping\exe\filter\fft3dfilter.dll")
LoadPlugin("D:\dvdripping\exe\filter\FluxSmooth.dll")
LoadPlugin("D:\dvdripping\exe\filter\frfun7.dll")
LoadPlugin("D:\dvdripping\exe\filter\hqdn3d.dll")
LoadPlugin("D:\dvdripping\exe\filter\LeakKernelDeint.dll")
LoadPlugin("D:\dvdripping\exe\filter\MaskTools.dll")
LoadPlugin("D:\dvdripping\exe\filter\medianblur.dll")
LoadPlugin("D:\dvdripping\exe\filter\MipSmooth.dll")
LoadPlugin("D:\dvdripping\exe\filter\mvtools.dll")
LoadPlugin("D:\dvdripping\exe\filter\NicAudio.dll")
LoadPlugin("D:\dvdripping\exe\filter\RemoveGrain.dll")
LoadPlugin("D:\dvdripping\exe\filter\SangNom.dll")
LoadPlugin("D:\dvdripping\exe\filter\SimpleResize.dll")
LoadPlugin("D:\dvdripping\exe\filter\TBilateral.dll")
LoadPlugin("D:\dvdripping\exe\filter\TDeint.dll")
LoadPlugin("D:\dvdripping\exe\filter\TIVTC.dll")
LoadPlugin("D:\dvdripping\exe\filter\TomsMoComp.dll")
LoadPlugin("D:\dvdripping\exe\filter\TTempSmooth.dll")
LoadPlugin("D:\dvdripping\exe\filter\UnDot.dll")
LoadPlugin("D:\dvdripping\exe\filter\UnFilter.dll")
LoadPlugin("D:\dvdripping\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("D:\dvdripping\exe\filter\mvbob.avsi")
Import("D:\dvdripping\exe\filter\QMF.avsi")
#importstart

#test2

movie = mpeg2source("D:\dvdripping\DVD\VIDEO_TS\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.422222
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 = 720
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)

#resizestart

#test4

last=movie
#filter2start

#test5


Script mkvmaudio.avs

LoadPlugin("D:\dvdripping\exe\filter\NicAudio.dll")
NicAC3Source("D:\dvdripping\DVD\VIDEO_TS\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed Original downmixing routines
Normalize()

Script mkvmaudio.bat


Script mkvmaudio2.avs


Script mkvmaudio2.bat


- - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

buzzqw
28th November 2006, 13:21
got the error... is due to NO filters NO resize NO deint (all in one), will be fixed in next release

now apply at least a filter (undot...)

BHH

SeeMoreDigital
28th November 2006, 13:42
got the error... is due to NO filters NO resize NO deint (all in one), will be fixed in next release

now apply at least a filter (undot...)Sorry Buzz,

I meant to let you know about this error a couple of weeks ago :o

buzzqw
28th November 2006, 13:56
ops... :o

i miss it... (or forget it)

thank SMD !

BHH

crashed
28th November 2006, 17:20
Ah i c, thanks =) well what settings would you guys sugest for a 1.2 gb dvd rip of a movie? Should i deinterlace? What filter you guys think is the best? Is there anything else you would adjust? Thanks in advance

One more little sugestion i have, couls you include start and end time (computer time) and time taken to complete the job in the logfile?

buzzqw
29th November 2006, 08:16
One more little sugestion i have, couls you include start and end time (computer time) and time taken to complete the job in the logfile?

done in next build :)

Ah i c, thanks =) well what settings would you guys sugest for a 1.2 gb dvd rip of a movie? Should i deinterlace? What filter you guys think is the best? Is there anything else you would adjust? Thanks in advance

remember forum rules... don't ask what is best since is relative to source files...

deinterlace: leave auto, if needed deinterlacer will be placed in, if not needed no worry
filter: for a rip to x264 to 1.2gb... just a small filtering, leave the default removegrain(mode=2)
resolution: leave auto, is probably always the "better" choice, let automkv do it's calculations and let it determine the width
(again will be near full resolution..)

BHH

fogbav
29th November 2006, 20:20
OK ... i have problems encoding ts files with commercials in it ... sometimes the Channels are switched from AC3/3/2 to AC3 /2/0 i think ... Projectx is decoding the file right but i think beepipe is not working correctly here.

Converting the *.ac3 file to WAV 3/2 and then encode it with Nero AAC works correctly.

Sample :

http://member.file-upload.net/FoGBaV/film.rar


This is the Batch i used in my Scripts to get the AC3 work correctly :

@echo off
For %%D In (.) Do Set localpath="%%~fD\tmp\final\film.ac3"


start /low /wait /min .\exe\besweet\besweet -core( -input "tmp\film.ac3" -output "tmp\film_ac3.wav" -6chwav -logfile) -azid( -g max )


start /low /wait /min .\exe\besweet\neroaacenc.EXE -br 192000 -2pass -if tmp\film_ac3.wav -of tmp\final\film.ac3.mp4

del /Q tmp\film_ac3.wav


I Don't know if this is ok to d oso ... but it worked in the past ...8)

buzzqw
29th November 2006, 22:00
thanks for the link

i will try to "study" something :)

BHH

crashed
29th November 2006, 23:23
Tahnks again for the feedback. Did a few more tests and another problem occured: I used all the standard settings to convert a dvd to mkv, 2 language tracks, two subtitle tracks, 1 movie track. Everything was done properly, except at the end i had no mkv file, but audio and video was encoded and is playable. I included a screenshot of all the files generated by automkv. Now the interesting thing is, that if I try encoding the dvd that automkv ripped before, and only select one audio track, then i do get an mkv file in the end. What the problem is i cant really tell though. Also I realized that the quality is a lot worse if i let automkv do everything by itself. Gona do some further testing on the quality part, but do you have any idea why i dont get an mkv file?

Heres the log:

09:48:24 0.51d - - - - - START JOBS - - - - - - - - - - - - -
09:48:24 Selected Input file:
09:48:24 Selected Output dir: D:\
09:48:24 Selected Container type: MKV
09:48:24 Selected Size: 1000
09:48:24 Selected Slice: 1
09:48:24 Selected Encoder: X264
09:48:24 Selected Profile: HQ-Slow.xml
09:48:24 Selected Width: Automatic
09:48:24 Selected Resizer: SimpleResize (neutral soft)
09:48:24 Selected Filters: RemoveGrain(mode=2)
09:48:24 Selected Deinterlacer: AUTO
09:48:24 Enabled CRF/CQ autoresize with value 18
09:48:24 Track Language 1: English (AC3 6ch, 0xBD 0x81) [0,1]
09:48:24 Audio Codec 1: Nero AAC
09:48:24 Audio Quality 1: 0.35
09:48:24 Track Language 2: Deutsch (AC3 6ch, 0xBD 0x80) [0,1]
09:48:24 Audio Codec 2: Nero AAC
09:48:24 Audio Quality 2: 0.35
09:48:24
09:48:24 Starting ripping from E:\VIDEO_TS\ to D:\
10:05:29 Finished Ripping
10:05:29 Starting SubRipping
10:07:00 Selected All subtitles tracks
10:07:00 Finished SubRipping
10:07:00 Subtitle Size: -1 bytes
10:07:00 Starting Indexing
10:07:00 Dgindex CMD: D:\automkv\AutoMKV051\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2,1 -YR=2 -AIF=[D:\dvd\video_ts\VTS_01_1.vob] -OF=[D:\movie] -exit -minimize
10:09:28 Finished indexing
10:09:28 Starting fixing audio delay on track number 2
10:09:28 DelayCut CMD: D:\automkv\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "D:\fixed2.ac3" "D:\movie T01 3_2ch 448Kbps DELAY 2ms.ac3"
10:09:36 Original 2' Audio Size: 386509312 bytes
10:09:36 DelayCut CMD: D:\automkv\AutoMKV051\exe\dgindex\Delaycut.exe -auto -out "D:\fixed1.ac3" "D:\movie T02 3_2ch 448Kbps DELAY 2ms.ac3"
10:09:44 Original 1' Audio Size: 386507520 bytes
10:09:44 Finished fixing audio delay
10:09:45 Encoding D:\fixed1.ac3 to NeroAAC with 0.35 quality
10:37:54 Encoded 1' Audio Track: 277831182 bytes
10:37:54 Encoding D:\fixed2.ac3 to NeroAAC with 0.35 quality
11:06:13 Encoded 2' Audio Track: 277827238 bytes
11:06:16 Number of Frames: 172552
11:06:16 Framerate: 25.000000
11:06:16 Movie lenght in Seconds: 6903
11:06:16 Movie Width: 720
11:06:16 Movie Height: 576
11:07:42 Processing completed. Type is determined to be progressive.
11:07:42 Order: 1
11:07:42 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1048576000 bytes
11:07:42 CRF encoding X264: D:\automkv\AutoMKV051\exe\encoder\x264.exe --pass 1 --crf 18 --stats "D:\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "D:\resmovie.mp4" "D:\resmovie.avs"
11:17:10 Tested total movie: 5%
11:17:10 AutoResize movie size: 61685268 bytes
11:17:10 Movie Width suggested based on sample size: 448
11:17:10 Starting X264
11:17:10 Command Line 1' Pass X264: D:\automkv\AutoMKV051\exe\encoder\x264.exe --pass 1 --bitrate 570 --stats "D:\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "D:\movie.avs"
11:17:10 Command Line 2' Pass X264: D:\automkv\AutoMKV051\exe\encoder\x264.exe --pass 2 --bitrate 570 --stats "D:\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "D:\movie.mp4" "D:\movie.avs"
13:54:37 Only Movie Size: 494796398 bytes
13:54:37 Selected Subtitle Track: RIP ALL SUBS
13:54:37 D:\automkv\AutoMKV051\exe\matroska\mkvmerge.exe -o "D:\movie.mkv" --aspect-ratio 1:1.777778 --chapters "D:\automkv\AutoMKV051\exe\chapters.txt" "D:\movie.mp4" --language 1:eng "D:\audio.mp4" --language 1:deu "D:\audio2.mp4" "D:\movie.idx"
13:54:37 Final Muxed size: -1 bytes
13:54:37
13:54:37 Script AutoCrop.log
13:54:37
13:54:37 Crop(10,0,700,576)
13:54:37
13:54:37 Script Resmovie.avs
13:54:37
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\autocrop.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\blockbuster.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\cnr2.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\ColorMatrix.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Convolution3D.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\corrector.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\DctFilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Decomb.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Deen.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\degrainmedian.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\DGDecode.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\EEDI2.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\fft3dfilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\FluxSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\frfun7.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\hqdn3d.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\LeakKernelDeint.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\MaskTools.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\medianblur.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\MipSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\mvtools.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\NicAudio.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\RemoveGrain.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\SangNom.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\SimpleResize.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TBilateral.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TDeint.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TIVTC.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TomsMoComp.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TTempSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\UnDot.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\UnFilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\VSFilter.dll")
13:54:37 #loadpluginstart
13:54:37
13:54:37 #test1
13:54:37
13:54:37 Import("D:\automkv\AutoMKV051\exe\filter\mvbob.avsi")
13:54:37 Import("D:\automkv\AutoMKV051\exe\filter\QMF.avsi")
13:54:37 #importstart
13:54:37
13:54:37 #test2
13:54:37
13:54:37 movie = mpeg2source("D:\movie.d2v")
13:54:37 function getOrder(clip c) {
13:54:37 order = GetParity(c) ? 1 : 0
13:54:37 Return order }
13:54:37 #filter1start
13:54:37
13:54:37 #test3
13:54:37
13:54:37 #cropstart
13:54:37
13:54:37 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
13:54:37 fixed_aspect = 1.422222
13:54:37 c_width = width(cropclip)
13:54:37 c_height = Round(height(cropclip) / fixed_aspect)
13:54:37 input_par = float(float(c_width)/float(c_height))
13:54:37 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
13:54:37 out_width = 704
13:54:37 out_height = Round(float(out_width) / input_par)
13:54:37 hmod = out_height - (floor(out_height / 16 ) * 16)
13:54:37 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
13:54:37 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
13:54:37 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
13:54:37
13:54:37 #resizestart
13:54:37
13:54:37 #test4
13:54:37
13:54:37 SimpleResize(out_width,out_height)
13:54:37 #filter2start
13:54:37
13:54:37 #test5
13:54:37
13:54:37 RemoveGrain(mode=2)
13:54:37 function Comptest(clip c, float percent)
13:54:37 {
13:54:37 frange=floor(14./(percent/100.))
13:54:37 Return SelectRangeEvery(c, frange, 14)
13:54:37 }
13:54:37 Comptest(5)
13:54:37
13:54:37 Script movie.avs
13:54:37
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\autocrop.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\blockbuster.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\cnr2.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\ColorMatrix.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Convolution3D.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\corrector.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\DctFilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Decomb.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\Deen.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\degrainmedian.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\DGDecode.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\EEDI2.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\fft3dfilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\FluxSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\frfun7.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\hqdn3d.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\LeakKernelDeint.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\MaskTools.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\medianblur.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\MipSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\mvtools.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\NicAudio.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\RemoveGrain.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\SangNom.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\SimpleResize.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TBilateral.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TDeint.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TIVTC.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TomsMoComp.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\TTempSmooth.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\UnDot.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\UnFilter.dll")
13:54:37 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\VSFilter.dll")
13:54:37 #loadpluginstart
13:54:37
13:54:37 #test1
13:54:37
13:54:37 Import("D:\automkv\AutoMKV051\exe\filter\mvbob.avsi")
13:54:37 Import("D:\automkv\AutoMKV051\exe\filter\QMF.avsi")
13:54:37 #importstart
13:54:37
13:54:37 #test2
13:54:37
13:54:37 movie = mpeg2source("D:\movie.d2v")
13:54:37 function getOrder(clip c) {
13:54:37 order = GetParity(c) ? 1 : 0
13:54:37 Return order }
13:54:37 #filter1start
13:54:37
13:54:37 #test3
13:54:37
13:54:37 #cropstart
13:54:37
13:54:37 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
13:54:37 fixed_aspect = 1.422222
13:54:37 c_width = width(cropclip)
13:54:37 c_height = Round(height(cropclip) / fixed_aspect)
13:54:37 input_par = float(float(c_width)/float(c_height))
13:54:37 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
13:54:37 out_width = 448
13:54:37 out_height = Round(float(out_width) / input_par)
13:54:37 hmod = out_height - (floor(out_height / 16 ) * 16)
13:54:37 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
13:54:37 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
13:54:37 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
13:54:37
13:54:37 #resizestart
13:54:37
13:54:37 #test4
13:54:37
13:54:37 SimpleResize(out_width,out_height)
13:54:37 #filter2start
13:54:38
13:54:38 #test5
13:54:38
13:54:38 RemoveGrain(mode=2)
13:54:38
13:54:38 Script mkvmaudio.avs
13:54:38
13:54:38 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\NicAudio.dll")
13:54:38 NicAC3Source("D:\fixed1.ac3")
13:54:38 EnsureVBRMP3Sync()
13:54:38 ConvertAudioToFloat()
13:54:38 #Applyed Original downmixing routines
13:54:38 Normalize()
13:54:38
13:54:38 Script mkvmaudio.bat
13:54:38
13:54:38 "D:\automkv\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^D:\mkvmaudio.avs^)" | "D:\automkv\AutoMKV051\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\audio.mp4"
13:54:38
13:54:38 Script mkvmaudio2.avs
13:54:38
13:54:38 LoadPlugin("D:\automkv\AutoMKV051\exe\filter\NicAudio.dll")
13:54:38 NicAC3Source("D:\fixed2.ac3")
13:54:38 EnsureVBRMP3Sync()
13:54:38 ConvertAudioToFloat()
13:54:38 #Applyed Original downmixing routines
13:54:38 Normalize()
13:54:38
13:54:38 Script mkvmaudio2.bat
13:54:38
13:54:38 "D:\automkv\AutoMKV051\exe\besweet\bepipe.exe" --script "Import(^D:\mkvmaudio2.avs^)" | "D:\automkv\AutoMKV051\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\audio2.mp4"
13:54:38
13:54:38 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - -

DDogg
30th November 2006, 00:50
Buzzqw, do you have access to any dvr-ms files as created by Windows Media Center 2005?

AutoMKV is very close to being able to handle these files if the user first wraps them in a directshowsource script, but sometimes I get audio sync problems. These files are new to me, so I do not yet know the details. I could put one up for you like the other files if you are interested. Let me know.

travisbell
30th November 2006, 06:14
Buzzqw, do you have access to any dvr-ms files as created by Windows Media Center 2005?

AutoMKV is very close to being able to handle these files if the user first wraps them in a directshowsource script, but sometimes I get audio sync problems. These files are new to me, so I do not yet know the details. I could put one up for you like the other files if you are interested. Let me know.

All of the HD files I use are originally .dvr-ms files from MCE 2005. What I've learned is you need a good program like VideoReDo (http://www.videoredo.com) to properly fix any errors in your video or audio streams. VRD is well worth the $50.00 price tag and you'll always get a nice cleap, totally in sync file. Take a look at VRD's "QuickStream Fix" for those especially borked files.

Cheers,

buzzqw
30th November 2006, 08:24
@crashed

D:\automkv\AutoMKV051\exe\matroska\mkvmerge.exe -o "D:\movie.mkv" --aspect-ratio 1:1.777778 --chapters "D:\automkv\AutoMKV051\exe\chapters.txt" "D:\movie.mp4" --language 1:eng "D:\audio.mp4" --language 1:deu "D:\audio2.mp4" "D:\movie.idx"

with this command line i succesfully muxed (with mkvmerge update to 1.8.1)
Try this:

1) from dos propmpt launch the same command line and spot the error
2) if fails try upgrading mkvtoolnx within \exe\matroska folder

about dvr-ms i have to search around for this files, if someone could post a link...

thanks

BHH

crashed
30th November 2006, 10:45
Ok that didnt work, after updating the mkvtool, but then i realized that the idx file was missing in the first place, see screenshot...

http://www.alcs.ch/idx.jpg

buzzqw
30th November 2006, 16:26
please post para.lst and dvdinfo.txt (into automkv.exe folder)

BHH

crashed
30th November 2006, 18:50
dvdinfo.txt i can find in the automkv.exe folder:
9 letbox

PGC 1. Length: 0:00:05:10

Audio 1. Deutsch (AC3 6ch, 0xBD 0x80) [0,1]
Audio 2. English (AC3 6ch, 0xBD 0x81) [0,1]

Subtitle 1. Deutsch 0 (0xBD 0x21) [0,1] wide
Subtitle 2. Deutsch 0 (0xBD 0x22) [0,1] letbox


PGC 2. Length: 1:55:02:10

Audio 1. Deutsch (AC3 6ch, 0xBD 0x80) [0,1]
Audio 2. English (AC3 6ch, 0xBD 0x81) [0,1]

Subtitle 1. Deutsch 0 (0xBD 0x21) [0,1] wide
Subtitle 2. Deutsch 0 (0xBD 0x22) [0,1] letbox




But the para.lst file is NOT in the automkv.exe folder, it is in the output folder/drive d:
D:\DVD\VIDEO_TS\VTS_01_0.IFO
D:\VTS
1
0
ALL
CLOSE


So the only files that are in the D:\automkv\AutoMKV051 folder are: auomkv.ini, auomkv.ita, dvdinfo.txt, x264profile.xml, automkv051.exe and folder doc, exe and profiles. The rest is all in the D: drive, like on the screenshot

buzzqw
30th November 2006, 19:29
(the files are in correct folders)

Subtitle 1. Deutsch 0 (0xBD 0x21) [0,1] wide
Subtitle 2. Deutsch 0 (0xBD 0x22) [0,1] letbox

agles.. angles...

rip all sub failed due to angles i suppose... in that case is better to select both subtitles by using both SubTracks 1 & 2

Is for this reason that i added pgc selection... but rip all subs is a "backdoor" for select more subs than 2 ...

i must check it...

BHH

SeeMoreDigital
30th November 2006, 20:07
Hi Buzz,

The AutoMKV link in your sig always seems to point to the last point you make in this thread.... Is it supposed to do this?

crashed
30th November 2006, 20:28
Will runn another test, using subtitle wide as the first subtitle, subtitle letbox as the second, will know tomorrow if this is the problem.. :thanks:

crashed
30th November 2006, 21:00
hm for some reason, even if i only try to rip one sub, the sub is not ripped at all, it goes straight to dgindex and encoding audio/video after ripping the dvd. no subripping...

buzzqw
30th November 2006, 22:36
???
please try this build www.64k.it/andres/data/a/AutoMKV051f.exe


thanks !

BHH

SeeMoreDigital
30th November 2006, 22:50
Thanks Buzz ;)

DDogg
1st December 2006, 01:33
All of the HD files I use are originally .dvr-ms files from MCE 2005. What I've learned is you need a good program like VideoReDo (http://www.videoredo.com) to properly fix any errors in your video or audio streams. VRD is well worth the $50.00 price tag and you'll always get a nice cleap, totally in sync file. Take a look at VRD's "QuickStream Fix" for those especially borked files.

Cheers,Travisbell, thanks for the tip on VideoReDo. Nice product. Btw, I discovered my sync problems with mce2005 dvr-ms files were caused by the variable rate format. This line opens and syncs them fine for me. Can you give it a try to double check [in vdub or something]?directshowsource("D:\temp\test.dvr-ms",fps=29.970,convertfps = true)


/ADD: @ buzz - I think all you would need to do to support dvr-ms files is treat them as you do AVI files except add the fps=xx.xxx,convertfps = true to the scripts. The pcm audio is contained within them. If you want a sample put up on ftp, ping me anytime.

buzzqw
1st December 2006, 10:29
update NEW FULL PACKAGE
www.64k.it/andres/data/a/AutoMKV052.rar

FIXED: non idle process xvid_encrow in second pass
FIXED: "final muxed size" for avi container desn't appear
FIXED: occasional crash on xvid 2 pass mode
FIXED: XviD CQ mode encoding, changed bframe bias
FIXED: rare combination that will lead to bad movie.avs when NO RESIZE, NO DEINT, NO FILTERS and NO COLORMATRIX is applyed
FIXED: Subripping with angles (? beta)
ADDED: AutoMKV now do its works creating a "temp" directory in destination folder. In this folder are created all temporay files, the muxed final ones will be in normal destination folder, with the log
ADDED: "All Audio Tracks" for ifo input
ADDED: ProjectX support for TS files, check in advanced settings
ADDED: slighty changed the command line parameters (try from dos automkv.exe /? ), the first audio parameters can be now, or number of audio tracks or "all" (without quotes "") for encoding all audio tracks
ADDED: support for dvr-ms (? beta)
ADDED: total encoding time in log file
UPDATE: Oggenc 2.8.3, CCT AAC, Matroska 1.8.1, TDeint, TIVTC

happy encoding :)

BHH

DarkZell666
1st December 2006, 13:12
Ehm, I must be doing something wrong with AutoMKV but I'll ask anyway :

- I choose my source (avi file)
- I set my audio track to vorbis (q0)
- I set resolution width to 528
- I set disk settings to 60 (I want a ~60MB file)
- I choose the CQ-ASP_Q2_eq(crf) profile
I'm asked to hit target filesize or not: I choose "Hit target filesize"
('cause I want to try this new CRF technique from the thread DDog started).
- I set container to MKV and codec to X264.

Then I click start, and several x264 windows open and close faster than buzz lightyear, and this goes on for ever... (I need to kill AutoMKV in the taskmanager). Result: no real encoding happens.

The log seems to indicate that the source file wasn't opened correctly (movie length = 0).

If a file potentially has a problem, it would be great if you could "check" for those eventualities and pop an error message somewhere instead of having x264 going on and on for ever ;)


Here's the log :
12:42:28 0.52 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
12:42:28 Selected Input file: D:\_etienne\vidz\HackRoots22.avi
12:42:28 Selected Output dir: D:\_etienne\vidz\temp\
12:42:28 Selected Container type: MKV
12:42:28 Selected Size: 60
12:42:28 Selected Slice: 1
12:42:28 Selected Encoder: X264
12:42:28 Selected Profile: CQ-ASP_Q2_eq(crf).xml
12:42:28 Selected Width: 528
12:42:28 Selected Resizer: SimpleResize (neutral soft)
12:42:28 Selected Filters: RemoveGrain(mode=2)
12:42:28 Selected Deinterlacer: AUTO
12:42:28 NeroAACEnc.exe not present
12:42:28 Enabled CRF/CQ autoresize with value 18
12:42:28 Track Language 1: HackRoots22.avi
12:42:28 Audio Codec 1: Ogg Vorbis
12:42:28 Audio Quality 1: 0
12:42:28 Selected Hit Media Size
12:42:30 Number of Frames:
12:42:30 Framerate:
12:42:30 Movie lenght in Seconds: 0
12:42:30 Movie Width:
12:42:30 Movie Height:
12:42:30 Avi engage mode not corrected, switched to AviSource
12:42:32 Number of Frames:
12:42:32 Framerate:
12:42:32 Movie lenght in Seconds: 0
12:42:32 Movie Width:
12:42:32 Movie Height:
12:42:32 Avi engage mode not corrected, switched to AviSource
12:42:34 Number of Frames:
12:42:34 Framerate:
12:42:34 Movie lenght in Seconds: 0
12:42:34 Movie Width:
12:42:34 Movie Height:
12:42:34 Avi engage mode not corrected, switched to AviSource
12:42:35 Number of Frames:
12:42:35 Framerate:
12:42:35 Movie lenght in Seconds: 0
12:42:35 Movie Width:
12:42:35 Movie Height:
12:42:35 Avi engage mode not corrected, switched to AviSource
12:42:37 Number of Frames:
12:42:37 Framerate:
12:42:37 Movie lenght in Seconds: 0
12:42:37 Movie Width:
12:42:37 Movie Height:
12:42:37 Avi engage mode not corrected, switched to AviSource
12:42:38 Number of Frames:
12:42:38 Framerate:
12:42:38 Movie lenght in Seconds: 0
12:42:38 Movie Width:
12:42:38 Movie Height:
12:42:38 Avi engage mode not corrected, switched to AviSource
12:42:40 Number of Frames:
12:42:40 Framerate:
12:42:40 Movie lenght in Seconds: 0
12:42:40 Movie Width:
12:42:40 Movie Height:
12:42:40 Avi engage mode not corrected, switched to AviSource


Opening the avs scripts generated by automkv, I pined the problem down to several flaws (one of them being a missing codec of my system but you can't do much about that :p).

In the temp directory, time.avs doesn't include the fps="" parameter to directshowsource(), and this gives me a "couldn't determine source framerate" error in avisynth (this is why the problem I stated above happens).

I'll try to get my hands on something else to encode and see what it gives :)

buzzqw
1st December 2006, 13:38
In the temp directory, time.avs doesn't include the fps="" parameter to directshowsource(), and this gives me a "couldn't determine source framerate" error in avisynth (this is why the problem I stated above happens).
first: post a link with a fragment of this file

i use time.avs to DETERMINE the framerate....

till time.avs produces error in virtualdub i cannot do anything.

If framerate isn't avaiable or determinable... the only thing i can do is to ask for it... BUT i doubt that common user will know it...

about to looping i will work on this , thanks for bug hunting !

BHH

buzzqw
1st December 2006, 13:46
@DarkZell666

can you try this build with your "D:\_etienne\vidz\HackRoots22.avi" files ?

www.64k.it/andres/data/a/AutoMKV052a.exe

it will message and then kill automkv

thanks

BHH

crashed
1st December 2006, 19:18
Wohoo just wanted to let you know it worked now, both subs where ripped, gona do more testing, especially with angle subs etc... :thanks:

buzzqw
1st December 2006, 19:48
@crashed :thanks: :goodpost:

have you used rip all subs or used the 2 subs track selection ?

BHH

SeeMoreDigital
1st December 2006, 20:41
Hi Buzz,

I'm unable to generate Xvid "video only" streams within MP4. It would seem AutoMKV gets as far as the .AVI stage but no further!

Here's the log: -19:30:58 0.52a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:30:58 Selected Input file: T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB
19:30:59 Selected Output dir: T:\Encoder Testing\temp\
19:30:59 Selected Container type: MP4
19:30:59 Selected Size: 1 CD
19:30:59 Selected Slice: 1
19:30:59 Selected Encoder: XviD
19:30:59 Selected Profile: XviD_Normal.xml
19:30:59 Selected Width: 720
19:30:59 Selected Resizer: NONE
19:30:59 Selected Filters: NONE
19:30:59 Selected Deinterlacer: NONE
19:30:59 NeroAACEnc.exe not present
19:30:59 Enabled Bitrate encoding with value 200
19:30:59 Track Language 1: NONE
19:30:59 Audio Codec 1: Nero AAC
19:30:59 Audio Quality 1: 0.35
19:30:59
19:30:59 Dgindex CMD: T:\Encoder Testing\00 AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=0 -YR=2 -If=[T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB] -OF=[T:\Encoder Testing\temp\movie] -exit -minimize
19:30:59 Starting fixing audio delay on track number 0
19:30:59 Finished fixing audio delay
19:31:02 Number of Frames: 1270
19:31:02 Framerate: 25.000000
19:31:02 Movie lenght in Seconds: 51
19:31:02 Movie Width: 720
19:31:02 Movie Height: 576
19:31:02 FIRST pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 200 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie.avi"
19:31:02 SECOND pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 200 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi T:\Encoder Testing\temp\movie.avi"
19:31:02 Starting First Pass
19:31:47 Starting Second Pass
19:31:48 Only Movie Size: 4909238 bytes
19:31:48 T:\Encoder Testing\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\00 AutoMKV052\exe\chapters.txt" -add -fps 25.000000 "T:\Encoder Testing\temp\movie.mp4"
19:31:48 Final Muxed size: -1 bytes
19:31:48 Encoding finished: 00:00:50 elapsed time
19:31:48 -----------------------------------------------------------------------
19:31:48 Script AutoCrop.log
19:31:48
19:31:48 Crop(0,74,720,432)
19:31:48 -----------------------------------------------------------------------
19:31:48 Script Resmovie.avs
19:31:48
19:31:48 -----------------------------------------------------------------------
19:31:48 Script movie.avs
19:31:48
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\autocrop.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\blockbuster.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\cnr2.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\ColorMatrix.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\Convolution3D.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\corrector.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\DctFilter.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\Decomb.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\Deen.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\degrainmedian.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\DGDecode.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\EEDI2.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\fft3dfilter.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\FluxSmooth.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\frfun7.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\hqdn3d.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\LeakKernelDeint.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\MaskTools.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\medianblur.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\MipSmooth.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\mvtools.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\NicAudio.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\RemoveGrain.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\SangNom.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\SimpleResize.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\TBilateral.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\TDeint.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\TIVTC.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\TomsMoComp.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\TTempSmooth.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\UnDot.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\UnFilter.dll")
19:31:48 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\VSFilter.dll")
19:31:48 #loadpluginstart
19:31:48
19:31:48 #test1
19:31:48
19:31:48 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\mvbob.avsi")
19:31:48 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\QMF.avsi")
19:31:48 #importstart
19:31:48
19:31:48 #test2
19:31:48
19:31:48 movie = mpeg2source("T:\Encoder Testing\temp\movie.d2v")
19:31:48 function getOrder(clip c) {
19:31:48 order = GetParity(c) ? 1 : 0
19:31:48 Return order }
19:31:48 #filter1start
19:31:48
19:31:48 #test3
19:31:48
19:31:48 #cropstart
19:31:48
19:31:48 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
19:31:48 fixed_aspect = 1.422222
19:31:48 c_width = width(cropclip)
19:31:48 c_height = Round(height(cropclip) / fixed_aspect)
19:31:48 input_par = float(float(c_width)/float(c_height))
19:31:48 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
19:31:48 out_width = 720
19:31:48 out_height = Round(float(out_width) / input_par)
19:31:48 hmod = out_height - (floor(out_height / 16 ) * 16)
19:31:48 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
19:31:48 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
19:31:48 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
19:31:48
19:31:48 #resizestart
19:31:48
19:31:48 #test4
19:31:48
19:31:48 last=movie
19:31:48 #filter2start
19:31:48
19:31:48 #test5
19:31:48
19:31:48 return last
19:31:48 -----------------------------------------------------------------------
19:31:48 Script mkvmaudio.avs
19:31:48
19:31:48 -----------------------------------------------------------------------
19:31:48 Script mkvmaudio.bat
19:31:48
19:31:48 -----------------------------------------------------------------------
19:31:48 Script mkvmaudio2.avs
19:31:48
19:31:48 -----------------------------------------------------------------------
19:31:48 Script mkvmaudio2.bat
19:31:48
19:31:48
19:31:48 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -Also, it does not seem to matter what video bit-rate I specify (in this case it was 200Kbps) - it's ignored :(

By-the-way. May I ask why the Xvid video stream is muxed into AVI first and not directly into MP4?


Cheers

travisbell
1st December 2006, 20:53
Travisbell, thanks for the tip on VideoReDo. Nice product. Btw, I discovered my sync problems with mce2005 dvr-ms files were caused by the variable rate format.

Interesting... good to know, and hey no problem. VRD has saved so many files of mine it's not even funny. Those guys make a good product.

Cheers,

DDogg
1st December 2006, 21:30
Buzz, thanks for adding dvr-ms file capability. This seems a good workaround for Standard resolution dvr-ms file's with stereo audio. Hopefully DG will add the capability to dgindex to create a d2v from these files sometime soon. I think that will be needed to take care of folks with HD dvr-ms files with 5.1 audio. This would allow you to go back to a standard mpeg2source method.

For me to get a usable file requires a couple of things. Changing deinterlacer from AUTO to NONE as the pre-encoding detection takes forever and a day for some reason with these files. Also, after the encode is finished, changing the line in muxing.bat to 4:3 and remuxing by running muxing.bat Using force ITU did not help as the mux line uses 1:1 which gives a stretched vertical appearance. I don't think the 4:3 is correct either, but better than 1:1.

/add: better when I simply remove the AR argument from muxing.bat Then all is OK.

crashed
1st December 2006, 21:37
Selected german wide and german letbox in the two different boxes, doing a test now with rip all subs. By the way, a little beauty error: it still produces the d:\dvd and d:\DVDFabDecrypter_Temp folder but of course they are both empty. The real dvd folder is now created in d:\temp\dvd which is perfect. Why the dvdfabdecrypter_temp is created i dont know, its also not deleted with all other temp files. Will report after this rip...

buzzqw
2nd December 2006, 00:54
@SMD

FIRST pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 200 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie.avi"
SECOND pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 200 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi T:\Encoder Testing\temp\movie.avi"

well the 200 is used... i don't know why it will be no respected...

also

T:\Encoder Testing\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\00 AutoMKV052\exe\chapters.txt" -add -fps 25.000000 "T:\Encoder Testing\temp\movie.mp4"

is failing 'cause of " -add -fps " ... the missing audio is the culprit, must check this :thanks: for this segnalation

By-the-way. May I ask why the Xvid video stream is muxed into AVI first and not directly into MP4?

mmm... another thing to check !

/add: better when I simply remove the AR argument from muxing.bat Then all is OK.

good tips !

d:\dvd and d:\DVDFabDecrypter_Temp

ok, again one more thing to check :)

thanks to all !

BHH

buzzqw
2nd December 2006, 09:58
update www.64k.it/andres/data/a/AutoMKV052a.exe

FIXED: automkv will kill itself if looping on unrecognized avi (? beta , need testing) (thanks to DarkZell666)
FIXED: several bugs when muxing without audio files (thanks to SeeMoreDigital)
FIXED: no ar is given when muxing dvr-ms files (thanks to DDogg)
FIXED: on dvd input the "DVDFabDecrypter_Temp" wasn't deleted (thanks to crashed)

@crashed
i need more info on this "d:\dvd" folder... can you mail me the log (look at about button)

thanks to all for bugs reporting! :thanks:

BHH

TinTinFan
2nd December 2006, 10:25
Hmm...
Using Xvid Slow profile it doesn't do second pass!!

"C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 1641 -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 20 -clow 7 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avs" -type 2 -avi E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avi"

Here is the log
01:37:59 0.52a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
01:37:59 Selected Input file: E:\Filmer\DVDrip\Fuhrerns elit\VTS_01_0.IFO
01:37:59 Selected Output dir: E:\Filmer\DVDrip\Fuhrerns elit\temp\
01:37:59 Selected Container type: MKV
01:37:59 Selected Size: 1/3 DVD-R
01:37:59 Selected Slice: 1
01:37:59 Selected Encoder: XviD
01:37:59 Selected Profile: XviD_Slow.xml
01:37:59 Selected Width: Automatic
01:37:59 Selected Resizer: LanczosResize
01:37:59 Selected Filters: RemoveGrain(mode=2)
01:37:59 Selected Deinterlacer: AUTO
01:37:59 Enabled CRF/CQ autoresize with value 2.5
01:37:59 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
01:37:59 Audio Codec 1: Coding Tech. AAC
01:37:59 Audio Quality 1: 160
01:37:59
01:37:59 Starting SubRipping
01:38:06 Selected subtitle tracks: Svenska 3 (0xBD 0x23) [0] wide
01:38:06 Finished SubRipping
01:38:06 Subtitle Size: -1 bytes
01:38:06 Starting Indexing
01:38:06 Dgindex CMD: C:\video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Filmer\DVDrip\Fuhrerns elit\VTS_01_1.vob] -OF=[E:\Filmer\DVDrip\Fuhrerns elit\temp\movie] -exit -minimize
01:43:37 Finished indexing
01:43:37 Starting fixing audio delay on track number 1
01:43:37 DelayCut CMD: C:\video\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Filmer\DVDrip\Fuhrerns elit\temp\fixed1.ac3" "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
01:44:27 Original 1' Audio Size: 370990592 bytes
01:44:27 Finished fixing audio delay
01:44:27 Encoding E:\Filmer\DVDrip\Fuhrerns elit\temp\fixed1.ac3 to Coding Tech. AAC with 2560000 setting
02:24:52 Encoded 1' Audio Track: 176257546 bytes
02:25:04 Number of Frames: 165681
02:25:04 Framerate: 25.000000
02:25:04 Movie lenght in Seconds: 6628
02:25:04 Movie Width: 720
02:25:04 Movie Height: 576
02:48:22 Processing completed. Type is determined to be interlaced.
02:48:23 BFF: 247
02:48:23 TFF: 258
02:48:23 Order: 1
02:48:25 Single Pass Encoding XviD: C:\video\AutoMKV\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 20 -clow 7 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Filmer\DVDrip\Fuhrerns elit\temp\resmovie.avs" -type 2 -avi "E:\Filmer\DVDrip\Fuhrerns elit\temp\resmovie.avi"
03:22:17 Tested total movie: 5%
03:22:17 AutoResize movie size: 84078836 bytes
03:22:17 Movie Width suggested based on sample size: 912
03:22:17 FIRST pass XviD: "C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 1641 -turbo -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 20 -clow 7 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avs" -type 2 -avi "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avi"
03:22:18 SECOND pass XviD: "C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 1641 -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 20 -clow 7 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avs" -type 2 -avi E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avi"
03:22:18 Starting First Pass
06:08:05 Starting Second Pass
06:08:10 Only Movie Size: 1518370352 bytes
06:08:10 Selected Subtitle Track: Svenska 3 (0xBD 0x23) [0] wide
06:08:10 C:\video\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.mkv" --aspect-ratio 1:1.855072 --chapters "C:\video\AutoMKV\exe\chapters.txt" "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avi" --language 1:eng "E:\Filmer\DVDrip\Fuhrerns elit\temp\audio.mp4" "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.idx"
06:08:11 Final Muxed size: -1 bytes
06:08:11 Encoding finished: 04:30:12 elapsed time
06:08:11 -----------------------------------------------------------------------
06:08:11 Script AutoCrop.log
06:08:11
06:08:11 Crop(10,12,700,552)
06:08:11 -----------------------------------------------------------------------
06:08:11 Script Resmovie.avs
06:08:11
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\autocrop.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\blockbuster.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\cnr2.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\ColorMatrix.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\Convolution3D.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\corrector.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\DctFilter.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\Decomb.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\Deen.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\degrainmedian.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\DGDecode.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\EEDI2.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\fft3dfilter.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\FluxSmooth.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\frfun7.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\hqdn3d.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\LeakKernelDeint.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\MaskTools.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\medianblur.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\MipSmooth.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\mvtools.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\NicAudio.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\RemoveGrain.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\SangNom.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\SimpleResize.dll")
06:08:11 LoadPlugin("C:\video\AutoMKV\exe\filter\TBilateral.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TDeint.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TIVTC.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TomsMoComp.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TTempSmooth.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\UnDot.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\UnFilter.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\VSFilter.dll")
06:08:12 #loadpluginstart
06:08:12
06:08:12 #test1
06:08:12
06:08:12 Import("C:\video\AutoMKV\exe\filter\mvbob.avsi")
06:08:12 Import("C:\video\AutoMKV\exe\filter\QMF.avsi")
06:08:12 #importstart
06:08:12
06:08:12 #test2
06:08:12
06:08:12 movie = mpeg2source("E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.d2v")
06:08:12 function getOrder(clip c) {
06:08:12 order = GetParity(c) ? 1 : 0
06:08:12 Return order }
06:08:12 #filter1start
06:08:12
06:08:12 #test3
06:08:12
06:08:12 #cropstart
06:08:12
06:08:12 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
06:08:12 fixed_aspect = 1.422222
06:08:12 c_width = width(cropclip)
06:08:12 c_height = Round(height(cropclip) / fixed_aspect)
06:08:12 input_par = float(float(c_width)/float(c_height))
06:08:12 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
06:08:12 out_width = 704
06:08:12 out_height = Round(float(out_width) / input_par)
06:08:12 hmod = out_height - (floor(out_height / 16 ) * 16)
06:08:12 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
06:08:12 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
06:08:12 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
06:08:12
06:08:12 LeakKernelDeint(order=1,sharp=true)
06:08:12 #resizestart
06:08:12
06:08:12 #test4
06:08:12
06:08:12 LanczosResize(out_width,out_height)
06:08:12 #filter2start
06:08:12
06:08:12 #test5
06:08:12
06:08:12 RemoveGrain(mode=2)
06:08:12 function Comptest(clip c, float percent)
06:08:12 {
06:08:12 frange=floor(14./(percent/100.))
06:08:12 Return SelectRangeEvery(c, frange, 14)
06:08:12 }
06:08:12 Comptest(5)
06:08:12 -----------------------------------------------------------------------
06:08:12 Script movie.avs
06:08:12
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\autocrop.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\blockbuster.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\cnr2.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\ColorMatrix.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\Convolution3D.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\corrector.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\DctFilter.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\Decomb.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\Deen.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\degrainmedian.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\DGDecode.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\EEDI2.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\fft3dfilter.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\FluxSmooth.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\frfun7.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\hqdn3d.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\LeakKernelDeint.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\MaskTools.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\medianblur.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\MipSmooth.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\mvtools.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\NicAudio.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\RemoveGrain.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\SangNom.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\SimpleResize.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TBilateral.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TDeint.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TIVTC.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TomsMoComp.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\TTempSmooth.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\UnDot.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\UnFilter.dll")
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\VSFilter.dll")
06:08:12 #loadpluginstart
06:08:12
06:08:12 #test1
06:08:12
06:08:12 Import("C:\video\AutoMKV\exe\filter\mvbob.avsi")
06:08:12 Import("C:\video\AutoMKV\exe\filter\QMF.avsi")
06:08:12 #importstart
06:08:12
06:08:12 #test2
06:08:12
06:08:12 movie = mpeg2source("E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.d2v")
06:08:12 function getOrder(clip c) {
06:08:12 order = GetParity(c) ? 1 : 0
06:08:12 Return order }
06:08:12 #filter1start
06:08:12
06:08:12 #test3
06:08:12
06:08:12 #cropstart
06:08:12
06:08:12 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
06:08:12 fixed_aspect = 1.422222
06:08:12 c_width = width(cropclip)
06:08:12 c_height = Round(height(cropclip) / fixed_aspect)
06:08:12 input_par = float(float(c_width)/float(c_height))
06:08:12 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
06:08:12 out_width = 704
06:08:12 out_height = Round(float(out_width) / input_par)
06:08:12 hmod = out_height - (floor(out_height / 16 ) * 16)
06:08:12 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
06:08:12 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
06:08:12 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
06:08:12
06:08:12 LeakKernelDeint(order=1,sharp=true)
06:08:12 #resizestart
06:08:12
06:08:12 #test4
06:08:12
06:08:12 LanczosResize(out_width,out_height)
06:08:12 #filter2start
06:08:12
06:08:12 #test5
06:08:12
06:08:12 RemoveGrain(mode=2)
06:08:12 -----------------------------------------------------------------------
06:08:12 Script mkvmaudio.avs
06:08:12
06:08:12 LoadPlugin("C:\video\AutoMKV\exe\filter\NicAudio.dll")
06:08:12 NicAC3Source("E:\Filmer\DVDrip\Fuhrerns elit\temp\fixed1.ac3")
06:08:12 EnsureVBRMP3Sync()
06:08:12 ConvertAudioTo16bit()
06:08:12 #Applyed Original downmixing routines
06:08:12 Normalize()
06:08:12 -----------------------------------------------------------------------
06:08:12 Script mkvmaudio.bat
06:08:12
06:08:12 "C:\video\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Filmer\DVDrip\Fuhrerns elit\temp\mkvmaudio.avs^)" | "C:\video\AutoMKV\exe\besweet\enc_aacPlus.exe" - "E:\Filmer\DVDrip\Fuhrerns elit\temp\audio.aac" --cbr 2560000
06:08:12 -----------------------------------------------------------------------
06:08:12 Script mkvmaudio2.avs
06:08:12
06:08:12 -----------------------------------------------------------------------
06:08:12 Script mkvmaudio2.bat
06:08:12
06:08:12
06:08:12 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


And it didn't rip the subs "Error parsing IFO-file"
But it worked with same movie and AutoMKV051. By the way it didn't do xvid second pass with AutoMKV051 either

Really nice work man

fogbav
2nd December 2006, 10:37
There seems to be something wrong with TS and Project X ...

ProjectX is splitting correctly but DGindex doesn't work :

Demuxing with ProjectX.jar -log -out "temp" "D:\ACE3.0\tmp\film.ts"
Starting fixing all audio files
ERROR - There are some problem with movie lenght! Try parsing D2V file
Number of Frames: 0
Framerate:
Movie lenght in Seconds: -2147483647
Movie Width:
Movie Height:
Order: 1


Hmmm ... just wanted to see if AC3 is now coded correctly ...8)

thnx

FoGBaV

crashed
2nd December 2006, 11:05
ERROR - There are some problem with movie lenght! Try parsing D2V file you got avisynth and framework installed, right?

Ill report about the d:\dvd folder that is created and everything else after this test is trough

buzzqw
2nd December 2006, 11:31
03:22:18 SECOND pass XviD: "C:\video\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 1641 -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 20 -clow 7 -nochromame -noclosed_gop -bvhq -qmatrix "C:\video\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avs" -type 2 -avi E:\Filmer\DVDrip\Fuhrerns elit\temp\movie.avi"
try launch this from dos prompt and report the error. I want to know why on hell if first pass goes ok the second not...

EDIT3: FIXED WITH 0.52B !!! was missing "

about subs... can you mail me the VTS_01_0.IFO file ?

@fogbav

is movie.d2v created ?

EDIT: the pids is missing...
EDIT2: is your recording box a good one ? (i check for pid in the first 10000 blocks..., please try send me a sample)

BHH

SeeMoreDigital
2nd December 2006, 12:53
FIXED: several bugs when muxing without audio files (thanks to SeeMoreDigital)That seems to have done the trick ;)

Okay... moving onto encoding audio streams and muxing them into MP4 (with Xvid), I've noticed the following: -

When attempting to generate encodes with Coding Technologies AAC encoder set to: Original at 128Kbps.
I obtain an 6Ch AAC-HE audio stream at 212Kbps/48.0KHz and not 128Kbps/48.0KHz. Here's the log: -11:31:31 0.52a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:31:31 Selected Input file: T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB
11:31:31 Selected Output dir: T:\Encoder Testing\temp\
11:31:31 Selected Container type: MP4
11:31:31 Selected Size: 1 CD
11:31:31 Selected Slice: 1
11:31:31 Selected Encoder: XviD
11:31:31 Selected Profile: XviD_Normal.xml
11:31:31 Selected Width: 720
11:31:31 Selected Resizer: NONE
11:31:31 Selected Filters: NONE
11:31:31 Selected Deinterlacer: NONE
11:31:31 NeroAACEnc.exe not present
11:31:31 Enabled CRF/CQ autoresize with value 2.5
11:31:31 Track Language 1: AC3 Audio Stream 0
11:31:31 Audio Codec 1: Coding Tech. AAC
11:31:31 Audio Quality 1: 128
11:31:31
11:31:31 Dgindex CMD: T:\Encoder Testing\00 AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB] -OF=[T:\Encoder Testing\temp\movie] -exit -minimize
11:31:32 Starting fixing audio delay on track number 1
11:31:32 DelayCut CMD: T:\Encoder Testing\00 AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\temp\fixed1.ac3" "T:\Encoder Testing\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
11:31:32 Original 1' Audio Size: 2808064 bytes
11:31:32 Finished fixing audio delay
11:31:32 Encoding T:\Encoder Testing\temp\fixed1.ac3 to Coding Tech. AAC with 2048000 setting
11:31:43 Encoded 1' Audio Track: 1337693 bytes
11:31:46 Number of Frames: 1270
11:31:46 Framerate: 25.000000
11:31:46 Movie lenght in Seconds: 51
11:31:46 Movie Width: 720
11:31:46 Movie Height: 576
11:31:46 FIRST pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 114812 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie.avi"
11:31:46 SECOND pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 114812 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi T:\Encoder Testing\temp\movie.avi"
11:31:46 Starting First Pass
11:32:29 Starting Second Pass
11:32:30 Only Movie Size: 4909238 bytes
11:32:30 T:\Encoder Testing\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\00 AutoMKV052\exe\chapters.txt" -add "T:\Encoder Testing\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\temp\movie.mp4"
11:32:30 Final Muxed size: 6218298 bytes
11:32:30 Encoding finished: 00:00:59 elapsed time
11:32:30 -----------------------------------------------------------------------
11:32:30 Script AutoCrop.log
11:32:30
11:32:30 Crop(0,74,720,432)
11:32:30 -----------------------------------------------------------------------
11:32:30 Script Resmovie.avs
11:32:30
11:32:30 -----------------------------------------------------------------------
11:32:30 Script movie.avs
11:32:30
11:32:30 LoadPlugin

PLUGIN INFO REMOVED BY SMD

11:32:30 #loadpluginstart
11:32:30
11:32:30 #test1
11:32:30
11:32:30 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\mvbob.avsi")
11:32:30 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\QMF.avsi")
11:32:30 #importstart
11:32:30
11:32:30 #test2
11:32:30
11:32:30 movie = mpeg2source("T:\Encoder Testing\temp\movie.d2v")
11:32:30 function getOrder(clip c) {
11:32:30 order = GetParity(c) ? 1 : 0
11:32:30 Return order }
11:32:30 #filter1start
11:32:30
11:32:30 #test3
11:32:30
11:32:30 #cropstart
11:32:30
11:32:30 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
11:32:30 fixed_aspect = 1.422222
11:32:30 c_width = width(cropclip)
11:32:30 c_height = Round(height(cropclip) / fixed_aspect)
11:32:30 input_par = float(float(c_width)/float(c_height))
11:32:30 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
11:32:30 out_width = 720
11:32:30 out_height = Round(float(out_width) / input_par)
11:32:30 hmod = out_height - (floor(out_height / 16 ) * 16)
11:32:30 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
11:32:30 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
11:32:30 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
11:32:30
11:32:30 #resizestart
11:32:30
11:32:30 #test4
11:32:30
11:32:30 last=movie
11:32:30 #filter2start
11:32:30
11:32:30 #test5
11:32:30
11:32:30 return last
11:32:30 -----------------------------------------------------------------------
11:32:30 Script mkvmaudio.avs
11:32:30
11:32:30 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\NicAudio.dll")
11:32:30 NicAC3Source("T:\Encoder Testing\temp\fixed1.ac3")
11:32:30 EnsureVBRMP3Sync()
11:32:30 ConvertAudioTo16bit()
11:32:30 #Applyed Original downmixing routines
11:32:30 Normalize()
11:32:30 -----------------------------------------------------------------------
11:32:30 Script mkvmaudio.bat
11:32:30
11:32:30 "T:\Encoder Testing\00 AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\00 AutoMKV052\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\temp\audio.aac" --cbr 2048000
11:32:30 -----------------------------------------------------------------------
11:32:30 Script mkvmaudio2.avs
11:32:30
11:32:30 -----------------------------------------------------------------------
11:32:30 Script mkvmaudio2.bat
11:32:30
11:32:30
11:32:30 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
When attempting to generate encodes with LAME's encoder set to: Stereo, Pre-set "6".
I obtain an 2Ch MP3 audio stream at 128Kbps/44.1KHz. Which is sort of okay. But may I ask why the audio's sample rate is 44.1KHz and not 48.0KHz (ie: the same sample rate as the source. Here's the log: -11:17:04 0.52a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:17:04 Selected Input file: T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB
11:17:04 Selected Output dir: T:\Encoder Testing\temp\
11:17:04 Selected Container type: MP4
11:17:04 Selected Size: 1 CD
11:17:04 Selected Slice: 1
11:17:04 Selected Encoder: XviD
11:17:04 Selected Profile: XviD_Normal.xml
11:17:04 Selected Width: 720
11:17:04 Selected Resizer: NONE
11:17:04 Selected Filters: NONE
11:17:04 Selected Deinterlacer: NONE
11:17:04 NeroAACEnc.exe not present
11:17:04 Enabled CRF/CQ autoresize with value 2.5
11:17:04 Track Language 1: AC3 Audio Stream 0
11:17:04 Audio Codec 1: Lame
11:17:04 Audio Quality 1: 6
11:17:04
11:17:04 Dgindex CMD: T:\Encoder Testing\00 AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB] -OF=[T:\Encoder Testing\temp\movie] -exit -minimize
11:17:05 Starting fixing audio delay on track number 1
11:17:05 DelayCut CMD: T:\Encoder Testing\00 AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\temp\fixed1.ac3" "T:\Encoder Testing\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
11:17:05 Original 1' Audio Size: 2808064 bytes
11:17:05 Finished fixing audio delay
11:17:05 Encoding T:\Encoder Testing\temp\fixed1.ac3 To Mp3 with 6 quality
11:17:13 Encoded 1' Audio Track: 586721 bytes
11:17:16 Number of Frames: 1270
11:17:16 Framerate: 25.000000
11:17:16 Movie lenght in Seconds: 51
11:17:16 Movie Width: 720
11:17:16 Movie Height: 576
11:17:16 FIRST pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 114930 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie.avi"
11:17:16 SECOND pass XviD: "T:\Encoder Testing\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 114930 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi T:\Encoder Testing\temp\movie.avi"
11:17:16 Starting First Pass
11:17:59 Starting Second Pass
11:18:00 Only Movie Size: 4909238 bytes
11:18:00 T:\Encoder Testing\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\00 AutoMKV052\exe\chapters.txt" -add "T:\Encoder Testing\temp\audio.mp3:lang=und" -fps 25.000000 "T:\Encoder Testing\temp\movie.mp4"
11:18:00 Final Muxed size: 5476996 bytes
11:18:00 Encoding finished: 00:00:56 elapsed time
11:18:00 -----------------------------------------------------------------------
11:18:00 Script AutoCrop.log
11:18:00
11:18:00 Crop(0,74,720,432)
11:18:00 -----------------------------------------------------------------------
11:18:00 Script Resmovie.avs
11:18:00
11:18:00 -----------------------------------------------------------------------
11:18:00 Script movie.avs
11:18:00
11:18:00 LoadPlugin

PLUGIN INFO REMOVED BY SMD

11:18:00 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\VSFilter.dll")
11:18:00 #loadpluginstart
11:18:00
11:18:00 #test1
11:18:00
11:18:00 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\mvbob.avsi")
11:18:00 Import("T:\Encoder Testing\00 AutoMKV052\exe\filter\QMF.avsi")
11:18:00 #importstart
11:18:00
11:18:00 #test2
11:18:00
11:18:00 movie = mpeg2source("T:\Encoder Testing\temp\movie.d2v")
11:18:00 function getOrder(clip c) {
11:18:00 order = GetParity(c) ? 1 : 0
11:18:00 Return order }
11:18:00 #filter1start
11:18:00
11:18:00 #test3
11:18:00
11:18:00 #cropstart
11:18:00
11:18:00 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
11:18:00 fixed_aspect = 1.422222
11:18:00 c_width = width(cropclip)
11:18:00 c_height = Round(height(cropclip) / fixed_aspect)
11:18:00 input_par = float(float(c_width)/float(c_height))
11:18:00 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
11:18:00 out_width = 720
11:18:00 out_height = Round(float(out_width) / input_par)
11:18:00 hmod = out_height - (floor(out_height / 16 ) * 16)
11:18:00 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
11:18:00 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
11:18:00 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
11:18:00
11:18:00 #resizestart
11:18:00
11:18:00 #test4
11:18:00
11:18:00 last=movie
11:18:00 #filter2start
11:18:00
11:18:00 #test5
11:18:00
11:18:00 return last
11:18:00 -----------------------------------------------------------------------
11:18:00 Script mkvmaudio.avs
11:18:00
11:18:00 LoadPlugin("T:\Encoder Testing\00 AutoMKV052\exe\filter\NicAudio.dll")
11:18:00 NicAC3Source("T:\Encoder Testing\temp\fixed1.ac3")
11:18:00 EnsureVBRMP3Sync()
11:18:00 ConvertAudioTo16bit()
11:18:00 #Applyed Stereo downmixing routines
11:18:00 function stereo(clip a)
11:18:00 {
11:18:00 fl = GetChannel(a, 1)
11:18:00 fr = GetChannel(a, 2)
11:18:00 c = GetChannel(a, 3)
11:18:00 lfe = GetChannel(a, 4)
11:18:00 sl = GetChannel(a, 5)
11:18:00 sr = GetChannel(a, 6)
11:18:00 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
11:18:00 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
11:18:00 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
11:18:00 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
11:18:00 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
11:18:00 Return MergeChannels(l, r).Normalize()
11:18:00 }
11:18:00 #
11:18:00 function original(clip a)
11:18:00 {
11:18:00 Normalize(a)
11:18:00 Return last
11:18:00 }
11:18:00 6==Audiochannels() ? stereo() : original()
11:18:00 -----------------------------------------------------------------------
11:18:00 Script mkvmaudio.bat
11:18:00
11:18:00 "T:\Encoder Testing\00 AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\00 AutoMKV052\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "T:\Encoder Testing\temp\audio.mp3"
11:18:00 -----------------------------------------------------------------------
11:18:00 Script mkvmaudio2.avs
11:18:00
11:18:00 -----------------------------------------------------------------------
11:18:00 Script mkvmaudio2.bat
11:18:00
11:18:00
11:18:00 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

May I ask if it would be possible to select a "bit-rate" for LAME, instead of a slide bar with pre-set values?


Cheers

fogbav
2nd December 2006, 13:53
movie.d2v is created ... but with size 0 Bytes ...

Pids .. isn't it not important because project X is doing all the Pids stuff corecctly (Creating AC3/mp2/m2v Files) ?

Tryed it with 3 diferent ts files ... one of them is the posted one above ...

All Adio and Video Pids are written correctly by ProjectX ... but not going trough DGINDEX


Keep it going - you are doing a fantastic job here!

Greets from Germany
FoGBaV

buzzqw
2nd December 2006, 14:15
@SMD

about CCT was a bug introduce by updating the cct dll (and fixed with 0.52b)

about lame: DONE :)

try this build www.64k.it/andres/data/a/AutoMKV052b.exe

if you write (between hiqual and lowqual) any value over 10 this will be take as bitrate.
and lame.exe will be launched with lame.exe --preset 'bitrate_value' command line

about 44/48khz is done in automatic by lame. under 128kbps is 44 (and lower) over/equal 144kbps is 48khz

BHH

buzzqw
2nd December 2006, 14:27
@fogbav

i tryed with "Disneys Kim Possible_00.ts" and i got no prob..

14:24:11 Track Language 1: PID 0078, MPEG Audio Stream 0
14:24:11 Audio Codec 1: Nero AAC
14:24:11 Audio Quality 1: 0.35
14:24:11
14:24:11 Demuxing with ProjectX.jar -log -id 0x00A5,0x0078 -out "D:\ac3.0\tmp\temp" "D:\ac3.0\tmp\_Disneys Kim Possible_00.ts"
14:24:15 Starting fixing all audio files
14:24:15 DelayCut CMD: C:\Programmi\PureBasic4\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "D:\ac3.0\tmp\temp\fixed1.mp2" "D:\ac3.0\tmp\temp\_Disneys Kim Possible_00.mp2"
14:24:15 Encoding D:\ac3.0\tmp\temp\fixed1.mp2 to NeroAAC with 0.35 quality
14:24:23 Number of Frames: 574

i don't know what is... please post full log and tell me if this file i used is working on your side

BHH

SeeMoreDigital
2nd December 2006, 15:40
about CCT was a bug introduce by updating the cct dll (and fixed with 0.52b)Hmmm!

I've just tried generating an 6Ch AAC stream at 128Kbps. The audio bit-rate is correct (I checked the temporary files).... But I'm not obtaining a finished output "movie.mp4" file with this build :(

Here's the log: -
14:34:07 0.52b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
14:34:07 Selected Input file: T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB
14:34:07 Selected Output dir: T:\Encoder Testing\temp\temp\
14:34:07 Selected Container type: MP4
14:34:07 Selected Size: 1 CD
14:34:07 Selected Slice: 1
14:34:07 Selected Encoder: XviD
14:34:07 Selected Profile: XviD_Normal.xml
14:34:07 Selected Width: 720
14:34:07 Selected Resizer: NONE
14:34:07 Selected Filters: NONE
14:34:07 Selected Deinterlacer: NONE
14:34:07 NeroAACEnc.exe not present
14:34:07 Enabled CRF/CQ autoresize with value 2.5
14:34:07 Track Language 1: AC3 Audio Stream 0
14:34:07 Audio Codec 1: Coding Tech. AAC
14:34:07 Audio Quality 1: 128
14:34:07
14:34:07 Dgindex CMD: T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB] -OF=[T:\Encoder Testing\temp\temp\movie] -exit -minimize
14:34:07 Starting fixing audio delay on track number 1
14:34:07 DelayCut CMD: T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\temp\temp\fixed1.ac3" "T:\Encoder Testing\temp\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
14:34:07 Original 1' Audio Size: 2808064 bytes
14:34:07 Finished fixing audio delay
14:34:07 Encoding T:\Encoder Testing\temp\temp\fixed1.ac3 to Coding Tech. AAC with 131072 setting
14:34:18 Encoded 1' Audio Track: 821301 bytes
14:34:21 Number of Frames: 1270
14:34:21 Framerate: 25.000000
14:34:21 Movie lenght in Seconds: 51
14:34:21 Movie Width: 720
14:34:21 Movie Height: 576
14:34:21 FIRST pass XviD: "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 114893 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\temp\movie_firstpass.avi"
14:34:21 SECOND pass XviD: "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 114893 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\temp\movie.avs" -type 2 -avi T:\Encoder Testing\temp\temp\movie.avi"
14:34:21 Starting First Pass
14:35:02 Starting Second Pass
14:35:03 T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\chapters.txt" -add "T:\Encoder Testing\temp\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\temp\temp\movie.mp4"
14:35:03 Final Muxed size: -1 bytes
14:35:03 Encoding finished: 00:00:56 elapsed time
14:35:03 -----------------------------------------------------------------------
14:35:03 Script AutoCrop.log
14:35:03
14:35:03 Crop(0,74,720,432)
14:35:03 -----------------------------------------------------------------------
14:35:03 Script Resmovie.avs
14:35:03
14:35:03 -----------------------------------------------------------------------
14:35:03 Script movie.avs
14:35:03
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\autocrop.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\blockbuster.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\cnr2.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\ColorMatrix.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Convolution3D.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\corrector.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\DctFilter.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Decomb.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Deen.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\degrainmedian.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\DGDecode.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\EEDI2.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\fft3dfilter.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\FluxSmooth.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\frfun7.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\hqdn3d.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\LeakKernelDeint.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\MaskTools.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\medianblur.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\MipSmooth.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\mvtools.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\NicAudio.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\RemoveGrain.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\SangNom.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\SimpleResize.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TBilateral.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TDeint.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TIVTC.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TomsMoComp.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TTempSmooth.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\UnDot.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\UnFilter.dll")
14:35:03 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\VSFilter.dll")
14:35:03 #loadpluginstart
14:35:03
14:35:03 #test1
14:35:03
14:35:03 Import("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\mvbob.avsi")
14:35:03 Import("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\QMF.avsi")
14:35:03 #importstart
14:35:03
14:35:03 #test2
14:35:03
14:35:03 movie = mpeg2source("T:\Encoder Testing\temp\temp\movie.d2v")
14:35:03 function getOrder(clip c) {
14:35:03 order = GetParity(c) ? 1 : 0
14:35:03 Return order }
14:35:03 #filter1start
14:35:03
14:35:03 #test3
14:35:03
14:35:03 #cropstart
14:35:03
14:35:03 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
14:35:03 fixed_aspect = 1.422222
14:35:03 c_width = width(cropclip)
14:35:03 c_height = Round(height(cropclip) / fixed_aspect)
14:35:03 input_par = float(float(c_width)/float(c_height))
14:35:03 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
14:35:03 out_width = 720
14:35:03 out_height = Round(float(out_width) / input_par)
14:35:03 hmod = out_height - (floor(out_height / 16 ) * 16)
14:35:03 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
14:35:03 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
14:35:03 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
14:35:03
14:35:03 #resizestart
14:35:03
14:35:03 #test4
14:35:04
14:35:04 last=movie
14:35:04 #filter2start
14:35:04
14:35:04 #test5
14:35:04
14:35:04 return last
14:35:04 -----------------------------------------------------------------------
14:35:04 Script mkvmaudio.avs
14:35:04
14:35:04 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\NicAudio.dll")
14:35:04 NicAC3Source("T:\Encoder Testing\temp\temp\fixed1.ac3")
14:35:04 EnsureVBRMP3Sync()
14:35:04 ConvertAudioTo16bit()
14:35:04 #Applyed Original downmixing routines
14:35:04 Normalize()
14:35:04 -----------------------------------------------------------------------
14:35:04 Script mkvmaudio.bat
14:35:04
14:35:04 "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\temp\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\temp\temp\audio.aac" --cbr 131072
14:35:04 -----------------------------------------------------------------------
14:35:04 Script mkvmaudio2.avs
14:35:04
14:35:04 -----------------------------------------------------------------------
14:35:04 Script mkvmaudio2.bat
14:35:04
14:35:04
14:35:04 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
2nd December 2006, 15:49
sorry SMD !!! :stupid:

i changed a little bit the command line of xvid 2 pass and forget a "

please re-download www.64k.it/andres/data/a/AutoMKV052b.exe

:thanks:
BHH

SeeMoreDigital
2nd December 2006, 18:03
Thanks... that works a lot better now :)

Both the CT AAC audio and XviD video streams are encoded at the correct bit-rate. And muxed into the MP4 container.... Great.

However, I have now noticed the following. The "firstpass.avi" is a full one. And both .AVI passes contain packed bit-stream!

I did not think it was possible to configure XvidEncRAW to generate MPEG-4 streams with packed bit-stream.

Here's the log: -15:37:45 0.52b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:37:45 Selected Input file: T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB
15:37:45 Selected Output dir: T:\Encoder Testing\temp\
15:37:45 Selected Container type: MP4
15:37:45 Selected Size: 1 CD
15:37:45 Selected Slice: 1
15:37:45 Selected Encoder: XviD
15:37:45 Selected Profile: XviD_Normal.xml
15:37:45 Selected Width: 720
15:37:45 Selected Resizer: NONE
15:37:45 Selected Filters: NONE
15:37:45 Selected Deinterlacer: NONE
15:37:45 NeroAACEnc.exe not present
15:37:45 Enabled Bitrate encoding with value 210
15:37:45 Track Language 1: AC3 Audio Stream 0
15:37:45 Audio Codec 1: Coding Tech. AAC
15:37:45 Audio Quality 1: 128
15:37:45
15:37:45 Dgindex CMD: T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\Source - MPEG-2+AC3 in VOB.VOB] -OF=[T:\Encoder Testing\temp\movie] -exit -minimize
15:37:45 Starting fixing audio delay on track number 1
15:37:45 DelayCut CMD: T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\temp\fixed1.ac3" "T:\Encoder Testing\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
15:37:45 Original 1' Audio Size: 2808064 bytes
15:37:45 Finished fixing audio delay
15:37:45 Encoding T:\Encoder Testing\temp\fixed1.ac3 to Coding Tech. AAC with 131072 setting
15:37:56 Encoded 1' Audio Track: 821301 bytes
15:37:59 Number of Frames: 1270
15:37:59 Framerate: 25.000000
15:37:59 Movie lenght in Seconds: 51
15:37:59 Movie Width: 720
15:37:59 Movie Height: 576
15:37:59 FIRST pass XviD: "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 210 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie_firstpass.avi"
15:37:59 SECOND pass XviD: "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 210 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\temp\movie.avs" -type 2 -avi "T:\Encoder Testing\temp\movie.avi"
15:37:59 Starting First Pass
15:38:39 Starting Second Pass
15:39:24 Only Movie Size: 1310998 bytes
15:39:24 T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\matroska\mp4box.exe -add "T:\Encoder Testing\temp\movie.avi":par=2.350000 -chap "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\chapters.txt" -add "T:\Encoder Testing\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\temp\xvid with 6ch aac 210.mp4"
15:39:24 Final Muxed size: 2103645 bytes
15:39:24 Encoding finished: 00:01:39 elapsed time
15:39:24 -----------------------------------------------------------------------
15:39:24 Script AutoCrop.log
15:39:24
15:39:24 Crop(0,74,720,432)
15:39:24 -----------------------------------------------------------------------
15:39:24 Script Resmovie.avs
15:39:24
15:39:24 -----------------------------------------------------------------------
15:39:24 Script movie.avs
15:39:24
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\autocrop.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\blockbuster.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\cnr2.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\ColorMatrix.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Convolution3D.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\corrector.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\DctFilter.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Decomb.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\Deen.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\degrainmedian.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\DGDecode.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\EEDI2.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\fft3dfilter.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\FluxSmooth.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\frfun7.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\hqdn3d.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\LeakKernelDeint.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\MaskTools.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\medianblur.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\MipSmooth.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\mvtools.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\NicAudio.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\RemoveGrain.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\SangNom.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\SimpleResize.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TBilateral.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TDeint.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TIVTC.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TomsMoComp.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\TTempSmooth.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\UnDot.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\UnFilter.dll")
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\VSFilter.dll")
15:39:24 #loadpluginstart
15:39:24
15:39:24 #test1
15:39:24
15:39:24 Import("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\mvbob.avsi")
15:39:24 Import("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\QMF.avsi")
15:39:24 #importstart
15:39:24
15:39:24 #test2
15:39:24
15:39:24 movie = mpeg2source("T:\Encoder Testing\temp\movie.d2v")
15:39:24 function getOrder(clip c) {
15:39:24 order = GetParity(c) ? 1 : 0
15:39:24 Return order }
15:39:24 #filter1start
15:39:24
15:39:24 #test3
15:39:24
15:39:24 #cropstart
15:39:24
15:39:24 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
15:39:24 fixed_aspect = 1.422222
15:39:24 c_width = width(cropclip)
15:39:24 c_height = Round(height(cropclip) / fixed_aspect)
15:39:24 input_par = float(float(c_width)/float(c_height))
15:39:24 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
15:39:24 out_width = 720
15:39:24 out_height = Round(float(out_width) / input_par)
15:39:24 hmod = out_height - (floor(out_height / 16 ) * 16)
15:39:24 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
15:39:24 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
15:39:24 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
15:39:24
15:39:24 #resizestart
15:39:24
15:39:24 #test4
15:39:24
15:39:24 last=movie
15:39:24 #filter2start
15:39:24
15:39:24 #test5
15:39:24
15:39:24 return last
15:39:24 -----------------------------------------------------------------------
15:39:24 Script mkvmaudio.avs
15:39:24
15:39:24 LoadPlugin("T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\filter\NicAudio.dll")
15:39:24 NicAC3Source("T:\Encoder Testing\temp\fixed1.ac3")
15:39:24 EnsureVBRMP3Sync()
15:39:24 ConvertAudioTo16bit()
15:39:24 #Applyed Original downmixing routines
15:39:24 Normalize()
15:39:24 -----------------------------------------------------------------------
15:39:24 Script mkvmaudio.bat
15:39:24
15:39:24 "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\AutoMKV\00 AutoMKV052\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\temp\audio.aac" --cbr 131072
15:39:24 -----------------------------------------------------------------------
15:39:24 Script mkvmaudio2.avs
15:39:24
15:39:24 -----------------------------------------------------------------------
15:39:24 Script mkvmaudio2.bat
15:39:24
15:39:24
15:39:24 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Cheers

fogbav
2nd December 2006, 18:19
@buzzqw :

Puuuh ! I think i Found the error - TS file works correctly when triggerd in gui ...

Same file in CLI mode fails ... i think it has to do with the created temp directory ... in cli the temp dir is not created in destination where film.ts is.

IT IS CREATED on DIR above !

MAybe this is the error ?

Greets

FoGBaV

travisbell
2nd December 2006, 18:34
i got a simple question.

What would be the chances on implementing something like x264farm?

http://forum.doom9.org/showthread.php?t=117889

Surely this would only be an advanced option, but the potential to hook up 3 computers to achieve realtime x264 encoding is absolutely exciting. Especially since I have a MacBook sitting right here with more horsepower than my fastest Windows machine! ;)

I know this is not quite the perfect place to ask you, but it would be very interesting to see it get implemented.

Thanks man, and keep up the good work!

travisbell
2nd December 2006, 21:31
A quick question about an encoding I have going on right now...

All previous encodes I have done, properly de-interlace and IVTC. The sources are 1080i HD sources, so they all go down to 23.976fps perfectly.

If you take a look at this screenshot, it says 29.976...

http://consumeroo.com/files/x264-ivtc.png

Will my source be 29.976 or 23.976 fps? I only ask because if the source is being put in at 29.976 and the IVTC happens after the encode is done, isn't that a waste of encoding time? I mean, that's 6fps that are being encoded that don't need to be.

Just wondering because it seems to me, on all my previous encodes, when I look at that x264 cmd line window, it reads 23.976...

Thanks!

SeeMoreDigital
2nd December 2006, 21:46
Will my source be 29.976 or 23.976 fps? I only ask because if the source is being put in at 29.976 and the IVTC happens after the encode is done, isn't that a waste of encoding time? I mean, that's 6fps that are being encoded that don't need to be.This will depend on whether your 1080i source contains genuine "progressive" frames!


Cheers

travisbell
3rd December 2006, 08:00
This will depend on whether your 1080i source contains genuine "progressive" frames!


Cheers

See that's what I am getting at though... this source, like all my previous is 1080i. It seems to be that it would read 23.98 fps in all my encodes before, so if it's not IVTC the source properly then there is a bug preventing it from being detected properly.

I can guarantee you this source needs to be IVTC'd...

SeeMoreDigital
3rd December 2006, 10:53
See that's what I am getting at though... this source, like all my previous is 1080i. Indeed, perhaps the "progressive flagging" information within this particular stream has been corrupted or is missing....

Just to make clear to others who may be reading this though. It is wrong to assume that all 1080i sources contain "progessive" frames. There's plenty of "pure interlaced" and "blended" frame content out there too!

buzzqw
3rd December 2006, 11:46
@travisbell

take a look at deint.log

what is the diagnosis ?

BHH

P.S big work in progress ... adding WMV9/VC1 :)

fogbav
3rd December 2006, 12:50
CLI Mode with ProjectX seems indeed broken in new Version (052b)...
TEMP Directory is created at worng path ... XVID_Encraw parameters pathes are different from GUI mode
(Not using abolsut Path)

13:04:19 Demuxing with ProjectX.jar -log -out "temp" "d:\ace3.0\tmp\film.ts"
13:06:19 Starting fixing all audio files
13:06:20 ERROR - There are some problem with movie lenght! Try parsing D2V file
13:06:20 Number of Frames: 0
13:06:20 Framerate:
13:06:20 Movie lenght in Seconds: -2147483647
13:06:20 Movie Width:
13:06:20 Movie Height:
13:06:21 Order: 1
13:06:21 Single Pass Encoding XviD: "D:\ACE3.0\exe\encoder\xvid_encraw.exe" -single -progress -bitrate 0 -threads 1 -max_bframes 1 -imax 16 -quality 5 -vhqmode 0 -pmax 16 -bmax 16 -bquant_ratio 162 -ostrength 0 -nochromame -noclosed_gop -qmatrix "D:\ACE3.0\profiles\XviD-profiles\matrix\Didees SixOfNine.cqm" -i "temp\movie.avs" -type 2 -avi "temp\movie.avi"
13:06:22 D:\ACE3.0\exe\matroska\mkvmerge.exe -o "temp\movie.mkv" --aspect-ratio 1:-1.#IND00 --chapters "D:\ACE3.0\exe\chapters.txt" "temp\movie.avi"
13:06:23 Final Muxed size: -1 bytes
13:06:23 Encoding finished: 00:02:04 elapsed time

DGindex is then pointed to wrong path (i think) and fails ... its opening but is doing nothing ... no picture - no progress.

In Gui mode TS file is encoded correctly ... CLI Fails.

@buzzqw : Could you please do a codeing in cli mode with the TS file from me and ProjectX activated ..? I think you will see what i mean. Thanks !!!

Greets

FoGBaV

buzzqw
3rd December 2006, 14:17
@fogbav

fixed ! thanks for bug hunting !

use this build www.64k.it/andres/data/a/AutoMKV052c.exe

BHH

crashed
3rd December 2006, 15:26
Encoded the dvd successfully, 2 ac3 6ch soundtracks, 2 subtitles different angles, and one vido! =)

I encoded the dvd using the insane hq quality settings, but what i got was not really impressing at all. Especially it always has those weird vertical lines that come up when a surface moves, like on this screenshot below. Any idea why? Is this just the codec or some setting that is messing it up? I mean the audio sizes are about 500mb, so the video itself has about 550mb, which should be enough for an amazing quality video. Used standard removegrain 2 filter, no resizing and autodeinterlace, no cust matrix.

Here a screenshot of the original dvd:
http://www.alcs.ch/originaldvd.JPG

Here a screenshot of the insane quality x264 encoding, size of 1100 mb, mp4filesize is 530mb
http://www.alcs.ch/encoded.JPG

About the d:\dvd folder that is being created and not deleted, here are the logs: (oh and also a file d:\x264profile.xml is created, guessing it should be in the temp folder too right?)hm .log file was empty? Will do another encode with xvid to see if i get a better quality movie, will post the log file then i guess...

Oh and one last thing, would it be possible to make a certain output folder default? (like with a button, make this output folder default, so next start of automkv that folder is automatically selected, and not the input folder.

fogbav
3rd December 2006, 15:40
@buzzqw : It's a pleasure to give a little work back to you !

Thanx for all ...

FoGBaV

buzzqw
3rd December 2006, 16:22
@crashed

maybe a problem of deinterlacer... can you check in move.avs the deinterlacer (if any) used ? (could be leakkernel,tdeint...)

BHH

crashed
3rd December 2006, 18:19
yep deinterlacer was used, will try to look into it, but now i found a new problem. I tried to encode a dvdrip into a mkv file, but encoding it dvx not x264, now i dont know what exactly happens, but it rips the subs, it encodes the audio, all as usual, and when it comes to encoding it stops. Here's the log file:

0.52b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
Selected Input file: D:\automkv\DVDrip\VIDEO_TS\VTS_01_0.IFO
Selected Output dir: D:\temp\
Selected Container type: MKV
Selected Size: 1050
Selected Slice: 1
Selected Encoder: XviD
Selected Profile: XviD_Normal.xml
Selected Width: Automatic
Selected Resizer: NONE
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
Enabled CRF/CQ autoresize with value 2.5
Track Language 1: English (AC3 6ch, 0xBD 0x81) [0,1]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Track Language 2: Deutsch (AC3 6ch, 0xBD 0x80) [0,1]
Audio Codec 2: Nero AAC
Audio Quality 2: 0.35

Starting SubRipping
Selected All subtitles tracks
Finished SubRipping
Subtitle Size: 11464704 bytes
Starting Indexing
Dgindex CMD: D:\automkv\AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2,1 -YR=2 -AIF=[D:\automkv\DVDrip\VIDEO_TS\VTS_01_1.vob] -OF=[D:\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 2
DelayCut CMD: D:\automkv\AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "D:\temp\fixed2.ac3" "D:\temp\movie T01 3_2ch 448Kbps DELAY 2ms.ac3"
Original 2' Audio Size: 386509312 bytes
DelayCut CMD: D:\automkv\AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "D:\temp\fixed1.ac3" "D:\temp\movie T02 3_2ch 448Kbps DELAY 2ms.ac3"
Original 1' Audio Size: 386507520 bytes
Finished fixing audio delay
Encoding D:\temp\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: 77587287 bytes
Encoding D:\temp\fixed2.ac3 to NeroAAC with 0.35 quality
Encoded 2' Audio Track: 78925094 bytes
Number of Frames: 172552
Framerate: 25.000000
Movie lenght in Seconds: 6903
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be interlaced.
BFF: 256
TFF: 260
Order: 1
FIRST pass XviD: "D:\automkv\AutoMKV052\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 1086 -turbo -threads 2 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -qmatrix "D:\automkv\AutoMKV052\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\temp\movie.avs" -type 2 -avi "D:\temp\movie_firstpass.avi"
SECOND pass XviD: "D:\automkv\AutoMKV052\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 1086 -threads 2 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nochromame -noclosed_gop -bvhq -qmatrix "D:\automkv\AutoMKV052\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\temp\movie.avs" -type 2 -avi "D:\temp\movie.avi"
Starting First Pass
Starting Second Pass
Selected Subtitle Track: RIP ALL SUBS
D:\automkv\AutoMKV052\exe\matroska\mkvmerge.exe -o "D:\temp\movie.mkv" --aspect-ratio 1:1.777778 --chapters "D:\automkv\AutoMKV052\exe\chapters.txt" "D:\temp\movie.avi" --language 1:eng "D:\temp\audio.mp4" --language 1:deu "D:\temp\audio2.mp4" "D:\temp\movie.idx"
Final Muxed size: -1 bytes
Encoding finished: 00:36:22 elapsed time
-----------------------------------------------------------------------
Script AutoCrop.log

Crop(10,0,700,576)
-----------------------------------------------------------------------
Script Resmovie.avs

-----------------------------------------------------------------------
Script movie.avs

LoadPlugin("D:\automkv\AutoMKV052\exe\filter\autocrop.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\blockbuster.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\cnr2.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\ColorMatrix.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\Convolution3D.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\corrector.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\DctFilter.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\Decomb.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\Deen.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\degrainmedian.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\DGDecode.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\EEDI2.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\fft3dfilter.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\FluxSmooth.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\frfun7.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\hqdn3d.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\LeakKernelDeint.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\MaskTools.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\medianblur.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\MipSmooth.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\mvtools.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\NicAudio.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\RemoveGrain.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\SangNom.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\SimpleResize.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\TBilateral.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\TDeint.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\TIVTC.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\TomsMoComp.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\TTempSmooth.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\UnDot.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\UnFilter.dll")
LoadPlugin("D:\automkv\AutoMKV052\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("D:\automkv\AutoMKV052\exe\filter\mvbob.avsi")
Import("D:\automkv\AutoMKV052\exe\filter\QMF.avsi")
#importstart

#test2

movie = mpeg2source("D:\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.422222
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 = 720
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)

#resizestart

#test4

last=movie
LeakKernelDeint(order=1,sharp=true)
#filter2start

#test5

RemoveGrain(mode=2)
-----------------------------------------------------------------------
Script mkvmaudio.avs

LoadPlugin("D:\automkv\AutoMKV052\exe\filter\NicAudio.dll")
NicAC3Source("D:\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed Stereo downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
-----------------------------------------------------------------------
Script mkvmaudio.bat

"D:\automkv\AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^D:\temp\mkvmaudio.avs^)" | "D:\automkv\AutoMKV052\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\temp\audio.mp4"
-----------------------------------------------------------------------
Script mkvmaudio2.avs

LoadPlugin("D:\automkv\AutoMKV052\exe\filter\NicAudio.dll")
NicAC3Source("D:\temp\fixed2.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed Stereo downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
-----------------------------------------------------------------------
Script mkvmaudio2.bat

"D:\automkv\AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^D:\temp\mkvmaudio2.avs^)" | "D:\automkv\AutoMKV052\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "D:\temp\audio2.mp4"

- - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Will do another encode soon with x264 and check more on the deinterlacing thing, myself i also thought it could be deinterlacing..

weaver4
3rd December 2006, 19:11
While using the xvid_cq profile I get a message saying AVIMUx_BUII.ex has encountered a problem and needs to close.

I am using 52b.

Here is the log file.

0.52b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
Selected Input file: E:\Movies\RipDVDFab\MainMovie\X3\VIDEO_TS\VTS_01_0.IFO
Selected Output dir: E:\Movies\Output\temp\
Selected Container type: AVI
Selected Size: 1 CD
Selected Slice: 1
Selected Encoder: XviD
Selected Profile: XviD_CQ25.xml
Selected Width: 640
Selected Resizer: LanczosResize
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
NeroAACEnc.exe not present
Enabled CRF/CQ autoresize with value 2.5
Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
Audio Codec 1: Lame
Audio Quality 1: 4
Selected Unlimited media size
Starting Indexing
Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV052\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\RipDVDFab\MainMovie\X3\VIDEO_TS\VTS_01_1.vob] -OF=[E:\Movies\Output\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV052\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\Output\temp\fixed1.ac3" "E:\Movies\Output\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 349767936 bytes
Finished fixing audio delay
Encoding E:\Movies\Output\temp\fixed1.ac3 To Mp3 with 4 quality
Encoded 1' Audio Track: 109819992 bytes
ForcedFilm applied: 99.900002% FILM found
Number of Frames: 149751
Framerate: 23.976025
Movie lenght in Seconds: 6246
Movie Width: 720
Movie Height: 480
CQ encoding XviD: C:\Downloads\AutoMKV\AutoMKV052\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads\AutoMKV\AutoMKV052\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies\Output\temp\movie.avs" -type 2 -avi "E:\Movies\Output\temp\movie.avi"
Accepted values are between 697303040 and 741343232 bytes (movie+audio)
Got a file of size: 823331980 bytes + audio size 109819992 bytes (933152000)
Only Movie Size: 823331980 bytes
Final Muxed size: -1 bytes
Encoding finished: 05:38:51 elapsed time
-----------------------------------------------------------------------
Muxing Script
C:\Downloads\AutoMKV\AutoMKV052\exe\matroska\AVIMux_GUI.exe E:\Movies\Output\temp\muxavi

CLEAR
LOAD E:\Movies\Output\temp\movie.avi
LOAD E:\Movies\Output\temp\audio.mp3
SELECT FILE 1
ADD VIDEOSOURCE
SET INPUT OPTIONS
SET OPTION MP3 VERIFY CBR NEVER
SET OPTION MP3 VERIFY RESDLG OFF
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 0
RECLISTS 0
AUDIO INTERLEAVE 3 FR
AVI ADDJUNKBEFOREHEADERS 0
PRELOAD 200
WITH AUDIO
NAME 1 english
END WITH
OVERWRITEDLG 0
CLOSEAPP 1
DONEDLG 0
ALL AUDIO 1
LEGACY 0
RECLISTS 1
NUMBERING OFF
MAXFILESIZE OFF
END WITH
START E:\Movies\Output\temp\x3_full.avi
-----------------------------------------------------------------------
Script AutoCrop.log

Crop(0,60,720,360)
-----------------------------------------------------------------------
Script Resmovie.avs

-----------------------------------------------------------------------
Script movie.avs

LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\autocrop.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\blockbuster.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\cnr2.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\corrector.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\DctFilter.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\Decomb.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\Deen.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\DGDecode.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\EEDI2.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\frfun7.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\MaskTools.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\medianblur.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\mvtools.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\NicAudio.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\SangNom.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\TBilateral.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\TDeint.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\TIVTC.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\UnDot.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\UnFilter.dll")
LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\mvbob.avsi")
Import("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\QMF.avsi")
#importstart

#test2

movie = mpeg2source("E:\Movies\Output\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.185185
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 = 640
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)

#resizestart

#test4

LanczosResize(out_width,out_height)
#filter2start

#test5

RemoveGrain(mode=2)
-----------------------------------------------------------------------
Script mkvmaudio.avs

LoadPlugin("C:\Downloads\AutoMKV\AutoMKV052\exe\filter\NicAudio.dll")
NicAC3Source("E:\Movies\Output\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed Stereo downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
-----------------------------------------------------------------------
Script mkvmaudio.bat

"C:\Downloads\AutoMKV\AutoMKV052\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\Output\temp\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV052\exe\besweet\lame.exe" -v --vbr-new -h -S -V 4 - "E:\Movies\Output\temp\audio.mp3"
-----------------------------------------------------------------------
Script mkvmaudio2.avs

-----------------------------------------------------------------------
Script mkvmaudio2.bat


- - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

travisbell
3rd December 2006, 19:14
@travisbell

take a look at deint.log

what is the diagnosis ?

BHH

P.S big work in progress ... adding WMV9/VC1 :)

This what my deint.log...


BAutoDeint [info]: Number of sections of type `bff': 34
BAutoDeint [info]: Number of sections of type `tff': 722
BAutoDeint [info]: Number of sections of type `unknown': 288

Processing completed. Type is determined to be interlaced.
Field order is tff.


What's that mean? Shouldn't it have IVTC'd to 23.976fps?

And, I would be STOKED to see VC1... can do some encodes that play natively on the ol' Xbox 360!

Niiiiiice.

SeeMoreDigital
3rd December 2006, 19:38
Travis,

Are you able to provide a few hundred frames (or so) sample of your source?

travisbell
3rd December 2006, 19:44
Travis,

Are you able to provide a few hundred frames (or so) sample of your source?

P.S. I did an encode of this same source last week (I am testing some filters) and it DID drop it down to 23.976... seems that it might be something with the latest version of AutoMKV...

Here's a sample...

http://consumeroo.com/files/memoirs.of.a.geisha.1080i.test.ts

Thanks man,

buzzqw
3rd December 2006, 19:55
@crashed
your movie.avs is correct for me... please open in virtualdub and spot (if present) the error. But i doubt it is present.

Maybe something goes crazy with xvid_encraw..., you can also try launch from dos box the command line of first pass.

@weaver4

open avimux_gui and put your encoded files, then start mux... will avimux_gui crash again ?
I don't know what can be... is only an xvid and mp3 file :(

@travisbell

no, for autodeint is only interlaced NOT to ivtc... i leave the ball to someone more expert with those files (i am happy Progressive PAL man...)

Pay atteintion previus versions of automkv will not finish to analyze the file (bug into bdautodeint.exe) . Now is fully fuctional

@all

WVC1 is going good. but is slow as hell ! you will need the windows media player 11 or windows media studio beta or wvc1dmo.exe (search Zambelli posts)

buzzqw
3rd December 2006, 20:10
@travisbell

your sample is too short, at least for bautodeint

AutoDeint [info]: Number of sections of type `unknown': 9
BAutoDeint [info]: Number of sections of type `interlaced': 18
BAutoDeint [info]: There are 0 sections with 0 frames moving.
BAutoDeint [info]: There are 3 sections with 1 frames moving.
BAutoDeint [info]: There are 0 sections with 2 frames moving.
BAutoDeint [info]: There are 1 sections with 3 frames moving.
BAutoDeint [info]: There are 4 sections with 4 frames moving.
BAutoDeint [info]: There are 18 sections with 5 frames moving.

Processing completed. Type is determined to be unknown.

please post around 1500 frames

thanks !

BHH

travisbell
3rd December 2006, 20:12
@travisbell

no, for autodeint is only interlaced NOT to ivtc... i leave the ball to someone more expert with those files (i am happy Progressive PAL man...)

Pay atteintion previus versions of automkv will not finish to analyze the file (bug into bdautodeint.exe) . Now is fully fuctional

Yeah, I understand that but what is IVTC'ing the source before? Whatever _was_ doing it before doesn't seem to be doing it now. That's the bottom line... I have done about 12 720p encodes from 1080i sources, and all of them come out of AutoMKV @ 23.976fps when the 1080i source was 29.976 fps... until the latest version anyways.

Does that make sense?

SeeMoreDigital
3rd December 2006, 20:40
Hi Travis,

Thanks for providing a snippet of your source.... From what I can see, it does not contain any "progressive" frames. They are all interlaced :eek:

travisbell
3rd December 2006, 20:42
Here's a larger sample that has over 1500 frames...

http://consumeroo.com/files/memoirs.of.a.geisha.1080i.test2.ts

Thanks!

SeeMoreDigital
3rd December 2006, 20:59
Well for my puposes it does not matter if you provide 405 frames or 1500.... All 29.970 frames are interlaced.

EDIT: Here's a segment taken from a frame: -

http://img118.imageshack.us/img118/1131/memoirsofageishaug5.png


Cheers

buzzqw
3rd December 2006, 22:15
@travisbell

i have update the TIVTC.dll in latest stable... try downgrading TIVTC.dll with rc4

BHH

crashed
3rd December 2006, 22:24
As you expected it was xvid encraw, any idea what it could be? (fresh installation, frameworks, avisynth, xvid (koepis) installed)

http://www.alcs.ch/errorxvidencraw.JPG

buzzqw
3rd December 2006, 22:29
@crashed

try downgrading the xvid_encraw build, with ones when aviwriter is not needed.

if you cut down a snippet is the problem "reproducible" ?

if so mail me a link, i will ping squid_80

BHH

crashed
3rd December 2006, 22:58
do you have a link to an xvid_encraw build that i should try?

what you mean down by cut down a snippet?

reproducable: well atm it crashes every time, did another 4 encodes, using different settings...

crashed
4th December 2006, 00:01
well it seems the xvid_encraw build included in your build crashes whenever started. But the build from http://forum.doom9.org/showthread.php?t=98469 seems to work, will report back...

weaver4
4th December 2006, 01:03
I am not sure if this helps, but I selected a directory called e:\movies\output as the output directory. Your program created a new directory in that directory called temp. I can not rename, delete or view the contents of that directory...access denied. So I cannot even add the files to the avimux_gui utility manually to test it.

travisbell
4th December 2006, 01:11
@travisbell

i have update the TIVTC.dll in latest stable... try downgrading TIVTC.dll with rc4

BHH

Alright, I grabbed the TIVTC.dll from the 0.51 release (RC6 I believe) and it is working properly. Looks like it's a RC9 bug. I will post about this on the proper forum thread for TIVTC.

Thanks man! I might suggest rolling back to RC6 in your stable releases though.

Cheers,

buzzqw
4th December 2006, 08:58
@weaver4
just kill automkv and temp directory will be free (i must check what handle lock it...)

@travisbell

THANKS for suggestion !

@crashed

mmm... for me is working (the 0.52 build of xvid_encraw) and not only for me... i will indagate

BHH

crashed
4th December 2006, 10:20
Its really weird, your build crashes on that pc im using to encode every time i start it, your xvid_encraw wont crash on any other machines though. I really dont know what the reason is though. The build that i downloaded (http://forum.doom9.org/showthread.php?t=98469) now runs smoothly. The xvidencraw from celticdruids (http://esby.free.fr/CelticDruid/mirror/XviD/ also works. But when runing the first pass line, it wont encode, ill only get the options display:
(gona run another test to see if i made a mistake though... but the crash of your build is certain on that machine)
http://www.alcs.ch/xvidencrawdoingnothing.JPG

crashed
4th December 2006, 11:09
test just ran without errors using the celticdruids version of xvid_encraw. Doing an encode with different angle subs, 2 soundtracks and xvid slow now, using that build of celticdruid.

buzzqw
4th December 2006, 13:09
@crashed

so using celtic-druid build is fine for both passes ?

BHH

weaver4
4th December 2006, 14:34
@weaver4
just kill automkv and temp directory will be free (i must check what handle lock it...)

BHH

I had already tried that and it did not work. I had to reboot my computer.

buzzqw
4th December 2006, 14:43
sorry pal but that is impossible ! (or at least a bug within windows...) if you kill automkv all handle will be free

anyway...

UPDATE www.64k.it/andres/data/a/AutoMKV060.rar

THIS IS AN EXPIRIMENTAL BUILD JUST TO ADD WVC1 SUPPORT.

un-rar into automkv folder. be sure that you have all prerequisite to encode in wv1 (quick way is to have installed windows meda player 11)

BHH

weaver4
4th December 2006, 15:49
There may have been another process that I did not know about that was running. Would avimux_gui cause it? Oh well I got it now.

I am trying it again now.

crashed
4th December 2006, 16:09
@buzzqw

I'm still running this test, but at the moment celtigdruid's xvidenxcraw works perfectly fine. I am on the second pass right now, 50% through, but will report once movie is done encoding

weaver4
4th December 2006, 16:29
As long as you are adding stuff, can you add the DivX codec?

SeeMoreDigital
4th December 2006, 16:41
As long as you are adding stuff, can you add the DivX codec?DivX :devil:

Personally I don't like the idea as DivX's encoder is VfW (not command line) based.

At least with XviDEncRAW, MPEG-4 part 2 has the capability of been encoded and muxed correctly into MP4 :D

buzzqw
4th December 2006, 16:55
Personally I don't like the idea as DivX's encoder is VfW (not command line) based.

me too, and since i don't want to add wfv support (even if wouldn't be so difficult) DivX stay OUT.

At least with XviDEncRAW, MPEG-4 part 2 has the capability of been encoded and muxed correctly into MP4

Is preferible encode XviD stream directly into mp4 ? or don't change so much if i encode in avi and then mux mp4/mkv ?

BHH

weaver4
4th December 2006, 17:15
DivX - That was kind of the response that I thought I would get. But I though if you were doing wvc1, you would do anything. Maybe we need a DivX-encraw?

But it was fun.

SeeMoreDigital
4th December 2006, 17:18
me too, and since i don't want to add wfv support (even if wouldn't be so difficult) DivX stay OUT.Well that's a relief :)

Is preferible encode XviD stream directly into mp4 ? or don't change so much if i encode in avi and then mux mp4/mkv ?Yes....

From what I understand it's prefeable to generate an MPEG-4 Part-2 stream in its "elementary" or "RAW" (.M4V or .CMP) format, prior to muxing directly into MP4. In much the same way an MPEG-4 Part-10 stream is encoded into its "elementary" .h264 format prior to muxing directly into MP4.

That said, I don't know if there are any tools that allow for the muxing of "elementary" .M4V or .CMP streams into AVI... But (selfishly) - I'm not really bothered.... .AVI has had it's time!


Cheers

weaver4
4th December 2006, 18:21
I am still having problems with AVIMUX_gui in 0.52b. Everything runs fine, I have a good video.avi file and a good audio.avi file. So everything has been working in the temp directory. When avimux_gui starts I get an error that the program must quit and the directory is locked. No files in the directory can be deleted or copied. The last time I shut down and restarted the computer all the files in the temp directory were gone when I came back to look at them.

This problem did not occur in version 0.51.

glynor
4th December 2006, 18:49
A few very minor usability niggles...

1. When you first open AutoMKV currently defaults the Input File browse location to it's install directory (after you browse and locate your file it then remembers where it was until next time you close and reopen the app, of course). Since I, and probably most people, do their encoding in the same work folder on their hard drive, it would save some time if AutoMKV remembered which folder it last used even after you close/reopen the application. Currently, for me, browsing to my "work directory" is probably one of the slowest parts of using the GUI.

2. If you click the browse button for Select Input File and then hit cancel, the app reports "Attention - Low Disk Space or Read Only Destination" in a pop-up error dialog.

3. The Save Setting button doesn't seem to save the Custom Matrix setting.

Love the new stuff (especially the new temp directory)! Keep up the good work!

buzzqw
4th December 2006, 19:17
@weaver4

first tip: uncheck delete temporary files

the read this http://forum.doom9.org/showthread.php?p=885142#post885142
and this http://forum.doom9.org/showthread.php?p=886694#post886694

AND THEN THIS http://forum.doom9.org/showthread.php?p=887285#post887285

seems a problem of this matrix ???

don't know... on my side xvid_slow.xml is working

@glynor

i will analyse your suggestion ! thanks !

BHH

crashed
4th December 2006, 19:40
Succsessfully encoded the dvd with celtic-druid's xvid_encraw! so that build seems to work without crashing =)

And btw, holy, the quality is so much better =)

But one problem i have encountered. The input was 16:9, the output was 4:3 so everything was squeezed together. This even though i disabled resizing, why is it that the ratio is wrong then? It worked with x264...

SeeMoreDigital
4th December 2006, 20:32
Succsessfully encoded the dvd with celtic-druid's xvid_encraw! so that build seems to work without crashing =)

And btw, holy, the quality is so much better =) The only XvidEncRAW build I could find Celtic_Druid's web site is dated: 12-Jul-2006 20:16 (75k)... Is this the one you're referring to?


Cheers

weaver4
4th December 2006, 20:45
I will try with another matrix/profile but:
> It is not crashing in xvid_encraw
> I am using the same matrix as I did in 0.51 without problems

buzzqw
4th December 2006, 20:53
But one problem i have encountered. The input was 16:9, the output was 4:3 so everything was squeezed together. This even though i disabled resizing, why is it that the ratio is wrong then? It worked with x264...

if you use x264 then you can mux into mp4 or mkv.. and with this container i pass the AR to command line muxing

thanks for your test ! next full package will include the CD build (and so no aviwriter.dll and xvid_encraw of squid_80)

BHH

glynor
4th December 2006, 21:08
Regarding the Temp folder...

With build 0.52b it doesn't seem to be moving the final file out of the temp folder to the proper destination folder when it finishes (the log file is in the destination, as it should be), if you change the output file name from the default "movie". Even worse, if you have Del Temp File selected, it happily deletes your output file along with all the other files in the temp directory! :scared:

I doubt that it makes any difference, but I'm using:

Container: MP4
Codec: X264
Profile: multiple CE profiles tested
Audio track 1: NeroAAC, stereo, Qual 0.50
Audio track 2: None
Subs: None
Resizers: BicubicResize (neutral)
Resizer Width: Auto
Filters: RemoveGrain(mode=2), also tested with Convolution3D
Output File Size: custom size, single file
Movie Name: "test" and "movie" tested among others
Custom Matrix: None or eqm_avc_hr
Everything else default

EDIT: On a completely separate note (and I know the rules -- I'm only asking about resizers):

I'm generally encoding NTSC MPEG-2 files recorded by BeyondTV (along with some DV files I recorded myself), and I generally want to keep them full resolution but have the AR corrected. I've been setting it to Resizer Width = 720, and using BicubicResize (neutral). Is this probably the best method? What is generally considered to be the best resizing method for most non-anime type media balancing speed and quality (or are they not significantly different in speed with modern CPUs)?

If there's a definitive posting on this, can someone point me towards it? I've searched but I'm tiring of wading through tons of useless/conflicting stuff.

crashed
4th December 2006, 23:16
The only XvidEncRAW build I could find Celtic_Druid's web site is dated: 12-Jul-2006 20:16 (75k)... Is this the one you're referring to?

yes thats the one

But one problem i have encountered. The input was 16:9, the output was 4:3 so everything was squeezed together. This even though i disabled resizing, why is it that the ratio is wrong then? It worked with x264...

That problem was solved when i used autoresizing on automatic using simpleresize. But it should get the aspect ratio right without resizing, no?

Now guess what happened, when i used autoresizing, the vertical black lines apeared on the door again, no deinterlacing was used this time. (The ones that you can see on the screenshot i posted a few days ago) So cant be deinterlacing or a codec specific problem. So i am guessing its the resizer that creates those vertical lines, is that possible?

Doing a test with lancosresize now...

travisbell
5th December 2006, 01:13
Eee.... and with the latest version it just deleted ALL of the movies within the directory... *blink-blink*

It's good thing I didn't have anything too, too important in there...

travisbell
5th December 2006, 02:15
RE: WMV support...

When I throw a .ts source at AutoMKV and attempt to encode a WMV (I know, I know it's alpha!) I get the following...

http://consumeroo.com/files/automkv-wmv1.png

Is that normal?

One last thing,

Here's my log,

http://consumeroo.com/files/memoirs.of.a.geisha.1080i.test2.ts.log

What I am noticing, is the auto-cropping is doing it's job a little too well... it's cutting in to atleast 25% of the picture leaving a 1280px wide movie, but only a 448px tall.

Does anyone have any idea why it's doing this?

EDIT: WMV support seems to work well, I have tested 4 different files and so far I like the results. Too bad it's about half the fps I get with x264... :(

Any idea when you'll have WMA 10 with 5.1 audio working?

buzzqw
5th December 2006, 14:07
hi all !

i am ready to publish a new full package with the wvc1 support (and bug fixing... thanks to all !)

i will include xvid_encraw from CD and remove the squid_80 build.

I will wait till Tritical publish new TIVTC.dll that fixed ivtc problem.

about wmv and 5.1 audio: i have open a thread. For me isn't working but i hope for a solution

best regards

BHH

weaver4
5th December 2006, 14:30
Here is what I found.

If I use a directory like c:\Test or e:\AMKV-out as my output directory it would not fail if I used e:\Movies\Output as the output directory the AviMux_Gui would come back with an exception and then quit. This is when I did not delete the temp files and the movie name was "movie". Using AviMux_Gui manually worked fine.

I am using the XviD-CQ profile. And when I get though the "movie.avi" (without audio) is in the Output directory and the "movie_full.avi" file is in the Output/temp directory, exactly backwards.

SeeMoreDigital
5th December 2006, 14:31
How about opening a new thread for your new build and asking Bond to close this one?

I'm of the opinion that new users (to any application) are either too lazy or frightened away if they see long threads.... Breaking the development of an application down into more manageable chunks seems a better alternative ;)

SeeMoreDigital
5th December 2006, 15:26
Hi Buzz,

Good news.... Neuron2 is working on a fix for DGIndex when importing .TS streams like the one Fogbav tried to encode from.

http://forum.doom9.org/showthread.php?p=912735#post912735

Maybe his proposed beta could be incorporated into your proposed beta ;)

buzzqw
5th December 2006, 15:39
i think it too (open a new thread)

Since i ufficially add wvc1 i think that more user will be interested...

and btw i need help on tuning wmv profiles

a BIG :thanks: to all for yours support

BHH

travisbell
5th December 2006, 16:32
buzzqw:

What are the difference between the "quick" and regular WMV profiles?

buzzqw
5th December 2006, 16:58
video codec: normal profiles use wvc1, quick uses wmv9
audio codec: normal profiles use wma pro, quick uses wma standard

on quick profile:
lookahead is disabled (Sets the number of frames to evaluate ahead for rate control optimization)
only 2 bframes used as reference
dquantoption (Specifies the type of frames to apply dquant perceptual optimization to) is disabled
loopfilter (controls the in-loop deblocking filter) is disabled
mvcost (Specifies the motion vector cost method ) is fixed

on standard profile:
lookahead is at 8
3 bframes used as reference
dquantoption is applyed to I and P frames
loopfilter is active
mvcost is dinamic

thats all folks

BHH

travisbell
5th December 2006, 17:31
Thanks man! Perfect.

About the WMA 5.1 stuff, I too have had trouble in the past with it... a lot of it seems to come down to your codec setup.

On a side, possibly helpful note, I know with WME Assistant you have to follow this:

http://galaxies3000.blogspot.com/2006/11/how-to-use-wmea-encode-5.html

Cheers!

sjchmura
5th December 2006, 20:39
5.1 will NOT work with AC3filter if you have the Dolby digital live encoding set (output SPDIF). I am having a hell of a time getting it to work.

Can I suggest... is could we specifiy in a script or somewhere WHICH DS filter is used for audio.... that we if we have say NERO set to 6 channel output as a secondaty filter audomkv will use that (like ProCoder does)

buzzqw
7th December 2006, 15:41
NEW FULL PACKAGE www.64k.it/andres/data/a/AutoMKV062.rar

0.62
FIXED: command line use (broken with 0.52b)
FIXED: Muxing into mp4
FIXED: some bugs on temp locked (not all locks is fixed)
ADDED: When save settings is clicked (and input source is valorized) automkv will memorize latest directory of input
ADDED: Save Settings now save custom matrix selected
ADDED: Support to WVC1 (Microsoft VC1 implementation, http://www.microsoft.com/windows/windowsmedia/howto/articles/codecadvancedsettings.aspx)
reference: http://forum.doom9.org/showthread.php?t=112634 )
troubleshotting install support thread: http://forum.doom9.org/showthread.php?t=118996
profile support thread: http://forum.doom9.org/showthread.php?t=119084
ADDED: support for WMV8 (much quicker, a good tradeoff between quality and speed, more tuned for speed)
UPDATE: TIVTC to rc10, this will fix all bautodeint issue
UPDATE: WMV Profile to 1.3

NOTE: while i have added support for 5.1ch on wmv i cannot test it since it always crash... sorry. i hope for input

Happy Encoding

BHH

EDIT: update to 0.62a removed framerate from cmd of wmv ... could cause problem with ivtc files http://www.64k.it/andres/data/a/AutoMKV062a.exe

glynor
7th December 2006, 17:33
NEW FULL PACKAGE
ADDED: When save settings is clicked (and input source is valorized) automkv will memorize latest directory of input
ADDED: Save Settings now save custom matrix selected


Thank you!!! This works great.

I also noted that the final file is now moved properly regardless of the output name (perhaps this was due to the temp file locking issues you fixed). Either way... Looking good so far.

One small caveat... The very first time I used this build, it crashed (AutoMKV errored and closed) just as the BAutoDeint.exe process started. I have not been able to reproduce the error with identical settings thus far though so... :confused:

SeeMoreDigital
7th December 2006, 17:57
Well that's a relief :) That said, I don't know if there are any tools that allow for the muxing of "elementary" .M4V or .CMP streams into AVI... But (selfishly) - I'm not really bothered.... .AVI has had it's time! I've just remembered that it is possible to use MP4Box to de-mux MPEG-4 Part-2 (video only) streams from the .MP4 container directly into the .AVI container...

Thus providing the more elegant opportunity of configuring AutoMKV to encode RAW MPEG-4 .M4V streams directly into the .MP4 container first, instead of into .AVI and then into .MP4 :)


Cheers

DDogg
7th December 2006, 18:19
Quick reminder to move and put neroAacEnc.exe in your BeSweet directory if you create a new directory for version 62. I always forget to do this.

buzzqw
7th December 2006, 19:01
i've just remembered that it is possible to use MP4Box to de-mux MPEG-4 Part-2 (video only) streams from the .MP4 container directly into the .AVI container...

The official build of xvid_encraw that i am now using, not the squid_80 that seems to crash often... on my pc too, doesn't has the mp4 output... just avi and mkv

at now i will not return to squid80 build's, but if mp4 output will be official integrated i will be glad to encode xvid directly into mp4 :)

BHH

SeeMoreDigital
7th December 2006, 19:20
The official build of xvid_encraw that i am now using, not the squid_80 that seems to crash often... on my pc too, doesn't has the mp4 output... just avi and mkvDon't all xvid_encraw builds output raw/elementary MPEG-4.M4V streams?

If so, these raw/elementary MPEG-4.M4V streams can be muxed into the MP4 container using MP4Box.

By-the-way..... It's also possible to mux MP3 audio streams into the MP4 container using MP4Box too :)

buzzqw
7th December 2006, 19:38
Don't all xvid_encraw builds output raw/elementary MPEG-4.M4V streams?
If so, these raw/elementary MPEG-4.M4V streams can be muxed into the MP4 container using MP4Box.

that's a good point :) (but... anyway... since this thread isn't the usual wfv Vs xxx ... i will look at this implementation and if i found any advantages over avi into mp4 Vs m4v into mp4 it will be supported)

By-the-way..... It's also possible to mux MP3 audio streams into the MP4 container using MP4Box too

i know... and automkv too.. is allowed to select xvid into mp4 with mp3 audio... :confused:

BHH

Barleyman
8th December 2006, 08:57
I found a few issues on my 1st try with 0.62 (and automkv in general) ..

I made a 100MB test file from a DVD-rip with Project-X for playing around. I'm trying to make original resolution anamorphic XVID out of it (without black bars)

Some issues:

ProjectX makes "m2p"-files which are just regular mpeg2. AutoMKV chokes on these.
ProjectX also likes to add [] to the filenames. Ditto.
If I set no resize and un-tick the "use CFR"-line in advanced setup, DGindex stays open and doesn't do anything.
Building CQ XVID for AVI (Q=3) yields expected results. Building CQ XVID for MKV yields really really crummy quality (22MB vs 3.5MB output).


I'll post some logfiles in the evening if necessary..

Some questions/comments -
How does the autocrop function? The MPEG-file is 2.35 aspect ratio so it's 720x576 16/9 file with black bars. Sometimes the autocrop decides to cut the black bars away, sometimes not. I have disabled resizing since I'm trying to make original resolution anamorphic files..

Does the bitrate-line do anything with CQ profile?

What filter (if any) to use for DVD-rips with Q=3 no resize unlimited CQ profile?

If I adjust the profile in the advanced profile view, is the original profile file modified?

..

This fine product badly needs some guide/docs.. There's piles of docs for various components in the "docs" folder which are just confusing and none of which actually describes automkv? I waded through all 400 messages last night and for example the only place where the xvid profiles are documented is some 5 pages ago in this thread..

I'm actually pretty good at writing docs but obviously I don't know autoMKV well enough to write any user's guide for it (yet)

buzzqw
8th December 2006, 09:28
As usual the log files is always needed !

I'm trying to make original resolution anamorphic XVID out of it (without black bars)

if so leave resizer to anything but NONE and set width to 720-backbars value (or better leave Automatic in width)

ProjectX makes "m2p"-files which are just regular mpeg2. AutoMKV chokes on these.

i doubt that automkv chokes on this mpeg files since the hard work, indexing, (after demuxing) is demanded to Dgindex. And i never found an mpeg2 that can cause dgindex to hang.
Please post a link to a sample of this file.

ProjectX also likes to add [] to the filenames. Ditto.

I don't know (never found this issue).... but i think that this brachet are presents even in original file names AND DGinxed gives a special value to these [ ] character.
Again, is true, try with a file name without [ ]

If I set no resize and un-tick the "use CFR"-line in advanced setup, DGindex stays open and doesn't do anything.

as before. check file name

Building CQ XVID for AVI (Q=3) yields expected results. Building CQ XVID for MKV yields really really crummy quality (22MB vs 3.5MB output).

that's impossible since the encoding part is the same for every container. i think that something goes wrong before.

Does the bitrate-line do anything with CQ profile?

no, is totaly ignored

What filter (if any) to use for DVD-rips with Q=3 no resize unlimited CQ profile?

i like dctfilter and Hqdn3d

If I adjust the profile in the advanced profile view, is the original profile file modified?

should... i must check...

about guides... is is needed i try to work asap...

BHH

Barleyman
8th December 2006, 09:42
i doubt that automkv chokes on this mpeg files since the hard work, indexing, (after demuxing) is demanded to Dgindex. And i never found an mpeg2 that can cause dgindex to hang.

It's just the filename it objects to! I rename "m2p" to "mpg" and it works just fine.

I don't know (never found this issue).... but i think that this brachet are presents even in original file names AND DGinxed gives a special value to these [ ] character.
Again, is true, try with a file name without [ ]

Yup, renaming works. Just reporting the issue.. I'll check the rest of the stuff when I get home (with friday night pub, that might be a while)

buzzqw
8th December 2006, 09:47
arghhh i am hating the crf/cq profiles !!!!

the xvid_encraw of Celtic-Druid doesn't include the possibility to build a stats file on single pass bitrate ... this will cause automkv to hung when using CQ mode with Hit Media Size !!!

to fix it do this

update automkv www.64k.it/andres/data/a/AutoMKV062b.exe
this build fixes also the "use this profile" bugs reported by Barleyman

and THEN PUT xvid_encraw.exe and aviwriter.dll (squid_80 build) into \exe\encoder folder BUT rename the xvid_encraw.exe of squid_80 to xvid_encraw2.exe

sorry.

BHH

EDIT: @Barleyman this build will accept m2p produced by projectX !

EDIT2: full changelog
FIXED: CQ profiles with XviD when hitting Hit Media Size. PUT xvid_encraw.exe and aviwriter.dll (squid_80 build) into \exe\encoder folder BUT rename the xvid_encraw.exe of squid_80 to xvid_encraw2.exe
FIXED: Use this profile will not fuction with XviD profiles
FIXED: ProjectX sometime demux to .m2p not to m2v...

Barleyman
8th December 2006, 09:59
if so leave resizer to anything but NONE and set width to 720-backbars value (or better leave Automatic in width)

That was fast build turnaround!

Now about this cropping.. The DVD video size is 720x576, out of which actual image size is 720x454 (453?).

What's the correct procedure to get 720x454 file (cut/cropped, not scaled)? I need to have a resize filter active to do that? Won't that process the video thru the filter at 1:1 scaling? Is this even possible to do reliably in CQ/single pass profile?

Is it necessary to use manual cropping?

Barleyman
8th December 2006, 10:02
FIXED: ProjectX sometime demux to .m2p not to m2v...

This happens when I cut advertisements from DVB captures. There's no reason to demux the file and in fact with Finnish DVB audio gets out of sync if I demux. Quickstream fix with videoredo is a necessary step to get in-sync xvid-file..

So the m2p-file is just ordinary mpeg2 Ps-file with video and audio.

buzzqw
8th December 2006, 10:06
no need manual cropping.

just set with to 720 and on advanced setting better to check Force ITU Resing and Anamorphic Encoding

So the m2p-file is just ordinary mpeg2 Ps-file with video and audio.

i know this... but automkv searched for *.m2v not for *.m2p that's the problem !

is now fixed if you download the new 0.62b (395.776 byte)

BUT why you don't use only dgindex ?

BHH

Barleyman
8th December 2006, 10:11
BUT why you don't use only dgindex ?
BHH

To do what? Cut ads from DVB captures? I'm used to ProjectX I suppose! I even have bought VideoRedo but I prefer ProjectX cutting interface.

For this test file I just wanted to take 2 minute snippet of a 2.5 hour movie so I can play with settings and see the results in a minute or so. ProjectX seemed to be the right tool for some quick mpeg-cutting

buzzqw
8th December 2006, 10:21
:confused:

automkv will use projectX only to demux... not for cutting or whatelse..

and automkv can use or dgindex or projectX to demux TS streams for own encoding pourpose

BHH

Barleyman
8th December 2006, 11:01
Okay, this is what I do when I record DVB.


Record show with PVR
Transfer mpg from pvr to PC
cut ads with ProjectX, convert TS to PS
Clean resulting mpg stream with VideoRedo
Compress the ad-free mpeg file to XVID
burn to DVD and take with me on business trips etc


That's why it'd be nice if AutoMKV can deal with ProjectX-style filenames.

buzzqw
8th December 2006, 11:12
Compress the ad-free mpeg file to XVID

if you use dgindex and not projectx have you got some errors while indexing ? (and remember to keep-out [])

BHH

glynor
8th December 2006, 15:42
Compress the ad-free mpeg file to XVID
burn to DVD and take with me on business trips etc



Just curious... Is there a reason you're using XviD as opposed to x264? Do you need the files to play on a set-top box or something?

Barleyman
8th December 2006, 16:09
Just curious... Is there a reason you're using XviD as opposed to x264? Do you need the files to play on a set-top box or something?

Xbox + xbmc.

glynor
8th December 2006, 16:43
Ahhh.... IC.

fogbav
8th December 2006, 17:39
Still no go with AC3/MP2/mp2 in TS file .... AC3 is demuxxed correctly with ProjectX but audio1.mp4 is only 5 KB in Size ... 8(

I think it has to do with bepipe or delaycut fixed1.ac3 is not generated ... even the file is not there only fixed2.mp2 and fixed3.mp2 ... will try to find the error ... hold on ..8)

SeeMoreDigital
8th December 2006, 19:04
Still no go with AC3/MP2/mp2 in TS file .... AC3 is demuxxed correctly with ProjectX but audio1.mp4 is only 5 KB in Size ... 8(

I think it has to do with bepipe or delaycut fixed1.ac3 is not generated ... even the file is not there only fixed2.mp2 and fixed3.mp2 ... will try to find the error ... hold on ..8)I had another look at that source today with the new beta build of DGIndex (which is now able to open and de-mux the streams)... I think the problem may be associated with DelayCut

fogbav
8th December 2006, 19:27
Thanx SMD !

One Question : Is Delay cut nessesary when ProjectX has already demuxed the Audio Video ?

Never had Sync-Problems in the past when directly enconding Audio video and then muxxing with mp4box.

MayBe a new "Switch" is a good idea ...

[] do not Delaycut AudioTracks

8)

SeeMoreDigital
8th December 2006, 19:33
One Question : Is Delay cut nessesary when ProjectX has already demuxed the Audio Video ?Possibly not, with Project X.... But yes with DGIndex...

fogbav
8th December 2006, 23:05
also getting following error when muxing.bat is started :
D:\ACE3.0\tmp\temp>"D:\ACE3.0\exe\matroska\mp4box.exe" -add "D:\ACE3.0\tmp\temp\
movie.avi":par=2.415094 -chap "D:\ACE3.0\exe\chapters.txt" "D:\ACE3.0\tmp\temp
\audio1.mp4" -add "D:\ACE3.0\tmp\temp\audio2.mp4" -add "D:\ACE3.0\tmp\temp\aud
io3.mp4" -fps 25.000000 "D:\ACE3.0\tmp\temp\movie.mp4"
Error - 2 input names specified, please check usage


Is there a -add missing at first audio track ?

SeeMoreDigital
8th December 2006, 23:39
By-the-way FogBav,

What application did you use to capture the ".TS sample" you provided? It's a bit odd because it does not have any PAT/PMT Table information!

Are all your captured streams like this?

fogbav
9th December 2006, 09:24
Yes SMD,
i think it has to do with the DBOX2 from Nokia, its the most established receiver here in germany.

I am capturing with WinServer, but i can try ll the other programs i tried before ... 8)

How can i detect if a TS stream is good (which program) ?

buzzqw
9th December 2006, 10:19
update www.64k.it/andres/data/a/AutoMKV062c.exe

ADDED: is now possible to deny the use of DelayCut (advanced setting), default value is to use
ADDED: use of delaycut in Save Settings
FIXED: muxing more that one audio into mp4

EDIT: FIXED: one possible crash on wmv when audio is multichannel

BHH

SeeMoreDigital
9th December 2006, 11:24
How can i detect if a TS stream is good (which program) ?MPEG-2Repair, HDTVtoMPEG2 and DGIndex (v1.4.8 Final) are all capable of indicating there's a problem with the .TS source

http://img228.imageshack.us/img228/3824/mpeg2repairxc0.png

http://img134.imageshack.us/img134/7352/hdtvtompeg2ue6.png

http://img228.imageshack.us/img228/681/dgindexud5.png

However, DGIndex is able to provide more information ;)

fogbav
9th December 2006, 18:42
Thanx @all ...8)

Will test what i can ...8)

Happy evening ...

FoGBaV

Nico.Laus.2001
9th December 2006, 19:58
there's one tiny GUI improvement I'd like to have in AutoMKV if it's possible...
when recording ts streams with my dbox2 I've got sometimes the problem that autogk as well as automkv do not use the audio tracks I'de like to - I don't know if that's a problem with DGIndex or with the ts files - and it does not really matter
-> to get around this problem, it would be nice to be able to choose the audio tracks as (seperate) files from harddisk (demuxed with projectx or anything else before) instead of only choosing between the files integrated into a container?

travisbell
9th December 2006, 22:07
Hey guys,

I grabbed the latest versions of everything and now when I try to encode WMV, I get this error:

http://consumeroo.com/files/wmv-error.png

I have the VC1 codec installed (WM 9.5 SDK + WMP11) ... not really sure what to check. Anyone got an idea?

Barleyman
9th December 2006, 23:49
Played around a bit with .62c, can't make it do anything, thought.

For MKV, no files and strange error message. For avi, same error message and crash in the avi muxer.

Tried playing a bit with advanced settings but no effect.

travisbell
10th December 2006, 01:09
OK, after some more testing, like you buzzqw were saying, the WMV enocder crashes when I attempt to encode 5.1 WMA audio... if I take her back down to stereo, everything encodes properly.

I wonder how we can nail this problem down?

buzzqw
10th December 2006, 09:20
@Nico.Laus.2001

it is already possible :)

just demux your ts file to m2v (video) and mpa/ac3 (audio) elementary streams

Open AutoMKV, as input choose the m2v file, automkv will ask to browse for till 2 audio files. Make your choice or click cancel at seconda audio track.

@Barleyman

post the log, attachment need to be approved... and some days could pass before it happen

@I wonder how we can nail this problem down?

i want to know too :mad:

BHH

Barleyman
10th December 2006, 10:10
All righty then, just wanted to avoid spamming with pages worth of text..

MKV log first..
00:29:50 0.62c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:29:50 Selected Input file: D:\Movies\Deadwood.m2p
00:29:50 Selected Output dir: D:\Movies\temp\
00:29:50 Selected Container type: MKV
00:29:50 Selected Encoder: XviD
00:29:50 Selected Size: 2200
00:29:50 Selected Slice: 1
00:29:50 Selected Profile: XviD_CQ.xml
00:29:50 Selected Width: 720
00:29:50 Selected Resizer: NONE
00:29:50 Selected Filters: DctFilter(1,1,1,1,1,1,.5,0)
00:29:50 Selected Deinterlacer: AUTO
00:29:50 NeroAACEnc.exe not present
00:29:50 Enabled CRF/CQ autoresize with value 3
00:29:50 Track Language 1: MPEG Audio Stream 0
00:29:50 Audio Codec 1: Lame
00:29:50 Audio Quality 1: 6
00:29:50 Activate Force ITU Resizing
00:29:50 Activate Anamorphic Encoding
00:29:50 Selected Unlimited media size
00:29:50 Starting fixing audio delay on track number 1
00:29:50 Finished fixing audio delay
00:29:50 Encoding D:\Movies\temp\ To Mp3 with 6 quality
00:29:52 Encoded 1' Audio Track: 625 bytes
00:29:52 ERROR - There are some problem with movie lenght! Try parsing D2V file
00:29:52 Number of Frames: 0
00:29:52 Framerate: 25.00000
00:29:52 Movie lenght in Seconds: 1
00:29:52 Movie Width:
00:29:52 Movie Height:
00:29:54 Order: 1
00:29:54 CQ encoding XviD: D:\Incoming\AutoMKV062\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Incoming\AutoMKV062\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\Movies\temp\movie.avs" -type 2 -avi "D:\Movies\temp\movie.avi"
00:29:55 Accepted values are between 2191523840 and 2329935872 bytes (movie+audio)
00:29:55 Got a file of size: -1 bytes + audio size 625 bytes (624)
00:29:55 D:\Incoming\AutoMKV062\exe\matroska\mkvmerge.exe -o "D:\Movies\temp\movie.mkv" --aspect-ratio 1:16:9 --chapters "D:\Incoming\AutoMKV062\exe\chapters.txt" "D:\Movies\temp\movie.avi" --language 0:und "D:\Movies\temp\audio.mp3"
00:29:56 Final Muxed size: -1 bytes
00:29:56 Encoding finished: 00:00:06 elapsed time
00:29:56 -----------------------------------------------------------------------
00:29:56 Script AutoCrop.log
00:29:56
00:29:56 -----------------------------------------------------------------------
00:29:56 Script Resmovie.avs
00:29:56
00:29:56 -----------------------------------------------------------------------
00:29:56 Script movie.avs
00:29:56
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\autocrop.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\blockbuster.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\cnr2.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\ColorMatrix.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Convolution3D.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\corrector.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DctFilter.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\decomb.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Deen.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\degrainmedian.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DGDecode.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\EEDI2.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\fft3dfilter.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\FluxSmooth.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\frfun7.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\hqdn3d.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\LeakKernelDeint.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MaskTools.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\medianblur.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MipSmooth.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\mvtools.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\RemoveGrain.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SangNom.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SimpleResize.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TBilateral.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TDeint.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TIVTC.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TomsMoComp.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TTempSmooth.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnDot.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnFilter.dll")
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\VSFilter.dll")
00:29:56 #loadpluginstart
00:29:56
00:29:56 #test1
00:29:56
00:29:56 Import("D:\Incoming\AutoMKV062\exe\filter\mvbob.avsi")
00:29:56 Import("D:\Incoming\AutoMKV062\exe\filter\QMF.avsi")
00:29:56 #importstart
00:29:56
00:29:56 #test2
00:29:56
00:29:56 movie = mpeg2source("D:\Movies\temp\movie.d2v")
00:29:56 function getOrder(clip c) {
00:29:56 order = GetParity(c) ? 1 : 0
00:29:56 Return order }
00:29:56 #filter1start
00:29:56
00:29:56 #test3
00:29:56
00:29:56 #cropstart
00:29:56
00:29:56 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
00:29:56 fixed_aspect = 1
00:29:56 c_width = width(cropclip)
00:29:56 c_height = Round(height(cropclip) / fixed_aspect)
00:29:56 input_par = float(float(c_width)/float(c_height))
00:29:56 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
00:29:56 out_width =
00:29:56 out_height = Round(float(out_width) / input_par)
00:29:56 hmod = out_height - (floor(out_height / 16 ) * 16)
00:29:56 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
00:29:56 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
00:29:56 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
00:29:56
00:29:56 #resizestart
00:29:56
00:29:56 #test4
00:29:56
00:29:56 last=movie
00:29:56 #filter2start
00:29:56
00:29:56 #test5
00:29:56
00:29:56 DctFilter(1,1,1,1,1,1,.5,0)
00:29:56 -----------------------------------------------------------------------
00:29:56 Script mkvmaudio.avs
00:29:56
00:29:56 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
00:29:56 EnsureVBRMP3Sync()
00:29:56 ConvertAudioTo16bit()
00:29:56 #Applyed Original downmixing routines
00:29:56 Normalize()
00:29:56 -----------------------------------------------------------------------
00:29:56 Script mkvmaudio.bat
00:29:56
00:29:56 "D:\Incoming\AutoMKV062\exe\besweet\bepipe.exe" --script "Import(^D:\Movies\temp\mkvmaudio.avs^)" | "D:\Incoming\AutoMKV062\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "D:\Movies\temp\audio.mp3"
00:29:56 -----------------------------------------------------------------------
00:29:56 Script mkvmaudio2.avs
00:29:56
00:29:56 -----------------------------------------------------------------------
00:29:56 Script mkvmaudio2.bat
00:29:56
00:29:56
00:29:56 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
10th December 2006, 10:10
And the AVI log..

00:40:45 0.62c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:40:45 Selected Input file: D:\Movies\Deadwood.mpg
00:40:45 Selected Output dir: D:\Movies\temp\
00:40:45 Selected Container type: AVI
00:40:45 Selected Encoder: XviD
00:40:45 Selected Size: 2200
00:40:45 Selected Slice: 1
00:40:45 Selected Profile: XviD_CQ.xml
00:40:45 Selected Width: 720
00:40:45 Selected Resizer: NONE
00:40:45 Selected Filters: NONE
00:40:45 Selected Deinterlacer: AUTO
00:40:45 NeroAACEnc.exe not present
00:40:45 Enabled CRF/CQ autoresize with value 3
00:40:45 Track Language 1: MPEG Audio Stream 0
00:40:45 Audio Codec 1: Lame
00:40:45 Audio Quality 1: 6
00:40:45 Activate Anamorphic Encoding
00:40:45 Selected Unlimited media size
00:40:45 Dgindex CMD: D:\Incoming\AutoMKV062\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\Movies\Deadwood.mpg] -OF=[D:\Movies\temp\movie] -exit -minimize
00:40:46 Starting fixing audio delay on track number 1
00:40:46 DelayCut CMD: D:\Incoming\AutoMKV062\exe\dgindex\Delaycut.exe -fixcrc silence -auto -out "D:\Movies\temp\fixed1.mpa" "D:\Movies\temp\movie T01 DELAY -215ms.mpa"
00:40:46 Original 1' Audio Size: 2585856 bytes
00:40:46 Finished fixing audio delay
00:40:46 Encoding D:\Movies\temp\fixed1.mpa To Mp3 with 6 quality
00:40:48 Encoded 1' Audio Track: 625 bytes
00:40:48 ERROR - There are some problem with movie lenght! Try parsing D2V file
00:40:48 Number of Frames: 0
00:40:48 Framerate: 25.000000
00:40:48 Movie lenght in Seconds: 1
00:40:48 Movie Width: 704
00:40:48 Movie Height: 576
00:40:50 Order: 1
00:40:50 CQ encoding XviD: D:\Incoming\AutoMKV062\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Incoming\AutoMKV062\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\Movies\temp\movie.avs" -type 2 -avi "D:\Movies\temp\movie.avi"
00:40:52 Accepted values are between 2191523840 and 2329935872 bytes (movie+audio)
00:40:52 Got a file of size: -1 bytes + audio size 625 bytes (624)
00:40:54 Final Muxed size: -1 bytes
00:40:54 Encoding finished: 00:00:09 elapsed time
00:40:54 -----------------------------------------------------------------------
00:40:54 Muxing Script
00:40:54 D:\Incoming\AutoMKV062\exe\matroska\AVIMux_GUI.exe D:\Movies\temp\muxavi
00:40:54
00:40:54 CLEAR
00:40:54 LOAD D:\Movies\temp\movie.avi
00:40:54 LOAD D:\Movies\temp\audio.mp3
00:40:54 SELECT FILE 1
00:40:54 ADD VIDEOSOURCE
00:40:54 SET INPUT OPTIONS
00:40:54 SET OPTION MP3 VERIFY CBR NEVER
00:40:54 SET OPTION MP3 VERIFY RESDLG OFF
00:40:54 SET OUTPUT OPTIONS
00:40:54 WITH SET OPTION
00:40:54 OPENDML 1
00:40:54 RECLISTS 0
00:40:54 AUDIO INTERLEAVE 3 FR
00:40:54 AVI ADDJUNKBEFOREHEADERS 0
00:40:54 PRELOAD 200
00:40:54 WITH AUDIO
00:40:54 NAME 1 english
00:40:54 END WITH
00:40:54 OVERWRITEDLG 0
00:40:54 CLOSEAPP 1
00:40:54 DONEDLG 0
00:40:54 ALL AUDIO 1
00:40:54 LEGACY 0
00:40:54 RECLISTS 1
00:40:54 NUMBERING OFF
00:40:54 MAXFILESIZE OFF
00:40:54 END WITH
00:40:54 START D:\Movies\temp\movie_full.avi
00:40:54 -----------------------------------------------------------------------
00:40:54 Script AutoCrop.log
00:40:54
00:40:54 -----------------------------------------------------------------------
00:40:54 Script Resmovie.avs
00:40:54
00:40:54 -----------------------------------------------------------------------
00:40:54 Script movie.avs
00:40:54
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\autocrop.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\blockbuster.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\cnr2.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\ColorMatrix.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Convolution3D.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\corrector.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DctFilter.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\decomb.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Deen.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\degrainmedian.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DGDecode.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\EEDI2.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\fft3dfilter.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\FluxSmooth.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\frfun7.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\hqdn3d.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\LeakKernelDeint.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MaskTools.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\medianblur.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MipSmooth.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\mvtools.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\RemoveGrain.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SangNom.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SimpleResize.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TBilateral.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TDeint.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TIVTC.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TomsMoComp.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TTempSmooth.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnDot.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnFilter.dll")
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\VSFilter.dll")
00:40:54 #loadpluginstart
00:40:54
00:40:54 #test1
00:40:54
00:40:54 Import("D:\Incoming\AutoMKV062\exe\filter\mvbob.avsi")
00:40:54 Import("D:\Incoming\AutoMKV062\exe\filter\QMF.avsi")
00:40:54 #importstart
00:40:54
00:40:54 #test2
00:40:54
00:40:54 movie = mpeg2source("D:\Movies\temp\movie.d2v")
00:40:54 function getOrder(clip c) {
00:40:54 order = GetParity(c) ? 1 : 0
00:40:54 Return order }
00:40:54 #filter1start
00:40:54
00:40:54 #test3
00:40:54
00:40:54 #cropstart
00:40:54
00:40:54 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
00:40:54 fixed_aspect = 1
00:40:54 c_width = width(cropclip)
00:40:54 c_height = Round(height(cropclip) / fixed_aspect)
00:40:54 input_par = float(float(c_width)/float(c_height))
00:40:54 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
00:40:54 out_width = 704
00:40:54 out_height = Round(float(out_width) / input_par)
00:40:54 hmod = out_height - (floor(out_height / 16 ) * 16)
00:40:54 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
00:40:54 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
00:40:54 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
00:40:54
00:40:54 #resizestart
00:40:54
00:40:54 #test4
00:40:54
00:40:54 last=movie
00:40:54 #filter2start
00:40:54
00:40:54 #test5
00:40:54
00:40:54 return last
00:40:54 -----------------------------------------------------------------------
00:40:54 Script mkvmaudio.avs
00:40:54
00:40:54 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
00:40:54 NicMPG123Source("D:\Movies\temp\fixed1.mpa")
00:40:54 EnsureVBRMP3Sync()
00:40:54 ConvertAudioTo16bit()
00:40:54 #Applyed Original downmixing routines
00:40:54 Normalize()
00:40:54 -----------------------------------------------------------------------
00:40:54 Script mkvmaudio.bat
00:40:54
00:40:54 "D:\Incoming\AutoMKV062\exe\besweet\bepipe.exe" --script "Import(^D:\Movies\temp\mkvmaudio.avs^)" | "D:\Incoming\AutoMKV062\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "D:\Movies\temp\audio.mp3"
00:40:54 -----------------------------------------------------------------------
00:40:54 Script mkvmaudio2.avs
00:40:54
00:40:54 -----------------------------------------------------------------------
00:40:54 Script mkvmaudio2.bat
00:40:54
00:40:54
00:40:54 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

fogbav
10th December 2006, 12:57
Hi !

Just want to get feedback about TS and converting ALL Audio Tracks with ProjectX NOT using Delaycut aaannnd ...

..until now it works like a champ !!!

Thank you so much 4 your great work ...

5 TS converted without errors (even on my buggy ts files ..8) ) ... 10 to go 8)

Just powered on my other 2 PCs to convert my home to an econding cluster ... hehehe

Nice sunday to all...

FoGBaV

buzzqw
10th December 2006, 14:41
@Barleyman

you have some serius issue with avisynth.

Both audio and video encoding fails, i think is due to missing/corrupted avisynth installation.

Reinstall avisynth 2.56 and remember that is also needed .Net Framework 1.1

BHH

Barleyman
10th December 2006, 15:29
Yup, that did it. I finally got a RAID setup for this box and reinstalled XP from scratch in Friday-Saturday. So my Avisynth was whatever came with AutoGK and/or K-lite.

However, I see this in the deinterlace phase, I don't think the quotation marks are quite ok..

http://personal.inet.fi/koti/ohramies/deint.png

Yikes, have to install gimp + photoshop next, paint doesn't have proper crop tool..

Some new issues.. If the output (MKV) file already exists, it's not overwritten.. Everything seems to go OK, but you get no movie.

I have so far failed to make anamorphic 16:9 MKV. It's not played back with the correct AR for some reason, I tried it with the xbox too just to make sure it's not some media codec not (yet) being properly configured.

mkvmerge SEEMS to do the right thing but still does not work:
16:21:04 0.62c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
16:21:04 Selected Input file: D:\Movies\Deadwood.mpg
16:21:04 Selected Output dir: D:\Movies\temp\
16:21:04 Selected Container type: MKV
16:21:04 Selected Encoder: XviD
16:21:04 Selected Size: 2200
16:21:04 Selected Slice: 1
16:21:04 Selected Profile: XviD_CQ.xml
16:21:04 Selected Width: 720
16:21:04 Selected Resizer: NONE
16:21:04 Selected Filters: NONE
16:21:04 Selected Deinterlacer: AUTO
16:21:04 NeroAACEnc.exe not present
16:21:04 Track Language 1: MPEG Audio Stream 0
16:21:04 Audio Codec 1: Lame
16:21:04 Audio Quality 1: 6
16:21:04 Activate Force ITU Resizing
16:21:04 Activate Anamorphic Encoding
16:21:04 Selected Unlimited media size
16:21:04 Dgindex CMD: D:\Incoming\AutoMKV062\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\Movies\Deadwood.mpg] -OF=[D:\Movies\temp\movie] -exit -minimize
16:21:06 Starting fixing audio delay on track number 1
16:21:06 DelayCut CMD: D:\Incoming\AutoMKV062\exe\dgindex\Delaycut.exe -fixcrc silence -auto -out "D:\Movies\temp\fixed1.mpa" "D:\Movies\temp\movie T01 DELAY -215ms.mpa"
16:21:06 Original 1' Audio Size: 2585856 bytes
16:21:06 Finished fixing audio delay
16:21:06 Encoding D:\Movies\temp\fixed1.mpa To Mp3 with 6 quality
16:21:15 Encoded 1' Audio Track: 1385910 bytes
16:21:18 Number of Frames: 2317
16:21:18 Framerate: 25.000000
16:21:18 Movie lenght in Seconds: 93
16:21:18 Movie Width: 704
16:21:18 Movie Height: 576
16:21:34 Processing completed. Type is determined to be progressive.
16:21:34 Order: 1
16:21:35 CQ encoding XviD: D:\Incoming\AutoMKV062\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Incoming\AutoMKV062\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\Movies\temp\movie.avs" -type 2 -avi "D:\Movies\temp\movie.avi"
16:23:12 Accepted values are between 2191523840 and 2329935872 bytes (movie+audio)
16:23:12 Got a file of size: 27745792 bytes + audio size 1385910 bytes (29131702)
16:23:12 Only Movie Size: 27745792 bytes
16:23:12 D:\Incoming\AutoMKV062\exe\matroska\mkvmerge.exe -o "D:\Movies\temp\movie.mkv" --aspect-ratio 1:1.85 --chapters "D:\Incoming\AutoMKV062\exe\chapters.txt" "D:\Movies\temp\movie.avi" --language 0:und "D:\Movies\temp\audio.mp3"
16:23:15 Final Muxed size: 29121859 bytes
16:23:15 Encoding finished: 00:02:11 elapsed time
16:23:15 -----------------------------------------------------------------------
16:23:15 Script AutoCrop.log
16:23:15
16:23:15 Crop(10,0,684,576)
16:23:15 -----------------------------------------------------------------------
16:23:15 Script Resmovie.avs
16:23:15
16:23:15 -----------------------------------------------------------------------
16:23:15 Script movie.avs
16:23:15
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\autocrop.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\blockbuster.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\cnr2.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\ColorMatrix.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Convolution3D.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\corrector.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DctFilter.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\decomb.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\Deen.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\degrainmedian.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\DGDecode.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\EEDI2.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\fft3dfilter.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\FluxSmooth.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\frfun7.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\hqdn3d.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\LeakKernelDeint.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MaskTools.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\medianblur.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\MipSmooth.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\mvtools.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\RemoveGrain.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SangNom.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\SimpleResize.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TBilateral.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TDeint.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TIVTC.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TomsMoComp.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\TTempSmooth.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnDot.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\UnFilter.dll")
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\VSFilter.dll")
16:23:15 #loadpluginstart
16:23:15
16:23:15 #test1
16:23:15
16:23:15 Import("D:\Incoming\AutoMKV062\exe\filter\mvbob.avsi")
16:23:15 Import("D:\Incoming\AutoMKV062\exe\filter\QMF.avsi")
16:23:15 #importstart
16:23:15
16:23:15 #test2
16:23:15
16:23:15 movie = mpeg2source("D:\Movies\temp\movie.d2v")
16:23:15 function getOrder(clip c) {
16:23:15 order = GetParity(c) ? 1 : 0
16:23:15 Return order }
16:23:15 #filter1start
16:23:15
16:23:15 #test3
16:23:15
16:23:15 #cropstart
16:23:15
16:23:15 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
16:23:15 fixed_aspect = 1
16:23:15 c_width = width(cropclip)
16:23:15 c_height = Round(height(cropclip) / fixed_aspect)
16:23:15 input_par = float(float(c_width)/float(c_height))
16:23:15 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
16:23:15 out_width = 704
16:23:15 out_height = Round(float(out_width) / input_par)
16:23:15 hmod = out_height - (floor(out_height / 16 ) * 16)
16:23:15 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
16:23:15 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
16:23:15 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
16:23:15
16:23:15 #resizestart
16:23:15
16:23:15 #test4
16:23:15
16:23:15 last=movie
16:23:15 #filter2start
16:23:15
16:23:15 #test5
16:23:15
16:23:15 return last
16:23:15 -----------------------------------------------------------------------
16:23:15 Script mkvmaudio.avs
16:23:15
16:23:15 LoadPlugin("D:\Incoming\AutoMKV062\exe\filter\NicAudio.dll")
16:23:15 NicMPG123Source("D:\Movies\temp\fixed1.mpa")
16:23:15 EnsureVBRMP3Sync()
16:23:15 ConvertAudioTo16bit()
16:23:15 #Applyed Original downmixing routines
16:23:15 Normalize()
16:23:15 -----------------------------------------------------------------------
16:23:15 Script mkvmaudio.bat
16:23:15
16:23:15 "D:\Incoming\AutoMKV062\exe\besweet\bepipe.exe" --script "Import(^D:\Movies\temp\mkvmaudio.avs^)" | "D:\Incoming\AutoMKV062\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "D:\Movies\temp\audio.mp3"
16:23:15 -----------------------------------------------------------------------
16:23:15 Script mkvmaudio2.avs
16:23:15
16:23:15 -----------------------------------------------------------------------
16:23:15 Script mkvmaudio2.bat
16:23:15
16:23:15
16:23:15 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
10th December 2006, 15:37
I just checked with MKVtoolnix and the mkv file indeed has incorrect dimensions set (720x576). I have mkv file I compiled manually and it states the correct anamorphic dimension (967x544)

Barleyman
10th December 2006, 16:03
All right, do not know if that's relevant or not, but mkvmerge gives error message too. It'd be neat if there was option to capture program output, no?

http://personal.inet.fi/koti/ohramies/mkvmerge.png

Ed: I figured it out myself. Do I get a cookie? :p

--aspect-ratio parameter is wrong. The first track is not 1 but 0. Changing "--aspect-ratio 1:1.85" to "--aspect-ratio 0:1.85" takes care of the AR.

buzzqw
10th December 2006, 16:22
However, I see this in the deinterlace phase, I don't think the quotation marks are quite ok..
even if the quotation marks seems not ok, i can assure that it is good as is it. The important think is the quotation before deint.log

Some new issues.. If the output (MKV) file already exists, it's not overwritten.. Everything seems to go OK, but you get no movie.
I don't want to overwrite/delete previusly encoded movie, just use another name for final muxing

D:\Incoming\AutoMKV062\exe\matroska\mkvmerge.exe -o "D:\Movies\temp\movie.mkv" --aspect-ratio 1:1.85

the 16/9 is respected as you see (1.85)

but... you get the cookie !

--aspect-ratio parameter is wrong. The first chapter is not 1 but 0. Changing "--aspect-ratio 1:1.85" to "--aspect-ratio 0:1.85" takes care of the AR.

in next build process.exe isn't more needed. I can change priority of any application launched.

(not a so good cookie ?... sorry made your request :) )

BHH

Barleyman
10th December 2006, 16:46
in next build process.exe isn't more needed. I can change priority of any application launched.

Can you also make it so that the window opens in the background and doesn't steal focus?

I was going to ask what's the LAME "quality" parameter actually does, but then I realized the lame manual doesn't really tell you that either. However:

* L.A.M.E. (MP3)

High anchor. Version 3.97b2, used with "-V5". This is a variable bitrate setting, providing about 130kbps on average (i.e. when encoding a lot of files, bitrate on individual files can vary)

From some blind listening test. So I suppose 5 is perfectly good for TV stereo audio.

What does the DCT filter actually do, except make my encoding slower? I tried it in FFDshow which screwed up the picture completely. From my compression test file I can't really tell the difference one way or another..

buzzqw
10th December 2006, 17:03
Can you also make it so that the window opens in the background and doesn't steal focus?

i can only minimze after is opened. Sorry. I build and then launch .bat files
I will work on this but wouldn't be so easy and quick

Lame is used in quality mode, as Ogg and Nero, is more "easy" to use. Want quality ? move the slider to right !

link to HA http://www.hydrogenaudio.org/forums/index.php?showtopic=18091 where varius preset quality is exposed

What does the DCT filter actually do, except make my encoding slower?

better compression. Try without and with it, made a CQ encoded at quant 2, look at different size and quality.

filters are as woman, is a lucky find... :rolleyes:
test, test and more test, every movie needs its filter

BHH

SeeMoreDigital
10th December 2006, 18:52
Lame is used in quality mode, as Ogg and Nero, is more "easy" to use. Want quality ? move the slider to right!Personally speaking, I'm not a big fan of "quality sliders". I much prefer to use a bit-rate slider ;)

Barleyman
10th December 2006, 19:00
Lame is used in quality mode, as Ogg and Nero, is more "easy" to use. Want quality ? move the slider to right !

Ho ho ho! I was mainly interested what bitrate various "quality" values roughly correspond to. If "5" is about 130kbps in average, that gives a starting point.

I quess the mkvmerge command line can't be fixed from the profile files?

better compression. Try without and with it, made a CQ encoded at quant 2, look at different size and quality.

Ah, I see.. I quess the difference isn't that dramatic? <10% anyhow? Mostly I want to be able to stick 5-6 episodes of DVB captures into one DVD or 2-3 movies. It's not that DVD-R's are that expensive, just a convenience.

Explains why I couldn't really see a difference!

buzzqw
10th December 2006, 19:35
@SeeMoreDigital

in 0.52b was added the possibility to encode by bitrate with lame... just write in quality something over 10 ... like 128

in this way lame will encode by --preset 128

I quess the mkvmerge command line can't be fixed from the profile files?

no... wait for next build


BHH

SeeMoreDigital
10th December 2006, 20:17
....in 0.52b was added the possibility to encode by bitrate with lame... just write in quality something over 10 ... like 128Sorry yes of-course... And it works very well too ;)

travisbell
11th December 2006, 17:13
Hey guys, I don't know if this was mentioned or not but... encoding some of my .ts sources to x264 works great, no problems whatsoever.

Just for fun, I chose XviD last night (comparing encoding speed) and the resulting .avi had some massive audio sync issues.

Why would XviD be out of sync and x264 be in sync with the exact same software, and exact same sample?

buzzqw
11th December 2006, 17:31
:confused:

regardless of video codec/container the encoding audio section is the same.

question: avi container ? and what final size ? itvc ?

BHH

travisbell
11th December 2006, 17:43
:confused:

regardless of video codec/container the encoding audio section is the same.

question: avi container ? and what final size ? itvc ?

BHH


Exactly.

Yes, .avi container, both were IVTC'd, de-interlaced, same resolution, same audio options (original, no re-encoding on audio whatsoever.)

On the note about file size, I did notice that even though I chose 35MB as my final size (which x264 followed) XviD did not. The final file size was only 23MB. No idea what that was about.

I can post the sample I am using if needed.

buzzqw
11th December 2006, 18:53
original audio ... what kind of audio ? ac3 or mpa ?

about final size... maybe the codec is saturated for settings used.... try analyzing with drf_analyzer ... are all same type of frames at same quant ? (all b at 4, all p at 3, all i at 3)

a sample could be useful as usual !

BHH

glynor
11th December 2006, 19:24
i can only minimze after is opened. Sorry. I build and then launch .bat files
I will work on this but wouldn't be so easy and quick


If you wrap the BAT files in a WSH script, you can specify them as hidden or minimized on run (and then they won't steal focus).

It was for another purpose, but I explained in detail how to do this in a thread on J. River's Interact forum over here:

http://yabb.jriver.com/interact/index.php?topic=35576.msg243562#msg243562

There is a big downside to using WSH of course... It doesn't work well (if at all) with Windows 98/ME. I don't know if AutoMKV works on those older OSes anyway though... Either way, it's an option!

buzzqw
11th December 2006, 19:36
that's cool !

automkv will not run on win98/me already...

i will try to build something around...

:thanks:

BHH

travisbell
11th December 2006, 21:25
original audio ... what kind of audio ? ac3 or mpa ?

about final size... maybe the codec is saturated for settings used.... try analyzing with drf_analyzer ... are all same type of frames at same quant ? (all b at 4, all p at 3, all i at 3)

a sample could be useful as usual !

BHH

AC3 audio.

I will post a sample and link it shortly. Thanks!

fogbav
11th December 2006, 21:48
@travisbell : Have you tried not to use AviSynth ... and no delaycut ?

It had problems with ac3 too ...

Maybe you should try settings ProjectX - NoDelaycut ...

Greets FoGBaV

buzzqw
11th December 2006, 22:22
Have you tried not to use AviSynth :D :D

tell me how ;)

BHH

fogbav
12th December 2006, 12:20
Ups .... i mean DGindex .... sorry ...8)

Revenge ...8) : Bepipe still doesn't realy like my AC3 File ... it isstill converted to audio1.mp4 with 5 KB ... could you integrate something like "first convert to Audio WAV 5.1 (Besweet) and then convert it ?

I posted my script in the past which worked pefectly ...

Also - there is another option in Projectx :

replace all not-3/2 AC-3 by 3/2lfe silence

and

{patch 1st AC-3 header to 3/2 ch-mode}

Maybe this solves the problem with splitting ac3 2/0 - AC3 5.1 ...

Thanx

FoGBaV

P.S. : Rest works perfectly ... every TS without AC3 is converted with superb speed and quality.


Edit :

This is the Problem in AC3 File (logged in ProjectX )

--> AC-3/DTS Audio on PID 0xD03
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 05:42:09.512, last packet 07:08:32.712
Video PTS: start 1.GOP 05:42:10.051, end last GOP 07:08:32.531
-> adjusting audio at video-timeline
-> src_audio: AC-3, CM, 2/0(2.0), dn -23dB, DS, 48000Hz, 384kbps @ 00:00:00.000
-> src_audio: AC-3, CM, 3/2lfe(5.1), dn -27dB, cm -3.0dB, sm -3dB, 48000Hz, 384kbps @ 00:00:10.240
-> src_audio: AC-3, CM, 2/0(2.0), dn -23dB, DS, 48000Hz, 384kbps @ 00:00:34.144
audio frames: wri/pre/skip/ins/add 161952/0/0/0/0 @ 01:26:22.464 done...
---> new File: 'C:\ACE3.0\tmp\temp\film.ac3'

So ... 3 different AC3 parts ...

There is a posibility to tell ProjectX with x.ini file advanced setings from above ... so maybe it would be great to enhance the CLI-Command with projectx to use a seperate x.ini file.
(i tryed to use x.ini in dgindex directory and in root of automkv but it didn't work ..8( )

normaly everybody else should have this problem when converting files with AC3 where comercials are integrated. hmm ...

fogbav
13th December 2006, 19:33
bumb bumb ... 8)

buzzqw
13th December 2006, 19:46
sorry Fogbav but i am overwhelm of work...
giveme some time... also... sorry if double asked... could you post a link to this file ? i have probably already asked... but i cannot found it... sorry

BHH

EDIT: fount it

EDIT2: just put the X.ini file into \temp\folder
fixed in next release

fogbav
13th December 2006, 20:08
@buzzqw : Oh man , you don't have to say sorry here in any way !

You do so good work here - take as much time as you need.

I just was wondering where you are ... i thought you are living here in this forum ... 8)

Sorry from my side ...

FoGBaV

Edit : Ok - will try --- thaaanks (shit ... this was the only dir i didn't tried out ..8) )

BleedingGums
14th December 2006, 05:45
I am having some problems with automkv mostly having to do with subtitles and final muxing.

Log File

22:57:17 0.62c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:57:17 Selected Input file: C:\Utils\Source\sf\VTS_09_0.IFO
22:57:17 Selected Output dir: C:\Utils\Destination\temp\
22:57:17 Selected Container type: MKV
22:57:17 Selected Encoder: X264
22:57:17 Selected Size: 10
22:57:17 Selected Slice: 1
22:57:17 Selected Profile: 1P-Maxspeed.xml
22:57:17 Selected Width: 640
22:57:17 Selected Resizer: SimpleResize (neutral soft)
22:57:17 Selected Filters: RemoveGrain(mode=2)
22:57:17 Selected Deinterlacer: AUTO
22:57:18 Enabled CRF/CQ autoresize with value 18
22:57:18 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
22:57:18 Audio Codec 1: Nero AAC
22:57:18 Audio Quality 1: 0.20
22:57:18 Track Language 2: Japanese (AC3 2ch, 0xBD 0x81) [0]
22:57:18 Audio Codec 2: Nero AAC
22:57:18 Audio Quality 2: 0.10
22:57:18
22:57:18 Starting SubRipping
22:57:20 Selected subtitle tracks: English 0 (0xBD 0x20) [0]
22:57:20 Finished SubRipping
22:57:20 Subtitle Size: -1 bytes
22:57:20 Starting Indexing
22:57:20 Dgindex CMD: C:\Utils\AutoMKV 62\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1,2 -YR=2 -AIF=[C:\Utils\Source\sf\VTS_09_1.vob] -OF=[C:\Utils\Destination\temp\movie] -exit -minimize
22:57:27 Finished indexing
22:57:27 Starting fixing audio delay on track number 1
22:57:27 DelayCut CMD: C:\Utils\AutoMKV 62\exe\dgindex\Delaycut.exe -auto -out "C:\Utils\Destination\temp\fixed1.ac3" "C:\Utils\Destination\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
22:57:27 Original 1' Audio Size: 5409152 bytes
22:57:27 DelayCut CMD: C:\Utils\AutoMKV 62\exe\dgindex\Delaycut.exe -auto -out "C:\Utils\Destination\temp\fixed2.ac3" "C:\Utils\Destination\temp\movie T02 2_0ch 224Kbps DELAY 0ms.ac3"
22:57:27 Original 2' Audio Size: 5409152 bytes
22:57:27 Finished fixing audio delay
22:57:28 Encoding C:\Utils\Destination\temp\fixed1.ac3 to NeroAAC with 0.20 quality
22:57:52 Encoded 1' Audio Track: 1094786 bytes
22:57:52 Encoding C:\Utils\Destination\temp\fixed2.ac3 to NeroAAC with 0.10 quality
22:58:06 Encoded 2' Audio Track: 620070 bytes
22:58:09 Number of Frames: 5791
22:58:09 Framerate: 29.970030
22:58:09 Movie lenght in Seconds: 194
22:58:09 Movie Width: 720
22:58:09 Movie Height: 480
23:00:59 Processing completed. Type is determined to be partly film.
23:00:59 Processing completed. Type is determined to be partly film.
23:00:59 BFF: 62
23:00:59 TFF: 148
23:00:59 Order: 1
23:00:59 Starting X264
23:00:59 ABR encoding X264: C:\Utils\AutoMKV 62\exe\encoder\x264.exe --bitrate 361 --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:\Utils\Destination\temp\movie.mp4" "C:\Utils\Destination\temp\movie.avs"
23:04:30 Only Movie Size: 9214026 bytes
23:04:30 Selected Subtitle Track: English 0 (0xBD 0x20) [0]
23:04:30 C:\Utils\AutoMKV 62\exe\matroska\mkvmerge.exe -o "C:\Utils\Destination\temp\m1.mkv" --aspect-ratio 1:1.344538 --chapters "C:\Utils\AutoMKV 62\exe\chapters.txt" "C:\Utils\Destination\temp\movie.mp4" --language 1:eng "C:\Utils\Destination\temp\audio.mp4" --language 1:jap "C:\Utils\Destination\temp\audio2.mp4" "C:\Utils\Destination\temp\m1.idx"
23:04:30 Final Muxed size: -1 bytes
23:04:31 Encoding finished: 00:07:14 elapsed time
23:04:31 -----------------------------------------------------------------------
23:04:31 Script AutoCrop.log
23:04:31
23:04:31 Crop(8,2,708,476)
23:04:31 -----------------------------------------------------------------------
23:04:31 Script Resmovie.avs
23:04:31
23:04:31 -----------------------------------------------------------------------
23:04:31 Script movie.avs
23:04:31
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\autocrop.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\blockbuster.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\cnr2.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\ColorMatrix.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\Convolution3D.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\corrector.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\DctFilter.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\decomb.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\Deen.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\degrainmedian.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\DGDecode.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\EEDI2.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\fft3dfilter.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\FluxSmooth.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\frfun7.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\hqdn3d.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\LeakKernelDeint.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\MaskTools.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\medianblur.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\MipSmooth.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\mvtools.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\NicAudio.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\RemoveGrain.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\SangNom.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\SimpleResize.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\TBilateral.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\TDeint.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\TIVTC.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\TomsMoComp.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\TTempSmooth.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\UnDot.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\UnFilter.dll")
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\VSFilter.dll")
23:04:31 #loadpluginstart
23:04:31
23:04:31 #test1
23:04:31
23:04:31 Import("C:\Utils\AutoMKV 62\exe\filter\mvbob.avsi")
23:04:31 Import("C:\Utils\AutoMKV 62\exe\filter\QMF.avsi")
23:04:31 #importstart
23:04:31
23:04:31 #test2
23:04:31
23:04:31 movie = mpeg2source("C:\Utils\Destination\temp\movie.d2v")
23:04:31 function getOrder(clip c) {
23:04:31 order = GetParity(c) ? 1 : 0
23:04:31 Return order }
23:04:31 #filter1start
23:04:31
23:04:31 #test3
23:04:31
23:04:31 #cropstart
23:04:31
23:04:31 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
23:04:31 fixed_aspect = 0.888889
23:04:31 c_width = width(cropclip)
23:04:31 c_height = Round(height(cropclip) / fixed_aspect)
23:04:31 input_par = float(float(c_width)/float(c_height))
23:04:31 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
23:04:31 out_width = 640
23:04:31 out_height = Round(float(out_width) / input_par)
23:04:31 hmod = out_height - (floor(out_height / 16 ) * 16)
23:04:31 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
23:04:31 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
23:04:31 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
23:04:31
23:04:31 tfm(d2v="C:\Utils\Destination\temp\movie.d2v").tdecimate()
23:04:31 #resizestart
23:04:31
23:04:31 #test4
23:04:31
23:04:31 BicubicResize(out_width,out_height,0,0.66)
23:04:31 #filter2start
23:04:31
23:04:31 #test5
23:04:31
23:04:31 RemoveGrain(mode=2)
23:04:31 ColorMatrix("Rec.709->Rec.601",hints=false)
23:04:31 -----------------------------------------------------------------------
23:04:31 Script mkvmaudio.avs
23:04:31
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\NicAudio.dll")
23:04:31 NicAC3Source("C:\Utils\Destination\temp\fixed1.ac3")
23:04:31 EnsureVBRMP3Sync()
23:04:31 ConvertAudioToFloat()
23:04:31 #Applyed Stereo downmixing routines
23:04:31 function stereo(clip a)
23:04:31 {
23:04:31 fl = GetChannel(a, 1)
23:04:31 fr = GetChannel(a, 2)
23:04:31 c = GetChannel(a, 3)
23:04:31 lfe = GetChannel(a, 4)
23:04:31 sl = GetChannel(a, 5)
23:04:31 sr = GetChannel(a, 6)
23:04:31 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
23:04:31 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
23:04:31 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
23:04:31 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
23:04:31 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
23:04:31 Return MergeChannels(l, r).Normalize()
23:04:31 }
23:04:31 #
23:04:31 function original(clip a)
23:04:31 {
23:04:31 Normalize(a)
23:04:31 Return last
23:04:31 }
23:04:31 6==Audiochannels() ? stereo() : original()
23:04:31 -----------------------------------------------------------------------
23:04:31 Script mkvmaudio.bat
23:04:31
23:04:31 "C:\Utils\AutoMKV 62\exe\besweet\bepipe.exe" --script "Import(^C:\Utils\Destination\temp\mkvmaudio.avs^)" | "C:\Utils\AutoMKV 62\exe\besweet\neroaacenc.exe" -ignorelength -q 0.20 -if - -of "C:\Utils\Destination\temp\audio.mp4"
23:04:31 -----------------------------------------------------------------------
23:04:31 Script mkvmaudio2.avs
23:04:31
23:04:31 LoadPlugin("C:\Utils\AutoMKV 62\exe\filter\NicAudio.dll")
23:04:31 NicAC3Source("C:\Utils\Destination\temp\fixed2.ac3")
23:04:31 EnsureVBRMP3Sync()
23:04:31 ConvertAudioToFloat()
23:04:31 #Applyed Stereo downmixing routines
23:04:31 function stereo(clip a)
23:04:31 {
23:04:31 fl = GetChannel(a, 1)
23:04:31 fr = GetChannel(a, 2)
23:04:31 c = GetChannel(a, 3)
23:04:31 lfe = GetChannel(a, 4)
23:04:31 sl = GetChannel(a, 5)
23:04:31 sr = GetChannel(a, 6)
23:04:31 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
23:04:31 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
23:04:31 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
23:04:31 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
23:04:31 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
23:04:31 Return MergeChannels(l, r).Normalize()
23:04:31 }
23:04:31 #
23:04:31 function original(clip a)
23:04:31 {
23:04:31 Normalize(a)
23:04:31 Return last
23:04:31 }
23:04:31 6==Audiochannels() ? stereo() : original()
23:04:31 -----------------------------------------------------------------------
23:04:31 Script mkvmaudio2.bat
23:04:31
23:04:31 "C:\Utils\AutoMKV 62\exe\besweet\bepipe.exe" --script "Import(^C:\Utils\Destination\temp\mkvmaudio2.avs^)" | "C:\Utils\AutoMKV 62\exe\besweet\neroaacenc.exe" -ignorelength -q 0.10 -if - -of "C:\Utils\Destination\temp\audio2.mp4"
23:04:31
23:04:31 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


- since moving to 0.62 extracting the subtitles on my sample file causes a "error parsing parameter file" exeption from vstrip. 0.51f did not have that problem.

- AutoMkv also fails to make the finished file. In the mkvmerge stage I noticed that one of the parameters is wrong in the muxing.bat, replacing jap with jpn (and in this particular case removing the subtitles line) created the end file like it was supposed to.

buzzqw
14th December 2006, 10:50
update www.64k.it/andres/data/a/AutoMKV062d.exe

FIXED: wrong ar when muxing avi into mkv container
FIXED: no more use of process.exe ! AutoMkv can change priority of running program itself
ADDED: if ts files contain more then 1 video stream, automkv will ask to choose that pid. Not use ProjectX in conjuction with this ts
FIXED: better layout in Advanced Settigns
ADDED: Use custom X.ini file for projectX (launch projectX.jar, customize to your taste, save the default to X.ini into Dgindex folder)
ADDED: Use custom X.ini added to Save Default settings
FIXED: Subtitles on no angle dvds (beta)
FIXED: jap->jpn in audio tracks

weaver4
14th December 2006, 14:20
I was trying to make a wmv file last night and the wma audio encode seemed to fail saying the length was -1.

The same source files work with mp3.

Is this a known problem?

buzzqw
14th December 2006, 14:30
audio channel ? Original or stereo ?

if original is VERY probable that is NOT working
if stereo... should be OK

BHH

BleedingGums
14th December 2006, 21:31
when using the "start queue" button my second audio track does not get processed

15:47:56 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:47:56 Selected Input file: C:\utils\Source\sf\VTS_09_0.IFO
15:47:56 Selected Output dir: C:\utils\Destination\temp\
15:47:56 Selected Container type: MKV
15:47:56 Selected Encoder: X264
15:47:56 Selected Size: 1 CD
15:47:56 Selected Slice: 1
15:47:56 Selected Profile: AE-Maxquality.xml
15:47:56 Selected Width: 640
15:47:56 Selected Resizer: BicubicResize (sharp=0,0.66)
15:47:56 Selected Filters: Convolution3d (preset="animeHQ")
15:47:56 Selected Deinterlacer: AUTO
15:47:56 Enabled CRF/CQ autoresize with value 18
15:47:56 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
15:47:56 Audio Codec 1: Nero AAC
15:47:56 Audio Quality 1: 0.20
15:47:56
15:47:56 Starting SubRipping

but when i use the "start" button it works fine

15:46:53 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:46:53 Selected Input file: C:\utils\Source\sf\VTS_09_0.IFO
15:46:53 Selected Output dir: C:\utils\Destination\temp\
15:46:53 Selected Container type: MKV
15:46:53 Selected Encoder: X264
15:46:53 Selected Size: 1 CD
15:46:53 Selected Slice: 1
15:46:53 Selected Profile: AE-Maxquality.xml
15:46:53 Selected Width: 640
15:46:53 Selected Resizer: BicubicResize (sharp=0,0.66)
15:46:53 Selected Filters: Convolution3d (preset="animeHQ")
15:46:53 Selected Deinterlacer: AUTO
15:46:53 Enabled CRF/CQ autoresize with value 18
15:46:53 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
15:46:53 Audio Codec 1: Nero AAC
15:46:53 Audio Quality 1: 0.20
15:46:53 Track Language 2: Japanese (AC3 2ch, 0xBD 0x81) [0]
15:46:53 Audio Codec 2: Nero AAC
15:46:53 Audio Quality 2: 0.10
15:46:53
15:46:53 Starting SubRipping

program works well otherwise

buzzqw
15th December 2006, 08:19
thanks for reporting !

fixed in next release

are subs ok now ?

BHH

BleedingGums
15th December 2006, 10:07
yea, subs are working

Barleyman
16th December 2006, 11:15
Anamorphic encoding is still busted.. It's using the "1" stream and not "0"

12:09:45 C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Movies-E\temp\movie.mkv" --aspect-ratio 1:16:9 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Movies-E\temp\movie.avi" --language 0:und "E:\Movies-E\temp\audio.mp3"

Would it be possible to check if the output file exists before encoding? It's a bother if your 2-hour encode just disappeared that way. Maybe just add running number to the filename if there's a conflict?

buzzqw
16th December 2006, 12:33
Anamorphic encoding is still busted.. It's using the "1" stream and not "0"
fixed in next release

Would it be possible to check if the output file exists before encoding? It's a bother if your 2-hour encode just disappeared that way. Maybe just add running number to the filename if there's a conflict?

there is already the possibility to name final file as you want.. anyway in next release if destionatio file exist the final file will be named Date()_movie.xxx , where date() is the date is windows format

BHH

Barleyman
16th December 2006, 13:21
there is already the possibility to name final file as you want.. anyway in next release if destionatio file exist the final file will be named Date()_movie.xxx , where date() is the date is windows format
BHH

So what about if there's already Date()_movie? You get Date()_Date()_movie?

buzzqw
16th December 2006, 15:10
So what about if there's already Date()_movie? You get Date()_Date()_movie?


IN NEXT release the value of date will be appended before the name of file ... if destination file already exist

if you write date()_test as movie name you will got "date()_test.xxx" as final movie...

BHH

Barleyman
16th December 2006, 15:32
IN NEXT release the value of date will be appended before the name of file ... if destination file already exist

if you write date()_test as movie name you will got "date()_test.xxx" as final movie...

BHH

How about date + time? Should resolve issues with batches?

weaver4
16th December 2006, 15:43
When you encode a xvid movie using CQ the output file without the audio ends up in the Output directory and the output file with the muxed audio ends up in the Output\temp directory. Of course if you don't save the temp files you will deleted it.

buzzqw
16th December 2006, 16:51
@Barleyman and @weaver4

Fixed in 0.62e :)

BHH

vOjToL
18th December 2006, 11:08
AutoMKV 0.62,c,d
Queued Job always start with audio encoder NeroAAC(even "1'Audio Codec" is set "Lame")and ignore many other settings...
The input file is .avi. If encoding starting by press "Start", not "Add to Queue" - it's ok.

buzzqw
18th December 2006, 13:32
fixed in 0.62e

thanks for this bug reporting!

BHH

Barleyman
18th December 2006, 18:03
no need manual cropping.

just set with to 720 and on advanced setting better to check Force ITU Resing and Anamorphic Encoding


Nice in theory, doesn't work in practice. Source is 2.35 PAL DVD, which obviously has black borders.

I have "USE CRF for autoresize [3]", "force ITU resize", "anamorphic encoding" selected and "resize filters [NONE]". I'm using CQ XVID MKV.

The black borders are kept in the encoded file, it's 576 pixels high.

2nd problem, DTS audio is fubarred. In the TEMP directory I have 475MB "fixed1.ac3"-file, and 244kb "audio.ac3"-file. Apparently MKVmerge-command is using the audio.ac3-file..

Does this only happen because my temp-directory was not empty? Rename fails?


23:21:12 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:21:12 Selected Input file: E:\Movies-E\POTC\VTS_01_0.IFO
23:21:12 Selected Output dir: E:\Movies-E\POTC\temp\
23:21:12 Selected Container type: MKV
23:21:12 Selected Encoder: XviD
23:21:12 Selected Size: 2200
23:21:12 Selected Slice: 1
23:21:12 Selected Profile: XviD_CQ.xml
23:21:12 Selected Width: 720
23:21:12 Selected Resizer: NONE
23:21:12 Selected Filters: NONE
23:21:12 Selected Deinterlacer: AUTO
23:21:12 NeroAACEnc.exe not present
23:21:12 Enabled CRF/CQ autoresize with value 3
23:21:12 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:21:12 Audio Codec 1: Copy Original
23:21:12 Audio Quality 1: 5
23:21:12 Activate Force ITU Resizing
23:21:12 Activate Anamorphic Encoding
23:21:12 Selected Unlimited media size
23:21:12 Starting Indexing
23:21:12 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
23:23:20 Finished indexing
23:23:21 Starting fixing audio delay on track number 1
23:23:21 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.ac3" "E:\Movies-E\POTC\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:23:37 Original 1' Audio Size: 485522688 bytes
23:23:37 Finished fixing audio delay
23:23:37 Renamed file fixed1.ac3 to audio.ac3
23:23:37 Encoded 1' Audio Track: 249128 bytes
23:23:42 Number of Frames: 216795
23:23:42 Framerate: 25.000000
23:23:42 Movie lenght in Seconds: 8672
23:23:42 Movie Width: 720
23:23:42 Movie Height: 576
23:30:52 Processing completed. Type is determined to be interlaced.
23:30:52 BFF: 830
23:30:52 TFF: 7
23:30:52 Order: 0
23:30:52 CQ encoding XviD: C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies-E\POTC\temp\movie.avs" -type 2 -avi "E:\Movies-E\POTC\temp\movie.avi"
11:43:49 Accepted values are between 2191523840 and 2329935872 bytes (movie+audio)
11:43:49 Got a file of size: -2142293504 bytes + audio size 249128 bytes (-2142044416)
11:43:49 Only Movie Size: -2142293504 bytes
11:43:49 C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Movies-E\POTC\temp\potc.mkv" --aspect-ratio 1:2.438095 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Movies-E\POTC\temp\movie.avi" --language 0:eng "E:\Movies-E\POTC\temp\audio.ac3"
11:46:03 Final Muxed size: -2140865844 bytes
11:46:03 Encoding finished: 12:24:51 elapsed time
11:46:03 -----------------------------------------------------------------------
11:46:03 Script AutoCrop.log
11:46:03
11:46:03 Crop(10,78,704,420)
11:46:03 -----------------------------------------------------------------------
11:46:03 Script Resmovie.avs
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script movie.avs
11:46:03
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\decomb.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
11:46:03 #loadpluginstart
11:46:03
11:46:03 #test1
11:46:03
11:46:03 Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
11:46:03 Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
11:46:03 #importstart
11:46:03
11:46:03 #test2
11:46:03
11:46:03 movie = mpeg2source("E:\Movies-E\POTC\temp\movie.d2v")
11:46:03 function getOrder(clip c) {
11:46:03 order = GetParity(c) ? 1 : 0
11:46:03 Return order }
11:46:03 #filter1start
11:46:03
11:46:03 #test3
11:46:03
11:46:03 function Filter_Motion_Nil(clip c) {
11:46:03 c = RemoveGrain(c,mode=25)
11:46:03 return c }
11:46:03 function Filter_Motion_Min(clip c) {
11:46:03 c = RemoveGrain(c,mode=2)
11:46:03 return c }
11:46:03 function Filter_Motion_Mid(clip c) {
11:46:03 c = RemoveGrain(c,mode=3)
11:46:03 return c }
11:46:03 function Filter_Motion_High(clip c) {
11:46:03 c = RemoveGrain(c,mode=17)
11:46:03 return c }
11:46:03 function Filter_Motion_Very_High(clip c) {
11:46:03 c = RemoveGrain(c,mode=20)
11:46:03 return c }
11:46:03 #cropstart
11:46:03
11:46:03 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
11:46:03 fixed_aspect = 1
11:46:03 c_width = width(cropclip)
11:46:03 c_height = Round(height(cropclip) / fixed_aspect)
11:46:03 input_par = float(float(c_width)/float(c_height))
11:46:03 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
11:46:03 out_width = 720
11:46:03 out_height = Round(float(out_width) / input_par)
11:46:03 hmod = out_height - (floor(out_height / 16 ) * 16)
11:46:03 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
11:46:03 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
11:46:03 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
11:46:03
11:46:03 #resizestart
11:46:03
11:46:03 #test4
11:46:03
11:46:03 last=movie
11:46:03 LeakKernelDeint(order=0,sharp=true)
11:46:03 #filter2start
11:46:03
11:46:03 #test5
11:46:03
11:46:03 QMF()
11:46:03 ColorMatrix("Rec.709->Rec.601",hints=false)
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio.avs
11:46:03
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
11:46:03 NicAC3Source("E:\Movies-E\POTC\temp\fixed1.ac3")
11:46:03 EnsureVBRMP3Sync()
11:46:03 ConvertAudioTo16bit()
11:46:03 #Applyed Original downmixing routines
11:46:03 Normalize()
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio.bat
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio2.avs
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio2.bat
11:46:03
11:46:03
11:46:03 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
18th December 2006, 18:14
I'll answer myself:
a) Yeah, cropping will not happen if resize filter is "NONE". After I enable laczos4resize, black borders are cropped.
b) Looks like the problem is indeed with the temp file not being empty to start with (unchecked delete temp files for testing)

vOjToL
18th December 2006, 18:45
cropping will not happen if resize filter is "NONE". After I enable laczos4resize, black borders are cropped.

If input file is avs script, cropping, resize and filtering not happen too.

buzzqw
18th December 2006, 19:10
If input file is avs script, cropping, resize and filtering not happen too.

this is wanted. if one can make an avs , can even crop inside.

2nd problem, DTS audio is fubarred. In the TEMP directory I have 475MB "fixed1.ac3"-file, and 244kb "audio.ac3"-file. Apparently MKVmerge-command is using the audio.ac3-file..

from the log file seems you have selected the ac3 track...

BHH

vOjToL
18th December 2006, 20:03
this is wanted. if one can make an avs , can even crop inside.
Ok, I agree. In this case, what is the comptest (resmovie.avs) doing for? In log file the new resolution is set after test, but in movie.avs is set nothing (sorry about my english, I am learnig...).

Barleyman
18th December 2006, 20:20
from the log file seems you have selected the ac3 track...

DTS track is identified as AC3 as well..

The problem is that if you un-tick "del temp file" and then compress files several times in the same directory with AC3 audio, the step where fixed.ac3 should be renamed to audio.ac3 fails.

buzzqw
18th December 2006, 20:46
Ok, I agree. In this case, what is the comptest (resmovie.avs) doing for?

this is a good question... in next update on avs input i will put resizer to NONE and WIDTH to fullwidth

(sorry about my english, I am learning...).

your english is enough, no prob !

DTS track is identified as AC3 as well..
ifo/dvd or mpeg input file ?

BHH

Barleyman
18th December 2006, 21:36
ifo/dvd or mpeg input file ?
BHH

In the mpeg cut file I made for testing..

Maybe check if the target file exists before rename operations? Or, heck, just *delete* the target by default! (In the temp directory). In any case you'll only ever see that prob if you want to keep temp files, so :rolleyes:

BTW, dct filter didn't do anything for file compressibility on q=3, hqdn3d appeared to slash bitrate by about 10-20%.

Are you specifying the XVID PAR switch for anamorphic avi/xvid encode? Looks like that would allow anamorphic files without using the MKV container? Can't figure out the logic for the pixel aspect ratio, thought.

-par integer[:integer] : Set Pixel Aspect Ratio.
1 = 1:1
2 = 12:11 (4:3 PAL)
3 = 10:11 (4:3 NTSC)
4 = 16:11 (16:9 PAL)
5 = 40:33 (16:9 NTSC)
other = custom (width:height)

vOjToL
18th December 2006, 21:52
Ok, one more question then. Why in "Movie Name" I canot type capital letters?

Barleyman
18th December 2006, 22:25
So all right, having fooled around with the ac3 audio, here's what happens with DTS audio. Nothing. It's not even in the mkvmerge line and like a fool I told automkv it's OK to delete temp files.. Oh well, good thing the computer doesn't get bored processing the same movie several times..

20:08:02 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:08:03 Selected Input file: E:\Movies-E\POTC\VTS_01_0.IFO
20:08:03 Selected Output dir: E:\Movies-E\POTC\temp\
20:08:03 Selected Container type: MKV
20:08:03 Selected Encoder: XviD
20:08:03 Selected Size: 1 DVD-R
20:08:03 Selected Slice: 1
20:08:03 Selected Profile: XviD_CQ.xml
20:08:03 Selected Width: 720
20:08:03 Selected Resizer: LanczosResize
20:08:03 Selected Filters: Hqdn3d(4,3,6,4.5)
20:08:03 Selected Deinterlacer: AUTO
20:08:03 NeroAACEnc.exe not present
20:08:03 Track Language 1: English (DTS 6ch, 0xBD 0x89) [0]
20:08:03 Audio Codec 1: Copy Original
20:08:03 Audio Quality 1: 5
20:08:03 Activate Force ITU Resizing
20:08:03 Activate Anamorphic Encoding
20:08:03 Selected Unlimited media size
20:08:03 Starting Indexing
20:08:03 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
20:10:25 Finished indexing
20:10:25 Starting fixing audio delay on track number 2
20:10:25 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.dts" "E:\Movies-E\POTC\temp\movie T02 DELAY 0ms.dts"
20:10:59 Original 1' Audio Size: 817693902 bytes
20:10:59 Finished fixing audio delay
20:10:59 Renamed file fixed1.dts to audio.dts
20:10:59 Encoded 1' Audio Track: 817693902 bytes
20:11:04 Number of Frames: 216795
20:11:04 Framerate: 25.000000
20:11:04 Movie lenght in Seconds: 8672
20:11:04 Movie Width: 720
20:11:04 Movie Height: 576
20:17:52 Processing completed. Type is determined to be interlaced.
20:17:52 BFF: 830
20:17:52 TFF: 7
20:17:52 Order: 0
20:17:53 CQ encoding XviD: C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies-E\POTC\temp\movie.avs" -type 2 -avi "E:\Movies-E\POTC\temp\movie.avi"
23:15:48 Accepted values are between 4461743104 and 4743537664 bytes (movie+audio)
23:15:48 Got a file of size: 2101630464 bytes + audio size 817693902 bytes (2919324416)
23:15:48 Only Movie Size: 2101630464 bytes
23:15:48 C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Movies-E\POTC\temp\potc.mkv" --aspect-ratio 1:2.438095 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Movies-E\POTC\temp\movie.avi"
23:18:01 Final Muxed size: 2099380657 bytes
23:18:01 Encoding finished: 03:09:59 elapsed time
23:18:01 -----------------------------------------------------------------------
23:18:01 Script AutoCrop.log
23:18:01
23:18:01 Crop(10,78,704,420)
23:18:01 -----------------------------------------------------------------------
23:18:01 Script Resmovie.avs
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script movie.avs
23:18:01
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\decomb.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
23:18:01 #loadpluginstart
23:18:01
23:18:01 #test1
23:18:01
23:18:01 Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
23:18:01 Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
23:18:01 #importstart
23:18:01
23:18:01 #test2
23:18:01
23:18:01 movie = mpeg2source("E:\Movies-E\POTC\temp\movie.d2v")
23:18:01 function getOrder(clip c) {
23:18:01 order = GetParity(c) ? 1 : 0
23:18:01 Return order }
23:18:01 #filter1start
23:18:01
23:18:01 #test3
23:18:01
23:18:01 #cropstart
23:18:01
23:18:01 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
23:18:01 fixed_aspect = 1
23:18:01 c_width = width(cropclip)
23:18:01 c_height = Round(height(cropclip) / fixed_aspect)
23:18:01 input_par = float(float(c_width)/float(c_height))
23:18:01 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
23:18:01 out_width = 720
23:18:01 out_height = Round(float(out_width) / input_par)
23:18:01 hmod = out_height - (floor(out_height / 16 ) * 16)
23:18:01 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
23:18:01 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
23:18:01 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
23:18:01
23:18:01 LeakKernelDeint(order=0,sharp=true)
23:18:01 #resizestart
23:18:01
23:18:01 #test4
23:18:01
23:18:01 LanczosResize(out_width,out_height)
23:18:01 #filter2start
23:18:01
23:18:01 #test5
23:18:01
23:18:01 Hqdn3d(4,3,6,4.5)
23:18:01 ColorMatrix("Rec.709->Rec.601",hints=false)
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio.avs
23:18:01
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
23:18:01 NicDTSSource("E:\Movies-E\POTC\temp\fixed1.dts")
23:18:01 EnsureVBRMP3Sync()
23:18:01 ConvertAudioTo16bit()
23:18:01 #Applyed Original downmixing routines
23:18:01 Normalize()
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio.bat
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio2.avs
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio2.bat
23:18:01
23:18:01
23:18:01 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
18th December 2006, 22:33
I checked the -par parameter with an avi file and it works just fine. At least with the five presets and xvid decoder filter.

Media player classic and actual windows media player both displayed it with correct AR. Dunno if any SAP is going to honor that, thought.

Nico.Laus.2001
19th December 2006, 00:43
just demux your ts file to m2v (video) and mpa/ac3 (audio) elementary streams

Open AutoMKV, as input choose the m2v file, automkv will ask to browse for till 2 audio files. Make your choice or click cancel at seconda audio track.


cool, thanks - unfortunately when adding files in that way to the queue and starting to process it, the program asks again for the audio files

could it be, that when "Shutdown PC when finished" the PC does actually not shut down but only log off (or restart?) - at least when enabling this I find myself in the login screen

some further improvements I can think of:

selecting 2 audio tracks that way, you still have to choose the second - this could be enabled by default when chosen
mp4box does support setting names for audio tracks - could you maybe provide input fields for that beneath the audio chooser?
x264 is supported in avi as well (?) - would be nice to have this opportunity, too (especially because mp4 editing tools are quite rare)
as far as I know, AC3 can not be part of an mp4 compliant container - an error message before the actual muxing process would be nice, if such file is to be integrated (saves computing time - especially if "Del temp file" is on you'd have to do it all again :( )
same for lame not supporting more than 2 audio channels


I know it might be difficult to find out about program features dynamically since that would be the best way to implement the latter 2 improvements, but maybe there is a way - otherwise it' just a minor improvement that would be nice but is not that important if you know the tricks

AutoMKV is a great program anyway

fogbav
19th December 2006, 11:19
Little bit offtopic :

One Question to the Xbox Freaks out there ...

I converted TS files to XVID_Normal Profile ... Audio : 3 Tracks with Nero AAC ... AC3/Stereo/Stereo ... everything goes with mp4Box to an MP4 Container.

My Problem now is that when the Video starts everything is fine, but after ca. 30 seconds the Video gets "Croppy" until its look like a slideshow.

So i thought its the CPU Power of the Xbox ... BUT :

When i set the Cache on XBMC to 4096 the video goes to 1 Minute without error and then starts to get croppy ... so it looks like a Network Caching problem i think ...

Networking no Problem - 100 MBIt - no error on other Xvid AVIs from Internet ...

XBMC - Newest version ... 17.12.

Does anyone here has the same Problems ?

Is there the posibility that XBMC has a problem with mp4 Containers ... ?

Barleyman
19th December 2006, 14:58
I converted TS files to XVID_Normal Profile ... Audio : 3 Tracks with Nero AAC ... AC3/Stereo/Stereo ... everything goes with mp4Box to an MP4 Container.


AC3? That's HD? Xbox simply cannot cope with 1920x1080p material.

1280x720p might and might not work. I've seen some xvid encodes with about 900xSomething resolution that work OK.

Another issue might be that the AAC decoder is probably quite cpu intensive, especially if it's been encrypted as 6-AAC channels instead of straight AC3.

fogbav
19th December 2006, 17:05
Thanks Barleyman for your tips ....

I found the Bug - and a temp. fix ...

I analysed that Cache was going down to 0 % ... only recovering when i was presing pause and then play ... raising to 8 MB didn't work ... so :

I DEACTIVATED the cache function .... evrything works normal now ... perfectly... strange bug ....

Thanx

FoGBaV

fogbav
19th December 2006, 20:16
OK ... this is the answer i get in XBMC Forum .... HElp !!! 8)
:
"sounds like you have muxed your stuff in a mp4 stream format, not the proper one for local playback (there's a header flag iirc)."

I convert with automkv into AVI container (same with mp4) and then mux with mp4box -add ****.avi -add ***.acc ....

i think this is the same way automkv gets into mp4 containers when converting to xvid - it generates an avi and mp4boxes into mp4 ... (because plain automkv mp4-Xvid files are also bad on xbmc)

Has this one to do with interleaving/packet/raw parameters ... i don't know ... any proffesionals out there ? 8)

Do i have to use an mystic switch in mp4box ... ?

Shit ... this one is out of my range ...8)

So the best solution for me seems to be converting to mp4 container with automkv (video only - getting all nice PAR Settings and anything else) and then only "add" the Audio MP4 Tracks ... i'm right ?

buzzqw
19th December 2006, 21:28
I convert with automkv into AVI container (same with mp4) and then mux with mp4box -add ****.avi -add ***.acc ....

i think this is the same way automkv gets into mp4 containers when converting to xvid - it generates an avi and mp4boxes into mp4 ... (because plain automkv mp4-Xvid files are also bad on xbmc)

YES, automkv (when codec video is xvid) will make an movie.avi and then mux it with audio into mp4 (like you say mp4box -add ****.avi -add ***.MP4 .... )

Has this one to do with interleaving/packet/raw parameters ... i don't know ... any proffesionals out there ? 8)

xvid are encoded with packed b frames ! edit the profile and set <PackedBitstream> to true ( <PackedBitstream>true</PackedBitstream> )... but i don't think this is the problem...

So the best solution for me seems to be converting to mp4 container with automkv (video only - getting all nice PAR Settings and anything else) and then only "add" the Audio MP4 Tracks ... i'm right ? BUT this is the way automkv work ! :confused:

try posting the muxing line to xmbc forum (mybe also the xvid command line) :)

BHH

fogbav
19th December 2006, 21:46
Thanks buzzqw ... don't be confused with my manual muxxing action ... only doing some test. Automkv is doing the 99 % part of the work in my batch ...8)

So i found out that it has to do with the Nero AAC file .

Playing automkv plain mp4 file works great on xmbc. but when i am adding an audiotrack with mp4box the xbox goes down as discribed.

Think there is a bug ... but it has nnooooothing to do with automkv .... !!! 8)

Thanks a lot

FoGBaV

Barleyman
20th December 2006, 08:06
I'm still beating the DTS horse. Looks like the audio will be out of synch even when everything else works OK.

For some reason when I tried it again automkv included the dts audio in the mkvmerge command line. Weird.

I'll check encoding the same movie with AC3, let you know when it's finished if that worked OK.

buzzqw
20th December 2006, 13:17
@Barleyman
about dts audio not selected ... it's a bug in automkv

i hope tomorrow to release the new 0.63, a good bug fixes release with some add-on very interesting

BHH

fogbav
20th December 2006, 13:35
Feature Question ...(Maybe still implemented, but "me" to stupid to find 8) )

Is it possible to not autoresize but do a autocrop of "back lines" in the MIDDLE of the Film ?

My Ts files are all 720x576 even when 16:9 films are send. So it would be wonderfull to get full width but only crop the black lines(high).

Because of some comercials or trailers in front and at the end of the film it would be good to decide the autocrop in the middle of the film.

Happy encoding

FoGBaV

buzzqw
20th December 2006, 14:03
:D Already possible ! :D

go to \exe\filter and open base.avs

find this line

autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)

and the value of samplestartframe to 5000 (as example)

like this
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=5000)

in this way the autocrop will start to analyze movie from frame 5000

Happy Encoding Too !

BHH

Barleyman
21st December 2006, 15:34
Finished encoding with AC3-stream. Audio is till out of sync.. Any ideas there? I get these lines for dgindex + delaycut:

22:46:55 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
22:49:15 Finished indexing
22:49:15 Starting fixing audio delay on track number 1
22:49:15 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.ac3" "E:\Movies-E\POTC\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"

0ms delay at least does not seem to be correct. Audio is out of sync from the very beginning. Maybe this is thrown by the company logo sequence in the beginning? I checked with latest (1.49b7) build of DGindex but same result (0ms delay). I also tried muxing in the dgindex output file but it had the same problem.

buzzqw
21st December 2006, 15:57
0ms delay at least does not seem to be correct.

in wich way you ripped the dvd ? have you used RipIt4me ?

BHH

weaver4
21st December 2006, 16:12
By any chance does this DVD have multiple angles? If so you will have an audio sync problem. Movies like Star-Wars, Armageddon, The Incredibles and many more will have multiple angles in them.

If so; here is the process that I use to overcome that problem.

> Rip the COMPLETE DVD using anydvd, dvdfab decrypter, or RipIt4Me into a directory.
> Open those files in DVD Shrink 3.1
> Re-author the movie:
--- Select only the angle you are interested in (generally the first)
--- Set the Compression Settings:
----- to select only the audio and subpictures that want.
----- set video compression to "no compression"; ignore warnings
> Backup to second directory (ignore "too big" warnings)
> In AutoMKV open the files in this second directory and process as normal.

Barleyman
21st December 2006, 18:23
in wich way you ripped the dvd ? have you used RipIt4me ?

BHH

Either dvd decrypter or dvdfab if it was corrupted dvd..

Ed: DVD decrypter.

Barleyman
21st December 2006, 18:32
By any chance does this DVD have multiple angles? If so you will have an audio sync problem. Movies like Star-Wars, Armageddon, The Incredibles and many more will have multiple angles in them.


Interesting..

I have ripped it with dvd decrypter in IFO mode. DVD shrink is not happy with it.

So how does autogk etc get around this? Because this is 1st time I encounter this problem and I must have processed some multi-angle dvd's with autogk..

weaver4
21st December 2006, 19:07
Interesting..

I have ripped it with dvd decrypter in IFO mode. DVD shrink is not happy with it.

So how does autogk etc get around this? Because this is 1st time I encounter this problem and I must have processed some multi-angle dvd's with autogk..

Most programs don't get around it since they rely on dgdecode which has the problem.

Some disk will have multiple angles and copy-protection. That is why it is a good idea to use one of the rippers that I mentioned and not dvd decrypter alone.

Barleyman
21st December 2006, 19:44
Most programs don't get around it since they rely on dgdecode which has the problem.

Some disk will have multiple angles and copy-protection. That is why it is a good idea to use one of the rippers that I mentioned and not dvd decrypter alone.

Let's see what autogk does with that rip.

I use dvdfab when there's a copy protection, otherwise usually always dvd decrypter. Especially nice on episodic DVDs because you can make batch files to rip all the episodes on the disk without having to wait next to the PC.

In any case I think there's angle processing on DVD decrypter, I just didn't figure out it's a problem.

Ed: Apparently in IFO mode only angle 1 is retained. In FILE mode you can pick the angle you want.

buzzqw
22nd December 2006, 08:53
www.64k.it/andres/data/a/AutoMKV063.rar

New full package


ADDED: If final muxed file already exist in destination directory, the new file name will be based on time of muxing (suggest of Barleyman)
ADDED: If MP4 container is selected and muxing audio is ac3 the program will, at end of encoding, prompt an error and quit, without removing the temp directory (suggest of Nico.Laus.2001)
ADDED: In advanced Settings is possible to force value '-par' to command line of XviD. On AUTO no par is feeded to command line (suggest of vOjToL)
ADDED: Is now possible to choose shutdown mode (StayOn/Shutdown/LogOff/Reboot) (suggest of vOjToL)
ADDED: Added filter Spresso and SeeSaw
ADDED: Several new Tips!
FIXED: Some glitch on Advanced Settings layout
FIXED: Queue with multiple audio selected (thanks to BleedingGums)
FIXED: Muxing in avi container when no audio is selected (thanks to weaver4)
FIXED: Several bugs on work with queue and command line
FIXED: Deinterlacer routines use the field order to determine best deinterlacer
FIXED: Movie name now accept even capital letters (thanks to vOjToL)
FIXED: When using queue automkv will not more ask again audio files for m2v input files (thanks to Nico.Laus.2001)
FIXED: Correct order of audio tracks when input is mpeg. This one was nasty and ugly resolve (thanks to Barleyman)
FIXED: If Lame encoder is selected audio will be, when needed, downmixed to Stereo (thanks to Nico.Laus.2001)
FIXED: Number of threads on x264 encoding will be NUMBER_OF_PROCESSORS * 1.5 (on HT machine is already 2)
UPDATE: Italian translation
UPDATE: DOC folder removed. Please read the License.txt file for information regarding AutoMKV license and other bundled software licenses
UPDATE: X264.exe to 614, TIVTC to v1.0 RC11, Dgindex to 1.4.7 b9

happy bug hunting and encoding ! :)

BHH

buzzqw
22nd December 2006, 14:37
update 0.63a www.64k.it/andres/data/a/AutoMKV063a.exe

0.63a
FIXED: bad parsing of ifo file

vOjToL
22nd December 2006, 16:46
In queue mode AutoMKV 0.63a still ignore preset "custom matrix-NONE".
If there are a few jobs in queue(1.avs+1.mp3; 2.avs+2.mp3; 3.avs+3.mp3....), AutoMKV always use(in every job) only the last audio file(3.mp3) with every video file(1,2,3.avs).

buzzqw
22nd December 2006, 17:27
are you queueing avs files ? :confused:

BHH

buzzqw
22nd December 2006, 17:48
could you try this build ?

www.64k.it/andres/data/a/AutoMKV063b.exe

BHH

vOjToL
22nd December 2006, 18:26
are you queueing avs files ?

Yes, e.g. for reencoding ~120 avi files, everyone with it's own posprocessing and filtering settings... :)

0.63b (in queue) still always processing the same audio file with many others video files :(

fogbav
22nd December 2006, 18:30
Thanks buzzqw 4 new Version ...

test is running ...

Edit :

Testing CLi ... something wrong when going to convert the avi into the mp4 container ... analysing now ...

fogbav
22nd December 2006, 20:45
5 encodings later:


BUG (!)
movie.mp4 (destination format and file) is written into the temp directory ... where it is killed when option del temp file is selected ... bad thing ...8)

Tested with 0.63 (not a or b)

I did not test gui mode ...

Suggestion on Audio Tracks :

i still have some difficults with Audio Tracks in TS Files ...

i tested different programs converting all Tracks to Nero AAC ... best thing worked out is converting with Besweet with new bsn.dll and following command line

for Stereo :

start /low /wait /min .\exe\besweet\besweet.exe -core( -input ".\tmp\film.mp2" -output ".\tmp\final\film_en.aac" -logfile ".\tmp\final\film_en.aac.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.2 ) -ota( -g max )

AC3 :

start /low /wait /min .\exe\besweet\besweet "BeSweet.exe" -core( -input ".\tmp\film.ac3" -output ".\tmp\final\film.ac3" -logfile ".\tmp\final\film.ac3.log" ) -azid( -c normal ) -bsn( -vbr 0.2 -6chnew ) -ota( -g max )

No BePipe or Delaycut is nessary when using ProjectX - perfect Sync ... AND FINALLY working AC3 conversion ... (didn't worked with Bepipe)

I'm not professional enough to say if this is a good way ... but has worked now for 20 econdings (using Automkv for video and cli converting Audio Tracks this way and then mux everything together).

Only something i wanted to say ....8)

Greets

FoGBaV

buzzqw
22nd December 2006, 20:50
@fogbav
this build shoul be ok

www.64k.it/andres/data/a/AutoMKV063d.exe

BHH

fogbav
22nd December 2006, 22:16
Damn ... you are to fast ...8)

Thannnx ... heating up the engines ...

Edit : Works 100 % again ... thanks ... ! Going to test filters now ...8)

buzzqw
22nd December 2006, 22:53
@vOjToL

www.64k.it/andres/data/a/AutoMKV063e.exe

i hope is ok. i tryed with 3 queue avses file

BHH

ehushagen
23rd December 2006, 01:09
Just wanted to thank you for creating a wonderful GUI for x264. You seem to be standing right on that fine line of easy-to-use and still being a very powerful program in the hands of an experienced user, so huge congratulations to you. If you've got any sort of Paypal donation system set up, please let me (and others, I'm sure) know. I'd love to give you some money for all your hard work.

One suggestion to make, if I may. When selecting an MPEG-2 transport stream (.mpv) as the video source, and then selecting the audio stream in the pop-up boxes that appear after, the Audio Track 1 selection always seems to default to 'None'. This is easily corrected by selecting the chosen audio source from the drop-down box, but it might be handy to have it automatically select it.

Anyways, thanks again!

weaver4
23rd December 2006, 02:22
Using XviD constant profile the audio was way out of sync. This for a movie that was perfectly insync in version 62c.

vOjToL
23rd December 2006, 09:11
www.64k.it/andres/data/a/AutoMKV063e.exe

i hope is ok. i tryed with 3 queue avses file

It's really ok! :)
Very much thanks for your GREAT job!

One more little problem(probably with "code page"): when output file name is e.g. "Co ludzie powiedzą" ("Keeping Up Appearances" in english), I get finally file(after muxing) "Co ludzie powiedzA..."

AMED
23rd December 2006, 10:39
Hi buzzqw,

Is there any chance of getting the statically linked versions of Removegrain.dll and Repair.dll for the stable package instead of the dynamically versions. when i was using the dynamically linked versions from the 0.63 package, the compression test onward was failing because the avs script couldn't import removegrain.dll and repair.dll. i manually changed the dll's to statically linked versions and the error stopped.

also is there any chance for some simple error checking as Automkv goes through the conversion process. e.g. when you get to the conversion of the audio and the resulting audio file equals 0 give a error or when you do the compression test and the resulting filesize = 0 etc.

buzzqw
23rd December 2006, 11:22
@AMED

statically linked versions of Removegrain.dll and Repair.dll
good suggestion, more generally users can change this dll with optimized versions of same library

also is there any chance for some simple error checking as Automkv goes through the conversion process. e.g. when you get to the conversion of the audio and the resulting audio file equals 0 give a error or when you do the compression test and the resulting filesize = 0 etc.

i could add a "Stop on Error" check... i will think about it :)

Co ludzie powiedzą yep... no unicode support now... , i will search...

EDIT2: removed link...
BHH

AMED
23rd December 2006, 11:47
good suggestion, more generally users can change this dll with optimized versions of same library
i could add a "Stop on Error" check... i will think about it :)

Thank you for considering my suggestions :).

BTW do you know what other library is needed to get the dynamic removegrain.dll and repair.dll to work? I've had a look at the removegrain website and it says it that the dynamic versions need a library but fails to say what it is. :confused:

buzzqw
23rd December 2006, 12:05
the statically compiled are RemoveGrainS.dll and RepairS.dll (from removegrain pre 1.0 package http://www.64k.it/andres/data/avisynth/RemoveGrain10.rar )

BHH

P.S try this build with your failing audio... www.64k.it/andres/data/a/AutoMKV063f.exe

ehushagen
23rd December 2006, 15:36
Nice! The 0.63f version works perfectly for me as well now, too.

buzzqw
23rd December 2006, 15:42
@ehushagen

yes... i forgot to publish the changelog... 0.63f

FIXED: On avs/m2v/d2v the first audio selected is then used (thanks to ehushagen)
ADDED: PayPal button, feel free to ignore... or not :D
ADDED: If audio encoding goes bad AutoMKV will ask to continue or quit (beta, suggest from AMED)

I am VERY GRATEFULL to ehushagen for being the first in Donors List :thanks: :)

BHH

vOjToL
23rd December 2006, 18:03
yep... no unicode support now... , i will search...
BHH

This buid -0.63f(removed link,454kB) crash always after audio encoding, the new "f"(421kB) works good. There is not a big problem for me to using only latina letters in files names, I've been waiting for unicode build :)

Edit: After succesfull queue encoding, a window of program appears again, and then I choose video file for next encoding, the window for audio file not appears, nothing happens, I can't open audio file, until I restart the application

ottar
23rd December 2006, 22:11
Thanks for a great tool!

One question: I just want good quality , and I don't care how big the output is. What profile and output size should I use?

Two suggestions: first, an option in the Disk Settings list for "Don't Care About Size". Second, could you make the window border not resizable? If you size it bigger, all you get is more empty space, and if you size it smaller, you just hide controls, so Fixed Dialog is a better border style choice, I think.

Thanks again for your excellent program.

Tailschao
23rd December 2006, 22:20
Hi,
Great GUI, I'll make a small contribution when my Xmas money gets paid into my account. :)

If I chose .avs input with 5.1 AC3 audio as 1st audio and no second audio, and set the audio to Lame stereo 128, the audio isn't encoded, it just stays like this:
http://img127.imageshack.us/img127/1844/automkvaudiononencodescly7.png
until I close the window.
Log:
20:36:19 0.63f - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:36:19 Selected Input file: G:\NEW COMP DVD TEMP FILES\debs.avs
20:36:19 Selected Output dir: G:\NEW COMP DVD TEMP FILES\temp\
20:36:19 Selected Container type: AVI
20:36:19 Selected Encoder: XviD
20:36:19 Selected Size: 1 CD
20:36:19 Selected Slice: 1
20:36:19 Selected Profile: XviD_Normal.xml
20:36:19 Selected Width: 720
20:36:19 Selected Resizer: NONE
20:36:19 Selected Filters: NONE
20:36:19 Selected Deinterlacer: NONE
20:36:19 NeroAACEnc.exe not present
20:36:19 Enabled CRF/CQ autoresize with value 2.5
20:36:19 Using Matrix: Sharktooth's EQM v3LR.cqm
20:36:19 Track Language 1: G:\NEW COMP DVD TEMP FILES\VTS_01_2 T01 3_2ch 448Kbps DELAY 0ms.ac3
20:36:19 Audio Codec 1: Lame
20:36:19 Audio Quality 1: 128
20:36:19
20:36:19 DelayCut CMD: C:\Documents and Settings\[REMOVED]\My Documents\AutoMKV063\exe\dgindex\Delaycut.exe -auto -out "G:\NEW COMP DVD TEMP FILES\temp\fixed1.ac3" "G:\NEW COMP DVD TEMP FILES\VTS_01_2 T01 3_2ch 448Kbps DELAY 0ms.ac3"
20:37:40 Encoding G:\NEW COMP DVD TEMP FILES\temp\fixed1.ac3 To Mp3 with 128 ABR preset
20:38:25 Encoded 1' Audio Track: 0 bytes

Also the donate button is blank, not really a bug, but should take, oohh, 2 seconds to fix? ;)

EDIT: If I use a preset (as opposed to specifying bitrate) then it stops here:
http://img294.imageshack.us/img294/8095/automkvaudiononencodescbp3.png
instead.

buzzqw
24th December 2006, 09:47
Edit: After succesfull queue encoding, a window of program appears again, and then I choose video file for next encoding, the window for audio file not appears, nothing happens, I can't open audio file, until I restart the application

Fixed... anyway queue is to use for more files and than quit, not for one file job...

Two suggestions: first, an option in the Disk Settings list for "Don't Care About Size".

ADDED ! , AutoMKV will set profile and size (and width... fell free to change with to your taste!)

Second, could you make the window border not resizable?

FIXED, thanks for suggestion !

@Tailschao

the audio is being normalized... is normal that "seems stopped"... try with a shorter sample :), you will see what i mean

about donate button: is just missing image or the button ? :confused:

@ALL

update www.64k.it/andres/data/a/AutoMKV063g.exe

ADDED: "Don't care about size" in size list, selecting this preset the profile (xvid or x264) will switch to quality encoding (suggestion by ottar)
FIXED: using queue more time without restarting automkv (thanks to vOjToL)
FIXED: border in no more resizable (thanks to ottar)

BHH

ottar
24th December 2006, 10:34
Thanks for giving us the quality encoding mode!

I have one more tiny bug to report: the checkbox for Episodic DVD is misspelled as "espisodic".

You are very responsive. Take a break for Christmas - you deserve it.

vOjToL
24th December 2006, 10:50
about donate button: is just missing image or the button ? :confused:


Yes, it's missing: http://www.mm.pl/~vojtol/automkv/automkv.jpg but the button is working :)

When input audio is mp3 mono, output is mono too, even preset is: lame, stereo. I know, mono to stereo it's a not big difference, dimension of result file is the same...but for standalone player is the difference, sound playing only for central speaker, not left&right.

weaver4
24th December 2006, 14:05
I have a movie that I was encoding using the CQ Xvid profile. The audio was way out of sync (by about a minute). I tried a second movie and had the same problem. These are both movies that encoded properly in 62c. I then tried the first movie in CQ x264 and the audio was in sync.

What do you want me to look at?

SeeMoreDigital
24th December 2006, 14:08
I have a movie that I was encoding using the CQ Xvid profile. The audio was way out of sync (by about a minute).What playback method did you use to determine this... A software or hardware media player

ehushagen
24th December 2006, 15:15
What are people's experiences with using dvr-ms files? I tried loading one this morning, and it just made BAutoDeint hang at 18% although the hard drive was still crunching away on it.

weaver4
24th December 2006, 15:45
What playback method did you use to determine this... A software or hardware media player

SMD: DivX player and Media Player Classic

lolo_htpc
24th December 2006, 19:38
Thanks for this excellent GUI.
After many tests, I could not manage to get autoMKV to autocrop without using the resize function.
I am using the fixed bitrate option for all my encoding. I have the impression that it works with fixed file size but not with specified bitrate.
Thanks,

buzzqw
24th December 2006, 20:11
I could not manage to get autoMKV to autocrop without using the resize function

just set width to full width... usually 720... anyway with next update will be possible to select in width list "AutoCrop Only" :)

about bitrate problem: could you please post a log ?

BHH

buzzqw
24th December 2006, 20:17
@ehushagen

once you know how to deinterlace it you can apply in deinterlacer text box the deinterlacer used string :)

BHH

EDIT: here the Xmas Edition www.64k.it/andres/data/a/AutoMKV063h.exe

changelog

0.63h XMas Edition
FIXED: Mispelled "espisodic dvd" (thanks to ottar)
FIXED: Unknow language ???, would be translated to "und" (thanks to ottar)
ADDED: Added "AutoCrop Only" to width list (thanks to lolo_htpc)

AMED
25th December 2006, 04:39
Hi buzzqw,

I'm trying to convert POTC dead mans chest and it keeps failing at the compression test.

15:15:48 0.63h XMas Edititon - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:15:48 Selected Input file: D:\DEAD_MANS_CHEST1\VIDEO_TS\VTS_01_0.IFO
15:15:48 Selected Output dir: D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\
15:15:48 Selected Container type: MKV
15:15:48 Selected Encoder: X264
15:15:48 Selected Size: 1/3 DVD-R
15:15:48 Selected Slice: 1
15:15:48 Selected Profile: HQ-Insane.xml
15:15:48 Selected Width: Automatic
15:15:48 Selected Resizer: LanczosResize
15:15:48 Selected Filters: Undot()
15:15:48 Selected Deinterlacer: AUTO
15:15:48 NeroAACEnc.exe not present
15:15:48 Enabled CRF/CQ autoresize with value 18
15:15:48 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
15:15:48 Audio Codec 1: Copy Original
15:15:48 Audio Quality 1: 0.35
15:15:48
15:15:48 Starting Indexing
15:15:48 Dgindex CMD: J:\Video\AutoMKV063\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\DEAD_MANS_CHEST1\VIDEO_TS\VTS_01_1.vob] -OF=[D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie] -exit -minimize
15:18:18 Finished indexing
15:18:18 Starting fixing audio delay on track number 1
15:18:18 DelayCut CMD: J:\Video\AutoMKV063\exe\dgindex\Delaycut.exe -auto -out "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\fixed1.ac3" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
15:18:41 Original 1' Audio Size: 485549568 bytes
15:18:42 Finished fixing audio delay
15:18:42 Renamed file fixed1.ac3 to audio.ac3
15:18:42 Encoded 1' Audio Track: 485549568 bytes
15:18:45 Number of Frames: 216821
15:18:45 Framerate: 25.000000
15:18:45 Movie lenght in Seconds: 8673
15:18:45 Movie Width: 720
15:18:45 Movie Height: 576
15:24:51 Processing completed. Type is determined to be interlaced.
15:24:51 BFF: 845
15:24:51 TFF: 7
15:24:51 Order: bff.
15:24:51 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1537212416 bytes
15:24:51 CRF encoding X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 1 --crf 18 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\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 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\resmovie.mp4" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\resmovie.avs"
15:24:54 Tested total movie: 5%
15:24:54 AutoResize movie size: 0 bytes
15:24:54 Movie Width suggested based on sample size: 0
15:24:54 Warning !!! - Too low resolution. Set witdh to 240
15:24:54 Starting X264
15:24:54 Command Line 1' Pass X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 1 --bitrate 969 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\.stats" --ref 0 --no-b-adapt --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 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.avs"
15:24:54 Command Line 2' Pass X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 2 --bitrate 969 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\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 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mp4" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.avs"
15:25:00 J:\Video\AutoMKV063\exe\matroska\mkvmerge.exe -o "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mkv" --aspect-ratio 1:2.415094 --chapters "J:\Video\AutoMKV063\exe\chapters.txt" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mp4" --language 0:eng "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\audio.ac3"
15:25:00 Final Muxed size: -1 bytes
15:25:00 Encoding finished: 00:09:12 elapsed time
15:25:00 -----------------------------------------------------------------------
15:25:00 Script AutoCrop.log
15:25:00
15:25:00 Crop(6,78,708,424)
15:25:00 -----------------------------------------------------------------------
15:25:00 Script Resmovie.avs
15:25:00
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\autocrop.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\blockbuster.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\cnr2.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\ColorMatrix.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Convolution3D.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\corrector.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DctFilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Decomb.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Deen.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\degrainmedian.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DGDecode.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\EEDI2.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\fft3dfilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\FluxSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\frfun7.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\hqdn3d.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\LeakKernelDeint.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MaskTools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\medianblur.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MipSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mt_masktools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mvtools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\RemoveGrain.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Repair.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SangNom.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SimpleResize.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TBilateral.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TDeint.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TIVTC.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TomsMoComp.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TTempSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnDot.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnFilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\VSFilter.dll")
15:25:00 #loadpluginstart
15:25:00
15:25:00 #test1
15:25:00
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\MCBob_v03c.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\mvbob.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\QMF.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\seesaw.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\spresso.avsi")
15:25:00 #importstart
15:25:00
15:25:00 #test2
15:25:00
15:25:00 movie = mpeg2source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.d2v")
15:25:00 function getOrder(clip c) {
15:25:00 order = GetParity(c) ? 1 : 0
15:25:00 Return order }
15:25:00 #filter1start
15:25:00
15:25:00 #test3
15:25:00
15:25:00 #cropstart
15:25:00
15:25:00 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
15:25:00 fixed_aspect = 1.422222
15:25:00 c_width = width(cropclip)
15:25:00 c_height = Round(height(cropclip) / fixed_aspect)
15:25:00 input_par = float(float(c_width)/float(c_height))
15:25:00 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
15:25:00 out_width = 704
15:25:00 out_height = Round(float(out_width) / input_par)
15:25:00 hmod = out_height - (floor(out_height / 16 ) * 16)
15:25:00 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
15:25:00 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
15:25:00 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
15:25:00
15:25:00 LeakKernelDeint(order=bff.,sharp=true)
15:25:00 #resizestart
15:25:00
15:25:00 #test4
15:25:00
15:25:00 LanczosResize(out_width,out_height)
15:25:00 #filter2start
15:25:00
15:25:00 #test5
15:25:00
15:25:00 Undot()
15:25:00 function Comptest(clip c, float percent)
15:25:00 {
15:25:00 frange=floor(14./(percent/100.))
15:25:00 Return SelectRangeEvery(c, frange, 14)
15:25:00 }
15:25:00 Comptest(5)
15:25:00 ColorMatrix("Rec.709->Rec.601",hints=false)
15:25:00 -----------------------------------------------------------------------
15:25:00 Script movie.avs
15:25:00
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\autocrop.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\blockbuster.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\cnr2.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\ColorMatrix.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Convolution3D.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\corrector.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DctFilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Decomb.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Deen.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\degrainmedian.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DGDecode.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\EEDI2.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\fft3dfilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\FluxSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\frfun7.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\hqdn3d.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\LeakKernelDeint.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MaskTools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\medianblur.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MipSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mt_masktools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mvtools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\RemoveGrain.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Repair.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SangNom.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SimpleResize.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TBilateral.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TDeint.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TIVTC.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TomsMoComp.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TTempSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnDot.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnFilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\VSFilter.dll")
15:25:01 #loadpluginstart
15:25:01
15:25:01 #test1
15:25:01
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\MCBob_v03c.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\mvbob.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\QMF.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\seesaw.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\spresso.avsi")
15:25:01 #importstart
15:25:01
15:25:01 #test2
15:25:01
15:25:01 movie = mpeg2source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.d2v")
15:25:01 function getOrder(clip c) {
15:25:01 order = GetParity(c) ? 1 : 0
15:25:01 Return order }
15:25:01 #filter1start
15:25:01
15:25:01 #test3
15:25:01
15:25:01 #cropstart
15:25:01
15:25:01 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
15:25:01 fixed_aspect = 1.422222
15:25:01 c_width = width(cropclip)
15:25:01 c_height = Round(height(cropclip) / fixed_aspect)
15:25:01 input_par = float(float(c_width)/float(c_height))
15:25:01 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
15:25:01 out_width = 352
15:25:01 out_height = Round(float(out_width) / input_par)
15:25:01 hmod = out_height - (floor(out_height / 16 ) * 16)
15:25:01 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
15:25:01 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
15:25:01 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
15:25:01
15:25:01 LeakKernelDeint(order=bff.,sharp=true)
15:25:01 #resizestart
15:25:01
15:25:01 #test4
15:25:01
15:25:01 LanczosResize(out_width,out_height)
15:25:01 #filter2start
15:25:01
15:25:01 #test5
15:25:01
15:25:01 Undot()
15:25:01 ColorMatrix("Rec.709->Rec.601",hints=false)
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio.avs
15:25:01
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:01 NicAC3Source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\fixed1.ac3")
15:25:01 EnsureVBRMP3Sync()
15:25:01 ConvertAudioTo16bit()
15:25:01 #Applyed ORIGINAL downmixing routines
15:25:01 Normalize()
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio.bat
15:25:01
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio2.avs
15:25:01
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio2.bat
15:25:01
15:25:01
15:25:01 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

When i try and manually play the Resmovie.avs it gives me this error
Script Error: expected function name following '.'
(D:\dead_mans_chest1\video_TS\temp\Resmovie.avs, line 72, column 27)

it seems that this line is causing the problem,
LeakKernelDeint(order=bff.,sharp=true)

i have tried to remove the . in the the above line, then the error changes to
i don't know what "bff" means
(D:\dead_mans_chest1\video_TS\temp\Resmovie.avs, line 72)

Is there any chance you could have the compression test added to the simple error checking as you have done with if the audio encoding fails, if AutoResize movie size: = 0, ERROR Message problem with avs.

buzzqw
25th December 2006, 08:54
@AMED

the problem is fixed www.64k.it/andres/data/a/AutoMKV063i.exe

about error checking avs... it shouldn't needed... but i will think about it

BHH

AMED
25th December 2006, 12:41
Thanks for the quick fix, all working well now.
LeakKernelDeint(order=0,sharp=true)

fogbav
25th December 2006, 13:25
Hi buzzqw ...

Cli seems to be again broken in the new Versions ...

I will try to search for the reason ...

Happy XMAS to all !

ottar
25th December 2006, 19:03
Converting an episodic DVD to MKV only gets chapters for the first title on the DVD.

Input has three episodes, the first with 14 chapters, and the other two with seven chapters each. Output has the first 14 chapters correct, but no chapters for the rest of the file.

Merry Christmas!

buzzqw
25th December 2006, 19:03
@fogbav got it ! (wrong path)

fixed

www.64k.it/andres/data/a/AutoMKV063j.exe

BHH

buzzqw
25th December 2006, 19:06
@ottar

are you encoding all episodes in one file only or several file (one for each episodes) ?


BHH

ottar
25th December 2006, 19:09
All in one file. I don't know how to do one file for each episode, but I would like to.

buzzqw
25th December 2006, 20:00
so you have three ifo file ? if so please check on advanced settings episoding dvd and choose the ifo corrispondenting to your episodes

BHH

ottar
25th December 2006, 21:15
Just one IFO file. There are four PGCs, length 0:21, 1:30:59, 45:01, and 44:44. The MKV I get out has the right length (3:01:17), but the chapter points are the ones for the longest title (the 1:30:59 one). The chapter points are wrong, though, because they start from 00:00, not from 0:21.

buzzqw
25th December 2006, 21:56
please PM where to download the ifo

BHH

fogbav
25th December 2006, 22:11
@buzzqw : You are the best ...!

Tomorrow i will test the button left from about ...8)

Thanx

FoGBaV

Edit : First run didn't worked ... will test tomorrow morning ...

weaver4
26th December 2006, 05:20
Anyone know how to make a file for Zune with AutoMKV? The specification says it will play a H.264 format in a .m4v file.

So, I have tried to make a *.mp4 file in the using CE-mainprofile and then renaming it *.m4v. But the Zune it won't load it.

buzzqw
26th December 2006, 08:16
@fogbav.... some more information ???

@weaver what are the specifics (width/height/bitratre/level...) of Zune ?

BHH

fogbav
26th December 2006, 10:08
d2v file is not build normal ... its zero sized ...

DGINDEX is not coming up ....

log :

10:03:02 Selected Input file: D:\ACE4.0\tmp\film.m2v
10:03:02 Selected Output dir: D:\ACE4.0\tmp\temp\
10:03:02 Selected Container type: MP4
10:03:02 Selected Encoder: XviD
10:03:02 Selected Size: 55
10:03:02 Selected Slice: 1
10:03:02 Selected Profile: XviD_Normal.xml
10:03:02 Selected Width: 688
10:03:02 Selected Resizer: LanczosResize
10:03:02 Selected Filters: Spresso()
10:03:02 Selected Deinterlacer: AUTO
10:03:02 Enabled CRF/CQ autoresize with value 2.5
10:03:02 Using Matrix: Sharktooth's EQM v3LR.cqm
10:03:02 Track Language 1: All Audio Tracks
10:03:02 Audio Codec 1: Nero AAC
10:03:02 Audio Quality 1: 0.35
10:03:02 Track Language 2:
10:03:02 Audio Codec 2: Nero AAC
10:03:02 Audio Quality 2: 0.35
10:03:02
10:03:02 Not fixing audio files
10:03:03 ERROR - There are some problem with movie lenght! Try parsing D2V file
10:03:03 Number of Frames: 0
10:03:03 Framerate:
10:03:03 Movie lenght in Seconds: -2147483647
10:03:03 Movie Width:
10:03:03 Movie Height:
10:03:06 Order: unk
10:03:06 FIRST pass XviD: "D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 0 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\tmp\temp\movie.avs" -type 2 -avi "D:\ACE4.0\tmp\temp\movie_firstpass.avi"
10:03:06 SECOND pass XviD: "D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 0 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\tmp\temp\movie.avs" -type 2 -avi "D:\ACE4.0\tmp\temp\movie.avi"
10:03:06 Starting First Pass
10:05:21 Starting Second Pass
10:05:24 D:\ACE4.0\exe\matroska\mp4box.exe -add "D:\ACE4.0\tmp\temp\movie.avi":par=-1.#IND00 -chap "D:\ACE4.0\exe\chapters.txt" -fps 25.00000 "D:\ACE4.0\tmp\temp\movie.mp4"
10:05:25 Final Muxed size: -1 bytes
10:05:25 Encoding finished: 00:02:23 elapsed time


Directory Structure :

Datentr„ger in Laufwerk D: ist Data
Volumeseriennummer: XXXX-XXXX

Verzeichnis von D:\ACE4.0\tmp\temp

26.12.2006 10:05 <DIR> .
26.12.2006 10:05 <DIR> ..
26.12.2006 10:03 0 AutoCrop.log
26.12.2006 10:03 209 createautodeintmovie.avs
26.12.2006 10:03 574 createautodeintmovie.avs.bautodeint_temp.avs
26.12.2006 10:03 126 deint.bat
26.12.2006 10:03 4.766 deint.log
26.12.2006 10:03 0 frame.txt
26.12.2006 10:05 0 mkvmaudio.avs
26.12.2006 10:05 0 mkvmaudio.bat
26.12.2006 10:05 0 mkvmaudio2.avs
26.12.2006 10:05 0 mkvmaudio2.bat
26.12.2006 10:03 2.971 movie.avs
26.12.2006 10:03 0 movie.d2v
26.12.2006 10:03 0 movielenght.mp4
26.12.2006 10:05 170 muxing.bat
26.12.2006 10:05 0 resmovie.avs
26.12.2006 10:03 1.252 time.avs
26.12.2006 10:03 393 xvidfirstpass.bat
08.12.2006 20:16 2.457 xvidprofile.xml
26.12.2006 10:03 376 xvidsecondpass.bat
19 Datei(en) 13.294 Bytes
2 Verzeichnis(se), 14.705.438.720 Bytes frei


with 063d evrything is fine ...

buzzqw
26th December 2006, 14:38
fixed ! (was only broken with m2v files..)

www.64k.it/andres/data/a/AutoMKV063k.exe

BHH

Mouse
26th December 2006, 17:16
Dunno what i'm doing wrong but it can't seeme to get by when AVIMux starts. It crashes badly and the whole encode is terminated.

Right after it builds "audio.mp3". It quits with a error stating "audio.mp3" is busy, and both winXP and AVIMux errors and whole encode terminates.

Using a .ts source as input, using the analog sound in it.

Which of all 300 :) logfiles should i post ?



Also choosing AutoMKV not using DGIndex but ProjectX is somewhat broken, even if i choose "use ProjectX" it is still using DGIndex.

buzzqw
26th December 2006, 17:40
update www.64k.it/andres/data/a/AutoMKV063l.exe

ADDED: Button to Clear Log Window
ADDED: Possibility to activate High Quality Deinterlacer (slow!)
FIXED: Command line broken with m2v files
FIXED: More robust detection of pid on ts files

@Mouse

dowload this build, and then report... should be fixed ! :)

BHH

weaver4
26th December 2006, 18:20
@fogbav.... some more information ???

@weaver what are the specifics (width/height/bitratre/level...) of Zune ?

BHH

Well in one place it says this.

"Windows Media Video (.wmv): Main Profile, CBR or VBR, up to 1.5 Mbps peak video bitrate, 320 x 240 pixels, 30 frames per sec., with Windows Media Audio up to 192 Kbps, 44.1 kHz, stereo audio; Simple Profile, CBR, up to 736 Kbps video bitrate, 320 x 240 pixels, 30 frames per sec., with Windows Media Audio up to 192 Kbps, 44.1 kHz, stereo audio."

and in another it says

" Video
Windows Media Video (.wmv): All bitrates and resolutions
MPEG4 (.mp4, .m4v, .mov): Simple Profile, all bitrates, and resolutions
H.264 (.mp4, .m4v, .mov): Baseline and Main Profile, all bitrates and resolutions"

But the more I look at it the more I think that the first choice is for the Zune Handheld and the second is for Zune Player on the PC.

So, can AutoMKV make wmv files that will work?

fogbav
26th December 2006, 18:53
Works like a champ now ... thankx Buzzqw ... i hope its ok that i am the Cli Tester ... and shooting on you with bug reports ...8)

P.S. : A Resizer has to be selected to get autocrop to Work !!! (Bug?)

buzzqw
26th December 2006, 19:34
@fogbav

1) if you set resizer to NONE the movie will not resized or autocropped
2) if you set resizer to NOT NONE (any other resizer) and width to 720 (or less) le movie will be autocropped (and resized)
3) if you set resizer to NOT NONE (any other resizer) and width to AutoCrop Only the movie will be only autocropped

shouldn't changed from previus versions..

BHH

fogbav
26th December 2006, 20:00
OK .. ok... call me stupid ... checked now ...8)

Buzzqw ... is there any chance to get my posted script with Besweet ONLY mode 2 AAC integrated into automkv ...?

with the new bsn.dll it works like a hell to encode AC3 Audio even if there is the change from 2/0 AC3 to 3/2 AC3 (commercials). No DelayCut or Bepipe is nessecary (Bepipe brings up dangerous errors when AC3 Format is changed --- resulting in a 5KB big AC3 Track)

buzzqw
26th December 2006, 20:08
don't have you checked "Use Custom X.ini" ? :rolleyes:

i was able to add the option "Replace all non 3/2 ac3 by 3/2lfe silence"

BHH

buzzqw
26th December 2006, 20:35
@fogbav

re download 0.63l

added in codec audio "custom bat"

you must put into \temp created (or already present) the file mkvmaudio.bat and (if nedded) mkvmaudio2.bat

MUST BE NAMED AS I WROTE.

in those bat file the encoder must procuced or audio.xxx (mp4/mp3/ogg) or audio2.xxx

so
start /low /wait /min .\exe\besweet\besweet.exe -core( -input ".\tmp\film.mp2" -output ".\tmp\final\film_en.aac" -logfile ".\tmp\final\film_en.aac.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.2 ) -ota( -g max )

must be followed by mp4box audio.mp4 -add film_en.aac

and
AC3 :
start /low /wait /min .\exe\besweet\besweet "BeSweet.exe" -core( -input ".\tmp\film.ac3" -output ".\tmp\final\audio.mp4" -logfile ".\tmp\final\film.ac3.log" ) -azid( -c normal ) -bsn( -vbr 0.2 -6chnew ) -ota( -g max )


BHH

Mouse
26th December 2006, 20:37
.63l - audiotracks no longer changeable, eighter "All tracks" or "None".

Above in .ts

fogbav
26th December 2006, 20:37
Come on ... you give me a hard time today ...8)

Say something nice to me next time ... i am standing here with a brain like a frog ....8)

Will check soon (possible making my script 90 % obsulete ...)

Happy coding and encoding

FoGBaV

P.S. : Videos from automkv looks like diamonds - never saw a quality like this before (GK / AutoGK/Staxrip/Megui) ... converted 20 TS Files now with brilliant quality AAAND without any errors ...

buzzqw
26th December 2006, 20:40
@Mouse

please post "checkmedia.txt" (is with automkv.exe)

BHH

Mouse
26th December 2006, 21:30
@Mouse

please post "checkmedia.txt" (is with automkv.exe)

BHH

from checkmedia.txt

bbSummary - based on BBINFO version 1.9

File E:\recordings\CanalPlus\Sharktale\shark.1min.ts is an MPEG-2 Transport Stream
pack header field flag value not allowed in program streams

that sample is a cutout from a .ts that loads fine. Maybe using ProjectX and cut out sample's is bad?

(just checked, theres no error when i load the entire .ts..odd)

Anyway, free from crashes now, which is a good thing. Video looks absolute marvelous - even on my 42" pioneer plasma :p

fogbav
26th December 2006, 21:34
Could you please send me in the 42" pioneer plasma for detailed analyses on your problem ..? 8)

buzzqw
27th December 2006, 08:00
@Mouse

could PM with a link of this "broken" ts file ?

BHH

EDIT: also re-download 063l, should be fixed parsing of mpeg audio files within ts files

Mouse
27th December 2006, 16:41
L-version, even when re-downloading it, behaves like what i first had problem with.

-"Dunno what i'm doing wrong but it can't seeme to get by when AVIMux starts. It crashes badly and the whole encode is terminated.

Right after it builds "audio.mp3". It quits with a error stating "audio.mp3" is busy, and both winXP and AVIMux errors and whole encode terminates."

buzzqw
27th December 2006, 17:47
i have done several test with lame + xvid + avimux and never got problem... have you a sample to replicate ?

try disabling the antivirus, remove any previus \temp directory, try muxing manually

for me (and several others) is working :o

BHH

fogbav
27th December 2006, 20:38
Agree ! 8)

Best practice is to set up a virtual pc in VM with minimal codexes installed so no filter is interrupting the other.

War on pc is when you install a filter mega pack as ACE or something like this.

And ... if programms crashes (hard crashes) check your memory with Memcheck .... and try to rar about 20 Gig on your HD and do a verify over the archive ...

(only some tips 4 instable pcs ... don't be angry about the tips ok ?)

Mouse
27th December 2006, 22:05
First, i'm not the only one with this problem, a buddy of mine has *exact the same problem*.

Second, NO megapack's or any other strange "codec-packs", found on pages with 500 pop-up-naked-ladies are installed here. Only the ones needed. No more, no less.

I have 2 gig's of ram, the harddisc i use to encode to has ~300gig free.

And no, i'm not offended fogbav.

buzzqw
28th December 2006, 08:10
have you tryed to mux manually ?

Mouse, please download this build www.64k.it/andres/data/a/AutoMKV063l-Mouse.exe, i have done just 1 modify: avimux will start muxing 5 sec later encoding is finished

try with a small sample

thanks :)

BHH

buzzqw
28th December 2006, 13:35
update www.64k.it/andres/data/a/AutoMKV064.exe

Changelog

ADDED: Save default now save name of final muxed file
ADDED: in command line input is now possibility to specify audio external (woking with m2v or d2v files)
es: AutoMKV.exe automkv.ini "c:\temp\_aaa.d2v" "c:\temp\_aaa.ac3" 0 0 0 start wait

ADDED: Totally reworked queued sections, now is similar to VirtualDub queue. For every work queued AutoMKV will produce an queueXXX.ini file, where XXX is the number of job
When user click start queue all queued job (not necessary all queueXXX.ini files) will be processed, and the corrisponding queueXXX.ini file deleted.
When AutoMKV start it will check for those queueXXX.ini files and if found will ask to process. In this way we have a permanently queue ! :)
Those change are early beta (i am at home with the flu...) , i have done much test but never as yours :)
I want also :thanks: all for the big support with all those not so stable build !

BHH

weaver4
28th December 2006, 16:37
buzzqw: What is the link to make a donation; I couldn't seem to find it.

fogbav
28th December 2006, 17:02
Integrated into Automkv - Main View - Button with "empty" text ( 8) ) left side from the about button ....

Opens up a new browser window ...

SeeMoreDigital
28th December 2006, 17:02
Where is it... Where is it?

http://img401.imageshack.us/img401/5728/automkv064pj5.png

weaver4
28th December 2006, 17:15
Where is it... Where is it?

http://img401.imageshack.us/img401/5728/automkv064pj5.png

Oh...Thanks; don't I feel silly. I thought I had seen the link in this thread, so I looked for 20 minutes.

buzzqw
28th December 2006, 17:33
for anyone that problem with donate button here is the LINK (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)

i will add it to first topic

thanks!

BHH

killerhex
28th December 2006, 23:33
is mkv input allowed

weaver4
29th December 2006, 02:29
I am still having problems with audio sync using constant quality xvid. I have run this movie through avi.net, autogk, dr divx, and MeGui and they all have the audio in sync. But in automkv the movie is out of sync by 90 seconds (audio is late by 90 seconds).

Here are the files.

===================================
Log file.
===================================
16:43:56 0.64 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
16:43:56 Selected Input file: E:\Movies\Rips\MUMMY169\VTS_01_0.IFO
16:43:56 Selected Output dir: E:\Movies\temp\
16:43:56 Selected Container type: AVI
16:43:56 Selected Encoder: XviD
16:43:56 Selected Size: 1 CD
16:43:56 Selected Slice: 1
16:43:56 Selected Profile: XviD_CQ30.xml
16:43:56 Selected Width: 640
16:43:56 Selected Resizer: SimpleResize (neutral soft)
16:43:56 Selected Filters: RemoveGrain(mode=2)
16:43:56 Selected Deinterlacer: AUTO
16:43:56 NeroAACEnc.exe not present
16:43:56 Enabled CRF/CQ autoresize with value 3
16:43:56 Using Matrix: Sharktooth's EQM v3LR.cqm
16:43:56 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
16:43:56 Audio Codec 1: Lame
16:43:56 Audio Quality 1: 6
16:43:56 Selected Unlimited media size
16:43:56 Starting Indexing
16:43:56 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV063\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\Rips\MUMMY169\VTS_01_1.vob] -OF=[E:\Movies\temp\movie] -exit -minimize
16:46:30 Finished indexing
16:46:30 Starting fixing audio delay on track number 1
16:46:30 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV063\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 3_2ch 448Kbps DELAY 6ms.ac3"
16:47:07 Original 1' Audio Size: 419553792 bytes
16:47:08 Finished fixing audio delay
16:47:08 Encoding E:\Movies\temp\fixed1.ac3 To Mp3 with 6 quality
17:12:36 Encoded 1' Audio Track: 92157580 bytes
17:12:37 ForcedFilm applied: 99.900002% FILM found
17:12:44 Number of Frames: 179630
17:12:44 Framerate: 23.976025
17:12:44 Movie lenght in Seconds: 7493
17:12:44 Movie Width: 720
17:12:44 Movie Height: 480
17:12:44 CQ encoding XviD: C:\Downloads\AutoMKV\AutoMKV063\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Downloads\AutoMKV\AutoMKV063\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies\temp\movie.avs" -type 2 -avi "E:\Movies\temp\movie.avi"
19:32:17 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
19:32:17 Got a file of size: 826162688 bytes + audio size 92157580 bytes (918320256)
19:32:17 Only Movie Size: 826162688 bytes
19:33:32 Final Muxed size: 922267154 bytes
19:33:32 Encoding finished: 02:49:36 elapsed time
19:33:32 -----------------------------------------------------------------------
19:33:32 Muxing Script
19:33:32 C:\Downloads\AutoMKV\AutoMKV063\exe\matroska\AVIMux_GUI.exe E:\Movies\temp\muxavi
19:33:32
19:33:32 CLEAR
19:33:32 LOAD E:\Movies\temp\movie.avi
19:33:32 LOAD E:\Movies\temp\audio.mp3
19:33:32 SELECT FILE 1
19:33:32 ADD VIDEOSOURCE
19:33:32 SET INPUT OPTIONS
19:33:32 SET OPTION MP3 VERIFY CBR NEVER
19:33:32 SET OPTION MP3 VERIFY RESDLG OFF
19:33:32 SET OUTPUT OPTIONS
19:33:32 WITH SET OPTION
19:33:32 OPENDML 0
19:33:32 RECLISTS 0
19:33:32 AUDIO INTERLEAVE 3 FR
19:33:32 AVI ADDJUNKBEFOREHEADERS 0
19:33:32 PRELOAD 200
19:33:32 WITH AUDIO
19:33:32 NAME 1 english
19:33:32 END WITH
19:33:32 OVERWRITEDLG 0
19:33:32 CLOSEAPP 1
19:33:32 DONEDLG 0
19:33:32 ALL AUDIO 1
19:33:32 LEGACY 0
19:33:32 RECLISTS 1
19:33:32 NUMBERING OFF
19:33:32 MAXFILESIZE OFF
19:33:32 END WITH
19:33:32 START E:\Movies\temp\movie_full.avi
19:33:32 -----------------------------------------------------------------------
19:33:32 Script AutoCrop.log
19:33:32
19:33:32 Crop(10,54,704,368)
19:33:32 -----------------------------------------------------------------------
19:33:32 Script Resmovie.avs
19:33:32
19:33:32 -----------------------------------------------------------------------
19:33:32 Script movie.avs
19:33:32
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\autocrop.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\blockbuster.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\cnr2.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\ColorMatrix.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\Convolution3D.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\corrector.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\DctFilter.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\Decomb.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\Deen.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\degrainmedian.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\DGDecode.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\EEDI2.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\fft3dfilter.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\FluxSmooth.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\frfun7.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\hqdn3d.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\LeakKernelDeint.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\MaskTools.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\medianblur.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\MipSmooth.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\mt_masktools.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\mvtools.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\NicAudio.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\RemoveGrain.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\Repair.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\SangNom.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\SimpleResize.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\TBilateral.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\TDeint.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\TIVTC.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\TomsMoComp.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\TTempSmooth.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\UnDot.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\UnFilter.dll")
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\VSFilter.dll")
19:33:32 #loadpluginstart
19:33:32
19:33:32 #test1
19:33:32
19:33:32 Import("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\MCBob_v03c.avsi")
19:33:32 Import("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\mvbob.avsi")
19:33:32 Import("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\QMF.avsi")
19:33:32 Import("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\seesaw.avsi")
19:33:32 Import("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\spresso.avsi")
19:33:32 #importstart
19:33:32
19:33:32 #test2
19:33:32
19:33:32 movie = mpeg2source("E:\Movies\temp\movie.d2v")
19:33:32 function getOrder(clip c) {
19:33:32 order = GetParity(c) ? 1 : 0
19:33:32 Return order }
19:33:32 #filter1start
19:33:32
19:33:32 #test3
19:33:32
19:33:32 #cropstart
19:33:32
19:33:32 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
19:33:32 fixed_aspect = 1.185185
19:33:32 c_width = width(cropclip)
19:33:32 c_height = Round(height(cropclip) / fixed_aspect)
19:33:32 input_par = float(float(c_width)/float(c_height))
19:33:32 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
19:33:32 out_width = 640
19:33:32 out_height = Round(float(out_width) / input_par)
19:33:32 hmod = out_height - (floor(out_height / 16 ) * 16)
19:33:32 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
19:33:32 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
19:33:32 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
19:33:32
19:33:32 #resizestart
19:33:32
19:33:32 #test4
19:33:32
19:33:32 SimpleResize(out_width,out_height)
19:33:32 #filter2start
19:33:32
19:33:32 #test5
19:33:32
19:33:32 RemoveGrain(mode=2)
19:33:32 -----------------------------------------------------------------------
19:33:32 Script mkvmaudio.avs
19:33:32
19:33:32 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\NicAudio.dll")
19:33:32 NicAC3Source("E:\Movies\temp\fixed1.ac3")
19:33:32 EnsureVBRMP3Sync()
19:33:32 ConvertAudioTo16bit()
19:33:32 #Applyed STEREO downmixing routines
19:33:32 function stereo(clip a)
19:33:32 {
19:33:32 fl = GetChannel(a, 1)
19:33:32 fr = GetChannel(a, 2)
19:33:32 c = GetChannel(a, 3)
19:33:32 lfe = GetChannel(a, 4)
19:33:32 sl = GetChannel(a, 5)
19:33:32 sr = GetChannel(a, 6)
19:33:32 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
19:33:32 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
19:33:32 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
19:33:32 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
19:33:32 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
19:33:32 Return MergeChannels(l, r).Normalize()
19:33:32 }
19:33:32 #
19:33:32 function original(clip a)
19:33:32 {
19:33:32 Normalize(a)
19:33:32 Return last
19:33:32 }
19:33:32 6==Audiochannels() ? stereo() : original()
19:33:32 -----------------------------------------------------------------------
19:33:32 Script mkvmaudio.bat
19:33:32
19:33:32 "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\temp\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\lame.exe" -v --vbr-new -h -S -V 6 - "E:\Movies\temp\audio.mp3"
19:33:32 -----------------------------------------------------------------------
19:33:32 Script mkvmaudio2.avs
19:33:32
19:33:32 -----------------------------------------------------------------------
19:33:32 Script mkvmaudio2.bat
19:33:32
19:33:32
19:33:32 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

===================================
Profile.
===================================
<?xml version="1.0" ?>
- <VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>cq</Name>
- <Settings xsi:type="xvidSettings">
<EncodingMode>1</EncodingMode>
<BitrateQuantizer>3</BitrateQuantizer>
<KeyframeInterval>300</KeyframeInterval>
<NbBframes>2</NbBframes>
<MinQuantizer>2</MinQuantizer>
<MaxQuantizer>31</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>true</Trellis>
<CreditsQuantizer>12</CreditsQuantizer>
- <FourCCs>
<string>XVID</string>
<string>DIVX</string>
<string>DX50</string>
<string>MP4V</string>
</FourCCs>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>0</FourCC>
<Zones />
<MaxNumberOfPasses>2</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<MotionSearchPrecision>6</MotionSearchPrecision>
<VHQMode>1</VHQMode>
<QuantType>0</QuantType>
<MinPQuant>2</MinPQuant>
<MaxPQuant>31</MaxPQuant>
<MinBQuant>2</MinBQuant>
<MaxBQuant>31</MaxBQuant>
<BQuantRatio>162</BQuantRatio>
<BQuantOffset>0</BQuantOffset>
<KeyFrameBoost>10</KeyFrameBoost>
<KeyframeThreshold>1</KeyframeThreshold>
<KeyframeReduction>20</KeyframeReduction>
<OverflowControlStrength>5</OverflowControlStrength>
<MaxOverflowImprovement>5</MaxOverflowImprovement>
<MaxOverflowDegradation>5</MaxOverflowDegradation>
<HighBitrateDegradation>0</HighBitrateDegradation>
<LowBitrateImprovement>0</LowBitrateImprovement>
<ReactionDelayFactor>16</ReactionDelayFactor>
<AveragingPeriod>100</AveragingPeriod>
<FrameDropRatio>0</FrameDropRatio>
<RateControlBuffer>0</RateControlBuffer>
<VbvPeakRate>0</VbvPeakRate>
<VbvMaxRate>0</VbvMaxRate>
<VbvBuffer>0</VbvBuffer>
<PackedBitstream>false</PackedBitstream>
<GMC>false</GMC>
<ChromaMotion>true</ChromaMotion>
<ClosedGOP>true</ClosedGOP>
<VHQForBframes>true</VHQForBframes>
<AdaptiveQuant>true</AdaptiveQuant>
<Greyscale>false</Greyscale>
<Interlaced>false</Interlaced>
<BottomFieldFirst>true</BottomFieldFirst>
<LumiMasking>false</LumiMasking>
<BframeThreshold>0</BframeThreshold>
<CustomQuantizerMatrix>extra\Sharktooth's EQM v3LR.cqm</CustomQuantizerMatrix>
</Settings>
</VideoProfile>

===================================
The Mux File
===================================
CLEAR
LOAD E:\Movies\temp\movie.avi
LOAD E:\Movies\temp\audio.mp3
SELECT FILE 1
ADD VIDEOSOURCE
SET INPUT OPTIONS
SET OPTION MP3 VERIFY CBR NEVER
SET OPTION MP3 VERIFY RESDLG OFF
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 0
RECLISTS 0
AUDIO INTERLEAVE 3 FR
AVI ADDJUNKBEFOREHEADERS 0
PRELOAD 200
WITH AUDIO
NAME 1 english
END WITH
OVERWRITEDLG 0
CLOSEAPP 1
DONEDLG 0
ALL AUDIO 1
LEGACY 0
RECLISTS 1
NUMBERING OFF
MAXFILESIZE OFF
END WITH
START E:\Movies\temp\movie_full.avi

weaver4
29th December 2006, 02:56
After looking at this some more it appears that audio gets out of sync further as the movie proceeds.

I played both the autogk and automkv version in MPC and here are the properties.

------ AutoGK
Video: XVID 640x288 23.98fps [Stream 00]
Audio: MPEG Audio Layer 3 48000Hz stereo 160Kbps [Stream 01]

------ AutoMKS
Video: XVID 640x288 25.00fps [Stream 00]
Audio: MPEG Audio Layer 3 44100Hz stereo 97Kbps [01) english]

SeeMoreDigital
29th December 2006, 10:42
After looking at this some more it appears that audio gets out of sync further as the movie proceeds.

I played both the autogk and automkv version in MPC and here are the properties.

------ AutoGK
Video: XVID 640x288 23.98fps [Stream 00]
Audio: MPEG Audio Layer 3 48000Hz stereo 160Kbps [Stream 01]

------ AutoMKS
Video: XVID 640x288 25.00fps [Stream 00]
Audio: MPEG Audio Layer 3 44100Hz stereo 97Kbps [01) english]First.... Can you confirm whether your MPEG-2 source is PAL or NTSC?

buzzqw
29th December 2006, 10:49
My Kudos to Weaver4 !

YOU have resolved !!!

the source if fully FILM so automkv (as autogk) will ForceFilm in dgindex !

BUT xvid_encraw isn't able to recognize the framerate ! and so put 25 fps as default value

www.64k.it/andres/data/a/AutoMKV064a.exe

ADDED: -framerate to xvid_encraw command line
FIXED: lot's of bugs in queue mode
FIXED: is now possible to delete single job

:thanks: for your patience (and Contribute!)

BHH

dssgorila
29th December 2006, 13:52
I used to the psp profile to create a encode a video for my psp. but when I copied to the psp and tried to play the file i get Unsupported Data. the only thing i can think of is the file has a res of 704x304 not sure if the psp can play that res. I thought choosing the psp template would configure the video for psp spec. Am i missing something?

fogbav
29th December 2006, 13:55
Hi Buzzqw,

think a path error is back again ... i am encoding a m2v in path

d:\ace4.0\tmp\film.m2v

but xvid_encraw has following params :

D:\ACE4.0\temp>"D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate
1514 -turbo -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pma
x 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 20 -clow 7 -nopacked
-nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\temp\movie.avs" -type 2 -avi "D:\ACE4.0\temp\movie_firstpass.avi"



so the temp path is one directory above the real path ... is this a new planed change ?

muxxing to final mp4 container is also wrong :

"D:\ACE4.0\exe\matroska\mp4box.exe" -add "D:\ACE4.0\temp\movie.avi":par=2.392523 -chap "D:\ACE4.0\exe\chapters.txt" -fps 25.000000 "D:\ACE4.0\temp\movie.mp4"

it should go into d:\ace4.0\tmp\movie.mp4 ....

so final movie.mp4 ends up in

d:\ace4.0\temp\movie.mp4

and not in

d:\ace4.0\tmp\movie.mp4

buzzqw
29th December 2006, 14:27
could please post the first 10 lines of log ?
and the first lines of automkv.ini ?

i tryed from command line (m2v, no audio, xvid into mp4) and no got error

this is my log (as example)

14:22:20 0.64a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
14:22:20 Selected Input file: c:\Programmi\PureBasic4\AutoMKV\test\Sample_1.demuxed.m2v
14:22:20 Selected Output dir: C:\Programmi\PureBasic4\AutoMKV\test\temp\

and this is the mux line

14:22:29 C:\Programmi\PureBasic4\AutoMKV\exe\matroska\mp4box.exe -add "C:\Programmi\PureBasic4\AutoMKV\test\temp\movie.avi":par=1.367521 -chap "C:\Programmi\PureBasic4\AutoMKV\exe\chapters.txt" -fps 29.970030 "C:\Programmi\PureBasic4\AutoMKV\test\temp\movie.mp4"

and this is part of automkv.ini

; AutoMKV default parameters
; If AutoMKV.ini is present then specified parameters will be loaded
[AutoMKV]
Input Folder = C:\Programmi\PureBasic4\AutoMKV\test\
Output Folder = C:\Programmi\PureBasic4\AutoMKV\test\
Container = MP4


EDIT: and this is the command line used C:\Programmi\PureBasic4\AutoMKV>AutoMKV064a.exe automkv.ini c:\Programmi\PureBasic4\AutoMKV\test\Sample_1.demuxed.m2v" 0 0 0 0 start wait

thanks

BHH

fogbav
29th December 2006, 14:43
Sorry BuzzQW ... my first wrong bug ...8)

Movie.mp4 is created in d:\ace4.0 dir ...

only thing changed from last version is that the temp directory is now created on another place ...

and ...

i have to select in automkv.ini the destination folder ...

so i change my script ...

Sorry again ...

buzzqw
29th December 2006, 15:15
@fogbav

try this build www.64k.it/andres/data/a/AutoMKV064b.exe

if dest folder is specified then is used, if not will be muxed where is the input file (and the work is done is inputfile\temp folder)

BHH

fogbav
29th December 2006, 15:23
Yeah ... thats the one i need ...8)

Thhaanks ... greater for scripting purposes ...8)

Edit : Works perfect again ... thanks !

weaver4
30th December 2006, 00:52
My Kudos to Weaver4 !

YOU have resolved !!!

the source if fully FILM so automkv (as autogk) will ForceFilm in dgindex !

BUT xvid_encraw isn't able to recognize the framerate ! and so put 25 fps as default value

www.64k.it/andres/data/a/AutoMKV064a.exe

ADDED: -framerate to xvid_encraw command line
FIXED: lot's of bugs in queue mode
FIXED: is now possible to delete single job

:thanks: for your patience (and Contribute!)

BHH

I just checked this version....and the audio is in sync!!!! Great JOB!

weaver4
30th December 2006, 16:16
If you add CQ encoding (either XviD or x264) to the queue and then press the start queue button the dialog box for "go unlimited" comes up twice before each job. This is really annoying because before each job it stops while it waits for me to answer this dialog.

Also, I know this was mentioned a few months ago but AutoMKV application still disappears when you are running a queue. This makes it very difficult to see the log.

buzzqw
30th December 2006, 18:04
www.64k.it/andres/data/a/AutoMKV064c.exe

FIXED: when adding files to queue now is saved "Hit Media Size/Go Unlimited" (thanks to weaver4)

About: window... i am working on it :)

BHH

buzzqw
30th December 2006, 18:36
DONE IT ! YES!!!

in next version both on queue and command line automkv will not hide itself !!!

BUT PLEASE , pay attention. On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab

BHH

vOjToL
30th December 2006, 20:23
Hi buzzqw!

A one little thing, when I click "select input file", "Open File to Encode" window is opening, and then I change my plans and press "cancel" I get the popup window "Attention- Low Disk Space or Read Only Destination" ?

weaver4
30th December 2006, 21:15
DONE IT ! YES!!!

in next version both on queue and command line automkv will not hide itself !!!

BUT PLEASE , pay attention. On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab

BHH

Good news!!! I think you are getting close to 1.0!

Barleyman
31st December 2006, 01:49
Hm. AVI + "Xvid PAR = AUTO" does not actually do anything.. I assumed it'd detect source AR..

For MKV, PAR auto still does not do anything but "force muxing AR = AUTO" sets the correct AR for MKVmerge.

Setting correct AR manually with XVID PAR for avi works properly.

buzzqw
31st December 2006, 10:09
@vOjToL

is a wanted warning, since i set destination directory based on input file ... anyway... FIXED in next release :)

@weaver4
yep... wasn't so easy...

next big step is to free automkv window, so when automkv is working would be possible to add dinamically new work

@Barleyman
Hm. AVI + "Xvid PAR = AUTO" does not actually do anything.. I assumed it'd detect source AR..
i have choose to NOT PASS -par paramenter to xvid, so auto don't do anything (as you say)


BHH

boombastic
31st December 2006, 14:59
Hi buzzqw i'm writinig you here considering that the other forum is down at the moment....
Can you consider to change the matrix associated to the SAP profile to mpeg standard matrix?I think it's missleading naming a profile SAP while using a Custom Matrix. I think you can change the matrix or the name of the profile!What do you think about?

weaver4
31st December 2006, 15:22
Hi buzzqw i'm writinig you here considering that the other forum is down ...

What other forum?

buzzqw
31st December 2006, 15:31
@weaver4
italian forum :)

@boombastic

do i so enormeus error ?

FIXED (not already ... but FIXED)

thanks

BHH

P.S :temporary down ?

Barleyman
31st December 2006, 16:37
i have choose to NOT PASS -par paramenter to xvid, so auto don't do anything (as you say)


Yeah. So maybe "none" would be better default option than "auto"?

Trying queues 1st time with xvid + mkv now, let's see what you guys got done over holidays..

Barleyman
31st December 2006, 17:53
in this way the autocrop will start to analyze movie from frame 5000


Hmm.

Could this be changed to make multiple autocrop passes at some arbitary points of the file (like 20% + 40% + 60% + 80%) and pick the highest detected value?

Also the analyzed frames should be probably cranked up to pick up burned subtitles. With 40 frames if there are no subs for <2 secs, autocrop will happily slice letterboxed movie's subtitles away..

I don't think there's too much performance penalty by cranking that to, say, 750 frames considering encoding 45 min tv episode will in any case take a long time.

Let's see. I cranked samples to 750 and start frame to 7500, which is a bit of a brute force approach.

buzzqw
31st December 2006, 18:40
So maybe "none" would be better default option than "auto"?

good point. FIXED in next release

I don't think there's too much performance penalty by cranking that to, say, 750 frames considering encoding 45 min tv episode will in any case take a long time

not lose performance at all, just slower to start

I cranked samples to 750 and start frame to 7500, which is a bit of a brute force approach.

bruteforce... yes but a good approach.

Tips: try to use Manual Crop (in this way you can tell me if is fuctional... or broken :D )

BHH

EDIT: don't even try to queue with files in manual crop and other in autocrop... FIXED in next version

Unrealbr
1st January 2007, 00:47
I'm having a little issue when trying to rip from dvd directly, it decrypts fine with DVDFab but after that the DGIndex will just freeze and stay that way for hours and hours
Sorry i'm really T3H N00B in dvd encoding, so far all that i used to do was Anime encoding ^^.
For the time beeing i cant give you more details because i know NOTHING at all.

buzzqw
1st January 2007, 14:24
@Unrealbr

more info you give more help you got :)

please post the log

also, where you put destination folder ? not on dvd...

BHH

Unrealbr
1st January 2007, 14:38
11:34:18 0.64c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:34:18 Selected Input file:
11:34:18 Selected Output dir: F:\GTO\Assisti\temp\
11:34:18 Selected Container type: MP4
11:34:18 Selected Encoder: X264
11:34:18 Selected Size: 700
11:34:18 Selected Slice: 1
11:34:18 Selected Profile: CE-Mainprofile.xml
11:34:18 Selected Width: 720
11:34:18 Selected Resizer: LanczosResize
11:34:18 Selected Filters: Convolution3d (preset="movieHQ")
11:34:18 Selected Deinterlacer: NONE
11:34:18 Enabled CRF/CQ autoresize with value
11:34:18 Using Queue: automkv.ini of 0 works
11:34:18 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
11:34:18 Audio Codec 1: Nero AAC
11:34:18 Audio Quality 1: 0.35
11:34:18 Activate Anamorphic Encoding
11:34:18
11:34:18 Starting ripping from H:\VIDEO_TS\ to F:\GTO\Assisti\temp\
11:36:19 Finished Ripping
11:36:19 Starting Indexing
11:36:19 Dgindex CMD: E:\AutoMKV064\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\GTO\Assisti\temp\dvd\video_ts\VTS_01_1.vob] -OF=[F:\GTO\Assisti\temp\movie] -exit -minimize
11:37:25 Finished indexing

Wont get past this :(
The output is set to my 320gb HD

buzzqw
1st January 2007, 14:50
11:36:19 Dgindex CMD: E:\AutoMKV064\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\GTO\Assisti\temp\dvd\video_ts\VTS_01_1.vob] -OF=[F:\GTO\Assisti\temp\movie] -exit -minimize
11:37:25 Finished indexing

this seems to be correct, is very quick in indexing.. but is ok.
Is dgindex working ? creating audio and movie.d2v files ?

remember also that you must have installed

1) avisynth http://downloads.sourceforge.net/avisynth2/Avisynth_256.exe?modtime=1130597296&big_mirror=0
2) net framework http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en


BHH

Unrealbr
1st January 2007, 15:56
this seems to be correct, is very quick in indexing.. but is ok.
Is dgindex working ? creating audio and movie.d2v files ?

remember also that you must have installed

1) avisynth http://downloads.sourceforge.net/avisynth2/Avisynth_256.exe?modtime=1130597296&big_mirror=0
2) net framework http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en


BHH
Got avisynth and netframeworks 1.1 and 2.0 installed
movie.d2v is beeing created but not audio.d2v just AC3.
Btw, this time it got past though i did nothing wrong :confused: :confused:

buzzqw
1st January 2007, 16:16
...

movie.d2v and movie_xx_xx.ac3 is done through dgindex... so this is ok

BUT remember AFTER dgindex is runned delaycut, this utility is HIDDEN you don't see it work, just a fixed.ac3 growing and growing (to get movie_xx_xx.ac3 size).
After then the audio and video process start.

BHH

boombastic
1st January 2007, 16:33
@weaver4
italian forum :)

@boombastic

do i so enormeus error ?

FIXED (not already ... but FIXED)

thanks

BHH

P.S :temporary down ?

I hope temporary!

Unrealbr
1st January 2007, 17:16
...

movie.d2v and movie_xx_xx.ac3 is done through dgindex... so this is ok

BUT remember AFTER dgindex is runned delaycut, this utility is HIDDEN you don't see it work, just a fixed.ac3 growing and growing (to get movie_xx_xx.ac3 size).
After then the audio and video process start.

BHH

If it runs, its a light one because at the time i had problems the CPU usage wouldnt go higher then 3%.

buzzqw
1st January 2007, 17:52
is a disk operation NOT CPU

anyway IS FIXED.ac3 file created ? is growing ?

if yes it is ok, if this file isn't created something other goes wrong

BHH

Barleyman
1st January 2007, 19:46
Deinterlace does not seem to work for batch files.. At least not in AUTO-mode.

sp_int.jpg (http://personal.inet.fi/koti/ohramies/2006/sp_int.jpg)

And here's the log file.. No mention of interlaced source there for sure.

southpark.mpg.log (http://personal.inet.fi/koti/ohramies/2006/southpark.mpg.log)

buzzqw
1st January 2007, 20:05
the test to deinterlace was done
18:34:45 Order: unk
mean Order (bff/tff): unknow

please post the interesting stuff in deint.log (tff/bff/frame based...)

BHH

EDIT: could you also post a sample ? (PM)

Barleyman
1st January 2007, 21:50
the test to deinterlace was done
18:34:45 Order: unk
mean Order (bff/tff): unknow

please post the interesting stuff in deint.log (tff/bff/frame based...)

BHH

EDIT: could you also post a sample ? (PM)

Meh. Have to encode it again as the logs have been overwritten a while ago.

You mean a sample of the mpg file?

Btw, what's the correct combination of settings to encode with a given bitrate on a single pass without resizing? (xvid + avi/mkv). Is that an AVERAGE bitrate which uses more bits for tougher scenes and less for easier? Or a fixed bitrate?

The quantiser value doesn't seem to be very flexible..

Ed: There's the bitrate option which you told me does nothing in CQ profile. There's also option to hit a target size, but that only affects the resize..? Or does it do something else too?

Unrealbr
2nd January 2007, 01:22
Btw, i encoded my DVD but oddly it encoded on a 4:3 basis when it should have had been 16:9, is there anyway to fix that without having to go all the way encoding again?? Took me an everlasting 3h to encode @ mp4 h264 720x some random 4:3 crap.

buzzqw
2nd January 2007, 09:57
Meh. Have to encode it again as the logs have been overwritten a while ago.
no prob... in next release "Delete temp. file" will be unchecked by default :angry: (not with you)

You mean a sample of the mpg file? yes!

Btw, what's the correct combination of settings to encode with a given bitrate on a single pass without resizing? (xvid + avi/mkv).
Set Width to "AutoCrop Only" (for no resize, just autocrop) or set Resize to NONE for NO resize and NO autocrop

Fixed bitrate ? use (check) in advanced setting "Specify Bitrate"

Is that an AVERAGE bitrate which uses more bits for tougher scenes and less for easier? Or a fixed bitrate?

you want a CQ encoding.

The quantiser value doesn't seem to be very flexible..
is taken from profile. Just edit the value (xxx) in <BitrateQuantizer>XXX</BitrateQuantizer> profile

Ed: There's the bitrate option which you told me does nothing in CQ profile. read above :)

There's also option to hit a target size, but that only affects the resize..? Or does it do something else too?
allow to hit a fixed size, and the resize could be automatic or fixed width :)

Btw, i encoded my DVD but oddly it encoded on a 4:3 basis when it should have had been 16:9, is there anyway to fix that without having to go all the way encoding again?? Took me an everlasting 3h to encode @ mp4 h264 720x some random 4:3 crap.

so... i suppose you resolved your problem ;)

what container have you selected ? also ... the AR is parsed from d2v (open with notepad) file and the DAR (used in muxing) is extracted from final width/height.

BHH

Barleyman
2nd January 2007, 12:11
Fixed bitrate ? use (check) in advanced setting "Specify Bitrate"

That doesn't do anything with CQ profile.. right?


is taken from profile. Just edit the value (xxx) in <BitrateQuantizer>XXX</BitrateQuantizer> profile

allow to hit a fixed size, and the resize could be automatic or fixed width :)


The only problem is that this is fairly coarse setting. q=3 == OK quality, q=4 == crappy quality.

Hit target media is EVEN SLOWER than 2-pass. It compresses the whole dang movie at "best quess" value, which is often wrong, and then does it all over again at an explicit ABR value.

For background, I'm compressing episodes of OZ from dvb. It's interlaced (ouch) and has "documentary feeling" noise filter applied at source. Therefore it takes forever to compress (2.5 hours for 65 min episode) and produces very large file. Since the source is interlaced I can't even use the supplied removegrain-filters..

..Maybe I should invest into a dual-core cpu one day..

Barleyman
2nd January 2007, 12:22
no prob... in next release "Delete temp. file" will be unchecked by default :angry: (not with you)


Are you sure there are no problems with the old ac3 files etc in the temp directory?

buzzqw
2nd January 2007, 12:35
Update FULL PACKAGE www.64k.it/andres/data/a/AutoMKV066.rar

this build add a basic support to ZUNE and PSP , please report any problem !

0.65
ADDED: Icon to message warning (very hard work... ;) )
ADDED: Some new tooltips
ADDED: In log is now written command line used (if used)
ADDED: In log final file name
FIXED: When using queue or command line now AutoMKV don't hide itself. PLEASE , pay attention! On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab
FIXED: PAR usage, default is NONE
FIXED: In queue mode the manual crop was applyed to all encoding
FIXED: Better log
UPDATE: Italian translation

0.66
ADDED: Beta support to encoding for PSP (select X264 and PSP profile)
ADDED: Beta support to encoding for Zune (select WMV and Zune profile)
ADDED: Profile now is specified the width. If value is set to not to false the width is set to this value
ADDED: Level to X264.exe command line
ADDED: Parsed from x264 profile the "--no-ssim" options
UPDATE: X264 profile's to latest of SharkTooth. Isn't exactly the same because i added some more tweak
FIXED: Now "Del temporary file" is unchecked by default (for better debugging)

That doesn't do anything with CQ profile.. right?
absolutely

The only problem is that this is fairly coarse setting. q=3 == OK quality, q=4 == crappy quality.
why not 2.5 or 3.5 ? edit the profile in Advanced profile editing AND check use this profile

Hit target media is EVEN SLOWER than 2-pass. It compresses the whole dang movie at "best quess" value, which is often wrong, and then does it all over again at an explicit ABR value.
do you know a better approach ? :sly: feel free to suggest

Since the source is interlaced I can't even use the supplied removegrain-filters..
FALSE. The filters is applied AFTER deinterlacer :)

Are you sure there are no problems with the old ac3 files etc in the temp directory?
:confused: i don't unterstud

BHH

fogbav
2nd January 2007, 13:09
Yehaaaa ! Next round ... Batch Testing is in process mode ...8)

Thanx Buzzqw 4 the New Year present and the hard work you had to investigate ...

buzzqw
2nd January 2007, 13:39
:)

pay attention to temp files... with this release by default ISN'T check "Del temp files"

BHH

Barleyman
2nd January 2007, 15:31
:confused: i don't unterstud
BHH

[old temp files causing trouble]

I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.

Barleyman
2nd January 2007, 15:34
do you know a better approach ? :sly: feel free to suggest

[hit target media in 1-pass]

Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?

If the resize is disabled, the 1st try to compress entire file is useless, no?

Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder.

buzzqw
2nd January 2007, 16:33
I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.

yes, you are right.

in next release i will delete more files from \temp folder (*.ac3,*.avs,*.bat...)

Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?

i would like it is so easy , read this http://forum.doom9.org/showthread.php?t=116773

Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder. it have been update !

BHH

bingo
3rd January 2007, 14:40
Final file is undersized.
I used OGG Vorbis audio codec and set bitate to 3.
video codec: Xvid
Video size is set custom to 2190 (mb).

The final mkv video is 1920mb (should be 2190mb).
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).
What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.

Greetings bingo

buzzqw
3rd January 2007, 14:57
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).

is audio muxed in final mkv ?

Could be you have just saturated the movie ? (try with x264...)

What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.

this isn't important :) ! this value is not the true quality but the slider value (just try ogg quality 6 , you will see 12, x2)
(anyway in next update i will put the exact value in queue)

BHH

bingo
3rd January 2007, 15:31
is audio muxed in final mkv ?


yes, it is allready in the file.

buzzqw
3rd January 2007, 16:24
btw for check audio parameter open mkvmaudio.bat

i can assure (and you can test encoding with x264) that bitrate used is ok.

Simply xvid_encraw seems to don't have a good ratecontrol :angry: i will search on in

thanks anyway
BHH

sjchmura
3rd January 2007, 17:37
VC1/WMV support:

DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.

So

1. Is this using VC1 AP or Main Profile?
2. The audio is 100% broken if you have AC3Filter set to encode to SPDIF :( Is there a way to manually use AC3DECODE from nicaudio in the avisynth script? (5.1 AC3->WMV 5.1 crashes with no error with AC3Filter 1.11 and SPDIF enabled.)

buzzqw
3rd January 2007, 18:41
DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.

yes, if you open the xml you will see wvc1
BUT i use cscript and WMCmd.vbs i don't know if power toy fuctions will be used (in addition to command line) ? :confused:


Is there a way to manually use AC3DECODE from nicaudio

NO, sorry :o
only with graphedit files is possible...

BHH

SeeMoreDigital
3rd January 2007, 18:49
Hi Buzzqw,

Any further thoughts about configuring AutoMKV to encode Xvid directly into the .MP4 container, instead of the .AVI container first?


Cheers

buzzqw
3rd January 2007, 19:15
added in TODO file

anyway i will use this option only if final container is mp4 or mkv

(i had forgotten... ;) )

BHH

SeeMoreDigital
3rd January 2007, 19:22
That's great news.... Many thanks :D

Barleyman
3rd January 2007, 20:13
Meh.

Another possible conflict: If you have AC3 audio track and you want to downmix that to stereo, you choose LAME, right?

No. You have to choose LAME AND "stereo" instead of "original.

buzzqw
3rd January 2007, 20:20
no, you can use even original ... test it :)

i have added a "Sanity Check" in mkvmaudio.avs

"6==Audiochannels() ? stereo() : original()"

BHH

buzzqw
3rd January 2007, 20:43
@SMD

latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...

BHH

EDIT: and mp4box seems no able to handle raw input :(

SeeMoreDigital
3rd January 2007, 21:06
@SMD

latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...

EDIT: and mp4box seems no able to handle raw input :(How "RAW" is "RAW".... Normally just re-naming the file extension to either .M4V or .CMP will enable MP4box to mux the stream.

If you wish you e-mail a short RAW sample to me....

Barleyman
3rd January 2007, 21:12
no, you can use even original ... test it :)
i have added a "Sanity Check" in mkvmaudio.avs
"6==Audiochannels() ? stereo() : original()"


Yeah, I did try that.

Got -1 audio size and no mkv file.

SeeMoreDigital
3rd January 2007, 21:30
Oooooo.... my previous post was numbered "666" :devil:

Nico.Laus.2001
3rd January 2007, 21:54
I encountered a problem while working without administrative rights on NTFS (AutoMKV 0.66):

although I've got every rights on a folder, muxing with mp4box stops with an I/O error telling that the target file could not be accessed. As an admin that works and on FAT32 both work.

although it's more a problem of mp4box, maybe you got some ideas (maybe something yuo could influence when compiling mp4box into the package)

AMED
3rd January 2007, 22:27
I have this weird issue with the compression test failing, AutoMKV 0.66 doesn't seem to be saving the 18 that is in the Use CFR for Autoresize Routines box, this only occurs after i use the save settings button and close down AutoMKV and reopen it. Even manually typing in the 18 into the box, after automkv is closed it still goes back to a blank box. If i delete the automkv.ini file and run automkv again the 18 comes back.

10:22:25 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:22:25 Selected Input file: D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_0.IFO
10:22:25 Selected Output dir: D:\THE_NAKED_GUN1\VIDEO_TS\temp\
10:22:25 Selected Final Name: movie
10:22:25 Selected Container type: MKV
10:22:25 Selected Encoder: X264
10:22:25 Selected Size: 1/3 DVD-R
10:22:25 Selected Slice: 1
10:22:25 Selected Profile: HQ-Slow.xml
10:22:25 Selected Width: Automatic
10:22:25 Selected Resizer: LanczosResize
10:22:25 Selected Filters: RemoveGrain(mode=2)
10:22:25 Selected Deinterlacer: AUTO
10:22:25 NeroAACEnc.exe: not present
10:22:25 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
10:22:25 Audio Codec 1: Copy Original
10:22:25 Audio Quality 1: 0.35
10:22:25 Selected 1' Sub tracks: NONE
10:22:25 Selected 2' Sub tracks: NONE
10:22:25
10:22:25 Starting Indexing
10:22:25 Dgindex CMD: J:\Video\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_1.vob] -OF=[D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie] -exit -minimize
10:24:03 Finished indexing
10:24:03 Starting fixing audio delay on track number 1
10:24:03 DelayCut CMD: J:\Video\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "D:\THE_NAKED_GUN1\VIDEO_TS\temp\fixed1.ac3" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
10:24:09 Original 1' Audio Size: 273917952 bytes
10:24:09 Finished fixing audio delay
10:24:09 Renamed file fixed1.ac3 to audio.ac3
10:24:09 Encoded 1' Audio Track: 273917952 bytes
10:24:12 Number of Frames: 122285
10:24:12 Framerate: 25.000000
10:24:12 Movie lenght in Seconds: 4892
10:24:12 Movie Width: 720
10:24:12 Movie Height: 576
10:25:09 Processing completed. Type is determined to be progressive.
10:25:09 Order: unk
10:25:09 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1537212416 bytes
10:25:09 CRF encoding X264: J:\Video\AutoMKV066\exe\encoder\x264.exe --pass 1 --crf --stats "D:\THE_NAKED_GUN1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.mp4" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.avs"
10:25:12 Tested total movie: 5%
10:25:12 AutoResize movie size: -1 bytes
10:25:12 Movie Width suggested: 0 value based on sample size
10:25:12 Warning !!! - Too low resolution. Set witdh to 240

Barleyman
3rd January 2007, 22:41
Well.

The problem does not seem to be the "original vs stereo" after all.

There's the log file. (http://personal.inet.fi/koti/ohramies/2006/VTS_09_0.IFO.log)

1st off, at least logfile misses parentheses around mkvmerge...

E:\Movies-E\Star Wreck Imperial Edition>C:\Program Files\AutoMKV\exe\matroska\mk
vmerge.exe -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --asp
ect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\
Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movies
-E\Star Wreck Imperial Edition\temp\audio.mp3"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

2nd.. It get's better:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20

Error: 'suo' is neither a valid ISO639-2 nor a valid ISO639-1 code. See 'mkvmerg
e --list-languages' for a list of all languages and their respective ISO639-2 co
des.

Oops. Finally, this one produces expected result:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:fin "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi': Using the AVI demultip
lexer. Opening file. This may take some time depending on the file's size.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3': Using the MP2/MP3 demu
ltiplexer.
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi' track 0: Using the MPEG
-4 part 2 video output module.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3' track 0: Using the MPEG
audio output module.
The file 'E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv' has been o
pened for writing.

buzzqw
3rd January 2007, 22:48
@SeeMoreDigital
very good tips ! renaming from .raw to .m4v does the trick !

@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?

@AMED
i will try to replicate, thanks for this bug !

@Nico.Laus.2001
i will check on my side :)


BHH

Barleyman
4th January 2007, 00:02
@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?

fin for "Finnish" works.. I'm sure finnish language dvd-rips are not top of the list of anyone developing containers :rolleyes:

buzzqw
4th January 2007, 00:11
Suomi -> Fin , fixed in next release

thanks!

BHH

buzzqw
4th January 2007, 00:27
@AMED

FIXED in next release

i added (both for queue/Command line mode and save default) if crf/cq is used and what value

thanks

BHH

Unrealbr
4th January 2007, 12:13
I'm having a couple of issues with 0.66 when trying to encode, the x264.exe is crashing after about 6min of encoding. Dunno if it is because im encoding @ 44fps, wich is kinda fast since i've set it to use no filters. Odly I didnt have had problems with 0.64.
I'm including the log below
08:58:20 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
08:58:20 Selected Input file: F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Selected Output dir: F:\Karekano[1 ao 26]DVD-RIP\temp\
08:58:20 Selected Final Name: CanalProject_KAMIKAKUSHI_KareKano_10
08:58:20 Selected Container type: MP4
08:58:20 Selected Encoder: X264
08:58:20 Selected Size: 50
08:58:20 Selected Slice: 1
08:58:20 Selected Profile: CE-Mainprofile.xml
08:58:20 Selected Width: AutoCrop Only
08:58:20 Selected Resizer: LanczosResize
08:58:20 Selected Filters: NONE
08:58:20 Selected Deinterlacer: AUTO
08:58:20 Enabled CRF/CQ AutoRes at 18 value
08:58:20 Track Language 1: [Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Audio Codec 1: Nero AAC
08:58:20 Audio Quality 1: 0.30
08:58:20 Selected 1' Sub tracks: NONE
08:58:20 Selected 2' Sub tracks: NONE
08:58:20
08:58:30 Number of Frames: 43377
08:58:30 Framerate: 29.969999
08:58:30 Movie lenght in Seconds: 1448
08:58:30 Movie Width: 640
08:58:30 Movie Height: 480
08:59:41 Processing completed. Type is determined to be progressive.
08:59:41 Order: unk
08:59:41 Encoding F:\Karekano[1 ao 26]DVD-RIP\temp\ to NeroAAC with 0.30 quality
09:01:05 Encoded 1' Audio Track: 13666252 bytes
09:01:05 Starting X264
09:01:05 Command Line 1' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 1 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output NUL "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:01:05 Command Line 2' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 2 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4" "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:12:09 E:\AutoMKV066\exe\matroska\mp4box.exe -add "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4":par=1.000000 -chap "E:\AutoMKV066\exe\chapters.txt" -add "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4:lang=und" -fps 29.969999 "F:\Karekano[1 ao 26]DVD-RIP\temp\CanalProject_KAMIKAKUSHI_KareKano_10_full.mp4"
09:12:09 Final Muxed size: -1 bytes
09:12:09 Encoding finished: 00:13:49 elapsed time
09:12:09 -----------------------------------------------------------------------
09:12:09 Script AutoCrop.log
09:12:09
09:12:09 Crop(4,0,632,480)
09:12:09 -----------------------------------------------------------------------
09:12:09 Script Resmovie.avs
09:12:09
09:12:09 -----------------------------------------------------------------------
09:12:09 Script movie.avs
09:12:09
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\autocrop.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\blockbuster.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\cnr2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\ColorMatrix.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Convolution3D.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\corrector.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DctFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Decomb.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Deen.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\degrainmedian.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DGDecode.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\EEDI2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\fft3dfilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\FluxSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\frfun7.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\hqdn3d.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MaskTools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\medianblur.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MipSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mt_masktools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mvtools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\NicAudio.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\RemoveGrain.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Repair.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SangNom.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SimpleResize.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TBilateral.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TIVTC.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TomsMoComp.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TTempSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnDot.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\VSFilter.dll")
09:12:09 #loadpluginstart
09:12:09
09:12:09 #test1
09:12:09
09:12:09 Import("E:\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\mvbob.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\QMF.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\seesaw.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\spresso.avsi")
09:12:10 #importstart
09:12:10
09:12:10 #test2
09:12:10
09:12:10 movie = directshowsource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
09:12:10 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
09:12:10 function getOrder(clip c) {
09:12:10 order = GetParity(c) ? 1 : 0
09:12:10 Return order }
09:12:10 #filter1start
09:12:10
09:12:10 #test3
09:12:10
09:12:10 #cropstart
09:12:10
09:12:10 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:12:10 fixed_aspect = 1
09:12:10 c_width = width(cropclip)
09:12:10 c_height = Round(height(cropclip) / fixed_aspect)
09:12:10 input_par = float(float(c_width)/float(c_height))
09:12:10 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:12:10 out_width = 640
09:12:10 out_height = Round(float(out_width) / input_par)
09:12:10 hmod = out_height - (floor(out_height / 16 ) * 16)
09:12:10 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:12:10 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:12:10 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:12:10
09:12:10 #resizestart
09:12:10
09:12:10 #test4
09:12:10
09:12:10 LanczosResize(out_width,out_height)
09:12:10 #filter2start
09:12:10
09:12:10 #test5
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.avs
09:12:10
09:12:10 video=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 audio=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",video=false)
09:12:10 stereo=getchannel(audio,1,2)
09:12:10 Return AudioDub(video, stereo)
09:12:10 EnsureVBRMP3Sync()
09:12:10 ConvertAudioToFloat()
09:12:10 #Applyed STEREO downmixing routines
09:12:10 function stereo(clip a)
09:12:10 {
09:12:10 fl = GetChannel(a, 1)
09:12:10 fr = GetChannel(a, 2)
09:12:10 c = GetChannel(a, 3)
09:12:10 lfe = GetChannel(a, 4)
09:12:10 sl = GetChannel(a, 5)
09:12:10 sr = GetChannel(a, 6)
09:12:10 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:12:10 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:12:10 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:12:10 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:12:10 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:12:10 Return MergeChannels(l, r).Normalize()
09:12:10 }
09:12:10 #
09:12:10 function original(clip a)
09:12:10 {
09:12:10 Normalize(a)
09:12:10 Return last
09:12:10 }
09:12:10 6==Audiochannels() ? stereo() : original()
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.bat
09:12:10
09:12:10 "E:\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^F:\Karekano[1 ao 26]DVD-RIP\temp\mkvmaudio.avs^)" | "E:\AutoMKV066\exe\besweet\neroaacenc.exe" -ignorelength -q 0.30 -if - -of "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4"
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.avs
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.bat
09:12:10
09:12:10
09:12:10 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
4th January 2007, 13:27
if crash at half encoding seems a issue related to x264.exe or to directshowsource filters

Try upgrading to 2.57RC3, it has a better directshowsource filter, also since DSS is used check your decoding option (in ffdshow i suppose)

Also why use autocrop at all ? has avi source blackbars ? is not set reisize to NONE

Last one, try with a simplier path/original file name... i don't want that .stats files goes crazy (but i doubt...)

Comment: 213 bitrate ?

BHH

Unrealbr
4th January 2007, 14:04
I'll try 2.57RC3.
It doesnt have blackbars, the source is 640x480.
I'm trying to backup a couple of anime episodes and to get each episode in 50mb i have to resize it to 560x420.
About autocrop, i dunno what that does so i havent touched it at all :P

its crashing @ 62% of 1st pass, just on episode 10.
I tried other episodes and didnt crash, that is very odd. I checked the raw and it has no problems, no audio or video problems so i dunno why it crashes :(

Another thing i just tested, i tried mkvmagic 1.33 and it will crash at 62% either. :(

buzzqw
4th January 2007, 15:27
feel positive !

is good that it crashed ever at 62% !

most probably are corrupted frames !

try divfix ! or open in vdub and do a directstream copy of audio/video

BHH

weaver4
4th January 2007, 15:40
I tired the Zune 1-Pass Profile and here is what I found:

After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M. This 5.57M entry would play the first few seconds of the movie correctly; so it did not look like a bad copy.

The resolution of the movie was 320x144 which is fine, but the filesize of movie seems awful big for that. I am not a real expert on wmv but XviD and DivX normally look great at 0.24 bits/pixel and X264 looks great at 0.18 bits/pixel. This was 0.51 bits/pixel.

buzzqw
4th January 2007, 16:03
After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M.

:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)

about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized

for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie

BHH

SeeMoreDigital
4th January 2007, 16:04
Hi Buzz,

Is there any possibility for you to provide direct access to the AAC-LC section of Coding Technologies AAC encoder?


Cheers

Unrealbr
4th January 2007, 16:48
Hey Buzz, i ran DivFix and it came this
NOTE: The error checking is not perfect!
Finished with C:\Documents and Settings\Unrealbr\Desktop\dvfx\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi .
Number of errors: 0
Done.


Yet i am trying to encode the forced fix i did in it.

*EDIT*: Didnt work
Now i'm gonna try to do a direct stream copy via VDub.
PS: Dunno how to do that T_T
*EDIT2*: Trying to reencode with AutoGK to see what comes out.
Everything crashes.. im going mad :(

weaver4
4th January 2007, 21:23
:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)

about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized

for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie

BHH

I will try another movie tonight to try the copy thing. Yes the 544 was the complete movie with audio; and it looks really good on the zune.

Markoul
4th January 2007, 21:58
buzzqw,

My question to you is, what settings i must choose in Automkv in order to preserve the gamma, color, contrast and brightness levels of the original DV movie i ripped off ??

I am encoding in x264 and using mkv container. Also i am using Lanczos resizing.

And it is definitely not a player problem... i have the latest set of ffdshow installed and mplayer classic is outputting different picture levels (i.e. contrast, brightness etc.) between the encoded mkv file and the original DV movie... (i playedback both with mplayer classic and crosschecked with VLC player as well)

Best Regards,

Markoul
p.s. and can you please fix AutoMKV to display correctly for "Windows Large Fonts 120DPI" display setting??

buzzqw
4th January 2007, 22:19
@SeeMoreDigital

i will work on this... added on todo list.. (and done m4v...)

@weaver4
:thanks: :goodpost:

@Markoul

for a dv source automkv will try or

this as first option

movie =avisource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie

and if fail

movie = directshowsource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie


levels of gamma,color, contrast and brightness isn't directly touched ... my doubt is that your source is interalced...

please try this build www.64k.it/andres/data/a/AutoMKV066a.exe (i added interlaced=true)

BHH

Markoul
4th January 2007, 22:35
Tahnk You!! Very Much!! :thanks:

SeeMoreDigital
4th January 2007, 22:52
Just tried build 0.66a....... Many thanks :D

First observation - It would seem manually entered video bitrates are not recognised and encoded correctly.


Cheers

Markoul
4th January 2007, 23:28
buzzqw,

for a dv source automkv will try or

this as first option...

When you say DV sources does this include also DVD movies?? (i.e. VOB files).

Is there also no change done to the original contrast and brightness levels ??

I checked on the movie and yes it is interlaced. I re encode now with HQ deinterlace enabled and will feedback my results to you.

Markoul

buzzqw
5th January 2007, 09:19
automkv will never change color/contrast

the change i made (interlaced=true) would give a better transposition from rgb/yuy2 to yv12, and is only for avi input

for vob i use colormatrix! (search it)

@SMD
from my test is correct... could you please post the log file ?

BHH

SeeMoreDigital
5th January 2007, 10:29
@SMD
from my test is correct... could you please post the log file ?Sure.... here's the log: -09:17:43 0.66a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:17:43 Selected Input file: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB
09:17:43 Selected Output dir: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\
09:17:43 Selected Final Name: movie
09:17:43 Selected Container type: MP4
09:17:43 Selected Encoder: XviD
09:17:43 Selected Size: 1 CD
09:17:43 Selected Slice: 1
09:17:43 Selected Profile: XviD_Normal.xml
09:17:43 Selected Width: 720
09:17:43 Selected Resizer: NONE
09:17:43 Selected Filters: NONE
09:17:43 Selected Deinterlacer: NONE
09:17:43 NeroAACEnc.exe: not present
09:17:43 Enabled CRF/CQ AutoRes at 2.5 value
09:17:43 Enabled Bitrate encoding with value 300
09:17:43 Track Language 1: AC3 Audio Stream 0
09:17:43 Audio Codec 1: Coding Tech. AAC
09:17:43 Audio Quality 1: 128
09:17:43 Selected 1' Sub tracks: NONE
09:17:43 Selected 2' Sub tracks: NONE
09:17:43
09:17:43 Dgindex CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB] -OF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie] -exit -minimize
09:17:43 Starting fixing audio delay on track number 1
09:17:43 DelayCut CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3" "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
09:17:43 Original 1' Audio Size: 2808064 bytes
09:17:43 Finished fixing audio delay
09:17:43 Encoding T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3 to Coding Tech. AAC with 131072 setting
09:17:56 Encoded 1' Audio Track: 821301 bytes
09:18:00 Number of Frames: 1270
09:18:00 Framerate: 25.000000
09:18:00 Movie lenght in Seconds: 51
09:18:00 Movie Width: 720
09:18:00 Movie Height: 576
09:18:00 FIRST pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 300 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 SECOND pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -altpass2 -progress -bitrate 300 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 Starting First Pass
09:18:44 Starting Second Pass
09:18:47 Only Movie Size: 4867378 bytes
09:18:47 "T:\Encoder Testing\AutoMKV066\exe\matroska\mp4box.exe" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v":par=2.350000 -chap "T:\Encoder Testing\AutoMKV066\exe\chapters.txt" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.mp4"
09:18:47 Final Muxed size: 5701889 bytes
09:18:47 Encoding finished: 00:01:04 elapsed time
09:18:47 -----------------------------------------------------------------------
09:18:47 Script AutoCrop.log
09:18:47
09:18:47 Crop(0,74,720,432)
09:18:47 -----------------------------------------------------------------------
09:18:47 Script Resmovie.avs
09:18:47
09:18:47 -----------------------------------------------------------------------
09:18:47 Script movie.avs
09:18:47
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\autocrop.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\blockbuster.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\cnr2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\ColorMatrix.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Convolution3D.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\corrector.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DctFilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Decomb.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Deen.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\degrainmedian.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DGDecode.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\EEDI2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\fft3dfilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\FluxSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\frfun7.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\hqdn3d.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MaskTools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\medianblur.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MipSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mt_masktools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mvtools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\RemoveGrain.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Repair.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SangNom.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SimpleResize.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TBilateral.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TIVTC.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TomsMoComp.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TTempSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnDot.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnFilter.dll")
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\VSFilter.dll")
09:18:48 #loadpluginstart
09:18:48
09:18:48 #test1
09:18:48
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\mvbob.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\QMF.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\seesaw.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\spresso.avsi")
09:18:48 #importstart
09:18:48
09:18:48 #test2
09:18:48
09:18:48 movie = mpeg2source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.d2v")
09:18:48 function getOrder(clip c) {
09:18:48 order = GetParity(c) ? 1 : 0
09:18:48 Return order }
09:18:48 #filter1start
09:18:48
09:18:48 #test3
09:18:48
09:18:48 #cropstart
09:18:48
09:18:48 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:18:48 fixed_aspect = 1.422222
09:18:48 c_width = width(cropclip)
09:18:48 c_height = Round(height(cropclip) / fixed_aspect)
09:18:48 input_par = float(float(c_width)/float(c_height))
09:18:48 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:18:48 out_width = 720
09:18:48 out_height = Round(float(out_width) / input_par)
09:18:48 hmod = out_height - (floor(out_height / 16 ) * 16)
09:18:48 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:18:48 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:18:48 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:18:48
09:18:48 #resizestart
09:18:48
09:18:48 #test4
09:18:48
09:18:48 last=movie
09:18:48 #filter2start
09:18:48
09:18:48 #test5
09:18:48
09:18:48 return last
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.avs
09:18:48
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:48 NicAC3Source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3")
09:18:48 EnsureVBRMP3Sync()
09:18:48 ConvertAudioTo16bit()
09:18:48 #Applyed ORIGINAL downmixing routines
09:18:48 Normalize()
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.bat
09:18:48
09:18:48 "T:\Encoder Testing\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\AutoMKV066\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.aac" --cbr 131072
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.avs
09:18:48
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.bat
09:18:48
09:18:48
09:18:48 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -The selected Xvid (MPEG-4 Part-2) video bit-rate was "300Kbps". However, according to MediaInfo (and GSpot) it's 766Kbps: -General #0
Complete name : T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\movie.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 version 2
Format/Family : MPEG-4
File size : 5.44 MiB
PlayTime : 50s 800ms
Bit rate : 898 Kbps
StreamSize : 20.0 KiB
Encoded date : UTC 2007-01-04 17:18:47
Tagged date : UTC 2007-01-04 09:18:47

Video #0
Codec : MPEG-4 Video
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 50s 800ms
Bit rate : 766 Kbps
Bit rate mode : VBR
Width : 720 pixels
Height : 576 pixels
Aspect ratio : 4/3
Frame rate : 25.000 fps
Standard : PAL
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.074
StreamSize : 4.64 MiB
Writing library : XviD0046
Encoded date : UTC 2007-01-04 09:18:47
Tagged date : UTC 2007-01-04 09:18:47
Apart from that it's encoding and muxing very well indeed ;)


Cheers

buzzqw
5th January 2007, 11:17
@SMD and anyone testing the alpha 0.66a

delete xvid_encraw.exe from \exe\encoder

download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

re test ! :)

BHH

SeeMoreDigital
5th January 2007, 12:54
@SMD and anyone testing the alpha 0.66a

delete xvid_encraw.exe from \exe\encoder

download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

re test ! :)That's fixed it..... Thanks!

Later on today I will check to see how well "interlaced" MPEG-4 encoding works from "interlaced" MPEG-2 sources.


Many thanks

weaver4
5th January 2007, 16:09
I tried a second shorter movie using the Zune single-pass and I am still a little confused about the file size. The profile says the video bit rate should be 500kbs but it looks like from the following that it got passed to the encoder as 881kbs. The file size came out exactly the same size as a movie that was 35 minutes longer.


23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16

Here is the complete log file:
===========================================


23:10:01 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:10:01 Selected Input file: E:\Movies\Rips\Evoluution\VTS_01_0.IFO
23:10:01 Selected Output dir: E:\Movies\temp\
23:10:01 Selected Final Name: Evolution--zune
23:10:01 Selected Container type: WMV
23:10:01 Selected Encoder: WMV
23:10:01 Selected Size: 1 CD
23:10:01 Selected Slice: 1
23:10:01 Selected Profile: Zune_1_Pass.xml
23:10:01 Selected Width: 320
23:10:01 Selected Resizer: SimpleResize (neutral soft)
23:10:01 Selected Filters: RemoveGrain(mode=2)
23:10:01 Selected Deinterlacer: AUTO
23:10:01 NeroAACEnc.exe: not present
23:10:02 Enabled CRF/CQ AutoRes at 90 value
23:10:02 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:10:02 Audio Codec 1: WMV
23:10:02 Audio Quality 1: 80
23:10:02 Selected 1' Sub tracks: NONE
23:10:02 Selected 2' Sub tracks: NONE
23:10:02
23:10:02 Starting Indexing
23:10:02 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\Rips\Evoluution\VTS_01_1.vob] -OF=[E:\Movies\temp\movie] -exit -minimize
23:15:09 Finished indexing
23:15:09 Starting fixing audio delay on track number 1
23:15:09 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:15:41 Original 1' Audio Size: 341772032 bytes
23:15:42 Finished fixing audio delay
23:15:42 ForcedFilm applied: 99.800003% FILM found
23:16:14 Number of Frames: 146328
23:16:14 Framerate: 23.976025
23:16:14 Movie lenght in Seconds: 6104
23:16:14 Movie Width: 720
23:16:14 Movie Height: 480
23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16
09:09:34 Only Movie Size: 488098543 bytes
09:09:34 Only Movie Size: 1445879296 bytes
09:09:34 Final Muxed size: 605506141 bytes
09:09:34 Encoding finished: 09:59:33 elapsed time
09:09:34 -----------------------------------------------------------------------
09:09:34 Script AutoCrop.log
09:09:34
09:09:34 Crop(10,0,700,480)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script Resmovie.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script movie.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\autocrop.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\blockbuster.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\cnr2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\ColorMatrix.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Convolution3D.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\corrector.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DctFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Decomb.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Deen.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\degrainmedian.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DGDecode.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\EEDI2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\fft3dfilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\FluxSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\frfun7.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\hqdn3d.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MaskTools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\medianblur.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MipSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mt_masktools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvtools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\NicAudio.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\RemoveGrain.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Repair.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SangNom.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SimpleResize.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TBilateral.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TIVTC.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TomsMoComp.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TTempSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnDot.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\VSFilter.dll")
09:09:34 #loadpluginstart
09:09:34
09:09:34 #test1
09:09:34
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvbob.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\QMF.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\seesaw.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\spresso.avsi")
09:09:34 #importstart
09:09:34
09:09:34 #test2
09:09:34
09:09:34 movie = mpeg2source("E:\Movies\temp\movie.d2v")
09:09:34 audio = NicAC3Source("E:\Movies\temp\fixed1.ac3",2)
09:09:34 function getOrder(clip c) {
09:09:34 order = GetParity(c) ? 1 : 0
09:09:34 Return order }
09:09:34 #filter1start
09:09:34
09:09:34 #test3
09:09:34
09:09:34 #cropstart
09:09:34
09:09:34 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:09:34 fixed_aspect = 1.185185
09:09:34 c_width = width(cropclip)
09:09:34 c_height = Round(height(cropclip) / fixed_aspect)
09:09:34 input_par = float(float(c_width)/float(c_height))
09:09:34 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:09:34 out_width = 320
09:09:34 out_height = Round(float(out_width) / input_par)
09:09:34 hmod = out_height - (floor(out_height / 16 ) * 16)
09:09:34 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:09:34 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:09:34 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:09:34
09:09:34 #resizestart
09:09:34
09:09:34 #test4
09:09:34
09:09:34 SimpleResize(out_width,out_height)
09:09:34 #filter2start
09:09:34
09:09:34 #test5
09:09:34
09:09:34 RemoveGrain(mode=2)
09:09:34 ColorMatrix("Rec.709->Rec.601",hints=false)
09:09:34 audio=EnsureVBRMP3Sync(audio)
09:09:34 audio=ConvertAudioToFloat(audio)
09:09:34 audiodub(audio,last)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\NicAudio.dll")
09:09:34 NicAC3Source("E:\Movies\temp\fixed1.ac3")
09:09:34 EnsureVBRMP3Sync()
09:09:34 ConvertAudioTo16bit()
09:09:34 #Applyed STEREO downmixing routines
09:09:34 function stereo(clip a)
09:09:34 {
09:09:34 fl = GetChannel(a, 1)
09:09:34 fr = GetChannel(a, 2)
09:09:34 c = GetChannel(a, 3)
09:09:34 lfe = GetChannel(a, 4)
09:09:34 sl = GetChannel(a, 5)
09:09:34 sr = GetChannel(a, 6)
09:09:34 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:09:34 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:09:34 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:09:34 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:09:34 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:09:34 Return MergeChannels(l, r).Normalize()
09:09:34 }
09:09:34 #
09:09:34 function original(clip a)
09:09:34 {
09:09:34 Normalize(a)
09:09:34 Return last
09:09:34 }
09:09:34 6==Audiochannels() ? stereo() : original()
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.bat
09:09:34
09:09:34 "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\temp\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\lame.exe" -v --vbr-new -h -S -V 5 - "E:\Movies\temp\audio.mp3"
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.bat
09:09:34
09:09:34
09:09:34 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Markoul
5th January 2007, 16:22
buzzqw,

for vob i use colormatrix! (search it)

okay i found the "colormatrix.dll" in the filters folder of my AutoMKV directory...so what next??

how i can make AutoMkv to use colormatrix filter when encoding vob files in x264 matroska?? {i am using the "CE-Mainprofile" and also the "RemoveGrain(mode=2)" filter for the particular movie i am encoding this time namely Star Trek 10 Nemesis Interlaced PAL DVD.}

Thanks in Advance :D

Markoul
p.s. I Encoded this particular movie for the 3rd time. the last time i used "HQ deinterlace" setting and Lazlos4 resize and now contrast and brightness levels are identical to the original vobs.

However colors are still false!!... :(

Markoul
5th January 2007, 17:48
here are 2 snapshots for comparison

First is a scene from the original DVD Movie (1024X576):

http://users.otenet.gr/~markoul/snap_original.jpg

Second is from the x264 encoded taken resized to (704X304) but for comparison reasons it is enlarged to match the above picture:

http://users.otenet.gr/~markoul/snap_x264.jpg


Notice the color hue differences between the 2 snapshots!

I used Lazlos4 resize and a soft denoise filter [removeGrain(mode=2)]

Movie is an Interlaced PAL DVD


Markoul

buzzqw
5th January 2007, 18:00
update

this update is a really beta one's.
Upon request by SMD i reworked all audio parts (near..)

Look at the tiny button near audio channel... feel the power to click.. if you are brave

from my test should be ok... but.. i prefer your test.

These values is used both for standard use, for queue use, and for command line use, BUT NOT with TS files (it will be quite hard to implementing to ts audio routines management...)

here is www.64k.it/andres/data/a/AutoMKV066b.exe

as i wrote before anyone testing the alpha 0.66b must

delete xvid_encraw.exe and xvid_encraw2.exe from \exe\encoder
download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

0.66a
FIXED: in queue view the value reported is now the same value viewed (not ones used internal...)
FIXED: Audio "SUO" translated to "FIN" (thanks to Barleyman)
FIXED: When encoding with XviD the stream will be avi for avi muxing, m4v for mp4 mux and mkv for mkv muxing
FIXED: CQ encoding with XviD
FIXED: In queue/Save Settings is now saved even the crf/cq values(thanks to Amed)
FIXED: Internal name of XviD Profiles
FIXED: In avi source added a interlaced=true (thanks to Markoul)
0.66b
ADDED: Totaly reworked audio sections, click on Don't touch button near channel selection (suggestion by SMD)
ADDED: Several and more audio options
FIXED: Some bugs on muxing tag (also added some)
ADDED: New audio section work queue/cmd

@weaver4
just select the zune profile, and in advanced settings check on "Specify bitrate" (no need to sign 500000 , just 500 i will multiply it by 1000)

@Markoul
from my monitor is ok... i ask other people to watch and do a comparison

BHH

ehushagen
5th January 2007, 20:42
I'm with buzzqw on this one. Despite the obvious blurring difference, the colors are identical on this monitor.

buzzqw
5th January 2007, 22:15
@ehushagen

i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate

BHH

Markoul
6th January 2007, 00:13
i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate

Because the presentation method i used in my previous 2 snapshots i misleading about the encoding x264 quality (i.e. x264 snapshot 704X304 resolution was stretched to match the 1024X576 resolution of the original source DVD anamorphic snapshot, my desktop is configured at 1152X864 resolution)...

...i present you 2 new snapshots taken with fraps:

Original Source DVD Anamorphic Snapshot 720X576

http://users.otenet.gr/~markoul/mplayerc_original.bmp

Encoded X264 snapshot 704X304

http://users.otenet.gr/~markoul/mplayerc_x264.bmp

fogbav
6th January 2007, 03:37
last one looks better ...8)

SeeMoreDigital
6th January 2007, 13:13
Personally I would prefer to see the encode generated at 720x576 (ie: the same resolution as the source) with aspect ratio signalling at 64:45 applied... Or generated and cropped to 720x432 (ie: the black mattes cut away) with aspect ratio signalling at 64:45 applied....

Something like this (http://82.10.220.174/Uploaded_Files/Doom9_Forum_files/Xvid_720x432_with_ARS_@_64.45.7z)

Markoul
6th January 2007, 16:48
hey SeeMore,

you just converted a BMP image to mp4!!... clever:thanks:

did you use the anamorphic image or the x264?

Markoul

SeeMoreDigital
6th January 2007, 17:08
did you use the anamorphic image or the x264?The anamorphic DVD snap-shot ;)

lout
6th January 2007, 17:59
hi i try ts file 1080i DD5.1 to mkv+x264+original audio and program say Audio Error :"attention audio wasnt encoded properly" i have this problem on all ts files thnx m

buzzqw
6th January 2007, 18:09
on advenced setting check use "projectX for ts files" and UNCHECK "Allow use of DelayCut"

also a sample could be usefull (as log)

BHH

Nico.Laus.2001
6th January 2007, 21:28
ok, I encountered more errors when muxing :(

since v0.66 muxing of all files I encoded does not work, but when executing the command line taken from the log, mp4box does mux it (in log something like "Final Muxed size: -1 bytes" appears and processing stops)

(I was encoding from ifo file to x264 into mp4 container with one nero aac audio track)

SeeMoreDigital
6th January 2007, 21:42
Okay I have tested the revised CT encoder options using the new "Advanced Audio Options" menu....

http://img389.imageshack.us/img389/4382/automkvadvancedaudiooptub1.png

I've been able to generate AAC-LC streams but not AAC-HE :(

Also, may I ask what the "nops" "is" and "dc" Chanel options are?


Cheers

Barleyman
6th January 2007, 22:40
Couple of problems with manual cropping in movie.avs file..

1) You have to fill all the manual crop boxes. If you just define top and bottom cropping limits for letterbox, you get incorrect crop command such as crop(movie,,116,-,-60)

2) if you have resize=lanzcos, "autocrop only" + define manual cropping limits, you get incorrect LanczosResize()-line.

buzzqw
7th January 2007, 00:57
@Nico.Laus.2001

from my test is ok... please post the log


@SeeMoreDigital

me too.... :o ...
where is the problem in comman line :confused: ?

--nops - Disable Parametric Stereo
--is - Prefer Independed Stereo
--dc - Prefer Dual Channels

@Barleyman
Crop must be valorized for all box, just put 0 for no lateral crop. (in next update on checking manual crop i will put 0 value to all boxes)
And manual cropping must not be used with "autocrop only" , using manual crop must be set width and height (i will study it to remove any possible cause of error)

BHH

buzzqw
7th January 2007, 15:26
update www.64k.it/andres/data/a/AutoMKV066c.exe

0.66c
FIXED: When manual crop is checked all values is now valorized, change it. Also the width is disabled
FIXED: Use Advanced Audio with Nero encoder while using preset to quality
FIXED: Some imprecisions on log
ADDED: Save Log button

BHH

AMED
9th January 2007, 10:05
I've found a bug with 0.66c with the clear job list button on the Queued Jobs tab.

I have 6 jobs in the queued list
queue0.ini
queue1.ini
queue2.ini
queue3.ini
queue4.ini
queue5.ini

When i press the Clear Job List button once it doesn't remove all the entries, 3 are still there.
queue1.ini
queue3.ini
queue5.ini

When i press the Clear Job List button a second time there is still one item left in the list
queue3.ini

On the third click on the Clear Job List Button everything is removed from the queue list.

i hope that makes sense;)

Unrealbr
9th January 2007, 13:21
Good morning everyone \o/
Buzzqw may i suggest 1 feature for automkv??
I wonder if you could make it support MP4 and MKV input.
Thats my suggestion
Btw, 0.66c is working fine here \o/

buzzqw
9th January 2007, 13:38
@AMED , thanks ! fixed in next release

@Unrealbr
it is already possible for mkv, on input select all files
for mp4... added in next release.
There one big problem, however, audio track. The file must have only one audio track.

BHH

Unrealbr
9th January 2007, 17:56
@AMED , thanks ! fixed in next release

@Unrealbr
it is already possible for mkv, on input select all files
for mp4... added in next release.
There one big problem, however, audio track. The file must have only one audio track.

BHH

THAT is gonna be a problem since the MKVs i'm trying to backup to save some space on the HD are dual audios with softsub in the MKV.
As for the MP4s i need to re-encode to save space i wont have problems when the next release is out, they have only one audio.

BTW, AutoMKV is the best MP4 GUI i have found so far, if you allow me i'd like to use and link in my signature for this thread here on DOOM9.

buzzqw
9th January 2007, 19:47
THAT is gonna be a problem since the MKVs i'm trying to backup to save some space on the HD are dual audios with softsub in the MKV.

... i will explain better: the input mkv file could have many and more audio BUT i (the directshow) will use only the first one.
Also, subs will not be supported.

EDIT: I can suggest to encode the original mkv without audio (select NONE on audio). when finished open mmg.exe (from mkvtoonix) and put as input the new mkv and the OLD mkv, deselect audio/subs NOT not wanted AND old video, then MUX !


As for the MP4s i need to re-encode to save space i wont have problems when the next release is out, they have only one audio.
just for try.. rename it to .mkv and let automkv do its job :)


BTW, AutoMKV is the best MP4 GUI i have found so far
thanks for your kind words ! feel free to link in your signature what you want ! :)

BHH

dlflannery
10th January 2007, 05:05
@buzzqw:
In response to your suggestion in another thread (http://forum.doom9.org/showthread.php?p=930530#post930530) I downloaded AutoMKV and tried it for converting Mpeg2's (with mpeg audio) to Zune WMV's.

Looks like a great program and I was able to get good conversions after a short learning experience.

Now to comment on the program for my intended purpose, which is to convert a number of mpeg2 videos to good watchable quality on the 3" Zune device screen, in 320x240 WMV with parameters that do not trigger re-encoding by the Zune PC software when the files are 'synced' (transfered) to the Zune device:

I have converted to Zune using my own set of batch files and dgIndex, AviSynth and WME encoder (batch script), i.e., a simplified version of what your program does (no cropping, filtering, noise removal, delaycut, etc.). I've found that just using WMV7 codec and CBR=500kbps I get very good results and the total time for my process is about 40% of the video duration. All I do is type the names of the input files into my first batch file and start it.

For AutoMKV, it appears you can't just specify a constant bit rate but have to estimate a target output size that will yield the bit rate you desire. Is this correct? (Not very convenient for my particular purpose.)

By setting the desired output size in AutoMKV to a number calculated to give about 500 kbps (for video), using the single-pass Zune profile, and setting the filter to NONE, it took about 240% of video duration to create a file that did not appear noticeably better on playback than the same video processed by my (crude) fast process. The auto cropping did remove the noise line at the top -- I should probably add that to the AVS input process in my batch files.

The bottom line is I am very impressed with AutoMKV, and will undoubtedly use it for other purposes, but I do not see an advantage over my faster process (for my current purpose) -- unless I have just failed to properly use AutoMKV (?).

I tried to rig up an XML profile file that would cause AutoMKV to use WMV7 with the same simple options I use in my batch file but this didn't work, I think because I couldn't get rid of the advanced options in the WME script command line. My experience is that WMV7 is the key to the speed I get. When I run my same batch files with WMV9, it takes over twice as long.

buzzqw
10th January 2007, 08:26
Looks like a great program and I was able to get good conversions after a short learning experience.
:thanks: !

WMV7 codec and CBR=500kbps

that's the key. In my profile i use wmv9 ! in next update i will create 2 more "quick" profiles ! (with wmv7, and old profile wil be wmv8)

For AutoMKV, it appears you can't just specify a constant bit rate but have to estimate a target output size that will yield the bit rate you desire. Is this correct? (Not very convenient for my particular purpose.

in advanced settings check "Specified bitrate" (don't need to write 500000 for 500kbs bitrate, i will multiply by 1000)

about wmv7, nice to hear that's supported , i will look at this !

thanks for your suggestion !

BHH

cosmos
10th January 2007, 09:05
First of all, THANK YOU for a great program! Was searching for a free AutoGK-like program for H.264 encodes, preferably in Matroska containers. Seems I found it and it looks like a winner.

Just some questions/comments/possible bugs:

1)
hi i try ts file 1080i DD5.1 to mkv+x264+original audio and program say Audio Error :"attention audio wasnt encoded properly" i have this problem on all ts files thnx m

Same thing happens here. Ripping for a dvd and selecting two AC3 tracks to be included creates a problem. Specifically, I select two audio tracks, filling the boxes for "audio track 1" and "audio track 2" and selecting "Copy Original"/"Original". The encoding process starts and the log indicates that indeed audio track 1 is the first ac3 track I've selected and audio track 2 is the 2nd ac3 track. However dgindex extracts only the first ac3 stream. When it finishes it reports "attention audio wasnt encoded properly".

2) I'm a bit confused with "Use CRF for autoresize" and "auto adjust crf". Are the two options incompatible? When I select both, it seems that at least during the sizing process a single x264 pass is made, using CRF and not a two-pass process. In essence, how should these options be checked/enabled/disabled for a good rip?

3) Assuming that "ITU resizing" is enabled does "anamorphic encoding" really work? Not sure here, just asking :)

4) A minor bug: if I press check drive once, it displays correctly the longest PGC. If I press it again, it displays in the PGC pull down box two times the same PCG. The same happens for episodic DVDs. In all cases pressing check dvd duplicates again and again the PGCs.

Once more, thanks for a great app, it has replaced nero digital as my application of choice

buzzqw
10th January 2007, 10:10
First of all, THANK YOU
thanks for your kind words! :)

Same thing happens here. Ripping for a dvd and selecting two AC3 tracks to be included creates a problem.

Dgindex is UNABLE to demux two different audio tracks for TS files. For this reason i suggest lout to check "Use ProjectX for TS files"

For your problem i need the log file to better analyze the problem. Usually there is no problem to demux from vob files

2) I'm a bit confused with "Use CRF for autoresize" and "auto adjust crf".

The first option if to use with Automatic Width. Checking this option AutoMKV will use a quality based profile to find the "best" width given the media size selected.
The second option is to use only with CRF/CQ profiles encoding. Checking this option will allow automkv to do a crf encoding AND if size is bigger or smaller than XX the movie will be reencoded in costant bitrate mode

3) Assuming that "ITU resizing" is enabled does "anamorphic encoding" really work? Not sure here, just asking

yep... ITU works only if anamorphinc isn't checked (thanks for this bug!)

If I press it again, it displays in the PGC pull down box two times the same PCG

i will check it !

thanks !

BHH

cosmos
10th January 2007, 10:43
For your problem i need the log file to better analyze the problem. Usually there is no problem to demux from vob files
Funny thing: with 0.66c I was unable to reproduce the problem. Better! :)

The first option if to use with Automatic Width. Checking this option AutoMKV will use a quality based profile to find the "best" width given the media size selected.
The second option is to use only with CRF/CQ profiles encoding. Checking this option will allow automkv to do a crf encoding AND if size is bigger or smaller than XX the movie will be reencoded in costant bitrate mode
Thank you, I understand now :)

One more question: during the first execution of dvdfabdecrypter I was asked if I wanted to update. Should I? (I guess that if I do, it will not be installed into the AutoMKV directory, hence no point in actually downloading it).

TinTinFan
10th January 2007, 11:43
I use AutoMKV to encode to stand alone player. I have to use avi (or divx container). If I don't want to use AC3 audio, I have to use CBR MP3.

I tried your version 066c and in advanced audio settings I changed to CBR, but I see it is encoded in VBR MP3.

Bug or function not implemented yet?

buzzqw
10th January 2007, 13:26
One more question: during the first execution of dvdfabdecrypter I was asked if I wanted to update. Should I? (I guess that if I do, it will not be installed into the AutoMKV directory, hence no point in actually downloading it).

no need and not to do... since latest dvdfabdecrypter isn't more "command line" able.. :(

Bug or function not implemented yet?

bug... but fixed in next release ! thanks !

BHH

buzzqw
10th January 2007, 14:21
Update to new full package !

www.64k.it/andres/data/a/AutoMKV067.rar

Changelog

0.67
ADDED: Audio Track name (from Advanced Audio Options) added to MP4 muxing
ADDED: MovieName to --track-name in Matroska container
ADDED: Support for MP4 file as input. Select it on All files. This mp4 file must have only one audio track (anyway only the first audio track will be processed)
ADDED: Two new Zune Profiles, 2 Pass Quick and 1 Pass Quick. These profiles work on wmv7 (suggestion by dlflannery)
FIXED: Renamed near all WMV profiles. Now there are basically a standard profile that work on wvc1, a quick profile that work on wmv9, a veryquick profile that work on wmv8 and a ultraquick that work on wmv7 encoder
FIXED: Zune profiles "Zune 1 Pass" and "Zune 2 Pass" now work on wmv8. There's no need to use wmv9 on so small video device (suggestion by dlflannery)
FIXED: Track ID and Track Name in Matroska container
FIXED: Clear job queue don't delete all files (thanks to AMED)
FIXED: Double clicking on "Check DVD" will double the PGC list (thanks to cosmos)
FIXED: If "Force ITU Resize" is checked is no more possible to check "Anamorphic Encoding" (and vice versa) (thanks to cosmos)
FIXED: In Advanced audio the CBR settings for LAME wasn' true CBR... (thanks to TinTinFan)
UPDATE: Dgindex 1.4.9b9
UPDATE: Update XviD build to 20/12/2006
UPDATE: XviD_encraw.exe to latest one's of Squid_80

BHH

SeeMoreDigital
10th January 2007, 18:20
Hi Buzz,

Thanks for the new build :D

Just a thought.... How about modifying the "Audio Format" drop-down tab so you can directly select which variant of AAC audio you require (ie: "LC" or "HE"): -

http://img409.imageshack.us/img409/1403/automkvproposalez7.png

By-the-way, I'm presuming the Lame (MP3) audio encoder is able to offer both mentioned variants....


Cheers

dlflannery
10th January 2007, 20:54
Update to new full package !

www.64k.it/andres/data/a/AutoMKV067.rar

Changelog

............

ADDED: Two new Zune Profiles, 2 Pass Quick and 1 Pass Quick. These profiles work on wmv7 (suggestion by dlflannery)
...........

FIXED: Zune profiles "Zune 1 Pass" and "Zune 2 Pass" now work on wmv8. There's no need to use wmv9 on so small video device (suggestion by dlflannery)
...........
BHH
Thanks buzzqw (BHH) ! Won't be able to test them for a few hours.

Only someone NOT being paid (i.e., working for the love of it) can respond that fast!

dlflannery
11th January 2007, 04:00
@buzzqw:
The new Zune 1-Pass Quick profile works great! By turning off filters, deinterlacing and delaycut, and specifying a constant bitrate (500 for video + audio) I get total encoding times equal to what I was getting with my batch files, i.e., about 35% of video duration on my 3GHz PC. Plus I get the autocrop that wasn't in my batch files. As before with my batch files, the quality is perfectly acceptable for the Zune's 3inch screen. I converted mpeg2's with either mpeg1-layer2 audio or with Dolby AC3 5.1 with no problems.

:thanks:

A couple of questions:
1. I experimented with the default 64_44 audio then moved the audio bitrate up to 128. I noticed the WME option moved the sampling rate up too: 128_48. These seemed to play fine on my Zune device although the official Zune page specifying encoding videos for Zune (http://www.zune.net/en-us/support/howto/start/providecontent.htm#section6) says:
Maximum audio bit rate: WMA Standard, CBR, 128 Kbps (recommended), up to 192 Kbps, Stereo, 44.1 kHz
Thus I wonder if it wouldn't be safer to limit sampling rate to 44kHz for the Zune profiles? (I didn't see anywhere I could control this.)

2. If instead of autocrop I just wanted to blank out the top 1 or 2 (or 4) lines in the original (480 line) video, how would I set up the manual crop for that?

You have definitely removed any desire I had to generate a guide for my batch files! Now I'm thinking about a small guide called "The Newbie's Guide to Quick and Dirty Mpeg2 Conversion for Zune with AutoMKV". I know most of the folks reading this thread don't need it but I think there are others on other forums that might benefit from it. What do you think?

buzzqw
11th January 2007, 08:38
with no problems.

thanks you too ! i haven't a Zune so your test are very precius !

Thus I wonder if it wouldn't be safer to limit sampling rate to 44kHz for the Zune profiles? (I didn't see anywhere I could control this.)

DONE! (in next release) and even if audio bitrate is over 192 in encoding will be capped to 192!

blank out the top 1 or 2 (or 4) lines in the original (480 line) video, how would I set up the manual crop for that?

in advanced setting there is "manual crop" fuction. Here you can specify the crop value BUT you must also SPECIFY final the WIDTH/HEIGHT of encoded movie

tips: don't deactivate "DelayCut" or your files could be out of synch

What do you think?
would be good ! :thanks:

BHH

vOjToL
11th January 2007, 10:39
Buzzqw, is it possible to add the "abort" button"?
When I start encoding and I would like break the process I must close many cmd windows, accept 3 warrnings from AviMuxGui, close crashed AviMuxGui, and finally clean up Temp directory...

cosmos
11th January 2007, 11:05
There is a small bug in 0.67 with the descriptions of audio channels: for example if I give a description like "Director's Comments", the muxing.bat file produces an error. For example:

"E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "G:\lalala\temp\The Ninja.mkv" --track-name -1:"The Ninja" --aspect-ratio 1:2.415094 --chapters "E:\AutoMKV\exe\chapters.txt" "G:\lalala\temp\movie.mp4" --track-name -1:Director's Comments --language -1:eng "G:\lalala\temp\audio.ac3"

In order for this to work, it would be a good idea to enclose in "" the Audio Track 1 (and 2 if it exists) description, ie:

"E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "G:\lalala\temp\The Ninja.mkv" --track-name -1:"The Ninja" --aspect-ratio 1:2.415094 --chapters "E:\AutoMKV\exe\chapters.txt" "G:\lalala\temp\movie.mp4" --track-name -1:"Director's Comments" --language -1:eng "G:\lalala\temp\audio.ac3"

cosmos
11th January 2007, 11:25
I have some more questions. I can see that in the muxing.bat file above, no mention is made for the AC3 track delay. During the dgindex process for example a file with the name movie t01 3_2ch 384kbps delay -8ms_log.txt is produced. Hence there is a -8msec delay for this AC3 file.

Does mkvmerge understand automatically the delay, by reading the AC3 file? If it is not taken into account, then perhaps the mkvmerge command above should probably include a "--delay -1:-8ms" parameter?

buzzqw
11th January 2007, 13:21
@vOjToL
best way to kill process is to kill automkv.exe
about abort button i will search... but wouldn't be so easy...

@cosmos

Director's Comments

thanks ! fixed in next build !

movie t01 3_2ch 384kbps delay -8ms_log.txt
no need to parse or use delay in mkvmerge.
I (automkv) use delaycut.exe that FIX bad ac3 and FIX automatically the DELAY ! :)

BHH

vOjToL
11th January 2007, 13:53
best way to kill process is to kill automkv.exe


I knew that, but in many cases I would like AutoMKV stay alive :) , mostly if I don't save settings previously.


about abort button i will search... but wouldn't be so easy...


That's will be great!

vOjToL
11th January 2007, 14:31
I encoded movie with AutoMKV0.67, input was avs script+ac3 file(copy original). Disk setting 2CD. In result I get 119 parts of movie (every ~10MB ) in Temp directory... :confused:

07:47:53 0.67 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:47:53 Selected Input file: D:\dla dzieci\stary franklin\147.avs
07:47:53 Selected Output dir: D:\dla dzieci\stary franklin\temp\
07:47:53 Selected Final Name: psy i koty
07:47:53 Selected Container type: AVI
07:47:53 Selected Encoder: XviD
07:47:53 Selected Size: 2 CD
07:47:53 Selected Slice: 1
07:47:53 Selected Profile: XviD_Extra_Slow.xml
07:47:53 Selected Width: 528
07:47:53 Selected Resizer: SimpleResize (neutral soft)
07:47:53 Selected Filters: RemoveGrain(mode=2)
07:47:53 Selected Deinterlacer: NONE
07:47:53 NeroAACEnc.exe: not present
07:47:53 Enabled CRF/CQ AutoRes at value
07:47:53 Track Language 1: D:\dla dzieci\stary franklin\1.ac3
07:47:53 Audio Codec 1: Copy Original
07:47:53 Audio Quality 1: 0.35
07:47:53 Advanced Audio Settings DUMP Track 1:
07:47:53 Audio Track Language:
07:47:53 Audio Track Name:
07:47:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:47:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:47:53 Lame Settings: ABR
07:47:53 Audio Normalization: 1
07:47:53 Frequency: AUTO --- Tempo : NONE
07:47:53 Pitch: NONE --- Other Add :
07:47:53 Advanced Audio Settings DUMP Track 2:
07:47:53 Audio Track Language:
07:47:53 Audio Track Name:
07:47:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:47:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:47:53 Lame Settings: ABR
07:47:53 Audio Normalization: 1
07:47:53 Frequency: AUTO --- Tempo : NONE
07:47:53 Pitch: NONE --- Other Add :
07:47:53 Selected 1' Sub tracks: NONE
07:47:53 Selected 2' Sub tracks: NONE
07:47:53
07:47:53 DelayCut CMD: H:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "D:\dla dzieci\stary franklin\temp\fixed1.ac3" "D:\dla dzieci\stary franklin\1.ac3"
07:48:19 Renamed file fixed1.ac3 to audio.ac3
07:48:19 Encoded 1' Audio Track: 240996864 bytes
07:49:53 Number of Frames: 125520
07:49:53 Framerate: 25.000000
07:49:53 Movie lenght in Seconds: 5021
07:49:53 Movie Width: 688
07:49:53 Movie Height: 384
07:49:53 FIRST pass XviD: "H:\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 1953 -turbo -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 4 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 30 -clow 15 -nopacked -nochromame -noclosed_gop -bvhq -i "D:\dla dzieci\stary franklin\temp\movie.avs" -type 2 -avi "D:\dla dzieci\stary franklin\temp\movie.avi"
07:49:53 SECOND pass XviD: "H:\AutoMKV\exe\encoder\xvid_encraw.exe" -altpass2 -progress -bitrate 1953 -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 4 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 30 -clow 15 -nopacked -nochromame -noclosed_gop -bvhq -i "D:\dla dzieci\stary franklin\temp\movie.avs" -type 2 -avi "D:\dla dzieci\stary franklin\temp\movie.avi"
07:49:53 Starting First Pass
09:41:53 Starting Second Pass
14:15:11 Only Movie Size: 1094334716 bytes
14:17:47 Final Muxed size: -1 bytes
14:17:47 Encoding finished: 06:29:54 elapsed time
14:17:47 -----------------------------------------------------------------------
14:17:47 Muxing Script
14:17:47 H:\AutoMKV\exe\matroska\AVIMux_GUI.exe D:\dla dzieci\stary franklin\temp\muxavi
14:17:47
14:17:47 CLEAR
14:17:47 LOAD D:\dla dzieci\stary franklin\temp\movie.avi
14:17:47 LOAD D:\dla dzieci\stary franklin\temp\audio.ac3
14:17:47 SELECT FILE 1
14:17:47 ADD VIDEOSOURCE
14:17:47 SET INPUT OPTIONS
14:17:47 SET OPTION MP3 VERIFY CBR NEVER
14:17:47 SET OPTION MP3 VERIFY RESDLG OFF
14:17:47 SET OUTPUT OPTIONS
14:17:47 WITH SET OPTION
14:17:47 OPENDML 0
14:17:47 RECLISTS 0
14:17:47 AUDIO INTERLEAVE 3 FR
14:17:47 AVI ADDJUNKBEFOREHEADERS 0
14:17:47 PRELOAD 200
14:17:47 WITH AUDIO
14:17:47 NAME 1 english
14:17:47 END WITH
14:17:47 OVERWRITEDLG 0
14:17:47 CLOSEAPP 1
14:17:47 DONEDLG 0
14:17:47 ALL AUDIO 1
14:17:47 LEGACY 0
14:17:47 RECLISTS 1
14:17:47 NUMBERING ON
14:17:47 MAXFILESIZE ON 700
14:17:47 END WITH
14:17:47 START D:\dla dzieci\stary franklin\temp\psy i koty_full.avi
14:17:47 -----------------------------------------------------------------------
14:17:47 Script AutoCrop.log
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script Resmovie.avs
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script movie.avs
14:17:47
14:17:47 Import("D:\dla dzieci\stary franklin\147.avs")
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio.avs
14:17:47
14:17:47 LoadPlugin("H:\AutoMKV\exe\filter\NicAudio.dll")
14:17:47 NicAC3Source("D:\dla dzieci\stary franklin\temp\fixed1.ac3")
14:17:47 EnsureVBRMP3Sync()
14:17:47 ConvertAudioTo16bit()
14:17:47 #Applyed ORIGINAL downmixing routines
14:17:47 Normalize()
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio.bat
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio2.avs
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio2.bat
14:17:47
14:17:47
14:17:47 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
11th January 2007, 15:09
:confused: :scared:

don't know ! the file muxavi is correct

NUMBERING ON
MAXFILESIZE ON 700 -> this mean 700MB !

try removing from muxavi these line

NUMBERING ON
MAXFILESIZE ON 700

then click on muxing.bat

BHH

vOjToL
11th January 2007, 15:37
try removing from muxavi these line

NUMBERING ON
MAXFILESIZE ON 700

then click on muxing.bat


I did, it's the same result...

Then I set "CLOSEAPP" to "0", stop muxing process, click "settings" and I see: "split-maximum file size-10MB". I look in \exe\Matroska\config.ini.amg file, and find "MAXFILESIZE 10"-sholud I change it to 700?. Looks like AviMux ignore settings in muxavi file in Temp.

dlflannery
11th January 2007, 16:14
.......
DONE! (in next release) and even if audio bitrate is over 192 in encoding will be capped to 192!

Great! Thanks!


tips: don't deactivate "DelayCut" or your files could be out of synch
I understand the risk. However the delaycut process roughly doubles the overall conversion time (for the quick Zune profile) and I have not had sync problems (so far). I'm tempted to encode without it and then repeat with it if I see a sync problem. Or I can easily edit out a small clip of my mpeg2's (using VideoReDo) and test it for sync after a (short) AutoMKV conversion. This would detect constant offsets. Does delaycut handle more complicated sync problems than just constant offsets?

Feature request: (Since you are so responsive!)
When converting between different input and output types (e.g., .mpg to .wmv) it would be nice to be able to check a box that would automatically assign the input (root) file name to the output, e.g., test.mpg input would give test.wmv output name. This would make multiple file conversions much more convenient.

buzzqw
11th January 2007, 17:51
"MAXFILESIZE 10"

don't know why avimux_gui ignore my parameters...
i can only check for this value before muxing... but is a bug in avimux_gui... i think

I understand the risk. However the delaycut process roughly doubles the overall conversion time

that's near impossible. Is only a DISK to DISK operation, not an encoding operation. The audio file isn't reencoded just "trimmed/muxed" without delay. Isn't a framerate conversion at all!


it would be nice to be able to check a box that would automatically assign the input (root)

you can use the "movie name" to specify the muxed file name... also in xml files is possible to add

<title>fale</title>
<author>false</author>
<album>false</album>
<year>false</year>
<genre>false</genre>
<copyright>false</copyright>
<description>false</description>
<rating>false</rating>

information !

BHH

vOjToL
11th January 2007, 19:26
The movies encoded with new xvid_encraw.exe(-altpass2) are permanently undersized. I test it with many others resolution and bitrates, always 2pass average bitrate is less then bitrate set in command line and never rich it. It's looks like a bug in xvid_encraw?

SeeMoreDigital
11th January 2007, 19:42
The movies encoded with new xvid_encraw.exe(-altpass2) are permanently undersized. I test it with many others resolution and bitrates, always 2pass average bitrate is less then bitrate set in command line and never rich it. It's looks like a bug in xvid_encraw?I confirm...

At first I thought this was due to the duration of my 720x576 MPEG-2 test source (which is only 1270 frames).... But sadly that does not seem to be the case :(

Apart from this, the encode speed and quality seems very good :)

buzzqw
11th January 2007, 20:46
should i use a more aggressive bitrate ?
so if computed bitrate is 1000 i will use 1050 ? (+5%)

i switched from CD build because i find the new squid_80 build's more consistent, and better quality wise

from your test how much is undersized ?

BHH

vOjToL
11th January 2007, 21:03
should i use a more aggressive bitrate ?
so if computed bitrate is 1000 i will use 1050 ? (+5%)

i switched from CD build because i find the new squid_80 build's more consistent, and better quality wise

from your test how much is undersized ?

Target bitrate 1077, at the end of 2pass average was 860... It's a big different.
Anyway, after editing xvidsecondpass.bat ("-pass2" instead "-altpass2"), I run the 2pass again and seems to be fine(there is only 10% encoded for now, but the average bitrate is more equal target then last time).

buzzqw
11th January 2007, 21:43
please report when encoding is finished... maybe i change -altpasss to -pass2

BHH

SeeMoreDigital
11th January 2007, 21:55
from your test how much is undersized ?With my MPEG-2 (1270 frame) source.... When I select say 200Kbps, the Xvid encode comes out at 166/168Kbps (according to MediaInfo and GSpot).


Cheers

vOjToL
11th January 2007, 22:22
please report when encoding is finished... maybe i change -altpasss to -pass2


With my Barton 2500 we must waiting for a while :) . At this time (50%), the target is 1077 and average is 1089. I think that the result will be ok.

vOjToL
12th January 2007, 00:14
please report when encoding is finished... maybe i change -altpasss to -pass2


Ok, encoding ended, encoded 125520 frames, average bitrate is 1068(target 1077), file size after muxing is(setting-1CD):
-702MB(AviMuxGui)
-701MB(VirtualDubMod)
Movie quality-excellent :)

Nemesis7
12th January 2007, 03:59
Hey buzzqw, mate I can't seem to get it to work. I have the VOB + IFO files in the 'SOURCE' and let the program do the rest. It doesn't seem that it encodes the video (audio is fine). Avinsynth is installed. What am I doing wrong? Here's the log:

03:52:09 0.67 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
03:52:09 Selected Input file: C:\flcl1\SOURCE\VTS_03_0.IFO
03:52:09 Selected Output dir: C:\flcl1\SOURCE\temp\
03:52:09 Selected Final Name: FLCL - Episode 01
03:52:09 Selected Container type: MKV
03:52:09 Selected Encoder: X264
03:52:09 Selected Size: 85
03:52:09 Selected Slice: 1
03:52:09 Selected Profile: HQ-Insane.xml
03:52:09 Selected Width: Automatic
03:52:09 Selected Resizer: LanczosResize
03:52:09 Selected Filters: MipSmooth(preset = "AnimeHQ")
03:52:09 Selected Deinterlacer: AUTO
03:52:09 Track Language 1: Japanese (AC3 2ch, 0xBD 0x81) [0]
03:52:09 Audio Codec 1: Nero AAC
03:52:09 Audio Quality 1: 0.15
03:52:09 Advanced Audio Settings DUMP Track 1:
03:52:09 Audio Track Language:
03:52:09 Audio Track Name:
03:52:09 Nero Option Profiles: AUTO --- Encoding Mode: Quality
03:52:09 CCT Option Profiles: AUTO --- Channel Options: AUTO
03:52:09 Lame Settings: ABR
03:52:09 Audio Normalization: 1
03:52:09 Frequency: AUTO --- Tempo : NONE
03:52:09 Pitch: NONE --- Other Add :
03:52:09 Advanced Audio Settings DUMP Track 2:
03:52:09 Audio Track Language:
03:52:09 Audio Track Name:
03:52:09 Nero Option Profiles: AUTO --- Encoding Mode: Quality
03:52:09 CCT Option Profiles: AUTO --- Channel Options: AUTO
03:52:09 Lame Settings: ABR
03:52:09 Audio Normalization: 1
03:52:09 Frequency: AUTO --- Tempo : NONE
03:52:09 Pitch: NONE --- Other Add :
03:52:09 Selected 1' Sub tracks: NONE
03:52:09 Selected 2' Sub tracks: NONE
03:52:09
03:52:09 Starting Indexing
03:52:09 Dgindex CMD: C:\flcl1\AutoMKV067\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2 -YR=2 -AIF=[C:\flcl1\SOURCE\VTS_03_1.vob] -OF=[C:\flcl1\SOURCE\temp\movie] -exit -minimize
03:52:47 Finished indexing
03:52:47 Starting fixing audio delay on track number 2
03:52:47 DelayCut CMD: C:\flcl1\AutoMKV067\exe\dgindex\Delaycut.exe -auto -out "C:\flcl1\SOURCE\temp\fixed1.ac3" "C:\flcl1\SOURCE\temp\movie T02 2_0ch 192Kbps DELAY 0ms.ac3"
03:52:48 Original 1' Audio Size: 35493888 bytes
03:52:48 Finished fixing audio delay
03:52:48 Encoding C:\flcl1\SOURCE\temp\fixed1.ac3 to NeroAAC with 0.15 quality
03:53:37 Encoded 1' Audio Track: 6555666 bytes
03:53:39 Number of Frames: 44325
03:53:39 Framerate: 29.970030
03:53:39 Movie lenght in Seconds: 1479
03:53:39 Movie Width: 720
03:53:39 Movie Height: 480
03:55:23 Processing completed. Type is determined to be partly film.
03:55:23 Processing completed. Type is determined to be partly film.
03:55:23 BFF: 39
03:55:23 TFF: 161
03:55:23 Order: var
03:55:23 Starting X264
03:55:23 Command Line 1' Pass X264: C:\flcl1\AutoMKV067\exe\encoder\x264.exe --pass 1 --bitrate 446 --stats "C:\flcl1\SOURCE\temp\.stats" --ref 0 --no-b-adapt --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 NUL "C:\flcl1\SOURCE\temp\movie.avs"
03:55:24 Command Line 2' Pass X264: C:\flcl1\AutoMKV067\exe\encoder\x264.exe --pass 2 --bitrate 446 --stats "C:\flcl1\SOURCE\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:\flcl1\SOURCE\temp\movie.mp4" "C:\flcl1\SOURCE\temp\movie.avs"
03:55:30 "C:\flcl1\AutoMKV067\exe\matroska\mkvmerge.exe" -o "C:\flcl1\SOURCE\temp\FLCL - Episode 01.mkv" --track-name -1:"FLCL - Episode 01" --aspect-ratio 1:4:3 --chapters "C:\flcl1\AutoMKV067\exe\chapters.txt" "C:\flcl1\SOURCE\temp\movie.mp4" --language -1:jpn "C:\flcl1\SOURCE\temp\audio.mp4"
03:55:30 Final Muxed size: -1 bytes
03:55:30 Encoding finished: 00:03:21 elapsed time
03:55:30 -----------------------------------------------------------------------
03:55:30 Script AutoCrop.log
03:55:30
03:55:30 Crop(4,0,712,480)
03:55:30 -----------------------------------------------------------------------
03:55:30 Script Resmovie.avs
03:55:30
03:55:30 -----------------------------------------------------------------------
03:55:30 Script movie.avs
03:55:30
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\autocrop.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\blockbuster.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\cnr2.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\ColorMatrix.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Convolution3D.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\corrector.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\DctFilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Decomb.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Deen.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\degrainmedian.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\DGDecode.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\EEDI2.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\fft3dfilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\FluxSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\frfun7.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\hqdn3d.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\LeakKernelDeint.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\MaskTools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\medianblur.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\MipSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\mt_masktools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\mvtools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\NicAudio.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\RemoveGrain.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Repair.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\SangNom.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\SimpleResize.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TBilateral.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TDeint.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TIVTC.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TomsMoComp.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TTempSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\UnDot.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\UnFilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\VSFilter.dll")
03:55:30 #loadpluginstart
03:55:30
03:55:30 #test1
03:55:30
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\MCBob_v03c.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\mvbob.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\QMF.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\seesaw.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\spresso.avsi")
03:55:30 #importstart
03:55:30
03:55:30 #test2
03:55:30
03:55:30 movie = mpeg2source("C:\flcl1\SOURCE\temp\movie.d2v")
03:55:30 function getOrder(clip c) {
03:55:30 order = GetParity(c) ? 1 : 0
03:55:30 Return order }
03:55:30 #filter1start
03:55:30
03:55:30 #test3
03:55:30
03:55:30 edeintted = SeparateFields().SelectEven().EEDI2(field=-1)
03:55:30 tdeintted = TDeint(edeint=edeintted)
03:55:30 tfm(order=-1,clip2=tdeintted).tdecimate(hybrid=3)
03:55:30 crop(movie,4,4,-4,-4)
03:55:30 #resizestart
03:55:30
03:55:30 #test4
03:55:30
03:55:30 LanczosResize(320,240)
03:55:30 #filter2start
03:55:30
03:55:30 #test5
03:55:30
03:55:30 MipSmooth(preset = "AnimeHQ")
03:55:30 ColorMatrix("Rec.709->Rec.601",hints=false)
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio.avs
03:55:30
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\NicAudio.dll")
03:55:30 NicAC3Source("C:\flcl1\SOURCE\temp\fixed1.ac3")
03:55:30 EnsureVBRMP3Sync()
03:55:30 ConvertAudioToFloat()
03:55:30 #Applyed STEREO downmixing routines
03:55:30 function stereo(clip a)
03:55:30 {
03:55:30 fl = GetChannel(a, 1)
03:55:30 fr = GetChannel(a, 2)
03:55:30 c = GetChannel(a, 3)
03:55:30 lfe = GetChannel(a, 4)
03:55:30 sl = GetChannel(a, 5)
03:55:30 sr = GetChannel(a, 6)
03:55:30 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
03:55:30 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
03:55:30 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
03:55:30 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
03:55:30 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
03:55:30 Return MergeChannels(l, r).Normalize()
03:55:30 }
03:55:30 #
03:55:30 function original(clip a)
03:55:30 {
03:55:30 Normalize(a)
03:55:30 Return last
03:55:30 }
03:55:30 6==Audiochannels() ? stereo() : original()
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio.bat
03:55:30
03:55:30 "C:\flcl1\AutoMKV067\exe\besweet\bepipe.exe" --script "Import(^C:\flcl1\SOURCE\temp\mkvmaudio.avs^)" | "C:\flcl1\AutoMKV067\exe\besweet\neroaacenc.exe" -ignorelength -q 0.15 -if - -of "C:\flcl1\SOURCE\temp\audio.mp4"
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio2.avs
03:55:30
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio2.bat
03:55:30
03:55:30
03:55:30 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


I get this when I run 'x264cmdq_pass1.bat' after the encoding job is done:

C:\flcl1\SOURCE\temp>"C:\flcl1\AutoMKV067\exe\encoder\x264.exe" --pass 1 --bitr
ate 446 --stats "C:\flcl1\SOURCE\temp\.stats" --ref 0 --no-b-adapt --progress --
keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-r
efs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25
000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8
,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "C:\flcl1\SOURCE\temp\movie.a
vs"
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'C:\flcl1\SOURCE\temp\movie.avs'


Hope you guys can help me out. Thnx.

dlflannery
12th January 2007, 07:01
@buzzqw
I've posted my guide (http://forum.videohelp.com/viewtopic.php?t=319372) for "Quick Conversion of Mpeg2 to Zune-compatible WMV using AutoMKV" on the VideoHelp forum. I hope you will take a look at it and let me know of any errors you see. At this moment the two screen shots I included are not being shown. I believe they have to be approved by a moderator before they show up.

Note that VideoHelp.com has added AutoMKV to their Tools section also, and one of the moderators has just posted a guide for DVD to WMV conversion using AutoMKV.

buzzqw
12th January 2007, 09:25
@Nemesis7

got it, fixed in next version. now don't use manual crop now (is a problem within manual crop and deinterlacer).
if you want resolve just add last=movie just before
edeintted = SeparateFields().SelectEven().EEDI2(field=-1)

@ALL please downgrade dgindex to 1.4.9 BETA 7 (incompatibility with tfm...)

http://www.neuron2.net/dgmpgdec/dgmpgdec149b7.zip

unzip to \exe\dgindex folder
copy dgdecode.dll to \exe\filter folder

@dlflannery
:thanks: !

BHH

cosmos
12th January 2007, 10:18
One suggestion (you gurus probably know more, but anyways thought this might of interest): I've seen that automkv uses 3 threads for x264. Now I'm sure I was reading somewhere that 2 threads is always faster than with 3, in some cases by an important margin.

Perhaps threads should be 2 instead of 3? Or auto for that matter? MeGUI uses in almost all cases 0 (=auto). Just a suggestion. Will try to make a comparison here on a small clip with threads =auto, threads=2 and threads=3.

cosmos
12th January 2007, 10:48
One suggestion (you gurus probably know more, but anyways thought this might of interest): I've seen that automkv uses 3 threads for x264. Now I'm sure I was reading somewhere that 2 threads is always faster than with 3, in some cases by an important margin.

Perhaps threads should be 2 instead of 3? Or auto for that matter? MeGUI uses in almost all cases 0 (=auto). Just a suggestion. Will try to make a comparison here on a small clip with threads =auto, threads=2 and threads=3.
Hmm, seems auto and 3 produce the same result on my rig (P4 HT, single core), whereas threads=2 is actually slower. So strike my previous post out :)

buzzqw
12th January 2007, 10:57
update new full package 0.68

www.64k.it/andres/data/a/AutoMKV068.rar

sorry for this full package but problems with tfm and new xvid profiles need a new full... :thanks: to all

changelog

ADDED: Languages list to Advanced Audio Options
ADDED: On launch AutoMKV will display the Tip of the Day ! (i need mooooooore tips) please POST IT !!! (to disable just delete tips.txt)
ADDED: <altpass2> to XivD Profile parsing. If this value is present will be parsed and used (could be false/true). If not present will be false.
ADDED: In log file manual crop value
FIXED: 48khz on Zune Profiles (thanks to by dlflannery)
FIXED: Max Audio bitrate capped at 192 for Zune Profiles (thanks to by dlflannery)
FIXED: Audio track name wasn't enclosed in "" (thanks to cosmos)
FIXED: Manual crop and interlaced source. (thanks to Nemesis7)
UPDATE: Downgraded DgIndex to 1.4.7 beta 7 (incompatibility with TFM)

BHH

Nemesis7
12th January 2007, 12:25
It seems to be working. Thnx for the quick reply and solution mate!

fogbav
13th January 2007, 11:39
Hi Buzzqw,

after testing the PayPAL button i have a serious problem ...

I can't find any errors anymore ... program is running smooth - everything works perfect. I hate it ..8)

only wanted to let you know about this "showbreaker" ...8)

Happy weekend -- may the framerate be with you .

Greets

FoGBaV

buzzqw
13th January 2007, 12:28
thanks fogbav ! i miss you !

a lot of works was done for automkv stability and fuctionality.
I have been lucky to find great testers like DDogg, SMD, FogBav, weaver4, travisbell, Barleyman, AMED, Nico.Laus.2001, dlflannery and many others

:thanks: to all!

but.. the features are already in progress (i just added the possibility to force use of directshowsource (both for video and audio), regardless of file input type)

maybe next step to remove bepipe (and so the .net framework)... but the only replacement could be (now... till soundout plugin from Sh0dan isn't near stable and able to command the encoder ) mplayer.exe...
the advantage would be that in multi audio file (like avi or mkv with more audio tracks) the audio tracks could be selectable...

I am very happy that automkv could be a succesfull tools for encoding, expecially with TS files since will be more and more common.

thanks again fogbav !

BHH

ehushagen
13th January 2007, 12:33
but.. the features are already in progress (i just added the possibility to force use of directshowsource (both for video and audio), regardless of file input type)


Oooohhh! Looking forward to next release!

fogbav
13th January 2007, 13:16
Kill Bepipe ! Kill BePipe ! Kill bePipe ! Yeahaaa !!!

I had only problems (especialy with AC3) ... i love this progress ..8)

And please always intergrate the Option "Encode ALLLLLL Audio Tracks with org. Settings (AC3/Stereo) to XXX "...8)

Dbox2 Streams here have nearly always Ger. AC3 / Ger. Stereo / eng. Stereo .... so i like to integrate more than 2 Audio Tracks with optimal compression ...

buzzqw
13th January 2007, 15:23
And please always intergrate the Option "Encode ALLLLLL Audio Tracks with org. Settings (AC3/Stereo) to XXX "...8)

isn't already present ? :confused:

just select "All audio tracks" and as channel "Original"

BHH

fogbav
14th January 2007, 09:53
Yes ... what i wanted to say was please let it also in the future versions present ...8)

Even on heavy restructure of automkv .... 8)

cosmos
14th January 2007, 15:28
There is this DVD that contains 4 episodes. When I click on "check dvd drive", the "Select PGC" box populates with 4 options, to select the proper episode. When I select, for example, the first PGC, fabdecrypter rips the entire video and then starts extracting the entire audio that corresponds to all 4 episodes together, creating audio of total length of 4x45 minutes=around 2 hours.

Specifically, the four episodes are all on VTS 02 (PGC 1 to 4)

I've also tried the same thing, checking "episodic IFO/DVD", but it didn't help. Am I doing something wrong, or should I rip each episode with my standalone DVDDecrypter first and process each episode rip seperately?

Log follows:

16:14:26 0.68 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
16:14:26 Selected Input file:
16:14:26 Selected Output dir: G:\Star Trek DS9\Finished\temp\
16:14:26 Selected Final Name: epi2
16:14:26 Selected Container type: MKV
16:14:26 Selected Encoder: X264
16:14:26 Selected Size: 172
16:14:26 Selected Slice: 1
16:14:26 Selected Profile: HQ-Slow.xml
16:14:26 Selected Width: 704
16:14:26 Selected Resizer: BicubicResize (neutral=0,0.50)
16:14:26 Selected Filters: RemoveGrain(mode=2)
16:14:26 Selected Deinterlacer: AUTO
16:14:26 Enabled CRF/CQ AutoRes at 18 value
16:14:26 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0,1,2,3]
16:14:26 Audio Codec 1: Nero AAC
16:14:26 Audio Quality 1: 0.30
16:14:26 Advanced Audio Settings DUMP Track 1:
16:14:26 Audio Track Language:
16:14:26 Audio Track Name: English AAC 2.0
16:14:26 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:14:26 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:14:26 Lame Settings: VBR
16:14:26 Audio Normalization: 0
16:14:26 Frequency: AUTO --- Tempo : NONE
16:14:26 Pitch: NONE --- Other Add :
16:14:26 Advanced Audio Settings DUMP Track 2:
16:14:26 Audio Track Language:
16:14:26 Audio Track Name:
16:14:26 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:14:26 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:14:26 Lame Settings: ABR
16:14:26 Audio Normalization: 1
16:14:26 Frequency: AUTO --- Tempo : NONE
16:14:26 Pitch: NONE --- Other Add :
16:14:26 Selected 1' Sub tracks: NONE
16:14:26 Selected 2' Sub tracks: NONE
16:14:26 Activate Force ITU Resizing
16:14:26
16:14:26 Starting ripping from I:\VIDEO_TS\ to G:\Star Trek DS9\Finished\temp\
16:24:38 Finished Ripping
16:24:38 Starting Indexing
16:24:38 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[G:\Star Trek DS9\Finished\temp\dvd\video_ts\VTS_02_1.vob] -OF=[G:\Star Trek DS9\Finished\temp\movie] -exit -minimize
16:26:22 Finished indexing
16:26:22 Starting fixing audio delay on track number 1
16:26:22 DelayCut CMD: E:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "G:\Star Trek DS9\Finished\temp\fixed1.ac3" "G:\Star Trek DS9\Finished\temp\movie T01 2_0ch 192Kbps DELAY 0ms.ac3"
16:26:29 Original 1' Audio Size: 262205184 bytes
16:26:29 Finished fixing audio delay
16:26:29 Encoding G:\Star Trek DS9\Finished\temp\fixed1.ac3 to NeroAAC with 0.30 quality

Note the size of the track above, it should be around 70Mbytes instead.

buzzqw
14th January 2007, 16:13
all movies are always full ripped, not only the selected episode

checking "Episodic dvd" automkv will be forced to encode only the vobs belonging to selected ifo (so is working with an already ripped dvd)

es:

vts_01_1.ifo
vts_01_0.vob
vts_01_1.vob
vts_01_2.vob
vts_02_1.ifo
vts_02_0.vob
vts_02_1.vob
vts_02_2.vob
vts_03_1.ifo
vts_03_0.vob
vts_03_1.vob
vts_03_2.vob

without checking "Episodic dvd" only the biggest ifo (and the corrispondenting vobs) is processed
with check on "Episodic dvd" only the selected ifo (and the corrispondenting vobs) is processed . So if i check it and select vts_02_1.ifo only the vts_02_1.vob,vts_02_2.vob will be processed.

If all episodes are encoded in the same vts (like all in vts_01_01.vob,vts_01_02.vob,vts_01_03.vob,vts_01_04.vob,vts_01_05.vob...) automkv isn't able to process single episode, BUT you could use the chapter for navigate beetween episodes :)

BHH

cosmos
14th January 2007, 20:02
Thanks for the info, makes sense :)

Now, perhaps these have been reported, but nevertheless a couple of findings that seem to be bugs:

1) Selecting to shutdown upon job completion, only logs out the user

2) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.

Unrealbr
14th January 2007, 22:08
My 2 cents, HD MP4 is beeing encoded normally here.
IMHO 0.68 is a little slower then 0.66 when processing all the stuff before the encoding.

dlflannery
15th January 2007, 04:41
..................
{Regarding my statement that using delaycut doubled the time for quick Zune conversions} :

that's near impossible. Is only a DISK to DISK operation, not an encoding operation. The audio file isn't reencoded just "trimmed/muxed" without delay. Isn't a framerate conversion at all!
..............
BHH
You are correct and I was totally wrong about that. It only adds a few percent to the total conversion time. I have corrected my Quick Zune Conversion Guide (http://forum.videohelp.com/viewtopic.php?t=319372)accordingly!

On my two computers the hints (when mouse pointer dwells over an entry item) only appear one time, even if you go to a different tab and then return. Also they only appear for about half the time it takes me to read them. Could you please consider making them stay longer and come up more than once per program run? Thanks!

Also, I still think it would nice to have the root file name (name without extension) of the input file appear automatically as the output file name, except when the input and output extensions are the same. In that case, perhaps "Amkv" or "Mod" could be appended to the output root name (?). (The operator could always override the suggested name of course.) I tried using "movie" and "movie name" as you seemed to suggest in a prior post, but I just got output files named "movie.wmv" or "movie name.wmv".

cosmos
15th January 2007, 08:29
Some suggestions that might improve an already excellent program :) :

1) When outputting to Matroska, the title entered in "Movie Name" becomes also the title of the video track, using the --track-title command line option of mkvmerge (if I understand correctly). Perhaps it could become the .mkv's title instead, using the --title option.

2) In the advanced settings tab, the user selects a language. Not sure what it does, but it would save me a click or two, if whatever is selected there, becomes the default choice in the audio track 1 and 2 language (instead of "und"efined).

Last but not least there are those two issues I've mentioned above, not sure though if they are bugs or not:


1) Selecting to shutdown upon job completion, only logs out the user

2) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.

cosmos
15th January 2007, 11:15
And another possible bug: I've checked the HQ Deinterlacer box. The error Error: Error calling AVIStreamGetFrameOpen shows up in the deint.log file.

buzzqw
15th January 2007, 13:19
@dlflannery

i down't know if i understud clearly... but in next release the movie name will be based (proposed) on input file name
AND in wmv proprierties the title will be the movie

@cosmos
1) Selecting to shutdown upon job completion, only logs out the user
) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.
should be fixed!

2) In the advanced settings tab, the user selects a language
even if is not very used AutoMKV could be translated in every languages ! Setting the languages in advanced settings allow automkv to search for a file named automkv.yourlanguage , if found every label will be translated...

Perhaps it could become the .mkv's title instead, using the --title option.
i will search ... thanks to the hint !

The error Error: Error calling AVIStreamGetFrameOpen shows up in the deint.log file.

... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)

thanks !

BHH

cosmos
15th January 2007, 20:53
i will search ... thanks to the hint !
You are welcome :) The --title option is essentially what you type in the mkvmerge GUI -> Global tab -> File/segment title. It's very nice because it is displayed in Media player classic, right above the navigation bar ("Title XXXX").

BTW, perhaps AutoMKV should take some credit for all those conversions, so you could probably set a global mkv tag "author" to read "AutoMKV version XXX, see http://yyy/" ;)

... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)
Have to use the system for some other computationally intensive work atm, but will report tomorrow if it works or not. I should simply install an Xvid build (Koepi's for example), right?

BleedingGums
15th January 2007, 21:39
AutoMKV(068) is working fine here, however with some sources when the deinterlacer gives up (not uncommon with very low motion anime), no deinterlacing is applied. it would be nice if there where an option to let autoMKV guess. I don't know how easy or possible it would be to implement or even if autoMKV could redo a pass with more agressive settings.

deint.log

processed frames: 23/2265 -- 1% completed
processed frames: 46/2265 -- 2% completed
........
processed frames: 2263/2265 -- 99% completed
processed frames: 2265/2265 -- 100% completed
BAutoDeint [info]: Number of sections of type `unknown': 135
BAutoDeint [info]: Number of sections of type `progressive': 4
BAutoDeint [info]: Number of sections of type `interlaced': 2
BAutoDeint [info]: Number of sections of type `film': 10
BAutoDeint [info]: There are 0 sections with 0 frames moving.
BAutoDeint [info]: There are 5 sections with 1 frames moving.
BAutoDeint [info]: There are 10 sections with 2 frames moving.
BAutoDeint [info]: There are 7 sections with 3 frames moving.
BAutoDeint [info]: There are 5 sections with 4 frames moving.
BAutoDeint [info]: There are 20 sections with 5 frames moving.

Processing completed. Type is determined to be unknown.


log

00:55:21 0.68 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:55:21 Selected Input file: C:\Extra Space\CROMARTIE_HIGH_SCHOOL_1\VTS_02_0.IFO
00:55:21 Selected Output dir: C:\Extra Space\temp\
00:55:21 Selected Final Name: 01
00:55:21 Selected Container type: MKV
00:55:21 Selected Encoder: X264
00:55:21 Selected Size: 70
00:55:21 Selected Slice: 1
00:55:21 Selected Profile: AE-Maxquality.xml
00:55:21 Selected Width: 640
00:55:21 Selected Resizer: BicubicResize (neutral=0,0.50)
00:55:21 Selected Filters: Convolution3d (preset="animeHQ")
00:55:21 Selected Deinterlacer: AUTO
00:55:21 Enabled CRF/CQ AutoRes at 18 value
00:55:21 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
00:55:21 Audio Codec 1: Nero AAC
00:55:21 Audio Quality 1: 0.20
00:55:21 Track Language 2: Japanese (AC3 2ch, 0xBD 0x81) [0]
00:55:21 Audio Codec 2: Nero AAC
00:55:21 Audio Quality 2: 0.10
00:55:21 Advanced Audio Settings DUMP Track 1:
00:55:21 Audio Track Language:
00:55:21 Audio Track Name:
00:55:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:55:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:55:21 Lame Settings: ABR
00:55:21 Audio Normalization: 1
00:55:21 Frequency: AUTO --- Tempo : NONE
00:55:21 Pitch: NONE --- Other Add :
00:55:21 Advanced Audio Settings DUMP Track 2:
00:55:21 Audio Track Language:
00:55:21 Audio Track Name:
00:55:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:55:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:55:21 Lame Settings: ABR
00:55:21 Audio Normalization: 1
00:55:21 Frequency: AUTO --- Tempo : NONE
00:55:21 Pitch: NONE --- Other Add :
00:55:21 Selected 1' Sub tracks: RIP ALL SUBS
00:55:21 Selected 2' Sub tracks: NONE
00:55:21
00:55:21 Starting SubRipping
00:55:44 Subtitle Size: 1296384 bytes
00:55:44 Finished SubRipping
00:55:44 Starting Indexing
00:55:44 Dgindex CMD: C:\AutoMKV63\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1,2 -YR=2 -AIF=[C:\Extra Space\CROMARTIE_HIGH_SCHOOL_1\VTS_02_1.vob] -OF=[C:\Extra Space\temp\movie] -exit -minimize
00:56:15 Finished indexing
00:56:15 Starting fixing audio delay on track number 1
00:56:15 DelayCut CMD: C:\AutoMKV63\exe\dgindex\Delaycut.exe -auto -out "C:\Extra Space\temp\fixed1.ac3" "C:\Extra Space\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
00:56:19 Original 1' Audio Size: 39828992 bytes
00:56:19 DelayCut CMD: C:\AutoMKV63\exe\dgindex\Delaycut.exe -auto -out "C:\Extra Space\temp\fixed2.ac3" "C:\Extra Space\temp\movie T02 2_0ch 224Kbps DELAY 0ms.ac3"
00:56:21 Original 2' Audio Size: 19914496 bytes
00:56:21 Finished fixing audio delay
00:56:21 Encoding C:\Extra Space\temp\fixed1.ac3 to NeroAAC with 0.20 quality
00:58:55 Encoded 1' Audio Track: 3776638 bytes
00:58:55 Encoding C:\Extra Space\temp\fixed2.ac3 to NeroAAC with 0.10 quality
00:59:53 Encoded 2' Audio Track: 2256732 bytes
00:59:56 Number of Frames: 21316
00:59:56 Framerate: 29.970030
00:59:56 Movie lenght in Seconds: 712
00:59:56 Movie Width: 720
00:59:56 Movie Height: 480
01:00:44 Order: unk
01:00:44 Starting X264
01:00:44 Command Line 1' Pass X264: C:\AutoMKV63\exe\encoder\x264.exe --pass 1 --bitrate 748 --stats "C:\Extra Space\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter 1,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 2 --output NUL "C:\Extra Space\temp\movie.avs"
01:00:44 Command Line 2' Pass X264: C:\AutoMKV63\exe\encoder\x264.exe --pass 2 --bitrate 748 --stats "C:\Extra Space\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter 1,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 2 --output "C:\Extra Space\temp\movie.mp4" "C:\Extra Space\temp\movie.avs"
05:33:24 "C:\AutoMKV63\exe\matroska\mkvmerge.exe" -o "C:\Extra Space\temp\01.mkv" --track-name -1:"01" --aspect-ratio 1:1.333333 --chapters "C:\AutoMKV63\exe\chapters.txt" "C:\Extra Space\temp\movie.mp4" --language -1:eng "C:\Extra Space\temp\audio.mp4" --language -1:jpn "C:\Extra Space\temp\audio2.mp4" "C:\Extra Space\temp\01.idx"
05:33:39 Final Muxed size: 73193185 bytes
05:33:39 Encoding finished: 04:38:18 elapsed time
05:33:39 -----------------------------------------------------------------------
05:33:39 Script AutoCrop.log
05:33:39
05:33:39 Crop(4,0,712,480)
05:33:39 -----------------------------------------------------------------------
05:33:39 Script Resmovie.avs
05:33:39
05:33:39 -----------------------------------------------------------------------
05:33:39 Script movie.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\autocrop.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\blockbuster.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\cnr2.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\ColorMatrix.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Convolution3D.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\corrector.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\DctFilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Decomb.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Deen.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\degrainmedian.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\DGDecode.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\EEDI2.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\fft3dfilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\FluxSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\frfun7.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\hqdn3d.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\LeakKernelDeint.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\MaskTools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\medianblur.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\MipSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\mt_masktools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\mvtools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\RemoveGrain.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Repair.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\SangNom.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\SimpleResize.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TBilateral.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TDeint.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TIVTC.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TomsMoComp.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TTempSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\UnDot.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\UnFilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\VSFilter.dll")
05:33:39 #loadpluginstart
05:33:39
05:33:39 #test1
05:33:39
05:33:39 Import("C:\AutoMKV63\exe\filter\MCBob_v03c.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\mvbob.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\QMF.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\seesaw.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\spresso.avsi")
05:33:39 #importstart
05:33:39
05:33:39 #test2
05:33:39
05:33:39 movie = mpeg2source("C:\Extra Space\temp\movie.d2v")
05:33:39 function getOrder(clip c) {
05:33:39 order = GetParity(c) ? 1 : 0
05:33:39 Return order }
05:33:39 #filter1start
05:33:39
05:33:39 #test3
05:33:39
05:33:39 #cropstart
05:33:39
05:33:39 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
05:33:39 fixed_aspect = 0.888889
05:33:39 c_width = width(cropclip)
05:33:39 c_height = Round(height(cropclip) / fixed_aspect)
05:33:39 input_par = float(float(c_width)/float(c_height))
05:33:39 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
05:33:39 out_width = 640
05:33:39 out_height = Round(float(out_width) / input_par)
05:33:39 hmod = out_height - (floor(out_height / 16 ) * 16)
05:33:39 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
05:33:39 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
05:33:39 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
05:33:39
05:33:39 #resizestart
05:33:39
05:33:39 #test4
05:33:39
05:33:39 BicubicResize(out_width,out_height,0,0.50)
05:33:39 #filter2start
05:33:39
05:33:39 #test5
05:33:39
05:33:39 Convolution3d (preset="animeHQ")
05:33:39 ColorMatrix("Rec.709->Rec.601",hints=false)
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 NicAC3Source("C:\Extra Space\temp\fixed1.ac3")
05:33:39 EnsureVBRMP3Sync()
05:33:39 ConvertAudioToFloat()
05:33:39 #Applyed STEREO downmixing routines
05:33:39 function stereo(clip a)
05:33:39 {
05:33:39 fl = GetChannel(a, 1)
05:33:39 fr = GetChannel(a, 2)
05:33:39 c = GetChannel(a, 3)
05:33:39 lfe = GetChannel(a, 4)
05:33:39 sl = GetChannel(a, 5)
05:33:39 sr = GetChannel(a, 6)
05:33:39 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
05:33:39 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
05:33:39 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
05:33:39 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
05:33:39 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
05:33:39 Return MergeChannels(l, r).Normalize()
05:33:39 }
05:33:39 #
05:33:39 function original(clip a)
05:33:39 {
05:33:39 Normalize(a)
05:33:39 Return last
05:33:39 }
05:33:39 6==Audiochannels() ? stereo() : original()
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio.bat
05:33:39
05:33:39 "C:\AutoMKV63\exe\besweet\bepipe.exe" --script "Import(^C:\Extra Space\temp\mkvmaudio.avs^)" | "C:\AutoMKV63\exe\besweet\neroaacenc.exe" -ignorelength -q 0.20 -if - -of "C:\Extra Space\temp\audio.mp4"
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio2.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 NicAC3Source("C:\Extra Space\temp\fixed2.ac3")
05:33:39 EnsureVBRMP3Sync()
05:33:39 ConvertAudioToFloat()
05:33:39 #Applyed STEREO downmixing routines
05:33:39 function stereo(clip a)
05:33:39 {
05:33:39 fl = GetChannel(a, 1)
05:33:39 fr = GetChannel(a, 2)
05:33:39 c = GetChannel(a, 3)
05:33:39 lfe = GetChannel(a, 4)
05:33:39 sl = GetChannel(a, 5)
05:33:39 sr = GetChannel(a, 6)
05:33:39 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
05:33:39 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
05:33:39 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
05:33:39 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
05:33:39 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
05:33:39 Return MergeChannels(l, r).Normalize()
05:33:39 }
05:33:39 #
05:33:39 function original(clip a)
05:33:39 {
05:33:39 Normalize(a)
05:33:39 Return last
05:33:39 }
05:33:39 6==Audiochannels() ? stereo() : original()
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio2.bat
05:33:39
05:33:39 "C:\AutoMKV63\exe\besweet\bepipe.exe" --script "Import(^C:\Extra Space\temp\mkvmaudio2.avs^)" | "C:\AutoMKV63\exe\besweet\neroaacenc.exe" -ignorelength -q 0.10 -if - -of "C:\Extra Space\temp\audio2.mp4"
05:33:39
05:33:39 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


great work with AutoMKV otherwise.

on a side note, when I was originally working on a 2 minute sample of the same file as above (11 min total) the deint.log reported

BAutoDeint [info]: Number of sections of type `tff': 185
BAutoDeint [info]: Number of sections of type `unknown': 72

Processing completed. Type is determined to be film.
Field order is variable.

and the final result was pretty good.

cosmos
15th January 2007, 23:50
... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)
I've installed the latest Koepi xvid build. Works perfectly now! Thanks :)

cosmos
16th January 2007, 07:21
Something which is a bit strange. IIRC, the movie.avs file contained a call to ColorMatrix. For example, in the log posted by BleedingGums two posts before:

...
05:33:39 BicubicResize(out_width,out_height,0,0.50)
05:33:39 #filter2start
05:33:39
05:33:39 #test5
05:33:39
05:33:39 Convolution3d (preset="animeHQ")
05:33:39 ColorMatrix("Rec.709->Rec.601",hints=false)
05:33:39 -----------------------------------------------------------------------


I also saw that line in previous encodings I've performed with AutoMKV. However I can't locate it in recent encodes:

20:45:34 #test4
20:45:34
20:45:34 BicubicResize(out_width,out_height,0,0.50)
20:45:34 #filter2start
20:45:34
20:45:34 #test5
20:45:34
20:45:34 RemoveGrain(mode=2)
20:45:34 -----------------------------------------------------------------------


This is a 4:3 clip and I've enabled "ITU resizing". Could it be the cause of ColorMatrix not appearing?

buzzqw
16th January 2007, 13:25
you are welcome The --title option is essentially

:) DONE ! (added title in advanced audio options)

however with some sources when the deinterlacer gives up

it's difficult.. anyway i reworked the deinterlace choice, so if you know already what is the results of deint.log ("Processing completed. Type is determined to be film." ) you can apply it

colormatrix is always applied. regardless of reizer,deinterlacer,itu, anamorphic... the ONLY case that ISN'T applied is when in d2v the color information report a color mode that colormatrix is unable to change (sorry for the convoluted reply)

BHH

cosmos
16th January 2007, 14:00
:) DONE ! (added title in advanced audio options)
Sorry I'm a bit confused, let me elaborate. In 068, AutoMKV uses the --track-name mkvmerge option in 2 places:
1) It takes the "Movie Name" and uses --track-name to assign it to the Matroska video stream. NOTE: it is only the video track that is assigned the "Movie Name"!
2) In the advanced audio options, whatever is entered in the "Track Name (Director's Comment, Actor" etc, using the --track-name mkvmerge option becomes the audio track's name

What I was suggesting is:
* Leave (2) as it is in 068, that is still use --track-title to assign a description to the respective audio channel (e.g. "MP3 VBR", or "AAC 5.1" etc)
* Change (1) as follows: instead of calling mkvmerge with the option --track-name "<what user has entered in "Movie Name">", call it instead with --title "<what user has entered in "Movie Name">". Therefore, there is no need to have the --title take its value from the audio properties box. In fact, adding the title in the audio channel advanced options would be wrong. There can be only one --title mkvmerge argument for the entire mkv file, it is unique!

This way in the entire mkv file, the global (ie not a track-specific) title tag is set to the movie name. I was not sure if that was what you intended saying in your previous post, hence for the clarification.

colormatrix is always applied. regardless of reizer,deinterlacer,itu, anamorphic... the ONLY case that ISN'T applied is when in d2v the color information report a color mode that colormatrix is unable to change (sorry for the convoluted reply)Thanks for the information, now I understand :) And, BTW, pardon me for making a lot of newbie comments, pls blame my ignorance. This area is new to me (I'm still struggling to find which filter I should use, like convolute3d, other?) :D

buzzqw
16th January 2007, 14:13
well i put movie name as point 1) BUT i added a free string (to complete by user) that add --title to mkv (if leaved blank is applyed as "Done with AutoMKV ....")

BHH

P.S. i prefer (copy&paste in your filter box) DctFilter(1,1,1,1,1,1,.5,0).DeGrainMedian(limitY=5,limitUV=5,mode=3)

cosmos
16th January 2007, 15:49
well i put movie name as point 1) BUT i added a free string (to complete by user) that add --title to mkv (if leaved blank is applyed as "Done with AutoMKV ....")
Nice!

P.S. i prefer (copy&paste in your filter box) DctFilter(1,1,1,1,1,1,.5,0).DeGrainMedian(limitY=5,limitUV=5,mode=3)
Thank you! Will try this today :)

dlflannery
16th January 2007, 17:07
@dlflannery

i down't know if i understud clearly... but in next release the movie name will be based (proposed) on input file name
AND in wmv proprierties the title will be the movie
.........
BHH
You understand correctly! And thanks!

Sorry for this nubie question but:
Am I correct that AutoMKV cannot take Xvid or DivX as input files (perhaps renamed with .avi extension?). I've read this entire thread and still don't know this for sure. An OP on another forum was looking for a way to convert Xvid to WMV and I wasn't sure whether I could recommend AutoMKV for that or not?

travisbell
16th January 2007, 18:27
ADDED: Possibility to activate High Quality Deinterlacer (slow!)

Hey buzzqw,

What does AutoMKV use for the HQ de-interlacer?

Thanks!

buzzqw
16th January 2007, 20:44
@dlflannery

best answer is try ;) but i can confirm that is possible to convert .avi /.mp4 ./mkv ./ogm to wmv or whatever container supported by automkv

but remember that only first audio track is processed

What does AutoMKV use for the HQ de-interlacer?

BAutoDeint after analysis could decide that source file is:

1) Unknow
2) Progressive
3) Interlaced
4) Decimating
5) Partly Film
6) Partly Interlaced

and the field order could be
1) Unknow
2) TFF
3) BFF
4) Variable/Hybrid

For Progressive/Unknow source no deinterlacer is used

For Interlaced:
Standard is LeakKernelDeint(order=order,sharp=true) for HQ is Tdeint(order=order), for variable field order is
edeintted = SeparateFields().SelectEven().EEDI2(field=-1)")
TDeint(edeint=edeintted)

For Decimating
Standard and HQ is tfm(d2v="movie.d2v").tdecimate()

For Partly Film
Standard is:
tfm(d2v="movie.d2v").tdecimate(hybrid=3)HQ (for bff/tff just change assumebff and order = , for variable order set order=-1) is edeintted = AssumeBFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=0)
tfm(order=0,clip2=tdeintted).tdecimate(hybrid=3)

For Partly Interlaced
Standard is (again change order= to your value):TDeint(order=1,full=false)
For HQ:edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)

For Film
Standard or HQ is:tfm(d2v="movie.d2v").tdecimate()

That's near all !

jmnk
16th January 2007, 21:13
@dlflannery

best answer is try ;) but i can confirm that is possible to convert .avi /.mp4 ./mkv ./ogm to wmv or whatever container supported by automkv

but remember that only first audio track is processed





I've tried to convert xvid to wmv. With ac3 as audio. Did not work. There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?

SeeMoreDigital
16th January 2007, 21:33
I've tried to convert xvid to wmv. With ac3 as audio. Did not work. There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?Hmmmm....

Even with more seasoned "Encoding GUI's", these kinds of conversions are very difficult to achieve...

Besides.... the WMV container does not support AC3 audio. Primarily it supports WMA and WMA Pro ;)

jmnk
16th January 2007, 21:40
Hmmmm....

Even with more seasoned "Encoding GUI's", these kinds of conversions are very difficult to achieve...

Besides.... the WMV container does not support AC3 audio. Primarily it supports WMA and WMA Pro ;)

Yes, agreed. I did not want to store ac3 in wmv. I hoped AutoMKV would convert ac3 to 2 channel wma (or ask me if I want multichannel wma).
I mean I know I can extract ac3, convert to wav, convert video to wmv and remux with audio - but that would not be "Auto...". Previous posts implied I can feed almost anything in AutoMKV and get wmv as output.

buzzqw
16th January 2007, 21:59
if you have an ac3 decoder installed (like ffdshow) automkv should encode it to wmv

just choose audio encoder "wmv", channel as "stereo"

BHH

jmnk
16th January 2007, 22:07
if you have an ac3 decoder installed (like ffdshow) automkv should encode it to wmv

just choose audio encoder "wmv", channel as "stereo"

BHH

I did not work for me. But while I have ffdshow I also have ac3filter which by default handles ac3. Are you saying that uninstalling ac3filter and have ffdshow handle ac3 should help?

Also, just to be clear. NONE of the converters that are out there worked - I mean those that claim to convert from "anything" to Zune compatible format. I ended up going xvid avi-> rip out ac3->convert to 2channel wav-> feed video and audio (separately) to WME. That worked, but hardly an elegant solution.

buzzqw
16th January 2007, 22:26
the most important thing is that ffdshow or ac3filter will not outputting to sp/dif

BHH

jmnk
16th January 2007, 22:47
the most important thing is that ffdshow or ac3filter will not outputting to sp/dif

BHH

I'm pretty sure that is not the case. I think I have set ac3filter to output 2ch stereo.

jmnk
16th January 2007, 22:55
[...]There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?

Not to repeat myself but I think the problem is that the avs script created by AutoMKV (which is in temp directory) did not have any audio component. Which leads me to the following question: what would be the proper avs script that would allow me to feed audio portion of xvid with ac3 audio to any audio encoder. Or in other words - if I wanted to feed just ac3 audio from avi file into, let's say audio track of WME, what would such a script look like?

buzzqw
17th January 2007, 08:36
@jmnk

thanks for your insistance ! i got the problem too!

fixed in next release !, thanks !!!

BHH

buzzqw
17th January 2007, 10:23
Update 0.70 www.64k.it/andres/data/a/AutoMKV070.exe

Changelog

0.70
ADDED: In Advanced Setting "Use DirectShowSource", check this before loading your files. Using this option AutoMKV will process both audio and video with directshowsource plugin
ADDED: On choosing input file the movie name will change as input file name (suggestion by dlflannery)
ADDED: On WMV container added the YEAR and TITLE, taken from current year and current final movie name (suggestion by dlflannery)
ADDED: Possibility to specify "Title" in MKV container, set it on Advanced Audio Settings (suggestion by cosmos)
ADDED: Deinterlacer routines now are comprensive of presets (AUTO, NONE, Progressive, Interlaced, Decimating, Film, Partly Film, Partly Interlaced)
ADDED: Possibility to specify field order (AUTO/BFF/TFF/HYBRID)
FIXED: Several improvement to WMV encoding. Now should working with input files as ts, d2v, m2v (not with avs)
FIXED: Shutdown in queue mode (thanks to cosmos)
FIXED: Shutdown would previusly only LogOff (thanks to cosmos)
FIXED: Mpeg4 to WMV was broken for audio encoding (thanks to jmnk)

BHH

jmnk
17th January 2007, 17:12
@jmnk

thanks for your insistance ! i got the problem too!

fixed in next release !, thanks !!!

BHH

@buzzqw

you're welcome. I'm glad it helped.
BTW (since I can't try new vesion for couple of hours), is it going to feed 2channel stereo into windows encoder? windows encoder does support multichannel audio, but it has to be in specific format. Do I have to manually make sure that my ac3filter is set to output 2 channel, or AutoMKV is going to take care of it?

buzzqw
17th January 2007, 17:21
while on mpeg (vob/ts/mpeg...) input i will pass the downmixing routines (stereo or original channel number), on avi/mpeg4 input i will pass only the directshowsource without specifying downmixing at all
You must choose on ac3filter or ffdshow or whatever ac3 decoder you have hwo many channels pass to directshowsource

as i said in old post i was never able to encode in 5.1 mode with wma... but if it's working for you i am glad!

BHH

travisbell
17th January 2007, 18:40
0.70
ADDED: In Advanced Setting "Use DirectShowSource", check this before loading your files. Using this option AutoMKV will process both audio and video with directshowsource plugin

Hey buzzqw,

What's the benefit to this? Should I be using it?

Thanks!

jmnk
17th January 2007, 19:06
while on mpeg (vob/ts/mpeg...) input i will pass the downmixing routines (stereo or original channel number), on avi/mpeg4 input i will pass only the directshowsource without specifying downmixing at all
You must choose on ac3filter or ffdshow or whatever ac3 decoder you have hwo many channels pass to directshowsource

as i said in old post i was never able to encode in 5.1 mode with wma... but if it's working for you i am glad!

BHH
according to Zambelli (and it seemed to work for me, at least based on what MediaInfo shows)
Quote: "[..] you can encode 5.1 audio sources to 5.1 WMA Pro if you wish. The source needs to be presented as either 6 mono WAV files or a multichannel WAV/AVI, such as the ones created by the Mono-to-Multichannel Wave Combiner tool at http://www.microsoft.com/windows/win...utilities.aspx."

SeeMoreDigital
17th January 2007, 19:12
Hi Buzz,

I've been trying to generate a "pure interlaced" Xvid (MPEG-4) encode from a "pure interlaced" MPEG-2 source.... I've tried all the options in the GUI but sadly though, without success :(

http://img530.imageshack.us/img530/2798/automkvzo5.png

By-the-way.... Does the "NONE" option mean the "de-interlacer" is "Off"?


Cheers

buzzqw
17th January 2007, 20:03
@travisbell

Force DirectShowSource is to use only when you know that proxjectX or dgindex will fail, you can use it on ogm or mp4 input files, whenever you need to process your file by directshow (es. you need to apply a ffdshow postprocessing filter...)

@jmnk
if you know how to do with directshowsource i will be glad to support it !

@SeeMoreDigital
On NONE or Progressive choice NO deinterlacer or deinterlaced test is performed, you can look at resulting avs script

About interlaced mpeg4... i suppose that some parameter is to pass to xvid_encraw or x264...
On Xvid profile there is this <Interlaced>false</Interlaced>, if you change to true the -interlaced option will be passed but not the BFF/TFF (1,2) parameter.
Best answer is to add at Advanced profile editing, at "Add to line:" the -interlaced 1 (for bff) or -interlaced 2 (for tff) :)

BHH

vOjToL
17th January 2007, 21:39
Hi, Buzzqw!
A little bug I find. When I add input file drag&drop method, then output folder is automaticaly set the same as input. Unfortunatelly DGindex save d2v and audio in previous encoding used folder.

21:20:05 Dgindex CMD: H:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[I:\LOONEY_TUNES_BACK_IN_ACTION\VIDEO_TS\VTS_01_1.vob] -OF=[I:\RYBKI_Z_FERAJNY\VIDEO_TS\temp\movie] -exit -minimize

jmnk
17th January 2007, 21:44
@travisbell

Force DirectShowSource is to use only when you know that proxjectX or dgindex will fail, you can use it on ogm or mp4 input files, whenever you need to process your file by directshow (es. you need to apply a ffdshow postprocessing filter...)

@jmnk
if you know how to do with directshowsource i will be glad to support it !

BHH
@buzzqw
If I knew I would be coding and not reporting problems only :sly:

SeeMoreDigital
17th January 2007, 21:50
About interlaced mpeg4... i suppose that some parameter is to pass to xvid_encraw or x264...
On Xvid profile there is this <Interlaced>false</Interlaced>, if you change to true the -interlaced option will be passed but not the BFF/TFF (1,2) parameter.
Best answer is to add at Advanced profile editing, at "Add to line:" the -interlaced 1 (for bff) or -interlaced 2 (for tff) :)Thanks for that.....

Just tried that.... And I think it's working correctly. MediaInfo reports the Xvid in MP4 encode as being "interlaced" and the "field order" as being TFF :)

I must admit, I doubt many people would want to generate "pure interlaced" Xvid encodes, especially as they're not very easy to play in a software player. However, "pure interlaced" Xvid encodes play and look great in my hardware player ;)

For my own selfish purposes. Would it be possible for you to add say, an "De-interlacer" "Off" setting, that automatically creates a profile setting which includes "-interlaced 2" (for TFF)..... By-the-way, TFF is by far the most common field order for "interlaced" sources.


Thanks

buzzqw
17th January 2007, 21:57
If I knew I would be coding and not reporting problems only

sorry i don't want to be harsh ! :)

it is that is no easy and not in the workflow of automkv to do this. if would be possible to encode audio separatly and then mux in wmv, i think all problem could be resolved. But i need a standalone (like lame or neroaacenc and avimux_gui/mkvmerge) application to do this

sorry again :o

@vOjToL

i will look at this, thanks !

For my own selfish purposes. Would it be possible for you to add say, an "De-interlacer" "Off" setting, that automatically creates a profile setting which includes "-interlaced 2" (for TFF)..... By-the-way, TFF is by far the most common field order for "interlaced" sources.
i will look.. and if found an elegant (easy is already) solution i will insert it (as LEAVE INTERLACED.. and free to select field order) ;)

BHH

jmnk
17th January 2007, 22:07
sorry i don't want to be harsh ! :)

it is that is no easy and not in the workflow of automkv to do this. if would be possible to encode audio separatly and then mux in wmv, i think all problem could be resolved. But i need a standalone (like lame or neroaacenc and avimux_gui/mkvmerge) application to do this

sorry again :o

BHH

@buzzqw
I think I may have used the wrong smily, I just wanted to be funny. It's really no offense taken here. I wish I knew half of the things you guys know here, and that does not even count coding - which I'm not even trying to do. Thanks for great application. This one (or MeGUI) is so much better than the ones others want to charge for.
Really, no need to be sorry at all.

SeeMoreDigital
17th January 2007, 22:26
i will look.. and if found an elegant (easy is already) solution i will insert it (as LEAVE INTERLACED.. and free to select field order) ;)That sounds like a better plan.... Nice one ;)

vOjToL
17th January 2007, 23:49
@jmnk

thanks for your insistance ! i got the problem too!

fixed in next release !, thanks !!!


I solved this problem(6ch ac3 to DLPII-mp3 with DirectShowSource:ffdshow) modifing mkvaudio.avs like this-
original:

video=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",audio=false)
audio=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",video=false)
stereo=getchannel(audio,1,2)
Return AudioDub(video, stereo)
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed DLP II downmixing routines
function DLPII(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
fl_c = MixAudio(fl, c, 0.3254, 0.2301)
ssr = MixAudio(sl, sr, 0.1627, 0.2818)
fr_c = MixAudio(fr, c, 0.3254, 0.2301)
l = MixAudio(ssl, fl_c, 1.0, 1.0)
r = MixAudio(ssr, fr_c, 1.0, 1.0)
Return MergeChannels(l, r)
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? DLPII() : original()

modified:

video=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",audio=false)
audio=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",video=false)
AudioDub(video, audio)
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed DLP II downmixing routines
function DLPII(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
fl_c = MixAudio(fl, c, 0.3254, 0.2301)
ssr = MixAudio(sl, sr, 0.1627, 0.2818)
fr_c = MixAudio(fr, c, 0.3254, 0.2301)
l = MixAudio(ssl, fl_c, 1.0, 1.0)
r = MixAudio(ssr, fr_c, 1.0, 1.0)
Return MergeChannels(l, r)
}
#
function original(clip a)
{
lft=getchannel(a,1)
rgt=getchannel(a,2)
Mergechannels(lft,rgt)
Normalize()
Return last
}
6==Audiochannels() ? DLPII() : original()

The original script in both cases -DLPII or ORIGINAL returns only 2 channels left and right, no dialogs.

dlflannery
18th January 2007, 05:08
I'm trying to convert an AVI (xvid, mp3) to WMV with no success at all.

Per mediaInfo the input file properties are:
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 18.8 MiB
PlayTime : 2mn 30s
Bit rate : 1039 Kbps
StreamSize : 349 KiB

Video #0
Codec : XviD
Codec settings/BVOP : No
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 2mn 30s
Bit rate : 904 Kbps
Width : 320 pixels
Height : 240 pixels
Aspect ratio : 4/3
Frame rate : 29.970 fps
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.390
StreamSize : 16.2 MiB

Audio #0
Codec : MPEG-1 Audio layer 3
Codec profile : Joint stereo
PlayTime : 2mn 30s
Bit rate : 125 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 2.25 MiB

This file plays fine in WMP11 or MPC 6.4.9.0
It renders and plays fine in gspot and graphEdit.
It can be served by AVS either with AviSource or DirectShowSource. In other words, all indications are this is a good video!

I've tried various WMV profiles and with or without the "Use DirectShowSource". Output size is same as input and fixed bit rate is 500kbps + audio_bit_rate.

Some encodes fail completely. The closest I've come to success is to check "Use DirectShowSource" and force use of the WMV7 codec via the Zune_1pass_fast profile. The file size is about 1/4 of what it should be and mediaInfo shows a video bitrate of 108kbps (should be 500kbps, and I see that rate being passed to the WME9 script).

When played in WMP11, this file shows good video and audio, but the video rushes along as if in 14X fast forward and finishes in 13 seconds while the audio plays along normally for the full 2.5 min duration.

If anyone can give me details on how they have successfully performed an AVI (xvid + mp3) --> WMV conversion with AutoMKV, I would really appreciate it. I've come so close, I hate to give up now!

Thanks for your attention

cosmos
18th January 2007, 07:00
In some clips of episodes I knew that they were of type film. So in AutoMKV070 I've set in the advanced properties the type to "Film" but left the next box (field order) to "Auto". Does the automatic field order detection take place in such a case? I'll try to paste a log of such operation later on today.

buzzqw
18th January 2007, 10:51
This is an experimental build, since i no more parse channels downmix for mpeg4 (or directshowsource) input files.

update 0.70a
www.64k.it/andres/data/a/AutoMKV070a.exe

FIXED: on avi/mkv/ogm or whenever is needed directshowsource , the audio encoding NO MORE LOOK AT CHANNELS downmixing. please USE FFDSHOW/AC3Filter to downmix!
ADDED: Leave Interlaced ... but please select field order..., now is applyed only to XviD, when --interlaced will be fuctional in x264 i will add to it

for example in ffdshow i check Mixer and select 2.0 (or feel bra

To anyone with problem with wmv please try this build ! :thanks:

EDIT: @cosmos don't use Film, since i parse d2v for force film usage !

buzzqw
18th January 2007, 11:21
update 0.70b

www.64k.it/andres/data/a/AutoMKV070b.exe

FIXED: removed audio=getchannel(audio,1,2) from wmv encoding...

BHH

dlflannery
19th January 2007, 01:30
@buzzqw:
70b did not fix my WMV encoding problems detailed in a prior post (http://forum.doom9.org/showthread.php?p=938643#post938643). I tried both with and without Use DirectShowSource. In either case the output file size is even smaller than before (850k when it should be 10-12 Meg) and MediaInfo throws a floating point exception on it.

I played it in WMP11 and now the video appears to be the same 13 sec 14X fast-forward version as before. Again the sound plays at normal speed but it now stops at 13 sec also. (Clip is 2.5 min long.)

I watch the WME script command window and it never takes as long as it should.

I can post log files if you want -- just tell me which ones you want.

I haven't tried sourcing this AVI via an AVS -- my understanding is this is not supported for WMV (??)

Thanks.

AMED
19th January 2007, 02:54
Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?

I'm trying to encode flying high (or aeroplane depending on which country your in) and when I try and play the resulting movie in VLC I see that the subtitles are always defaulted to off.

dlflannery
19th January 2007, 04:24
@buzzqw:
I've been able to encode my test AVI file with the WME9 encoder script file, several different ways actually, all resulting in good encodes.

On Computer #1, which has the DivX codec installed:
Just sourced the .avi file into the script.

On Computer #2, with XviD codec installed (not DivX)
Sourcing the .avi directly didn't work, But sourcing it as .avs using AviSource() worked fine.

Installed the DivX codec on computer #2 and then it also will encode sourcing the .avi directly.

Apparently the DivX codec (or something else that gets installed in its "bundle") makes the difference. However the GraphEdit for either case is very simple: AviSplitter, Mpeg4 Decoder (DivX or Xvid), then Video Renderer, i.e., no filter or color-space converter is being used in either case, so it looks like the only difference is the Mpeg4 decoders.

Here is the WMCmd.vbs command line I'm using (very similar to your Zune 1 Pass Quick, I think):

cscript.exe wmcmd.vbs -input %1 -output "%outdir%%outfile%.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate %bitrate% -v_keydist 10 -v_buffer 10000 -v_quality 100 -v_preproc 0 -v_width %width% -v_height %height% -a_setting 128_44_2

I'm using 500 kbps bitrate, 320x240 (widthxheight)

So this shows there is no problem with my computer(s) or WME9 encoder or the input file. It's just a matter of getting AutoMKV to feed WME9 the right file and command line.

cosmos
19th January 2007, 07:05
Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?

I'm trying to encode flying high (or aeroplane depending on which country your in) and when I try and play the resulting movie in VLC I see that the subtitles are always defaulted to off.Search and download mkvtoolnix for Windows. Then doubleclick the mkvmerge icon. In the input files throw in the movie you are talking about. In the middle boxes the video, audio and subtitle tracks will appear. In the subtitle track, check the "default track" box and then mux the file. A new mkv file will be produced.

I believe there might be a more elegant solution, but I don't know how :)

BTW, for Matroska (and everything else) I've switched to using the CCCP codec pack (google for it), together with Quicktime alternative and Realalternative. Much faster playback, plus better looking subs.

AMED
19th January 2007, 08:57
Search and download mkvtoolnix for Windows. Then doubleclick the mkvmerge icon. In the input files throw in the movie you are talking about. In the middle boxes the video, audio and subtitle tracks will appear. In the subtitle track, check the "default track" box and then mux the file. A new mkv file will be produced.

I have just tried that and the subtitles are still disabled by default when playing the movie

cosmos
19th January 2007, 09:08
I've observed that VLC does not respect the default-track property, nothing to worry about. Perhaps it will be fixed in a future release. I do continue to strongly suggest using the CCCP pack.

gekan
19th January 2007, 09:16
Hi. This is my 1st message and I'd like to say thanks for all the work you guys have been putting into AutoMKV!

Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?
...
I've been having the same problem with 0.70 myself. If I choose subtitles they get burned in no matter what..

I have another problem. I encoded an episode for media size 300MBs. The final size was 285MBs. Why is that? The other 4 episodes (with the same settings) were ok (2 of them 300MBs and the other 2 at 299MBs). Here is the log for the file:
Selected Input file: E:\Media\BA\VTS_03_0.IFO
Selected Output dir: E:\Media\temp\
Selected Final Name: VTS_03_0
Selected Container type: MKV
Selected Encoder: X264
Selected Size: 300
Selected Slice: 1
Selected Profile: CQ-ASP_Q2_eq(crf).xml
Selected Width: Automatic
Selected Resizer: BicubicResize (neutral=0,0.50)
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
Selected Field Order: AUTO
Using Queue: queue2.ini of 4 works
Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Advanced Audio Settings DUMP Track 1
Movie Title Name:
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Advanced Audio Settings DUMP Track 2
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Selected 1' Sub tracks: NONE
Selected 2' Sub tracks: NONE

Starting Indexing
Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Media\BA\VTS_03_1.vob] -OF=[E:\Media\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Media\temp\fixed1.ac3" "E:\Media\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 54803840 bytes
Finished fixing audio delay
Encoding E:\Media\temp\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: 19428801 bytes
Number of Frames: 48933
Framerate: 25.000000
Movie lenght in Seconds: 1958
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be partly interlaced.
Processing completed. Type is determined to be partly interlaced.
BFF: 17
TFF: 246
Order: tff
Starting X264 AutoResize with WIDTH of Automatic and wanted size of 314572800 bytes
Testing ABR of: 1204
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --bitrate 1204 --ratetol inf --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\resmovie.mp4" "E:\Media\temp\resmovie.avs"
CRF Iterate LOG
First sample as ABR log
avis [info]: 704x528 @ 25.00 fps (980 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 2 (scale 25)
x264 [info]: slice I:40 Avg QP:19.80 size: 24500
x264 [info]: slice P:459 Avg QP:21.75 size: 9292
x264 [info]: slice B:481 Avg QP:23.94 size: 2727
x264 [info]: mb I I16..4: 17.3% 48.3% 34.4%
x264 [info]: mb P I16..4: 9.1% 19.8% 3.4% P16..4: 31.4% 12.9% 3.8% 0.6% 0.4% skip:18.6%
x264 [info]: mb B I16..4: 0.3% 1.2% 0.2% B16..8: 17.6% 1.2% 2.2% direct:11.4% skip:65.9%
x264 [info]: final ratefactor: 21.10
x264 [info]: 8x8 transform intra:59.0% inter:42.3%
x264 [info]: ref P 75.5% 17.6% 6.9%
x264 [info]: ref B 78.5% 16.4% 5.1%
x264 [info]: kb/s:1338.1
x264 [info]: kb/s:1338.1
encoded 980 frames, 6.88 fps, 1338.45 kb/s
End of first Sample LOG
Tested total movie: 2%
AutoResize movie size: 6569301 bytes
Movie Width suggested: 1008 value based on sample size
Starting X264
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.10 --stats "E:\Media\temp\.stats" --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 279713969 bytes + audio size 19428801 bytes (299142784)
"C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\Media\temp\VTS_03_0.mkv" --track-name -1:"VTS_03_0" --aspect-ratio 1:1.361702 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Media\temp\movie.mp4" --language -1:eng "E:\Media\temp\audio.mp4" --title "Done with AutoMKV 0.70 http://forum.doom9.org/showthread.php?p=854221 "
Final Muxed size: 299097985 bytes
Encoding finished: 01:59:30 elapsed time
-----------------------------------------------------------------------
Script AutoCrop.log

Crop(10,6,700,564)
-----------------------------------------------------------------------
Script Resmovie.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 704
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)

TDeint(order=1,full=false)
#resizestart

#test4

BicubicResize(out_width,out_height,0,0.50)
#filter2start

#test5

RemoveGrain(mode=2)
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
-----------------------------------------------------------------------
Script movie.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 704
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)

TDeint(order=1,full=false)
#resizestart

#test4

BicubicResize(out_width,out_height,0,0.50)
#filter2start

#test5

RemoveGrain(mode=2)
-----------------------------------------------------------------------
Script mkvmaudio.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
NicAC3Source("E:\Media\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed STEREO downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
-----------------------------------------------------------------------
Script mkvmaudio.bat

"C:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Media\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "E:\Media\temp\audio.mp4"
-----------------------------------------------------------------------
Script mkvmaudio2.avs
-----------------------------------------------------------------------
Script mkvmaudio2.bat

gekan
19th January 2007, 09:16
Now, another thing is that, even though I wanted single pass encoding one out of five times two pass mode was made active. Why is that? Here is the log file:
Selected Input file: E:\Media\BA\VTS_01_0.IFO
Selected Output dir: E:\Media\temp\
Selected Final Name: VTS_01_0
Selected Container type: MKV
Selected Encoder: X264
Selected Size: 300
Selected Slice: 1
Selected Profile: CQ-ASP_Q2_eq(crf).xml
Selected Width: Automatic
Selected Resizer: BicubicResize (neutral=0,0.50)
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
Selected Field Order: AUTO
Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Advanced Audio Settings DUMP Track 1
Movie Title Name:
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Advanced Audio Settings DUMP Track 2
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Selected 1' Sub tracks: NONE
Selected 2' Sub tracks: NONE

Starting Indexing
Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Media\BA\VTS_01_1.vob] -OF=[E:\Media\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Media\temp\fixed1.ac3" "E:\Media\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 50711808 bytes
Finished fixing audio delay
Encoding E:\Media\temp\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: 17715084 bytes
Number of Frames: 45280
Framerate: 25.000000
Movie lenght in Seconds: 1812
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be partly interlaced.
Processing completed. Type is determined to be partly interlaced.
BFF: 37
TFF: 219
Order: var
Starting X264 AutoResize with WIDTH of Automatic and wanted size of 314572800 bytes
Testing ABR of: 1309
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --bitrate 1309 --ratetol inf --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\resmovie.mp4" "E:\Media\temp\resmovie.avs"
CRF Iterate LOG
First sample as ABR log
avis [info]: 704x528 @ 25.00 fps (910 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 2 (scale 25)
x264 [info]: slice I:42 Avg QP:19.36 size: 22285
x264 [info]: slice P:478 Avg QP:21.72 size: 9411
x264 [info]: slice B:390 Avg QP:24.23 size: 3011
x264 [info]: mb I I16..4: 22.8% 46.8% 30.4%
x264 [info]: mb P I16..4: 10.4% 20.2% 3.8% P16..4: 29.2% 13.0% 4.2% 0.6% 0.4% skip:18.2%
x264 [info]: mb B I16..4: 0.4% 1.3% 0.2% B16..8: 20.2% 1.2% 2.4% direct:11.2% skip:62.9%
x264 [info]: final ratefactor: 21.16
x264 [info]: 8x8 transform intra:56.7% inter:38.0%
x264 [info]: ref P 74.6% 17.6% 7.9%
x264 [info]: ref B 78.9% 15.3% 5.7%
x264 [info]: kb/s:1452.5
x264 [info]: kb/s:1452.5
encoded 910 frames, 5.80 fps, 1452.86 kb/s
End of first Sample LOG
Tested total movie: 2%
AutoResize movie size: 6620161 bytes
Movie Width suggested: 1008 value based on sample size
Starting X264
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.16 --stats "E:\Media\temp\.stats" --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 268551942 bytes + audio size 17715084 bytes (286267040)
Switching to 2 pass mode
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 1309 --stats "E:\Media\temp\.stats" --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
"C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\Media\temp\VTS_01_0.mkv" --track-name -1:"VTS_01_0" --aspect-ratio 1:1.371429 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Media\temp\movie.mp4" --language -1:eng "E:\Media\temp\audio.mp4" --title "Done with AutoMKV 0.70 http://forum.doom9.org/showthread.php?p=854221 "
Final Muxed size: 314567384 bytes
Encoding finished: 03:52:10 elapsed time
----------------------
Script AutoCrop.log

Crop(14,8,696,560)
----------------------
Script Resmovie.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 704
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)

TDeint(full=false)
#resizestart

#test4

BicubicResize(out_width,out_height,0,0.50)
#filter2start

#test5

RemoveGrain(mode=2)
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
----------------------
Script movie.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
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 = 704
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)

TDeint(full=false)
#resizestart

#test4

BicubicResize(out_width,out_height,0,0.50)
#filter2start

#test5

RemoveGrain(mode=2)
----------------------
Script mkvmaudio.avs

LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
NicAC3Source("E:\Media\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed STEREO downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
----------------------
Script mkvmaudio.bat

"C:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Media\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "E:\Media\temp\audio.mp4"
----------------------
Script mkvmaudio2.avs
----------------------
Script mkvmaudio2.bat

These are my settings:
Input Folder = E:\Media\
Output Folder = E:\Media\
Container = MKV
Movie Name = VTS_01_0
Size = 300
Slice = 1
Resizer = 4
Width = Automatic
Set encoding mode = X264
Audio Codec 1 = Nero AAC
Audio Bit 1 = 7
Audio Bitrate 1 = 0.35
Audio Channel 1 = Stereo
Audio Codec 2 = Nero AAC
Audio Bit 2 = 7
Audio Bitrate 2 = 0.35
Audio Channel 2 = Stereo
Encoding Profiles = 10
Bitrate Encoding = 0
Bitrate Value = 700
Delete temporary files = 0
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Episodic DVD = 1
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = RemoveGrain(mode=2)
Enable Last Line AVS Script = 0
Last Line AVS Script =
Deinterlacer = AUTO
Field Order = AUTO
HQ Deinterlacer = 0
Language = eng
Use CRF/CQ for AutoResize = 1
CRF/CQ Value = 19
Use ProjectX for TS files = 0
Use custom X.ini = 0
Use DelayCut = 1
Matrix = NONE
Force PAR in XviD = NONE
Use DirectShowSource = 0
Enable Manual Crop And Resize = 0
Crop Top =
Crop Left =
Crop Bottom =
Crop Right =
Manual Width =
Manual Height =
Audio Track Name 1 =
Audio Track Desc 1 =
Nero Profiles 1 = AUTO
Nero Encoding Mode 1 = Quality
CCT Profiles 1 = AUTO
Channel Options 1 = AUTO
MP3 Settings 1 = ABR
Normalize Audio 1 = 1
Frequency 1 = AUTO
Tempo 1 = NONE
Pitch 1 = NONE
OtherADD 1 =
Audio Track Name 2 =
Audio Track Desc 2 =
Nero Profiles 2 = AUTO
Nero Encoding Mode 2 = Quality
CCT Profiles 2 = AUTO
Channel Options 2 = AUTO
MP3 Settings 2 = ABR
Normalize Audio 2 = 1
Frequency 2 = AUTO
Tempo 2 = NONE
Pitch 2 = NONE
OtherADD 2 =

buzzqw
19th January 2007, 12:25
update 0.70c

www.64k.it/andres/data/a/AutoMKV070c.exe

Changelog

FIXED: If "Film" or "Partly Film" is selected then no analysis is performed against Forced Film (es. if in d2v film >=97% Force Film is applyed, but if i select "Film" or "Partial Film" preset under Deinterlacer no Force film is applyed on d2v, but (for "FILM") tfm(d2v="movie.d2v").tdecimate() )
FIXED: Audio now use channels downmixing options
FIXED: Avisource and DirectShowSource. First mode is AviSource is this is failing AutoMKV will swith to DirectShowSource
FIXED: More robust wmv encoding when input is mpeg4

@dlflannery
if you want to use directshowsource install ffdshow
anyway try this new build :)

@gekan
First of all Welcome to the Forum ! :)

The final size was 285MBs.
well... the reason is this CQ-ASP_Q2_eq(crf).xml in CQ mode the final file size isn't perfect ! (and you got a very good result !) look here (http://forum.doom9.org/showthread.php?t=116773&highlight=dabr) for more info
also look at this
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 279713969 bytes + audio size 19428801 bytes (299142784)
In Advanced settings is possible to set the allow undersized and maximun oversized

again look at this (for second encoding)
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.16 --stats "E:\Media\temp\.stats" --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 268551942 bytes + audio size 17715084 bytes (286267040)
Switching to 2 pass mode
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 1309 --stats "E:\Media\temp\.stats" --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 --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"

the CRF encoding got undersized and so AutoMKV switch to 2 pass mode, but since first pass was done in CRF mode, AutoMKV do another pass (the second) !

BHH

gekan
19th January 2007, 13:25
@buzzqw
Thanks a lot for the info.
The quality is good in all cases so I don't really mind about the size difference, but, for my information and because it wouldn't be bad to have all the episodes in the same size, what could I do to have one pass encoding with good quality and standard size?
Keep up the great work! :)

Edit: Btw, I have a minor bug to say. When I save jobs in the queue and exit the app and then restart it later I can only see the name of the job (queue1, queue2 etc) and not all the other columns. Everything works fine, it's just a visual thing.

buzzqw
19th January 2007, 14:34
what could I do to have one pass encoding with good quality and standard size?

encoding in CRF mean "I want a FIXED quality, regardless of final size. Please do your best in one pass, i don't mean size"

so what to do in 1 pass ? this a very good choice, only the 2 pass can lead a better quality at FIXED file size.

looking at your log a see this
Movie Width suggested: 1008 value based on sample size

you know (;)) that AutoMKV has a AutoResize fuction, in your case you are near full quality. This mean that you can put a fixed with of 704 (and so less time to encoding since not do autoresize)
You can try a 1P-Intemediate profile (with a fixed size of 300mb), should be a little faster, don't know about quality but should be equal (or near)

Also in your log i see Processing completed. Type is determined to be partly interlaced. this mean that autodeinterlacer test ISN'T needed. On Advanced setting select "Partly Interlaced" on "Deinterlacer" and in next box select "HYBRID" , again a speed improvment !

BHH

P.S this hints are valid for these encoding ! not for all encoding. Every encoding has own peculiarity ! :)

dlflannery
19th January 2007, 18:51
@dlflannery
if you want to use directshowsource install ffdshow
anyway try this new build

Note: Think I found the problem -- see near end of this post!

On my computer (#1) i already have ffdshow and when I render my AVI in graphEdit or gspot it is using the ffdshow mpeg4 decoder.

Ver. 70c still has problems I get essentially the same result with or without using "Use DirectShowSource". Files size is much too small and mediaInfro reports ~377kbps video bitrate. The duration is clipped from 151 sec to 51 sec and there is no audio. (Same whether done with "Use DirectShowSource.)

The log files are identical for the two cases.


First part of log file:

12:00:11 0.70c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
12:00:11 Selected Input file: C:\MPEG4_encodes\ffmpeg\BF.avi
12:00:11 Selected Output dir: C:\MPEG4_encodes\ffmpeg\temp\
12:00:11 Selected Final Name: BF
12:00:11 Selected Container type: WMV
12:00:11 Selected Encoder: WMV
12:00:11 Selected Size: 1 CD
12:00:11 Selected Slice: 1
12:00:11 Selected Profile: Zune_1_Pass_Quick.xml
12:00:11 Selected Width: 320
12:00:11 Selected Resizer: SimpleResize (neutral soft)
12:00:11 Selected Filters: NONE
12:00:11 Selected Deinterlacer: NONE
12:00:11 Selected Field Order: AUTO
12:00:11 Enabled CRF/CQ AutoRes at 90 value
12:00:11 Enabled Bitrate encoding with value 628
12:00:11 Track Language 1: BF.avi
12:00:11 Audio Codec 1: WMV
12:00:11 Audio Quality 1: 128
12:00:11 Advanced Audio Settings DUMP Track 1
12:00:11 Movie Title Name:
12:00:11 Audio Track Language:
12:00:11 Audio Track Name:
12:00:11 Nero Option Profiles: AUTO --- Encoding Mode: Quality
12:00:11 CCT Option Profiles: AUTO --- Channel Options: AUTO
12:00:11 Lame Settings: ABR
12:00:11 Audio Normalization: 1
12:00:11 Frequency: AUTO --- Tempo : NONE
12:00:11 Pitch: NONE --- Other Add :
12:00:11 Advanced Audio Settings DUMP Track 2
12:00:11 Audio Track Language:
12:00:11 Audio Track Name:
12:00:11 Nero Option Profiles: AUTO --- Encoding Mode: Quality
12:00:11 CCT Option Profiles: AUTO --- Channel Options: AUTO
12:00:11 Lame Settings: ABR
12:00:11 Audio Normalization: 1
12:00:11 Frequency: AUTO --- Tempo : NONE
12:00:11 Pitch: NONE --- Other Add :
12:00:11 Selected 1' Sub tracks: NONE
12:00:11 Selected 2' Sub tracks: NONE
12:00:11
12:00:18 Number of Frames: 4510
12:00:18 Framerate: 29.970089
12:00:18 Movie lenght in Seconds: 151
12:00:18 Movie Width: 320
12:00:18 Movie Height: 240
12:00:18 WMV CMD: cscript.exe "C:\AutoMKV068\exe\encoder\WMCmd.vbs" -input "C:\MPEG4_encodes\ffmpeg\temp\movie.avs" -output "C:\MPEG4_encodes\ffmpeg\temp\movie.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate 512000 -s_config "C:\MPEG4_encodes\ffmpeg\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -title "BF" -year 2007 -copyright "Done with AutoMKV! 0.70c" -a_setting 128_48_2
12:01:07 Final Muxed size: 3325824 bytes
12:01:07 Encoding finished: 00:00:56 elapsed time

Note that the file duration and size were determined correctly. I notice the audio sampling rate is set to 48 while this should be 44 for this profile, correct?

I double-clicked the movie.avs file created in the temp directory and it played OK in MPC. Since this is the source file for your WME script encode, I tried using it as the source file in my batch WME script encoding process. It failed with some obsure error code #. By process of elimination I determined that if I commented out the following line of movie.avs:

audio=ConvertAudioToFloat(audio).Normalize()

I could source that modified movie.avs to my batch converter and it worked perfectly!

Could it be the WME encoder doesn't like float audio?

buzzqw
19th January 2007, 19:20
i don't think the problem is float but normalized

please try this build i have only removed the normalize, and report back :thanks:

www.64k.it/andres/data/a/AutoMKV070d.exe

BHH

Unrealbr
19th January 2007, 22:48
Hey buzzqw i'm having a couple of issues, the program is crashing when i try to batch convert 10+ files. :(

buzzqw
20th January 2007, 01:43
ok, before i start batching... is it crashing in the middle , at start, at random queue ?

moreover, what type of encoding ?

BHH

Unrealbr
20th January 2007, 04:11
ok, before i start batching... is it crashing in the middle , at start, at random queue ?

moreover, what type of encoding ?

BHH

Random.

Re-encoding DVIX -> MP4 and MP4 -> MP4, it crashes with any type of encode.

dlflannery
20th January 2007, 04:15
i don't think the problem is float but normalized

please try this build i have only removed the normalize, and report back :thanks:

www.64k.it/andres/data/a/AutoMKV070d.exe

BHH
This version works fine (on Zune Quick 1 Pass, only one I've tried). It works on both computers and with or without "Use DirectShowSource" (now that I have ffdshow on both computers). I watch the WME script encoder command window while it's running and a puzzling thing is, when using DirectShowSource, that on one computer WME never gets the video length. On the faster computer it gets the video length on the second try after the usual warning message. But the encoded video is fine in all cases.

My testing so far has been with only a 2.5 min clip, also. Does it need to be tested with a longer clip to be sure it is really OK?

Now about the GUI, a small issue:
I have saved a configuration with WMV as the container and codec, and AutoMKV comes up that way (of course). However as soon as I load the .avi file, the audio codec choices on both audio tracks go to the four mp3 types (2 AAC, Ogg and Lame). To get them back to WMV I have to go to the Container entry (which already says WMV) and select WMV again. That causes the profile to switch to a different one from what I saved so I have to re-select the profile. It also causes the audio bitrate to change from what I saved so that has to be reset also. I hope that can be fixed. It defeats the advantage of saving the configuration and leads to mistakes by the operator. (As I'm sure you understand!)

Thanks for your efforts! :thanks:

weaver4
20th January 2007, 05:21
Most of the time you will want your output movies to go into the same specific folder. So if you set that folder up and then press the save settings button the output folder is saved. But every time you select a new input file the output folder is changed; and then you have to reset it up.

dlflannery
20th January 2007, 06:19
@buzzqw:
I've tested 0.70d with a 45 min AVI (xvid+mp3) with and without DirectShowSource. All seems OK, although I am puzzed the video bitrate is only 462 kbps while the WME command line specified 500. Is WME9 unable to control the bitrate any better than that on a single-pass CBR encode?

With my batch files this video encodes to 483 kbps video. The bitrate option is 500000 in both your CMD and my batch files. Maybe the autocrop (in AutoMKV but not in my batch process) removes enough information to explain that difference (?). Probably nothing to be concerned about, I suspect.

buzzqw
20th January 2007, 12:19
update www.64k.it/andres/data/a/AutoMKV070e.exe

0.70e
FIXED: Drag&Drop use (thanks to vOjToL)
FIXED: Default WMV profile is now 2_Pass_VBR_Quick
FIXED: Change audio bitrate writing directly into free string would cause a non correct wmv audio encoding parameter
FIXED: On load of saved settings the destination directory no more change accordling to input file directory (thanks to weaver4)


@Unrealbr
i hope i had found the culprit... give me some time :o

@dlflannery
However as soon as I load the .avi file, the audio codec choices on both audio tracks go to the four mp3 types (2 AAC, Ogg and Lame).

fixed !
Also remember that at 320*xxx is easy to saturate... even with bitrate around 500.. anyway in this build i had changed i little bit the way of computing bitrate... report back if better !

@weaver4
FIXED!

@vOjToL
fixed!

BHH

dlflannery
20th January 2007, 15:37
Everything I've "complained" about is fixed! :thanks:

I think I see the change you made in WMV bitrate calculation:
In versions before .70e the video bitrate passed to the WME script was the bitrate entered in the advanced tab ("Specify Bitrate") minus the audio bitrate set on the basic tab. Now it appears audio bitrate is no longer subtracted. I like the new way better. :cool:

buzzqw
20th January 2007, 16:02
@dlflannery
thanks !

about bitrate computing.. not really as you said...

now i take the video bitrate multiply it by 1024 and the subtract audio bitrate multiply by 1000

like 500*1024-96*1000=416000

previusly, as you correctly said was 500*1000-96*1000=404000

BHH

dlflannery
20th January 2007, 16:12
@dlflannery
thanks !

about bitrate computing.. not really as you said...

now i take the video bitrate multiply it by 1024 and the subtract audio bitrate multiply by 1000

like 500*1024-96*1000=416000

previusly, as you correctly said was 500*1000-96*1000=404000

BHH
@buzzqw:
When I enter 128 for audio and 628 for video the WME script option is:

-v_bitrate 641792

I don't think that matches your new calculation (??) I get 515072 using your new calculation.

buzzqw
20th January 2007, 16:16
that's great ! thank dlflannery !

just a typo bug (was video*1024-audio*10)

update the 0.70e, please re download ! the 0.70e

BHH

weaver4
20th January 2007, 23:36
I ran into a problem today encoding a movie into CQ Xvid with Lame MP3. I wish I had more to give you but the error dialog box came up and said it had a problem with audio and did I want to continue. The last thing it said in the log file was:

17:12:48 Encoding E:\Movies\temp\fixed1.ac3 To Mp3 with 5 quality

The batch file is pretty simple saw no problems there.

I tried encoding the movie using: Avi.Net, AutoGK and in Divx with Dr2. No problem with any of these applications.

What do you want me to try?

sjchmura
21st January 2007, 04:23
THose with AC3Filter and "dolby digital live encoding" enabled to output SPDIF crashes automkv.

Would there be a way to either have a checkbox to use the NEXT in line filter that properly decodes 6 channel audio? If not, the only solution is to disable the SPDIF out on AC3Filter while you are encoding .... even if say Nero is the next filter in the priority change

dlflannery
21st January 2007, 05:23
that's great ! thank dlflannery !

just a typo bug (was video*1024-audio*10)

update the 0.70e, please re download ! the 0.70e

BHH
The bitrate settings are fixed as you described in the "new" .70e, thanks. You asked how I liked the change so:

1. The way you have it now is OK with me, although I would suggest calling the check box "Set total bitrate" or "Set overall bitrate" and add to the hint: "Includes audio bitrate".

2. My personal preference would be to make it just the video bitrate and label the check box "Set video bitrate" and add in the hint: "Does not include audio bitrate". Perhaps there are some formats for which this does not work (?).

Either way, but I think it would be good to make it clear to the user whether the bitrate is total or just video.

I've found another problem:
If a file already exists matching the chosen output folder and file name, the encode will appear to run OK but the existing file will not be replaced by the new encoded one. (Perhaps this only applies to WMV output files?) It doesn't matter what size or actual content is in the existing file -- if the name and extension match then it will not be replaced with the new file.

This can cause obvious problems if you are re-encoding the same input file several times to find what settings are best.

A suggestion: check to see if the output file name already exists and delete it (or change the code so it will be overwritten). You could ask the operator if the file is to be replaced.

buzzqw
21st January 2007, 10:21
@weaver4

the problem is repetable with the same source ? if so could you mail me a link where to download a snippet ? (also mail me the log)

@sjchmura
with directshowfilters is impossible to select how the decoder handle the output :( , only with a graphedit files is possible

@dlflannery
2. My personal preference would be to make it just the video bitrate and label the check box "Set video bitrate" and add in the hint: "Does not include audio bitrate". Perhaps there are some formats for which this does not work (?).
i agree with your suggestion. This bitrate value is for video not audio. Thanks for pointing this out, as is now is misleading

If a file already exists matching the chosen output folder and file name, the encode will appear to run OK but the existing file will not be replaced by the new encoded one.

is a problem only with wmv, other container are ok. Fixed in next release

BHH

weaver4
21st January 2007, 14:00
buzzqw: I sent you a personal message with the log file in it; plus a link to the vob file I am having problems with.

buzzqw
21st January 2007, 15:10
thanks, got the link and i also replyed

just an info... looking at log files seems that there is some problem with delaycut..

look at this

07:48:18 Starting fixing audio delay on track number 1
07:48:18 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV068\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 2_0ch 192Kbps DELAY 984ms.ac3"
07:48:20 Original 1' Audio Size: 39294720 bytes
07:48:21 Finished fixing audio delay

in 3 seconds delaycut had processed 380mb... strange...

look at "movie T01 2_0ch 192Kbps DELAY 984ms_log.txt" (or similar file) is reported any problem ?

thanks!

BHH

buzzqw
21st January 2007, 16:37
ok, i have downloaded enough... to replicate

is a problem within NicAC3source and this ac3 file ! (using DSS is ok)

i will indagate...

BHH

weaver4
21st January 2007, 19:23
Here is the content from that log file:

[Input info]
Bitrate=192
Actual rate=192.000000
Sampling Frec=48000
TotalFrames=51134
Bytesperframe= 768.0000
Filesize=39271676
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=00:27:16.319
Channels mode=2/0: L+R
LFE=LFE: Not present
[Target info]
StartFrame=-31
EndFrame=51133
NotFixedDelay= -8.0000
Duration=00:27:17.280
====== PROCESSING LOG ======================
Time 00:27:16.288; Frame#= 51135. Uncomplete frame...SKIPPED
Number of written frames = 51165
Number of Errors= 1

buzzqw
22nd January 2007, 13:11
update !

www.64k.it/andres/data/a/AutoMKV071.exe

0.71
FIXED: Previusly on WMV encoding if user specified the bitrate video this value was used as total bitrate (audio+video bitrate) this is misleading. Now if user check Specify Bitrate the value is used only for video. (suggestion by dlflannery)
FIXED: On WMV encoding if destination file exists automkv will not overwrite, just rename the new file based on date (thanks to dlflannery)
FIXED: Splitting wasn't fuctional (and nobody reported it...)

BHH

buzzqw
22nd January 2007, 16:00
NEWS!

i was able to encode wmv video with 5.1 WMA audio ! YES!!!

just use automkv BUT in ffdshow set audio as this

http://img294.imageshack.us/img294/4194/ffdshow3zr.png (http://imageshack.us)

BHH

dlflannery
23rd January 2007, 02:02
update !
.............
0.71
FIXED: Previusly on WMV encoding if user specified the bitrate video this value was used as total bitrate (audio+video bitrate) this is misleading. Now if user check Specify Bitrate the value is used only for video. (suggestion by dlflannery)
FIXED: On WMV encoding if destination file exists automkv will not overwrite, just rename the new file based on date (thanks to dlflannery)
...........
BHH
Thanks buzzqw! Works as expected.

buzzqw
23rd January 2007, 13:13
New FULL Package ! 0.72

www.64k.it/andres/data/a/AutoMKV072.rar

Changelog

0.72 Full Package
ADDED: ColorMatrix to 2.1, now using threads parameter. Please report back any problems
ADDED: Lot's of new QMFs made by WhOiS (a very big thanks)
ADDED: Loading QMF is now very different. Put your AVS with fuctions (and import of avsi) and the avsi in the \exe\Script folder
EDIT:ADDED In advanced audio setting is now possible to specify audio channel and audio format for wmv video, use only if you know what doing
UPDATE: DgIndex to 1.4.9 beta 12
UPDATE: Matroska to 2.0.0
UPDATE: TIVTC to rel 1.0
UPDATE: X264 to 620
UPDATE: TDeint to 1.1

BHH

weaver4
24th January 2007, 02:25
I was wondering if anyone has compared the quality of XVID encodes using AutoMKV with AutoGK or other tools.

cosmos
24th January 2007, 07:34
@buzzqw: Thanks for continuing to improve this little gem mate! :)

With the 072 release, I've been encoding with the deinterlacer and order both set to AUTO, but I don't see anywhere the deint.log file or any of the related bat/avs scripts to check for interlaced/film material. See below:


08:14:37 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
08:14:37 Selected Input file: F:\test\rips\disk1\VTS_02_0.IFO
08:14:37 Selected Output dir: F:\test\finished\temp\
08:14:37 Selected Final Name: Test test
08:14:37 Selected Container type: MKV
08:14:37 Selected Encoder: X264
08:14:37 Selected Size: 171
08:14:37 Selected Slice: 1
08:14:37 Selected Profile: HQ-Slow.xml
08:14:37 Selected Width: 704
08:14:37 Selected Resizer: BicubicResize (neutral=0,0.50)
08:14:37 Selected Filters: RemoveGrain(mode=2)
08:14:37 Selected Deinterlacer: AUTO
08:14:37 Selected Field Order: AUTO
08:14:37 Enabled CRF/CQ AutoRes at 18 value
08:14:37 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0,1,2,3]
08:14:37 Audio Codec 1: Nero AAC
08:14:37 Audio Quality 1: 0.25
08:14:37 Advanced Audio Settings DUMP Track 1
08:14:37 Movie Title Name:
08:14:37 Audio Track Language:
08:14:37 Audio Track Name: English AAC 2.0
08:14:37 Nero Option Profiles: AUTO --- Encoding Mode: Quality
08:14:37 CCT Option Profiles: AUTO --- Channel Options: AUTO
08:14:37 Lame Settings: VBR
08:14:37 Audio Normalization: 0
08:14:37 Frequency: AUTO --- Tempo : NONE
08:14:37 Pitch: NONE --- Other Add :
08:14:37 Advanced Audio Settings DUMP Track 2
08:14:37 Audio Track Language:
08:14:37 Audio Track Name:
08:14:37 Nero Option Profiles: AUTO --- Encoding Mode: Quality
08:14:37 CCT Option Profiles: AUTO --- Channel Options: AUTO
08:14:37 Lame Settings: ABR
08:14:37 Audio Normalization: 1
08:14:37 Frequency: AUTO --- Tempo : NONE
08:14:37 Pitch: NONE --- Other Add :
08:14:37 Selected 1' Sub tracks: NONE
08:14:37 Selected 2' Sub tracks: NONE
08:14:37 Activate Force ITU Resizing
08:14:37
08:14:37 Starting Indexing
08:14:37 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\test\rips\disk1\VTS_02_1.vob] -OF=[F:\test\finished\temp\movie] -exit -minimize
08:15:03 Finished indexing
08:15:03 Starting fixing audio delay on track number 1
08:15:03 DelayCut CMD: E:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "F:\test\finished\temp\fixed1.ac3" "F:\test\finished\temp\movie T01 2_0ch 192Kbps DELAY 0ms.ac3"
08:15:05 Original 1' Audio Size: 65511168 bytes
08:15:05 Finished fixing audio delay
08:15:05 Encoding F:\test\finished\temp\fixed1.ac3 to NeroAAC with 0.25 quality
08:18:51 Encoded 1' Audio Track: 16540690 bytes
08:18:51 ForcedFilm applied: 98.300003% FILM found
08:18:54 Number of Frames: 65446
08:18:54 Framerate: 23.976025
08:18:54 Movie lenght in Seconds: 2730
08:18:54 Movie Width: 720
08:18:54 Movie Height: 480
08:18:54 Starting X264
08:18:54 Command Line 1' Pass X264: E:\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 476 --stats "F:\test\finished\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "F:\test\finished\temp\movie.avs"
08:18:54 Command Line 2' Pass X264: E:\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 476 --stats "F:\test\finished\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "F:\test\finished\temp\movie.mp4" "F:\test\finished\temp\movie.avs"


movie.avs

LoadPlugin("E:\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("E:\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("E:\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("E:\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("E:\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("E:\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("E:\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("E:\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("E:\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("E:\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("E:\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("E:\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("E:\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("E:\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("E:\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("E:\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("E:\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("E:\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart

#test1

Import("E:\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("E:\AutoMKV\exe\filter\mvbob.avsi")
Import("E:\AutoMKV\exe\filter\seesaw.avsi")
Import("E:\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("F:\ds9\finished\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.911600
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 = 704
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)

#resizestart

#test4

BicubicResize(out_width,out_height,0,0.50)
#filter2start

#test5

RemoveGrain(mode=2)


EDIT: xvid 1.1.2 is also installed and on the same setup, AutoMKV's deinterlacing logic worked fine (for previous versions of AutoMKV that is).

buzzqw
24th January 2007, 08:16
@weaver4

the quality should be very similar.

AutoGk is superior for at least two think: it disable bframes on very high compression test (mmm... should be easy to implement...) and select custom matrix.

I can think about these features... but.. i don't know much about compressibility&matrix... i should look around... THANKS for the suggestions ! (i love to make automkv better)

@cosmos
first of all i suppose that encoding is looking good and there's no visual need of deinterlacers ? isn't true ? :)

why am i so sure ?

look at this
08:18:51 ForcedFilm applied: 98.300003% FILM found

since forced film was applyed there is no need to do apply more deinterlacers

please report back if encoding wasn't good !

BHH

cosmos
24th January 2007, 13:16
@cosmos
first of all i suppose that encoding is looking good and there's no visual need of deinterlacers ? isn't true ? :)

why am i so sure ?

look at this
08:18:51 ForcedFilm applied: 98.300003% FILM found

since forced film was applyed there is no need to do apply more deinterlacers

please report back if encoding wasn't good !
Indd it seems ok, thx :)

PS: could you perhaps explain a bit what happened here? Why there was no need to have "tfm(d2v="movie.d2v").tdecimate()" in the movie.avs file? Does it happen automatically?

buzzqw
24th January 2007, 13:52
as you know in d2v if the film % reported, and as stated by varius guides and rules, is over 97% then is safe to use "Force Film" under dgindex options.

Since you have leaved AUTO as denterlacers automkv had analyzed the d2v file and marked is as FILM and so processed the d2v as FORCE FILM was applyed.

If force film is applyed there is no need to reapply tfm(d2v="movie.d2v").tdecimate() since it basically do the same thing (force film) dgindex had done.

The obvius advantage is that encoding time is quiker the cons is that not always movie with 97 or more % of FILM is really film.. (and so is better to leave the hard work to tfm/tdecimate)

So what to do?

Automkv will process in these way (based on deinterlacer selected)
AUTO: applyed force film AND NOT do the deint test
FILM: NO force film is applyed , no deint test is done BUT tfm(d2v="movie.d2v").tdecimate() is applyed

hope to be understud!

BHH

cosmos
24th January 2007, 13:53
Thank you, once more your information is right on spot!!!! :)

AMED
25th January 2007, 05:40
is there any chance of getting a use input folder for output folder check box ?
It used to work this way by default.

buzzqw
25th January 2007, 08:21
is there any chance of getting a use input folder for output folder check box ?
It used to work this way by default.

:confused: sorry pal... but my english isn't enough to understand

do you mean to use input folder as output folder ? ... no i don't think...

BHH

AMED
25th January 2007, 09:38
yeah thats what i mean, maybe it's a bug i have discovered.

it seems to have broken after version 0.70

basically all you need to do is open something in automkv v0.70+, take note of the output folder, now open something from another folder and you'll see that the output folder hasn't changed from when you opened the first file.

e.g.

open a file in C:\videos\ the output folder is C:\videos\ now open a file from C:\monkeys\ the output folder is still C:\videos\

i hope that makes sense :)

cosmos
25th January 2007, 09:43
open a file in C:\videos\ the output folder is C:\videos\ now open a file from C:\monkeys\ the output folder is still C:\videos\

i hope that makes sense :)
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)

AMED
25th January 2007, 09:47
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)
maybe we could get a check box that can flip between these two behaviors of determining the output folder. :D

buzzqw
25th January 2007, 11:18
:sly: ... i doubt to insert this to advanced settings :D

hints: use save setting to memoryze the default output folder

BHH

weaver4
25th January 2007, 18:24
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)

I also like the way it operates now.

dlflannery
27th January 2007, 03:52
I also like the way it operates now.

Me too!

dlflannery
28th January 2007, 05:37
I used the DVD ripping capability to (try to) encode "Planes, Trains and Automobiles" to a Zune WMV (320x240) using the Zune 1-pass Quick profile. DVDFabDecypter got 4 VOB's OK and all went well except:

1. I watched the Windows Command Line Script Encoder window. It proceeded normally at the normal speed right up to the very end -- then crashed, which crashed AutoMKV too. The Windows message said it was the Script Encoder that crashed.

2. A .wmv file of the right name and length was created but MediaInfo crashed with floating point error on this file.

3. The file plays fine in WMP11 except you cannot fast forward, reverse, i.e., you just start at the beginning and let it go. The "properties" says the file duration is 0.

Here is the log file:

22:05:12 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:05:12 Selected Input file: Click on INPUT for choosing FILE to ENCODE
22:05:12 Selected Output dir: C:\AutoMKV072\temp\
22:05:12 Selected Final Name: Click on INPUT for choosing FILE to ENCOD
22:05:12 Selected Container type: WMV
22:05:12 Selected Encoder: WMV
22:05:12 Selected Size: 1 CD
22:05:12 Selected Slice: 1
22:05:12 Selected Profile: Zune_1_Pass_Quick.xml
22:05:12 Selected Width: 320
22:05:12 Selected Resizer: SimpleResize (neutral soft)
22:05:12 Selected Filters: NONE
22:05:12 Selected Deinterlacer: AUTO
22:05:12 Selected Field Order: AUTO
22:05:12 NeroAACEnc.exe: not present
22:05:12 Enabled CRF/CQ AutoRes at 90 value
22:05:12 Enabled Bitrate encoding with value 500
22:05:12 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0,1,2]
22:05:12 Audio Codec 1: WMV
22:05:12 Audio Quality 1: 128
22:05:12 Advanced Audio Settings DUMP Track 1
22:05:12 Movie Title Name:
22:05:12 Audio Track Language:
22:05:12 Audio Track Name:
22:05:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:05:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:05:12 Lame Settings: VBR
22:05:12 Audio Normalization: 0
22:05:12 Frequency: AUTO --- Tempo : NONE
22:05:12 Pitch: NONE --- Other Add :
22:05:12 Advanced Audio Settings DUMP Track 2
22:05:12 Audio Track Language:
22:05:12 Audio Track Name:
22:05:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:05:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:05:12 Lame Settings: ABR
22:05:12 Audio Normalization: 1
22:05:12 Frequency: AUTO --- Tempo : NONE
22:05:12 Pitch: NONE --- Other Add :
22:05:12 Selected 1' Sub tracks: NONE
22:05:12 Selected 2' Sub tracks: NONE
22:05:12
22:05:12 Starting ripping from E:\VIDEO_TS\ to C:\AutoMKV072\temp\
22:30:05 Finished Ripping
22:30:05 Starting Indexing
22:30:05 Dgindex CMD: C:\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[C:\AutoMKV072\temp\dvd\video_ts\VTS_01_1.vob] -OF=[C:\AutoMKV072\temp\movie] -exit -minimize
22:32:05 Finished indexing
22:32:05 Starting fixing audio delay on track number 1
22:32:05 DelayCut CMD: C:\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "C:\AutoMKV072\temp\fixed1.ac3" "C:\AutoMKV072\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
22:32:25 Original 1' Audio Size: 310909184 bytes
22:32:25 Finished fixing audio delay
22:32:25 ForcedFilm applied: 99.400002% FILM found
22:32:33 Number of Frames: 133118
22:32:33 Framerate: 23.976025
22:32:33 Movie lenght in Seconds: 5553
22:32:33 Movie Width: 720
22:32:33 Movie Height: 480
22:32:33 WMV CMD: cscript.exe "C:\AutoMKV072\exe\encoder\WMCmd.vbs" -input "C:\AutoMKV072\temp\movie.avs" -output "C:\AutoMKV072\temp\movie.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate 512000 -s_config "C:\AutoMKV072\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -title "Click on INPUT for choosing FILE to ENCOD" -year 2007 -copyright "Done with AutoMKV! 0.72" -a_setting 128_44_2
22:57:55 Final Muxed size: 423989496 bytes
22:57:55 Encoding finished: 00:52:43 elapsed time
22:57:55 -----------------------------------------------------------------------

Any ideas what the problem was?

I used DelayCut -- should I have used ProjectX ?
I forced bitrates of 500kbps Video and 128 Kbps audio.

Edit:
I decided to try another route: Rip VOBs then combine into single .mpg using VideoReDo (VRD). VRD refused to open the fourth VOB saying it had problems and recommending a QSF (Quick Stream Fix, a feature of VRD). After the QSF that VOB would load and I generated a good MPEG of the entire DVD (at least as viewed in WMP11). I'm now converting this MPEG to Zune, which has worked in the past. Only difference is this is 24 fps "film" -- hope that's not what is crashing WME9 script.

Edit2:
Well, the mpeg->Zune encode failed exactly the same way as the DVD rip.
I had been selecting "AUTO" for deinterlace. So I tried it again selecting "NONE" for deinterlace and -- it succeeded! And -- the output file played great in WMP11 and on my Zune!

Sure would like to understand what's behind this (?) BTW gspot says 99+% "FILM" (24 fps expected to be pulled down to 30 fps) for this video, which agrees with what's in the log file from AutoMKV.

buzzqw
28th January 2007, 10:16
... edit... later

BHH

rjcobain
28th January 2007, 10:54
Hi BHH,

Thanks for the great tool! I am using AutoMKV to convert DVDs and uncompressed AVIs to VC1 format and I think there is a bug. Most of the uncompressed AVIs I use have no audio tracks, or empty audio tracks. When I try to convert these AVIs to VC1 I get an error from AVISynth on line 51 of the movie.avs script. It seems that even though I specified "NONE" as the audio track, the movie.avs script still tries to render audio. When I take the audio lines out, everything is fine and the VC1 video is produced. Cheers, Robert.

dlflannery
28th January 2007, 14:03
(This is a continuation of this prior post (http://forum.doom9.org/showthread.php?p=945401#post945401).)
Since setting interlace to NONE worked (once), I tried ripping directly from the DVD as source again (with NONE setting) -- failed exactly as before (WME script crashes exactly at end of encoding.)

So I tried the way that did work (once) again (with the same mpeg2 used before) and this time it crashed the usual way.

Since the video is 99+% "film" I tried setting interlace to FILM. This worked, and has worked three times now (same input). The log files always say "forcing film" regardless of the interlace setting. I wonder if this is actually happening ONLY when I set interlace to FILM (?). Shouldn't setting Interlace to AUTO be the same, since it is detecting film? I notice the WME9 encoding speed is slower when interlace is set to FILM, which makes me suspect something is different.

What should I look for in movie.avs (or where?) to tell whether it is actually forcing film?

Edit:
Think I answered my own question. The movie.avs file for interlace = FILM (which works) contains the following line:

tfm(d2v="C:\MPEG4_encodes\AutoMKV\temp\movie.d2v").tdecimate()

while for interlace = AUTO or NONE this line is missing (and encoding fails) . Shouldn't this line be there for AUTO, since it is detecting 99+% film ?

Edit #2:
And finally, with interlace set to FILM, I was able to do what I originally set out to do: Rip/Encode the DVD video to a good Zune Video!

dlflannery
28th January 2007, 16:41
I've noticed that DVDDecrypter rips a DVD a lot faster than DVDFabDecrypter (used by AutoMKV). I think it's because it runs my DVD drive at a higher speed.

If I rip to a hard disc folder, can I load the first video VOB as a file into AutoMKV then expect it to automatically combine all the VOB's as the source? (i.e., like it does when you rip within AutoMKV)

buzzqw
28th January 2007, 17:12
@dlflannery
I used DelayCut -- should I have used ProjectX ?

projectx should be used only with TS files never with vob files

and about FILM/FORCE FILM... using force film with dgindex (as i do) or using tfm().tdecimate() is the same thing (near...)

anyway in next update i will not use force film on FILM but let autodeint choose's best

This should resolve all problem with FILM ! :)

If I rip to a hard disc folder, can I load the first video VOB as a file into AutoMKV then expect it to automatically combine all the VOB's as the source? (i.e., like it does when you rip within AutoMKV)

if you rip all film just point at first ifo, or point at first one's vob belonging to film like vts_01_1.vob, all vob of this vts would be automatically processed!

@rjcobain
Thanks ! Fixed in next release

BHH

dlflannery
28th January 2007, 19:03
@dlflannery
................
and about FILM/FORCE FILM... using force film with dgindex (as i do) or using tfm().tdecimate() is the same thing (near...)

In my tests I varied Interlace = AUTO or NONE or FILM.
But I kept the Field Order on AUTO for all tests.
I notice the -FO option on dgIndex was always 0, never 1 (Force Film). When you say "... using force film with dgindex (as i do)" do you mean the -FO option should be 1 ?
@dlflannery
.... anyway in next update i will not use force film on FILM but let autodeint choose's best

This should resolve all problem with FILM ! :)
......
BHH
Thanks! :D However I'm not quite sure what you mean. Does this mean the tfm().tdecimate() will be used on my test video (99.4% film) if I select AUTO for both interlace and field order ? I believe this is the only way it wouild work on that video (unless I set FILM in interlace -- which means I have to analyze the video before with gspot or some other program before loading into AutoMKV -- not automatic. :( )

buzzqw
28th January 2007, 20:00
@dlflannery

some serius misurestanding are around...

FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer

in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!

Field order is to leave ALWAYS AUTO unless you know the order!

I notice the -FO option on dgIndex was always 0, never 1 (Force Film). When you say "... using force film with dgindex (as i do)" do you mean the -FO option should be 1 ?

... as i said i don't re-run digindex on FILM, i simply change the d2v file and values as force film was applyed ;)

i hope to be clear :)

BHH

dlflannery
28th January 2007, 23:40
@dlflannery

some serius misurestanding are around...

FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer

in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!

Field order is to leave ALWAYS AUTO unless you know the order!



... as i said i don't re-run digindex on FILM, i simply change the d2v file and values as force film was applyed ;)

i hope to be clear :)

BHH
This helps a lot, thanks! :) I was thinking you might have to run dgIndex again (which would take more time!).

Yes, I have some serious misunderstandings because I'm a newbie to video processing. :o I appreciate your patience!

Rogi
29th January 2007, 19:11
First of all, thank you for this program, it is very useful for us who don't know too much about encoding.

I notice when go to advanced audio options and change whatever settings there (example, mp3 vbr to mp3 cbr) it is not memorized.
When you back there, same settings is shown, nothing is changed.

I hope this can be fixed, thank you.

sillKotscha
30th January 2007, 03:07
hi buzzqw,

I have a little request/ contest for you :)

recently I more or less decided to play around with .flv files. As it is of now the only free application for flv output is RIVA (http://www.rivavx.com/index.php?id=483&L=0).

RIVA uses FFmpeg and LAME and FLVTool2 (http://inlet-media.de/flvtool2/), but they use a very old version of FFmpeg (ffmpeg version 0.4.9-pre1, build 4751).

It would be very nice to have another free alternative to existing Flash encoder (like Macromedia Flash 8 Video Encoder (http://www.adobe.com/products/flash/flashpro/productinfo/encoder/) or ON2's Flix Pro (http://www.on2.com/consumer/flix-pro))

this is a typical encode using RIVA (respectively FFmpeg ...)


ffmpeg version 0.4.9-pre1, build 4751, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-memalign-hack --enable-mp3lame --enable-mingw32 --extra-cflags=-I/local/include --extra-ldflags=-L/local/lib --enable-amr_nb
built on Mar 29 2005 07:26:02, gcc: 3.2.3 (mingw special 20030504-1)
Input #0, avi, from 'C:\surf_cut.avi':
Duration: 00:02:00.0, start: 0.000000, bitrate: 47624 kb/s
Stream #0.0: Video: rawvideo, yuv420p, 320x240, 25.00 fps
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, flv, to 'C:\surf_cut.flv':
Stream #0.0: Video: flv (hq), 320x240, 25.00 fps, q=2-31, 450 kb/s
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[flv @ 0075C780]removing common factors from framerate
frame= 19 q=0.0 size= 88kB time=0.8 bitrate= 945.6kbits/s
frame= 38 q=0.0 size= 176kB time=1.5 bitrate= 946.2kbits/s
frame= 58 q=0.0 size= 241kB time=2.3 bitrate= 850.2kbits/s
frame= 79 q=0.0 size= 315kB time=3.2 bitrate= 815.4kbits/s
frame= 95 q=0.0 size= 361kB time=3.8 bitrate= 778.4kbits/s
frame= 120 q=0.0 size= 436kB time=4.8 bitrate= 743.8kbits/s
frame= 138 q=0.0 size= 491kB time=5.5 bitrate= 729.2kbits/s
frame= 162 q=0.0 size= 557kB time=6.5 bitrate= 704.5kbits/s
frame= 180 q=0.0 size= 602kB time=7.2 bitrate= 684.5kbits/s
frame= 203 q=0.0 size= 658kB time=8.1 bitrate= 664.3kbits/s
frame= 222 q=0.0 size= 702kB time=8.9 bitrate= 647.3kbits/s
frame= 247 q=0.0 size= 751kB time=9.9 bitrate= 622.6kbits/s
frame= 271 q=0.0 size= 794kB time=10.8 bitrate= 600.3kbits/s
frame= 289 q=0.0 size= 830kB time=11.6 bitrate= 587.9kbits/s
frame= 310 q=0.0 size= 877kB time=12.4 bitrate= 579.5kbits/s
frame= 334 q=0.0 size= 925kB time=13.4 bitrate= 567.2kbits/s
frame= 356 q=0.0 size= 977kB time=14.2 bitrate= 562.0kbits/s
frame= 377 q=0.0 size= 1030kB time=15.1 bitrate= 559.3kbits/s
frame= 404 q=0.0 size= 1096kB time=16.2 bitrate= 555.7kbits/s
frame= 426 q=0.0 size= 1156kB time=17.0 bitrate= 555.6kbits/s
frame= 449 q=0.0 size= 1216kB time=18.0 bitrate= 554.9kbits/s
frame= 472 q=0.0 size= 1278kB time=18.9 bitrate= 554.6kbits/s
frame= 492 q=0.0 size= 1322kB time=19.7 bitrate= 550.4kbits/s
frame= 520 q=0.0 size= 1381kB time=20.8 bitrate= 543.8kbits/s
frame= 547 q=0.0 size= 1446kB time=21.9 bitrate= 541.2kbits/s
frame= 569 q=0.0 size= 1496kB time=22.8 bitrate= 538.5kbits/s
frame= 588 q=0.0 size= 1533kB time=23.5 bitrate= 534.1kbits/s
frame= 609 q=0.0 size= 1583kB time=24.4 bitrate= 532.2kbits/s
frame= 633 q=0.0 size= 1646kB time=25.3 bitrate= 532.4kbits/s
frame= 658 q=0.0 size= 1711kB time=26.3 bitrate= 532.5kbits/s
frame= 684 q=0.0 size= 1779kB time=27.4 bitrate= 532.7kbits/s
frame= 703 q=0.0 size= 1826kB time=28.1 bitrate= 531.9kbits/s
frame= 727 q=0.0 size= 1888kB time=29.1 bitrate= 531.8kbits/s
frame= 749 q=0.0 size= 1941kB time=30.0 bitrate= 530.9kbits/s
frame= 778 q=0.0 size= 2010kB time=31.1 bitrate= 529.1kbits/s
frame= 799 q=0.0 size= 2068kB time=32.0 bitrate= 530.2kbits/s
frame= 818 q=0.0 size= 2119kB time=32.7 bitrate= 530.4kbits/s
frame= 841 q=0.0 size= 2169kB time=33.6 bitrate= 528.2kbits/s
frame= 861 q=0.0 size= 2225kB time=34.4 bitrate= 529.3kbits/s
frame= 879 q=0.0 size= 2270kB time=35.2 bitrate= 528.9kbits/s
frame= 902 q=0.0 size= 2326kB time=36.1 bitrate= 528.1kbits/s
frame= 928 q=0.0 size= 2385kB time=37.1 bitrate= 526.3kbits/s
frame= 947 q=0.0 size= 2427kB time=37.9 bitrate= 524.9kbits/s
frame= 974 q=0.0 size= 2493kB time=39.0 bitrate= 524.3kbits/s
frame= 994 q=0.0 size= 2542kB time=39.8 bitrate= 523.8kbits/s
frame= 1016 q=0.0 size= 2601kB time=40.6 bitrate= 524.4kbits/s
frame= 1040 q=0.0 size= 2665kB time=41.6 bitrate= 524.8kbits/s
frame= 1062 q=0.0 size= 2728kB time=42.5 bitrate= 526.1kbits/s
frame= 1086 q=0.0 size= 2792kB time=43.4 bitrate= 526.6kbits/s
frame= 1109 q=0.0 size= 2854kB time=44.4 bitrate= 527.0kbits/s
frame= 1130 q=0.0 size= 2907kB time=45.2 bitrate= 526.8kbits/s
frame= 1154 q=0.0 size= 2964kB time=46.2 bitrate= 526.0kbits/s
frame= 1178 q=0.0 size= 3024kB time=47.1 bitrate= 525.8kbits/s
frame= 1199 q=0.0 size= 3073kB time=48.0 bitrate= 525.0kbits/s
frame= 1219 q=0.0 size= 3121kB time=48.8 bitrate= 524.3kbits/s
frame= 1251 q=0.0 size= 3209kB time=50.0 bitrate= 525.3kbits/s
frame= 1271 q=0.0 size= 3258kB time=50.8 bitrate= 525.0kbits/s
frame= 1293 q=0.0 size= 3322kB time=51.7 bitrate= 526.1kbits/s
frame= 1323 q=0.0 size= 3406kB time=52.9 bitrate= 527.3kbits/s
frame= 1344 q=0.0 size= 3460kB time=53.8 bitrate= 527.3kbits/s
frame= 1367 q=0.0 size= 3521kB time=54.7 bitrate= 527.5kbits/s
frame= 1389 q=0.0 size= 3573kB time=55.6 bitrate= 526.8kbits/s
frame= 1420 q=0.0 size= 3651kB time=56.8 bitrate= 526.5kbits/s
frame= 1437 q=0.0 size= 3693kB time=57.5 bitrate= 526.3kbits/s
frame= 1463 q=0.0 size= 3757kB time=58.5 bitrate= 525.9kbits/s
frame= 1487 q=0.0 size= 3815kB time=59.5 bitrate= 525.4kbits/s
frame= 1514 q=0.0 size= 3883kB time=60.6 bitrate= 525.3kbits/s
frame= 1541 q=0.0 size= 3948kB time=61.6 bitrate= 524.7kbits/s
frame= 1561 q=0.0 size= 3996kB time=62.4 bitrate= 524.3kbits/s
frame= 1585 q=0.0 size= 4053kB time=63.4 bitrate= 523.6kbits/s
frame= 1602 q=0.0 size= 4100kB time=64.1 bitrate= 524.1kbits/s
frame= 1622 q=0.0 size= 4158kB time=64.9 bitrate= 525.0kbits/s
frame= 1642 q=0.0 size= 4212kB time=65.7 bitrate= 525.3kbits/s
frame= 1673 q=0.0 size= 4300kB time=66.9 bitrate= 526.4kbits/s
frame= 1693 q=0.0 size= 4358kB time=67.7 bitrate= 527.1kbits/s
frame= 1715 q=0.0 size= 4414kB time=68.6 bitrate= 527.1kbits/s
frame= 1740 q=0.0 size= 4482kB time=69.6 bitrate= 527.5kbits/s
frame= 1765 q=0.0 size= 4556kB time=70.6 bitrate= 528.7kbits/s
frame= 1790 q=0.0 size= 4627kB time=71.6 bitrate= 529.4kbits/s
frame= 1813 q=0.0 size= 4687kB time=72.5 bitrate= 529.5kbits/s
frame= 1837 q=0.0 size= 4749kB time=73.5 bitrate= 529.4kbits/s
frame= 1863 q=0.0 size= 4812kB time=74.5 bitrate= 529.0kbits/s
frame= 1883 q=0.0 size= 4859kB time=75.3 bitrate= 528.4kbits/s
frame= 1908 q=0.0 size= 4915kB time=76.3 bitrate= 527.6kbits/s
frame= 1936 q=0.0 size= 4984kB time=77.4 bitrate= 527.2kbits/s
frame= 1953 q=0.0 size= 5026kB time=78.1 bitrate= 527.1kbits/s
frame= 1975 q=0.0 size= 5093kB time=79.0 bitrate= 528.1kbits/s
frame= 1998 q=0.0 size= 5145kB time=79.9 bitrate= 527.4kbits/s
frame= 2012 q=0.0 size= 5174kB time=80.5 bitrate= 526.7kbits/s
frame= 2036 q=0.0 size= 5232kB time=81.4 bitrate= 526.3kbits/s
frame= 2059 q=0.0 size= 5284kB time=82.4 bitrate= 525.6kbits/s
frame= 2081 q=0.0 size= 5332kB time=83.2 bitrate= 524.8kbits/s
frame= 2100 q=0.0 size= 5376kB time=84.0 bitrate= 524.3kbits/s
frame= 2119 q=0.0 size= 5417kB time=84.8 bitrate= 523.5kbits/s
frame= 2146 q=0.0 size= 5477kB time=85.8 bitrate= 522.7kbits/s
frame= 2173 q=0.0 size= 5535kB time=86.9 bitrate= 521.7kbits/s
frame= 2197 q=0.0 size= 5591kB time=87.9 bitrate= 521.2kbits/s
frame= 2219 q=0.0 size= 5648kB time=88.8 bitrate= 521.3kbits/s
frame= 2240 q=0.0 size= 5690kB time=89.6 bitrate= 520.2kbits/s
frame= 2263 q=0.0 size= 5749kB time=90.5 bitrate= 520.3kbits/s
frame= 2289 q=0.0 size= 5818kB time=91.6 bitrate= 520.6kbits/s
frame= 2313 q=0.0 size= 5879kB time=92.5 bitrate= 520.5kbits/s
frame= 2338 q=0.0 size= 5939kB time=93.5 bitrate= 520.2kbits/s
frame= 2359 q=0.0 size= 5988kB time=94.4 bitrate= 519.9kbits/s
frame= 2379 q=0.0 size= 6038kB time=95.2 bitrate= 519.8kbits/s
frame= 2398 q=0.0 size= 6083kB time=95.9 bitrate= 519.5kbits/s
frame= 2421 q=0.0 size= 6137kB time=96.8 bitrate= 519.1kbits/s
frame= 2441 q=0.0 size= 6187kB time=97.6 bitrate= 519.1kbits/s
frame= 2462 q=0.0 size= 6243kB time=98.5 bitrate= 519.3kbits/s
frame= 2487 q=0.0 size= 6308kB time=99.5 bitrate= 519.4kbits/s
frame= 2514 q=0.0 size= 6383kB time=100.6 bitrate= 520.0kbits/s
frame= 2539 q=0.0 size= 6457kB time=101.6 bitrate= 520.9kbits/s
frame= 2561 q=0.0 size= 6531kB time=102.4 bitrate= 522.3kbits/s
frame= 2587 q=0.0 size= 6610kB time=103.5 bitrate= 523.3kbits/s
frame= 2599 q=0.0 size= 6647kB time=104.0 bitrate= 523.7kbits/s
frame= 2619 q=0.0 size= 6709kB time=104.8 bitrate= 524.6kbits/s
frame= 2647 q=0.0 size= 6792kB time=105.9 bitrate= 525.5kbits/s
frame= 2668 q=0.0 size= 6855kB time=106.7 bitrate= 526.2kbits/s
frame= 2691 q=0.0 size= 6923kB time=107.6 bitrate= 526.9kbits/s
frame= 2715 q=0.0 size= 6992kB time=108.6 bitrate= 527.4kbits/s
frame= 2739 q=0.0 size= 7057kB time=109.6 bitrate= 527.6kbits/s
frame= 2757 q=0.0 size= 7096kB time=110.3 bitrate= 527.2kbits/s
frame= 2787 q=0.0 size= 7166kB time=111.5 bitrate= 526.6kbits/s
frame= 2805 q=0.0 size= 7192kB time=112.2 bitrate= 525.1kbits/s
frame= 2830 q=0.0 size= 7240kB time=113.2 bitrate= 523.9kbits/s
frame= 2854 q=0.0 size= 7297kB time=114.2 bitrate= 523.7kbits/s
frame= 2871 q=0.0 size= 7347kB time=114.8 bitrate= 524.1kbits/s
frame= 2896 q=0.0 size= 7401kB time=115.8 bitrate= 523.4kbits/s
frame= 2925 q=0.0 size= 7466kB time=117.0 bitrate= 522.8kbits/s
frame= 2944 q=0.0 size= 7520kB time=117.8 bitrate= 523.1kbits/s
frame= 2969 q=0.0 size= 7573kB time=118.8 bitrate= 522.4kbits/s
frame= 3000 q=0.0 Lsize= 7661kB time=119.9 bitrate= 523.4kbits/s

video:6722kB audio:820kB global headers:0kB muxing overhead 1.572599%


RIVA produces nice output but I think there is a laaaarge room for improvement!! What do you think...

I'd love to have this option integrated in your app...

thanks in advance,

Sill

buzzqw
30th January 2007, 09:52
update ! 0.72b

www.64k.it/andres/data/a/AutoMKV072b.exe

Changelog 0.72b
ADDED: If Autoresize is enabled (and codec is XviD) AutoMKV will change the number of bframes and Quantitizer Ratio based on autoresize settings (only if autoresize will lead to very big width)
ADDED: If deint is set to Leave Interlaced with x264.exe is added --interlaced
ADDED: In X264 profiles added <interlaced>false</interlaced>. If this value is set to true then --interlaced will be added, if this value is false and deint is not "Leave Interlaced" no --interlaced will be add (these <interlaced> will be added in next full package)
ADDED: If Matrix selected is AUTO (and codec is XviD) this will trigger Adaptive Custom Matrix choice (will be triggered only by very high compression test (>100))
FIXED: RemoveGrain(mode=2) is again the default denoiser
FIXED: Queuing mpeg files and avi could bring to freeze of AutoMKV
FIXED: Muxing into AVI without audio
FIXED: Remove autodetection of force film. Now i let do to BDautodeint detect FILM type
FIXED: Encoding avi files with no audio in wmv container was broken (thanks to rjcobain)
FIXED: On WMV encoding the file wasn't always correctly moved on destination folder
FIXED: Changed default quality for autoresize with WMV is now 85


@Rogi

this behavior is wanted :)

set values as you want and automkv will remeber it (fyi after selecting your values and cliccked ok, click on save settings, you will read on automkv.ini those values)

@sillKotscha

interesting for sure ! and also easy to implement but this will lead to a new application. FFmpeg has awesome possibility and need a full branded program... anyway i will study it :)

BHH

sillKotscha
30th January 2007, 13:40
@sillKotscha

interesting for sure ! and also easy to implement but this will lead to a new application. FFmpeg has awesome possibility and need a full branded program... anyway i will study it :)

BHH

hi buzzqw,

oh, that would be very nice :)

when it's time I guess there will be enough testers around... /me's the first for sure !!

thanks a lot...

sill

Rogi
30th January 2007, 13:57
@buzzqw

Thank you for clarification, I've checked automkv.ini and there is everything OK.

buzzqw
30th January 2007, 14:15
glad to make things clear.

A manual is seriusly need... :scared: i hope to have time... :scared: :(

BHH

weaver4
30th January 2007, 22:51
Will AutoMKV support the new Apple TV box; I looked at one, it is very sharp.

Anyone make a profile for it yet?

DDogg
31st January 2007, 03:03
Buzz, I am doing some slight mods on the CQ-ASP_Q2_eq(crf).xml profile for use with NTSC DV files. (Stellar results so far). I ran into a problem with the way you pick up a value from the template.

When time allows, can you check <BframePredictionMode>0</BframePredictionMode> ?

I believe "0" should translate as "--direct none"?
Presently it shows as "auto" which causes problems with NTSC DV.avi files and M4G Smooth V1 Matrix (http://forum.doom9.org/showthread.php?p=887125#post887125)(can you add the M4G's (http://forum.doom9.org/attachment.php?attachmentid=6561&stc=1&d=1166687500) to the full pack next full build?)

With a little more research I think we can have a new modified CQ profile for NTSC DV that yields a file near identical to the original in appearance with a size reduction of 5 to 1.

Btw, that brings up a request for future consideration. Since you are saving the AutoMKV settings already, it would be helpful to be able to load them by name. For instance, when I do DV I need manual crop 8x8x8x8/640x480, "Leave interlaced", Force 4:3, my CQ DV template with --Direct=none / --no-fast-pskip, FFT3DGPU(plane=3,sigma=3), and the M4G Smooth V1 Matrix matrix. Obviously all of this has to be changed for my standard DVD based encodes.

So, to be able to load my carefully selected "DV settings", in one go, a month after I figured them out and saved them as "My DV settings" (and forgot them after a bottle of wine) would be a very good thing. I also like this idea because one person could post a settings file for another to try.

dlflannery
31st January 2007, 06:11
@dlflannery
..........
FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer

in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!

Field order is to leave ALWAYS AUTO unless you know the order!
...........
BHH
I ran the same test video I've been using (99% FILM) using AUTO for Interlace and Field Order. It crashed the WME9 script just at the end of encoding, as it was doing before (unless I set FILM in the interlace setting).

The only difference between the movie.avs files for the good and bad cases is the tdecimate line where the bad case has
tdecimate(hybrid=3) and the good case has tdecimate().

Here is an excerpt from the log file for the bad case:

23:06:13 ForceFilm Detected: 99.400002% FILM found
23:06:19 Number of Frames: 166368
23:06:19 Framerate: 29.970030
23:06:19 Movie lenght in Seconds: 5552
23:06:19 Movie Width: 720
23:06:19 Movie Height: 480
23:12:42 Processing completed. Type is determined to be partly film.
23:12:42 Processing completed. Type is determined to be partly film.
23:12:42 BFF: 103
23:12:42 TFF: 407
23:12:42 Order: var

Some results from gspot on the source mpeg2:
Pics/s: 23.976 Frames/s: 29.970
Interlaced
3:2 ("Player telecine")
NTSC
kbps: 5273
audio: AC3, 448 kbps, 5.1
Pic(wxh): 720x480

I hope this helps you figure out the problem. I have saved all the temp folder and log file if you need to know more.

Thanks!

buzzqw
31st January 2007, 08:33
@weaver4
what is the specs of appe tv ? (a link is good enough)

@DDogg
... those matrixs are already present...

about the preset... is REALLY a good idea... in some way is already present just launch from DOS automkv.exe "my_dv_profile.ini"
the file my_dv_profile.ini is just a save setting of automkv

i will look how to implement.. but i don't want to break the already command line interface and queue

about --direct none, done in next release !

@dlflannery
this is now a problem of either tdecimate or wmv, please post a sample that is able to replicate the problem. Also try encoding this movie with xvid or x264 and please report if got the error again :thanks:

BHH

Rogi
31st January 2007, 10:57
@buzzqw

Take some free time to make tests with short clips. I've done avi with XviD + mp3 cbr settings,
but there is again problem with mp3 cbr.
GSpot shows me Xvid + mp3 VBR despite fact I changed to cbr in settings (checked in automkv.ini there is cbr).

Maybe is best to make yourself short test and see do you get same problem as I did.

Hope that will help you to make your program even better.

buzzqw
31st January 2007, 13:15
take a look at mkvmaudio.bat
what is written ?

from my test is ok...

just a BIG NOTE... quality preset are always VBR, for a CBR encoding you cannot use "6" (as default value) as value.

So hit advanced audio button, select CBR, click ok, on the value of bitrate write something reasonable... like 128 or 144 :)

try!

BHH

Rogi
31st January 2007, 15:35
@buzzqw

I did tests again and you have right, now is working perfect.
Checked with GSpot, it confirmed it is mp3 cbr.

Thank you very much for your help.:)

DDogg
31st January 2007, 17:02
* the file my_dv_profile.ini is just a save setting of automkv

Adding the ini to the shortcut on the desktop, like AutoMKV.exe DV.ini works fine. Thanks.

sidewalking
31st January 2007, 17:28
Hats off to buzzqw for a fine tool. I am enjoying my first days of tinkering with AutoMKV.

Quick question so far (can't find an answer on searching). How do I change the movie title, either before or after encode? The default title is put as "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221" and it shows in my playlist in VLC, so I can't tell which movie is which if I have more than one in my playlist. ;)

I can change it in VLC, but it doesn't write to the file - it goes back to the "Done with..." upon reloading file.

Thanks again!

weaver4
31st January 2007, 19:59
@weaver4
what is the specs of appe tv ? (a link is good enough)

Here is what they say on their site: http://www.apple.com/appletv/specs.html

Video

* Video formats supported: H.264 and protected H.264 (from iTunes Store): 640 by 480, 30 fps, LC version of Baseline Profile; 320 by 240, 30 fps, Baseline profile up to Level 1.3; 1280 by 720, 24 fps, Progressive Main Profile. MPEG-4: 640 by 480, 30 fps, Simple Profile

buzzqw
31st January 2007, 20:30
@weaver4
thanks!
CE profiles should be already good... i will check

@sidewalking

thanks for your kind words!

with wmv encoding the parameter in profile is <copyright> if this is set to false than i will automatically add the string Done by Automkv...., if this value is different from false i will add what written

in mkv muxing the title is taken from advanced audio setting, the "Title" string, if leaved blank i will add Done with AutoMKV... if is written something (like title of movie) i will add this string :)

BHH

Bluegram
31st January 2007, 22:27
Hi BHH!

Thanks again for your great program :)

I just had a problem with autoresize from avi source to mkv:

I recoded an xvid avi file to x264 mkv using your standard settings. Auto resize correctly lowers the resolution from 960*528 to e.g. 448*256, but the aspect ratio of the created mkv seems to be saved wrong: VLC plays the video stretched using the correct width but the wrong height.

If i select MP4 as a containter though, the AR is correct?!
I compared both logs and didnt find any differences.

Hope you can help me out,
Thanks!

22:06:00 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:06:00 Selected Input file: C:\test.avi
22:06:00 Selected Output dir: C:\temp\
22:06:00 Selected Final Name: test
22:06:00 Selected Container type: MKV
22:06:00 Selected Encoder: X264
22:06:00 Selected Size: 15
22:06:00 Selected Slice: 1
22:06:00 Selected Profile: CE-Mainprofile.xml
22:06:00 Selected Width: Automatic
22:06:00 Selected Resizer: SimpleResize (neutral soft)
22:06:00 Selected Filters: RemoveGrain(mode=2)
22:06:00 Selected Deinterlacer: AUTO
22:06:00 Selected Field Order: AUTO
22:06:00 Track Language 1: test.avi
22:06:00 Audio Codec 1: Nero AAC
22:06:00 Audio Quality 1: 0.35
22:06:00 Advanced Audio Settings DUMP Track 1
22:06:00 Movie Title Name:
22:06:00 Audio Track Language:
22:06:00 Audio Track Name:
22:06:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:06:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:06:00 Lame Settings: ABR
22:06:00 Audio Normalization: 1
22:06:00 Frequency: AUTO --- Tempo : NONE
22:06:00 Pitch: NONE --- Other Add :
22:06:00 Advanced Audio Settings DUMP Track 2
22:06:00 Audio Track Language:
22:06:00 Audio Track Name:
22:06:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:06:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:06:00 Lame Settings: ABR
22:06:00 Audio Normalization: 1
22:06:00 Frequency: AUTO --- Tempo : NONE
22:06:00 Pitch: NONE --- Other Add :
22:06:00 Selected 1' Sub tracks: NONE
22:06:00 Selected 2' Sub tracks: NONE
22:06:00
22:06:19 Number of Frames: 3399
22:06:19 Framerate: 23.976044
22:06:19 Movie lenght in Seconds: 142
22:06:19 Movie Width: 960
22:06:19 Movie Height: 528
22:08:11 Processing completed. Type is determined to be progressive.
22:08:11 Order: unk
22:08:11 Encoding C:\temp\ to NeroAAC with 0.35 quality
22:08:45 Encoded 1' Audio Track: 1608633 bytes
22:08:45 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 15728640 bytes
22:08:45 CRF encoding X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output "C:\temp\resmovie.mp4" "C:\temp\resmovie.avs"
22:09:49 Tested total movie: 5%
22:09:49 AutoResize movie size: 2385328 bytes
22:09:49 Movie Width suggested: 448 value based on sample size (46.67% of original width)
22:09:49 Starting X264
22:09:49 Command Line 1' Pass X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 794 --stats "C:\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output NUL "C:\temp\movie.avs"
22:09:49 Command Line 2' Pass X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 794 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output "C:\temp\movie.mp4" "C:\temp\movie.avs"
22:16:34 "c:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "C:\temp\test.mkv" --track-name -1:"test" --aspect-ratio 1:1.000000 "C:\temp\movie.mp4" --language -1:und "C:\temp\audio.mp4" --title "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221 "
22:16:35 Final Muxed size: 15730987 bytes
22:16:35 Encoding finished: 00:10:35 elapsed time
22:16:35 -----------------------------------------------------------------------
22:16:35 Script AutoCrop.log
22:16:35
22:16:35 Crop(6,0,948,528)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script Resmovie.avs
22:16:35
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\autocrop.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\cnr2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\corrector.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Decomb.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Deen.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\frfun7.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\medianblur.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mvtools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Repair.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SangNom.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnDot.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
22:16:35 #loadpluginstart
22:16:35
22:16:35 #test1
22:16:35
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\QMF.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\spresso.avsi")
22:16:35 #importstart
22:16:35
22:16:35 #test2
22:16:35
22:16:35 movie = directshowsource("C:\test.avi",audio=false)
22:16:35 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 function getOrder(clip c) {
22:16:35 order = GetParity(c) ? 1 : 0
22:16:35 Return order }
22:16:35 #filter1start
22:16:35
22:16:35 #test3
22:16:35
22:16:35 #cropstart
22:16:35
22:16:35 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
22:16:35 fixed_aspect = 1
22:16:35 c_width = width(cropclip)
22:16:35 c_height = Round(height(cropclip) / fixed_aspect)
22:16:35 input_par = float(float(c_width)/float(c_height))
22:16:35 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
22:16:35 out_width = 944
22:16:35 out_height = Round(float(out_width) / input_par)
22:16:35 hmod = out_height - (floor(out_height / 16 ) * 16)
22:16:35 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
22:16:35 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
22:16:35 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
22:16:35
22:16:35 #resizestart
22:16:35
22:16:35 #test4
22:16:35
22:16:35 SimpleResize(out_width,out_height)
22:16:35 #filter2start
22:16:35
22:16:35 #test5
22:16:35
22:16:35 RemoveGrain(mode=2)
22:16:35 function Comptest(clip c, float percent)
22:16:35 {
22:16:35 frange=floor(14./(percent/100.))
22:16:35 Return SelectRangeEvery(c, frange, 14)
22:16:35 }
22:16:35 Comptest(5)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script movie.avs
22:16:35
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\autocrop.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\cnr2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\corrector.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Decomb.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Deen.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\frfun7.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\medianblur.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mvtools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Repair.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SangNom.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnDot.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
22:16:35 #loadpluginstart
22:16:35
22:16:35 #test1
22:16:35
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\QMF.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\spresso.avsi")
22:16:35 #importstart
22:16:35
22:16:35 #test2
22:16:35
22:16:35 movie = directshowsource("C:\test.avi",audio=false)
22:16:35 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 function getOrder(clip c) {
22:16:35 order = GetParity(c) ? 1 : 0
22:16:35 Return order }
22:16:35 #filter1start
22:16:35
22:16:35 #test3
22:16:35
22:16:35 #cropstart
22:16:35
22:16:35 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
22:16:35 fixed_aspect = 1
22:16:35 c_width = width(cropclip)
22:16:35 c_height = Round(height(cropclip) / fixed_aspect)
22:16:35 input_par = float(float(c_width)/float(c_height))
22:16:35 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
22:16:35 out_width = 448
22:16:35 out_height = Round(float(out_width) / input_par)
22:16:35 hmod = out_height - (floor(out_height / 16 ) * 16)
22:16:35 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
22:16:35 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
22:16:35 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
22:16:35
22:16:35 #resizestart
22:16:35
22:16:35 #test4
22:16:35
22:16:35 SimpleResize(out_width,out_height)
22:16:35 #filter2start
22:16:35
22:16:35 #test5
22:16:35
22:16:35 RemoveGrain(mode=2)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script mkvmaudio.avs
22:16:35
22:16:35 video=DirectShowSource("C:\test.avi",audio=false)
22:16:35 audio=DirectShowSource("C:\test.avi",video=false)
22:16:35 last=audiodub(video,audio)
22:16:35 EnsureVBRMP3Sync()
22:16:35 ConvertAudioToFloat()
22:16:35 #Applyed STEREO downmixing routines
22:16:35 function stereo(clip a)
22:16:35 {
22:16:35 fl = GetChannel(a, 1)
22:16:35 fr = GetChannel(a, 2)
22:16:35 c = GetChannel(a, 3)
22:16:35 lfe = GetChannel(a, 4)
22:16:35 sl = GetChannel(a, 5)
22:16:35 sr = GetChannel(a, 6)
22:16:36 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
22:16:36 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
22:16:36 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
22:16:36 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
22:16:36 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
22:16:36 Return MergeChannels(l, r).Normalize()
22:16:36 }
22:16:36 #
22:16:36 function original(clip a)
22:16:36 {
22:16:36 Normalize(a)
22:16:36 Return last
22:16:36 }
22:16:36 6==Audiochannels() ? stereo() : original()
22:16:36 -----------------------------------------------------------------------
22:16:36 Script mkvmaudio.bat
22:16:36
22:16:36 "c:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^C:\temp\mkvmaudio.avs^)" | "c:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "C:\temp\audio.mp4"
22:16:36 -----------------------------------------------------------------------
22:16:36 Script mkvmaudio2.avs
22:16:36
22:16:36 Script mkvmaudio2.bat
22:16:36 FINISHED

Ah OK! Thanks for the quick answer :)

buzzqw
31st January 2007, 22:43
on avi input (or any mpeg4 input files) i don't know the original aspect ration.

While on mpeg2 this value is valorized on avi no, so you will see that in muxing string there is this "--aspect-ratio 1:1.000000"

That's the whole point. In advanced setting select "Force muxing AR" to 4:3 or 16:9 or to any correct value :)

about muxing in mp4... well ... mp4box seems to ignore the par value... so is like mkv string without --aspect-ratio

BHH

dlflannery
1st February 2007, 06:04
@dlflannery
this is now a problem of either tdecimate or wmv, please post a sample that is able to replicate the problem. Also try encoding this movie with xvid or x264 and please report if got the error again :thanks:

BHH
I encoded it to xvid (avi) using normal profile and same bitrate and width as for Zune. No problem. Good result.

I started cutting clips of different sizes and positions from the mpeg2 to test. The shortest clip I have that failed with interlace set to AUTO is the last 11.5 minutes of the video, which is 171 MB. I might be willing to upload that (where?) but it would take me about 1.5 hour.

I generated about 8 different clips. The problem is associated with the last few minutes of the video. However I could not find a cut less than the 11.5 minutes that had the problem. Some of the clips greater than 11.5 minutes failed. For every clip that failed, if I changed interlace setting to "film", they encoded fine. I also tried film setting on some of the clips that were OK with AUTO. They all encoded fine.

I suspect the problem occurs where the movie ends and the credits begin to roll.

One two-minute clip was typed as progressive by AutoMKV and dgIndex but was rated 3:2 "player telecine" (i.e., film) by gspot. The other clips were rated either film or partly film by AutoMKV. The ones that failed to encode were 99.4% film and were rated partly film. One that was 97.5% film and was rated partly film was encoded OK.

Is it possible you have a threshold of 99.5% film for when you decide to use the hybrid=3 in tdecimate? Based on my results I think if this threshold were lowered to perhaps 97%, it would give better overall results (perhaps for WMV only?). But I don't claim to understand what's going on......

Can you give a link for an explanation of what hybrid=3 does in tdecimate? I've searched and found descriptions of tdecimate but they don't explain hybrid=3.:thanks:

buzzqw
1st February 2007, 08:29
the main problem is that i live in PAL land... so most of this source files are simply missing, and i cannot do test :(

I encoded it to xvid (avi) using normal profile and same bitrate and width as for Zune. No problem. Good result.

that's mean it is a problem of wmv

I suspect the problem occurs where the movie ends and the credits begin to roll.

while xvid/x264 are able to process the stream seems that wmv isn't capable...

please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640 :thanks: !!

BHH

dlflannery
1st February 2007, 18:56
.....

please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640 :thanks: !!

BHH
So to do this, I check "Prepare phase only" on the Advanced tab, then when it stops I edit the movie.avs file, then launch the encoding batch file , correct ?

Does it matter whether I shut down AutoMKV before running the encoding batch?

Thanks. BTW I found the thread on tritical's TDeint and TIVTC so I know what hybrid=1 and hybrid=3 mean now (I think:) )

buzzqw
1st February 2007, 19:26
you can also edit an already present movie.avs, changing from hybrid=3 to hybrid=1, and then launch encoding batch files like movie_wmv.bat

BHH

papsi
2nd February 2007, 00:29
Hi!
I've just registered to tell you, that AutoMKV is a really great program! :)

I have also a few questions, maybe some suggestions. I'm not that experienced with the encoding/ripping terminology, so maybe I will ask some things which may sound primitive to the experienced user. I'm sorry about that.

I used Dr. DivX and then AutoGK for ripping, and a month ago I decided to switch to Matroska and AutoMKV. At first I experimented with X264 but realized that the encoding is way to slow on my comp (I need to finish the ripping during one night which is not enough with X264 on my Barton 2600+ 1GB RAM). So I stayed with XviD.

So my questions/suggestions are:
- better interaction with the user, tooltips which are visible not only 1x

- I had pretty serious problems with one film (The 13th Warrior). First the encoding proccess always failed with AutoMKV versions 0.68-0.71, and always at 51-52% (XviD_encraw.exe). It was caused probably by the splitting bug (fixed in 0.71). The encoding finished successfully with AutoMKV 0.72, but there was no movie at the end, just a couple of temp files in the TEMP folder. It took me 2 days to realize the cause of the problem: VSRip.exe created no subtitle file (.IDX/.SUB pair) in the TEMP folder, and in the final stage (muxing with MKVMerge) the program just exited without doing anything because of the missing .IDX/.SUB files. So it would be great if AutoMKV would find these kind of problems (missing files) at time and report it to the user (or just stop the job).

- better visual representation of audio/subtitle choosing and options. We can include 1, 2 or all subtitle/audio streams, but not 3 (for example). I came across several DVDs with at least 5 languages + director's comments, and I wished to include 3 streams but not all 6.

- I miss one option from AutoGK, and that's the percentage-style ripping, when we lose control of size and we give a quality percentage instead (80% gave near-DVD quality). In AutoMKV this is the CQ XviD profile, when we hit "Unlimited size". But that's it, there are no other options (at least I think :) ). I tested this option with 2 films. The 1st film gave a 900 MB final movie size, and the 2nd a 1 GB size movie. The 2nd movie was pretty good in quality, but the 1st wasn't, especially when I compared with a 2 CD version of the same film. With the 2nd film I tried to play with the "Specify Bitrate" option a bit (and entered 2000 :) ), but it produced a 1 GB film (weird), and XviD_encraw.exe always showed a much smaller average bitrate. Does the "Specify Bitrate" option works with XviD or only with other codecs (like WMV)? What if I wish to manually apply a very high bitrate in case I wish to use Sharktooth's V3UHS custom matrix? Is it possible?

Once again, AutoMKV is a great program, I'm looking forward for the next releases! :)

whiskey
2nd February 2007, 02:21
Well pretty much this is the first time as I'm trying this software (right now) looks friendly besides two things !

Profiles CQ,CE,AE not sure yet what those mean, but I'll seek around the forum, also the quality of audio is represented way that I'm not used to it since I always saw kbps measuring.It looks solid, grabbed Nero encoder, Avisynth as far it goes no errors.Thanks and hope it will crawl up to the perfection same as AutoGK.

dlflannery
2nd February 2007, 04:49
please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640
........
you can also edit an already present movie.avs, changing from hybrid=3 to hybrid=1, and then launch encoding batch files like movie_wmv.bat
.......
BHH
I used the 11.5 min Mpeg2 clip that failed before (with interlace=AUTO, hybrid=3, width=320, Bitrate=500k, to Zune WMV).

I changed width to 640 and bitrate to 900 for all tests.

Results:
WMV, hybrid=3 or hybrid=1, identical results: encoder crashed at end. Video and audio were OK but no navigation (seeking) was possible.
NOTE: In other tests done before with different clips, the encoder would not always crash but would quit early creating a very small output file.

WMV, tdecimate(), i.e., no hybrid: Everything OK. Looks good.

AVI(XVID), Fastest 1-pass, Interlace=AUTO, hybrid=3: All OK, looks good.

AVI(XVID), Fastest 1-pass, hybrid=1, Encoding finished OK and Video and Audio are good, but playing at different rates. In sync at start then audio lag increases as you go. Media info says the video is 9.2 min, which is 24/30 of the true length. (I suspect this is just wrong audio processing or muxing for the hybrid=1 ? I used fullbatch.bat)

I hope this tells you something useful !

whiskey
2nd February 2007, 07:54
So I'm done with my rip, quality kinda ok but I get those smooth waves/lines in video especially when lots of movement is present.No idea why, deinterlace was set to auto...

buzzqw
2nd February 2007, 08:29
@papsi

thanks for your suggestion... maybe i will add some more sanity check :)

better interaction with the user, tooltips which are visible not only 1x

that's no possible... it's a bug of WINDOWS ! (if you want i can demostrate it... go with mouse over the date in system tray and wait till it fade away, then retry to view the tooltip.... nope!)

better visual representation of audio/subtitle choosing and options. We can include 1, 2 or all subtitle/audio streams, but not 3 (for example). I came across several DVDs with at least 5 languages + director's comments, and I wished to include 3 streams but not all 6.
well that's no easy... but hints: select all audio tracks then when all is finished "manual mux" the tracks you want...

With the 2nd film I tried to play with the "Specify Bitrate" option a bit (and entered 2000 ), but it produced a 1 GB film (weird), and XviD_encraw.exe always showed a much smaller average bitrate. Does the "Specify Bitrate" option works with XviD or only with other codecs (like WMV)?

two answer: yes, bitrate is used for all codecs, xvid or x264 or wmv, just check use specified bitrate. Second... is probably that with 2000 bitrate you have saturate (saturated: aka no more quality possible due to other constraints) so the movie cannot growth more...

What if I wish to manually apply a very high bitrate in case I wish to use Sharktooth's V3UHS custom matrix? Is it possible?
for sure ! just try! :)

So I'm done with my rip, quality kinda ok but I get those smooth waves/lines in video especially when lots of movement is present.No idea why, deinterlace was set to auto...

as always :logfile: thanks!

i wish to thanks all. i will study how to do automkv a better program!

BHH

mael
2nd February 2007, 15:19
i think AutoMKV just deleted the whole content of a 400GB NTFS partition

AutoMKV was enconding a video file and a warning popped up, saying that some x264cmdq bat-file couldn't be found. i clicked it away. at that time i was making adjustments for another video in the mainscreen and suddenly all the options changed again to the standard settings (not my saved settings, also in the advanced settings tab) and then the AutoMKV process used quite some CPU power but has not spawned any child processes with cmd.exe which it usually does.
the first video was on another partition as the 2nd one, which was on this 400 GB partition, which is now entirely empty. not even RECYCLER or System Volume Information is there.

i don't have any viruses/spyware but i'm doing a full virus scan of my system now. i even did a rootkit scan this week which didn't find anything.
there was not anything else running what could've caused this.

for now the drive is disconnected because next week (or tomorrow if i'm lucky) i'm getting new hard disks, then i can clone the drive and see if i can recover any data

edit: there is nothing useful in the event log
edit2: AutoMKV version 0.72b

buzzqw, do you think that is possible, that AutoMKV did this?

dlflannery
2nd February 2007, 15:59
@buzzqw:
I'm willing to upload my 11.5 min mpeg2 clip (171 MB) if you know a site that would accept it.

buzzqw
2nd February 2007, 16:28
Automkv cannot delete system files ! like recycler bin or system restore !
also "Delete temporary files" is not checked by default and even more i delete only the \temp directory i created ! :scared:

i am sorry but automkv will not delete any other files

anyway in next build i will check if \temp directory is the root of driver (and this is impossible since i create it, and i cannot create a d:\ !!!! ) (like c:\ or d:\ e:\.... i will check till i:\ ) and if so i will not delete it

BHH

mael
2nd February 2007, 16:34
damn, then i have to figure out what else could've caused this.
the virus scan didn't find anything

the drive is just a couple of month old and had the letter i:
i DID check the option to delete the temp files...

mael
2nd February 2007, 16:37
before i had this problem i wanted to post this:

a few things which would be nice:
(sorry if they were already mentioned, i'm too lazy to read the whole thread. i used the version 0.72b as reference)

+ no windows popping up

+ multichannel AAC. it seems pretty hard to do it as far as i've googled. at least i didn't find any (free) program to do it. even with besweet i couldn't do it (AC3 source).

+ autosaving of the settings when exiting

+ better queue management:
- cancel the current running progress
- an option not to clear the job if it finished successfully
- display the duration time and avg. FPS (1st+2nd pass) of a finished job
- IMHO the queue itself as an extra tab is not userfriendly. maybe at the bottom of the window, visible all the time, regardless which tab is selected
- maybe put every job in the queue ("start" button equals "put it in the queue and start it")
- status display in the main screen (sth is running, job xxx finished etc)
- no popup message if a job was added to the queue, i find it annoying. better just write it somewhere (status display :)
- option for less columns
(- ETA of the whole job. probably not possible? or maybe just after the 2nd pass startet, that ETA of x264.exe should be reliable)

+ less verbosive log file

+ display the estimated bitrate for the selected options for audio and video, if possible. maybe a button which calculates that (fast)

buzzqw
2nd February 2007, 17:04
i DID check the option to delete the temp files...

feel free to retry on usb pen drive, i cannot delete the root files!

+ no windows popping up
i had already removed lot's of pop-up... but i will try (as always to remove some more)

+ multichannel AAC. it seems pretty hard to do it as far as i've googled.
Already avaiable. just select Codinc Tech. AAC (already present) or nero digital if you download it!

+ autosaving of the settings when exiting
already present....in some way... just hit save setting, will be automatically loaded on next restart

queue: ouch.. i will look at it :)

+ less verbosive log file
is all needed, for debugging

display the estimated bitrate for the selected options for audio and video, if possible. maybe a button which calculates that (fast)
not so easy since its based on quality preset... but i will search

thanks for your support!

BHH

audioman
2nd February 2007, 20:23
Hi Buzz

Congratulations for your program

Just a question , where can I find the manual of automkv ?

I have just some questions about the different matrices

Which one do you advise me to choose ? HVS or 6o9

Thanks

Greeneemer
2nd February 2007, 22:47
Hi.
Really nice program. Here is some input:

First of all, the window looks quite messed up for me using 120 DPI. Here is a screenshot showing what I mean: screenshot (http://www.dtek.chalmers.se/~stolpep/automkv.jpg)

Second: I would like the option to add srt subtitles instead of the bitmap based subtitles from the disc. Its not much of a problem to add them later, but it would be neat if they could be imported directly into AutoMKV.

Third: I would like to see a small text describing each of the Profiles. Especially the x264 profiles arent exactly self-explainatory to me. Like, what is AE, CE and HQ? I guess that HQ means High Quality, but is that the quality of my input or how i want my output? (based on how much time i want to spend)

Bluegram
2nd February 2007, 22:49
Hi again!

Just wanted to know if AutoMKV also normalises the audio stream just like AutoGK, cos i think its a really good feature, as the sound of some dvds is quite low or unconstant.

thanks!

buzzqw
2nd February 2007, 23:14
Just a question , where can I find the manual of automkv ? :( nope... not now.. i must write it... sorry

6of9... my preferred...but in next updated i have greater improved the "auto matrix" selection for xvid (you can use it already, just select auto on matrix)

@Greeneemer

120 dpi... not easy i must look around ...

Second: I would like the option to add srt subtitles instead of the bitmap based subtitles from the disc. Its not much of a problem to add them later, but it would be neat if they could be imported directly into AutoMKV

i have some idea :)

Third: I would like to see a small text describing each of the Profiles. Especially the x264 profiles arent exactly self-explainatory to me. Like, what is AE, CE and HQ? I guess that HQ means High Quality, but is that the quality of my input or how i want my output? (based on how much time i want to spend)

in next full pack i will rework most of profiles.
AE: Anime Encoding
CE: Common Encoding
HQ: high quality and slow encoding
is what you want as output...

Just wanted to know if AutoMKV also normalises the audio stream just like AutoGK, cos i think its a really good feature, as the sound of some dvds is quite low or unconstant.

already present, even more.. in advanced audio is possible to disable it!

BHH

papsi
3rd February 2007, 02:44
Thanx for your reply!

2 more question: when I click on the '!!!' button (which contains the hidden audio options), the Normalize check box is always checked. I thought that AC3 audio can't be normalized, but I'm not so sure anymore... :) So does it normalize the audio stream when I choose AC3 audio output (in other words, when I choose original audio)?

two answer: yes, bitrate is used for all codecs, xvid or x264 or wmv, just check use specified bitrate. Second... is probably that with 2000 bitrate you have saturate (saturated: aka no more quality possible due to other constraints) so the movie cannot growth more...

The 2nd question: so that means, when I enter a specific bitrate, and XviD is checked, AutoMKV will try to use that unless it's already too high so it cannot get more quality? But why was the quality of the movie lower then a normal 2 CD rip of the same film? Actually when I choose a custom matrix, will AutoMKV use different bitrates to match an interval which is best with that custom matrix? For example, if I choose SharkTooth's UHS matrix which is best used when bitrate is over 3000 kbps, will AutoMKV try to give that bitrate? Or in that case is it better to check the Specify bitrate option and manually enter 3000?

Sorry if I sound stupid :lol:

cosmos
3rd February 2007, 09:49
@buzzqw: It seems that in 072b an older bug reappeared. Specifically, I'm queing multiple files. The shutdown flag is enabled for all of them. Two bugs: only the first file in the queue is processed. And when it is finished, instead of shutting down, the system simply logs off

Unrealbr
3rd February 2007, 11:42
buzzqw
I little issue here, its encoding @ 0fps and ETA is beeing shown negative, that is weird! :P

karasu
3rd February 2007, 12:05
I'm unable to finish encoding with "insane" profile, the file "movie.mp4" is unredeable and is unmuxable.

here's the log:

10:06:19 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:06:19 Selected Input file: I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\HOWLS_MOVING_CASTLE Title 2.VOB
10:06:19 Selected Output dir: I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\
10:06:19 Selected Final Name: HOWLS_MOVING_CASTLE Title 2
10:06:19 Selected Container type: MKV
10:06:19 Selected Encoder: X264
10:06:19 Selected Size: 1 CD
10:06:19 Selected Slice: 1
10:06:19 Selected Profile: HQ-Slowest.xml
10:06:19 Selected Width: 720
10:06:19 Selected Resizer: NONE
10:06:19 Selected Filters: NONE
10:06:19 Selected Deinterlacer: AUTO
10:06:19 Selected Field Order: AUTO
10:06:19 NeroAACEnc.exe: not present
10:06:19 Enabled CRF/CQ AutoRes at 18 value
10:06:19 Track Language 1: AC3 Audio Stream 0
10:06:19 Audio Codec 1: Ogg Vorbis
10:06:19 Audio Quality 1: 3
10:06:19 Track Language 2: AC3 Audio Stream 1
10:06:19 Audio Codec 2: Ogg Vorbis
10:06:19 Audio Quality 2: 3
10:06:19 Advanced Audio Settings DUMP Track 1
10:06:19 Movie Title Name:
10:06:19 Audio Track Language: und
10:06:19 Audio Track Name:
10:06:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:06:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:06:19 Lame Settings: VBR
10:06:19 Audio Normalization: Normalize Audio
10:06:19 Frequency: AUTO --- Tempo : NONE
10:06:19 Pitch: NONE --- Other Add :
10:06:19 Advanced Audio Settings DUMP Track 2
10:06:19 Audio Track Language:
10:06:19 Audio Track Name:
10:06:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:06:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:06:19 Lame Settings: ABR
10:06:19 Audio Normalization: 1
10:06:19 Frequency: AUTO --- Tempo : NONE
10:06:19 Pitch: NONE --- Other Add :
10:06:19 Selected 1' Sub tracks: NONE
10:06:19 Selected 2' Sub tracks: NONE
10:06:19 Activate Anamorphic Encoding
10:06:19
10:06:19 Dgindex CMD: C:\Program Files\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=2 -TN=1,2 -YR=2 -AIF=[I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\HOWLS_MOVING_CASTLE Title 2.VOB] -OF=[I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie] -exit -minimize
10:11:03 Starting fixing audio delay on track number 1
10:11:03 DelayCut CMD: C:\Program Files\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
10:11:13 Original 1' Audio Size: 194237568 bytes
10:11:13 DelayCut CMD: C:\Program Files\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie T02 2_0ch 224Kbps DELAY 0ms.ac3"
10:11:44 Original 2' Audio Size: 194237568 bytes
10:11:44 Finished fixing audio delay
10:11:44 Encoding I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3 to Ogg with 3 quality
10:28:01 Encoded 1' Audio Track: 91373826 bytes
10:28:01 Encoding I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3 to Ogg with 3 quality
10:44:35 Encoded 2' Audio Track: 86930315 bytes
10:44:43 Number of Frames: 173427
10:44:43 Framerate: 25.000000
10:44:43 Movie lenght in Seconds: 6938
10:44:43 Movie Width: 720
10:44:43 Movie Height: 576
10:47:09 Processing completed. Type is determined to be progressive.
10:47:09 Order: unk
10:47:09 Starting X264
10:47:09 Command Line 1' Pass X264: C:\Program Files\AutoMKV072\exe\encoder\x264.exe --pass 1 --bitrate 640 --stats "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 10 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.avs"
10:47:09 Command Line 2' Pass X264: C:\Program Files\AutoMKV072\exe\encoder\x264.exe --pass 2 --bitrate 640 --stats "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 10 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.mp4" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.avs"
12:00:15 "C:\Program Files\AutoMKV072\exe\matroska\mkvmerge.exe" -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\HOWLS_MOVING_CASTLE Title 2.mkv" --track-name -1:"HOWLS_MOVING_CASTLE Title 2" --aspect-ratio 1:1.882353 "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.mp4" --language -1:und "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio.ogg" --language -1:und "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio2.ogg" --title "Done with AutoMKV 0.72 http://forum.doom9.org/showthread.php?p=854221 "
12:00:16 Final Muxed size: -1 bytes
12:00:16 Encoding finished: 01:53:57 elapsed time
12:00:16 -----------------------------------------------------------------------
12:00:16 Script AutoCrop.log
12:00:16
12:00:16 Crop(0,16,720,544)
12:00:16 -----------------------------------------------------------------------
12:00:16 Script Resmovie.avs
12:00:16
12:00:16 -----------------------------------------------------------------------
12:00:16 Script movie.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\autocrop.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\blockbuster.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\cnr2.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\ColorMatrix.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Convolution3D.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\corrector.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\DctFilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Decomb.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Deen.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\degrainmedian.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\DGDecode.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\EEDI2.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\fft3dfilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\FluxSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\frfun7.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\hqdn3d.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\LeakKernelDeint.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\MaskTools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\medianblur.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\MipSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\mt_masktools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\mvtools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\RemoveGrain.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Repair.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\SangNom.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\SimpleResize.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TBilateral.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TDeint.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TIVTC.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TomsMoComp.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TTempSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\UnDot.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\UnFilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\VSFilter.dll")
12:00:16 #loadpluginstart
12:00:16
12:00:16 #test1
12:00:16
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\MCBob_v03c.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\mvbob.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\seesaw.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\spresso.avsi")
12:00:16 #importstart
12:00:16
12:00:16 #test2
12:00:16
12:00:16 movie = mpeg2source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.d2v")
12:00:16 function getOrder(clip c) {
12:00:16 order = GetParity(c) ? 1 : 0
12:00:16 Return order }
12:00:16 #filter1start
12:00:16
12:00:16 #test3
12:00:16
12:00:16 #cropstart
12:00:16
12:00:16 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
12:00:16 fixed_aspect = 1
12:00:16 c_width = width(cropclip)
12:00:16 c_height = Round(height(cropclip) / fixed_aspect)
12:00:16 input_par = float(float(c_width)/float(c_height))
12:00:16 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
12:00:16 out_width = 720
12:00:16 out_height = Round(float(out_width) / input_par)
12:00:16 hmod = out_height - (floor(out_height / 16 ) * 16)
12:00:16 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
12:00:16 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
12:00:16 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
12:00:16
12:00:16 #resizestart
12:00:16
12:00:16 #test4
12:00:16
12:00:16 last = movie
12:00:16 #filter2start
12:00:16
12:00:16 #test5
12:00:16
12:00:16 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 NicAC3Source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3")
12:00:16 EnsureVBRMP3Sync()
12:00:16 ConvertAudioToFloat()
12:00:16 #Applyed STEREO downmixing routines
12:00:16 function stereo(clip a)
12:00:16 {
12:00:16 fl = GetChannel(a, 1)
12:00:16 fr = GetChannel(a, 2)
12:00:16 c = GetChannel(a, 3)
12:00:16 lfe = GetChannel(a, 4)
12:00:16 sl = GetChannel(a, 5)
12:00:16 sr = GetChannel(a, 6)
12:00:16 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
12:00:16 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
12:00:16 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
12:00:16 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
12:00:16 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
12:00:16 Return MergeChannels(l, r)}
12:00:16 #
12:00:16 function original(clip a)
12:00:16 {
12:00:16 Normalize(a)
12:00:16 Return last
12:00:16 }
12:00:16 6==Audiochannels() ? stereo() : original()
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio.bat
12:00:16
12:00:16 "C:\Program Files\AutoMKV072\exe\besweet\bepipe.exe" --script "Import(^I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV072\exe\besweet\oggenc2.exe" -q 3 - -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio.ogg"
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio2.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 NicAC3Source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3")
12:00:16 EnsureVBRMP3Sync()
12:00:16 ConvertAudioToFloat()
12:00:16 #Applyed STEREO downmixing routines
12:00:16 function stereo(clip a)
12:00:16 {
12:00:16 fl = GetChannel(a, 1)
12:00:16 fr = GetChannel(a, 2)
12:00:16 c = GetChannel(a, 3)
12:00:16 lfe = GetChannel(a, 4)
12:00:16 sl = GetChannel(a, 5)
12:00:16 sr = GetChannel(a, 6)
12:00:16 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
12:00:16 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
12:00:16 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
12:00:16 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
12:00:16 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
12:00:16 Return MergeChannels(l, r)}
12:00:16 #
12:00:16 function original(clip a)
12:00:16 {
12:00:16 Normalize(a)
12:00:16 Return last
12:00:16 }
12:00:16 6==Audiochannels() ? stereo() : original()
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio2.bat
12:00:16
12:00:16 "C:\Program Files\AutoMKV072\exe\besweet\bepipe.exe" --script "Import(^I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\mkvmaudio2.avs^)" | "C:\Program Files\AutoMKV072\exe\besweet\oggenc2.exe" -q 3 - -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio2.ogg"
12:00:16
12:00:16 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
3rd February 2007, 12:09
@papsi

the audio is normalized only when trascoding from ac3 (or other source) to NOT AC3. Isn't possibly to adjust volume if you copy original.

The 2nd question: so that means, when I enter a specific bitrate, and XviD is checked, AutoMKV will try to use that unless it's already too high so it cannot get more quality?
yes, but isn't automkv that cap this is codec. it's called SATURATION

But why was the quality of the movie lower then a normal 2 CD rip of the same film?
a two pass encoding is always better then one pass (at similar average bitrate)

Actually when I choose a custom matrix, will AutoMKV use different bitrates to match an interval which is best with that custom matrix?
no, automkv will simply apply this matrix, whatever could be the bitrate computed

Or in that case is it better to check the Specify bitrate option and manually enter 3000?
better to leave media size 1/2 dvd (or bitrate 3000) and go to sleep... next morning you will have a beautiful movie! :)

Sorry if I sound stupid :lol:
isn't stupid questions, just search in forum there is a loot to learn ! :) :thanks:

@cosmos
should be fixed in next release

@Unrealbr
are you joking ?

anyway i hope in next week to build a new full package, i had done already some works (just fyi
ADDED: In Advanced settings two HVS_AQ string (take from http://forum.doom9.org/showthread.php?t=114811 )
ADDED: Sanity ceck before deleting \temp direcory. if this is a root directory isn't deleted. NOTE: IT IS IMPOSSIBLE THAT AUTOMKV WILL WORK ON A ROOT DIRECTORY SINCE IT CREATES THE \TEMP DIRECTORY!!! (suggestion by mael)
ADDED: Possibility to specify quality. This value overrides encoding mode, all encoding will be done in 1 pass (or 1 pass for autoresize + 1 pass for encoding). AutoMKV will take all values from selected profile's but will do a CQ encoding. Not saved in queue mode. (suggestion by dlflannery). NOTE THE CURVE OF QUANT IS TO TUNE. FEEL FREE TO SUGGESTS
ADDED: Possibility to load external Subtitle file.
FIXED: If <BframePredictionMode> if 0 then --direct none is applyed to x264 command line (suggestion by DDogg) (and fyi 1=--direct spatial , 2=--direct temporal , 3=--direct auto)
FIXED: Some tuning to Auto Matrix choice
FIXED: Sometimes AviMux_GUI not use values written in muxavi but old setting in config.ini.amg file. Now i will change this file every time before muxing. (thanks to DDogg and
FIXED: Switching from queue to standard mode will break the shutdown fuction (thanks to cosmos)
FIXED: If subtitles weren't correctly extract the muxing will not break but will mux without subtitles (thanks to papsi)

and will work on x264 profiles, probably renaming it and tuning, and i hope :fingercrossed: a manual

BHH

buzzqw
3rd February 2007, 12:15
@karasu

please open movie.avs with virtualdub or mediaplayer classic, got any error ?

BHH

karasu
3rd February 2007, 13:00
@buzzqw

movie.avs can be played correctly with MPC, no error.

buzzqw
3rd February 2007, 13:18
the problem is that x264 string is too long for dos environment (over 530 character)

please move the input folder to a short path like c:\temp\hmcaste.vob

please try , thanks :)

BHH

DarkNite
3rd February 2007, 13:47
anyway i hope in next week to build a new full package, i had done already some works

Good! A few freinds of mine have come to rely upon this little app for their encoding needs. The others I'm introducing to it now are less educated in these matters and would definitely need a few of the fixes mentioned in your list.

Keep up the good work! People do appreciate it.

karasu
3rd February 2007, 13:54
Ok, i'll try it. thanks

Unrealbr
3rd February 2007, 16:09
@buzzqw no im not, 0.72b IS showing negative time, i'll post a SS asap

Strangely it aint showing negative now.. @_@

DDogg
4th February 2007, 00:51
Buzz, I gotta teach you how to hint better like, "Damn, guys, I am just busting my backside for months, everyday, making AutoMKV solid and dependable for you ... can't a few of you help work on a freaking manual ???" :)

Actually, I wish I understood the Wiki thing as that would be a good place to do something where different folks could add on and expand.

Is a Wikimaster out there ... anybody?

buzzqw
4th February 2007, 16:55
Sorry pals but this weekend i preferred coding some fuctions like Btw, that brings up a request for future consideration. Since you are saving the AutoMKV settings already, it would be helpful to be able to load them by name. and fixing long path name errors (or i hope so :) ) , and a near like system status (that will inform you what automkv is doing, suggest help... ... and btw i need tips to add the fuction)

no manual. but i ufficially added it to todo list :)

BHH

Henrikx
4th February 2007, 17:09
@buzzqw
In the German forum, someone has an error message.
He made a video over the error message!
Please,take a look ...
http://forum.gleitz.info/attachment.php?attachmentid=85684&d=1170533496

buzzqw
4th February 2007, 17:26
wow interesting... can i have the log ?

thanks !

BHH

dlflannery
4th February 2007, 17:52
@buzzqw
I tried a conversion to my usual Zune format (320 width, bitrate = 500 kbps) but using the 1_Pass_Quality_Quick profile (WME9 codec). I noticed the bitrate option was not used on the WME script command line. The video came out at 395 kbps, so the total bitrate was 395+128 = 523 kbps.

I thought the bitrate was for video only and should be passed to the encoder (?).

buzzqw
4th February 2007, 18:27
@dlflannery
very very quick answer: you had selecte a QUALITY profiles, not a BITRATE profiles !

In quality mode i pass "-v_quality 90" (as example) not the bitrate ! :)

@Henrikx
ok, i think i have understud, the user DON'T HAVE Nero AAC Encoder and so automkv will switch to OGG encoder. The question for audio failing is another... i could suppose a problem of bitrate (0.75 quality for ogg). In next version i will use CCT AAC (better compatibility) and correct audio bitrate.

Please tell you friend to not use nero if it haven't installed...

BHH

Henrikx
4th February 2007, 19:17
@buzzqw
THX and LOG :
18:59:44 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:59:44 Selected Input file: J:\VIDEO_TS\VTS_01_0.IFO
18:59:44 Selected Output dir: F:\Temp\temp\
18:59:44 Selected Final Name: VTS_01_0
18:59:44 Selected Container type: MKV
18:59:44 Selected Encoder: X264
18:59:44 Selected Size: 1 CD
18:59:44 Selected Slice: 1
18:59:44 Selected Profile: CQ-ASP_Q2_eq(crf).xml
18:59:44 Selected Width: Automatic
18:59:44 Selected Resizer: SimpleResize (neutral soft)
18:59:44 Selected Filters: RemoveGrain(mode=2)
18:59:44 Selected Deinterlacer: AUTO
18:59:44 Selected Field Order: AUTO
18:59:44 NeroAACEnc.exe: not present
18:59:44 Track Language 1: Deutsch (AC3 6ch, 0xBD 0x83) [0]
18:59:44 Audio Codec 1: Nero AAC
18:59:44 Audio Quality 1: 0.75
18:59:44 Advanced Audio Settings DUMP Track 1
18:59:44 Movie Title Name:
18:59:44 Audio Track Language:
18:59:44 Audio Track Name:
18:59:44 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:59:44 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:59:44 Lame Settings: ABR
18:59:44 Audio Normalization: 1
18:59:44 Frequency: AUTO --- Tempo : NONE
18:59:44 Pitch: NONE --- Other Add :
18:59:44 Advanced Audio Settings DUMP Track 2
18:59:44 Audio Track Language:
18:59:44 Audio Track Name:
18:59:44 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:59:44 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:59:44 Lame Settings: ABR
18:59:44 Audio Normalization: 1
18:59:44 Frequency: AUTO --- Tempo : NONE
18:59:44 Pitch: NONE --- Other Add :
18:59:44 Selected 1' Sub tracks: NONE
18:59:44 Selected 2' Sub tracks: NONE
18:59:44
18:59:44 Starting Indexing
18:59:44 Dgindex CMD: H:\Programme\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[J:\VIDEO_TS\VTS_01_1.vob] -OF=[F:\Temp\temp\movie] -exit -minimize
19:00:08 Finished indexing
19:00:08 Starting fixing audio delay on track number 1
19:00:08 Finished fixing audio delay
19:00:08 Encoding F:\Temp\temp\ to Ogg with 0.75 quality
19:00:11 Encoded 1' Audio Track: -1 bytes

http://forum.gleitz.info/showpost.php?p=319342&postcount=6

AMED
5th February 2007, 02:35
18:59:44 NeroAACEnc.exe: not present
has he put NeroAACEnc.exe into the besweet folder?

dyne
5th February 2007, 04:34
I'm trying to make 1400mb xvid rips with AC3 audio, but every rip I make using AutoMKV and xvid_extra_slow encoding results in a file of ~1.1gb

this is because of the codec saturation, right? Is there a way to increase the quality a bit so I can hit 1400mb?

buzzqw
5th February 2007, 15:20
this is because of the codec saturation, right?

maybe, just try selecting AUTO on Matrix and choose Auto on width

BHH

Henrikx
5th February 2007, 19:15
@buzzqw
Two Questions

1.AutoMKV contains a file of Fab.
Fab/DVD Decrypter etc. is forbidden in Germany
So we cannot link more on your program and not more speak about it, in German doom9 Forum !
Is there perhaps a solution?


2.After installing NeroAACEnc.exe into the besweet folder,the same mistake.

18:44:28 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:44:28 Selected Input file: J:\VIDEO_TS\VTS_01_0.IFO
18:44:28 Selected Output dir: F:\Temp\temp\
18:44:28 Selected Final Name: VTS_01_0
18:44:28 Selected Container type: MKV
18:44:28 Selected Encoder: X264
18:44:28 Selected Size: 1 CD
18:44:28 Selected Slice: 1
18:44:28 Selected Profile: CQ-ASP_Q2_eq(crf).xml
18:44:28 Selected Width: Automatic
18:44:28 Selected Resizer: SimpleResize (neutral soft)
18:44:28 Selected Filters: RemoveGrain(mode=2)
18:44:28 Selected Deinterlacer: AUTO
18:44:28 Selected Field Order: AUTO
18:44:28 Track Language 1: Deutsch (AC3 6ch, 0xBD 0x83) [0]
18:44:28 Audio Codec 1: Nero AAC
18:44:28 Audio Quality 1: 0.75
18:44:28 Advanced Audio Settings DUMP Track 1
18:44:28 Movie Title Name:
18:44:28 Audio Track Language: und
18:44:28 Audio Track Name:
18:44:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:44:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:44:28 Lame Settings: VBR
18:44:28 Audio Normalization: Normalize Audio
18:44:28 Frequency: AUTO --- Tempo : NONE
18:44:28 Pitch: NONE --- Other Add :
18:44:28 Advanced Audio Settings DUMP Track 2
18:44:28 Audio Track Language:
18:44:28 Audio Track Name:
18:44:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:44:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:44:28 Lame Settings: ABR
18:44:28 Audio Normalization: 1
18:44:28 Frequency: AUTO --- Tempo : NONE
18:44:28 Pitch: NONE --- Other Add :
18:44:28 Selected 1' Sub tracks: NONE
18:44:28 Selected 2' Sub tracks: NONE
18:44:28
18:44:28 Starting Indexing
18:44:28 Dgindex CMD: H:\Programme\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[J:\VIDEO_TS\VTS_01_1.vob] -OF=[F:\Temp\temp\movie] -exit -minimize
18:44:52 Finished indexing
18:44:52 Starting fixing audio delay on track number 1
18:44:52 Finished fixing audio delay
18:44:52 Encoding F:\Temp\temp\ to NeroAAC with 0.75 quality
18:44:55 Encoded 1' Audio Track: -1 bytes
http://forum.gleitz.info/showpost.php?p=319463&postcount=18

buzzqw
5th February 2007, 19:44
Fab/DVD Decrypter etc. is forbidden in Germany
this isn't a good thing, neither for Germany or AutoMKV. :angry:
i will build two package one with dvdfab ,one without (next full package), remember that dvdfab will be always needed for ripping...

about the error:

18:44:52 Finished indexing
18:44:52 Starting fixing audio delay on track number 1
18:44:52 Finished fixing audio delay

seems that something gone bad with audio delay fix
... is movie t01...xxx.ac3 present ?
is fixed1.ac3 present ? (i suppose not...)

also check in advanced setting to disable delay cut

last question is dvd preprocessed in someway ? this is important to know since i demux only the audio track requested and if in ifo the audio is the second track BUT , due to preprocessing, the audio is now first, i cannot demux anything ! (hope to be understud)

BHH

cosmos
5th February 2007, 19:51
A minor bug in 072b: entering a title in the advanced settings of audio, at "Muxing Options"/"Title" does not make the title appear. Instead the "produced by automkv..." appears.

And a couple of suggestions:
1) If the language in advanced settings is "xxx" ("eng" for example), then:
* default the video stream in mkvtoolnix to have a "xxx" language
* default the audio stream in Audio Track 1 and Audio Track 2 to be the same "xxx" language

This way, when I preselect "eng" and go to the advanced settings of "audio track 1", "eng" is already selected instead of "und". ;)

Henrikx
5th February 2007, 20:16
@buzzqw
i will build two package one with dvdfab ,one without (next full package)
THX !!!

For the further answers, I must wait until the user reports myself.

EDIT :
User
If I select the second audiotrack,although no there is,it functions

IFO:
http://forum.gleitz.info/attachment.php?attachmentid=85728&d=1170707091

Again THX

glynor
6th February 2007, 05:13
Hey... I just wanted to post quickly to say Thank You again to buzzqw for this program.

I haven't been posting much (because I haven't been having trouble with it) but I have been using AutoMKV quite extensively. It's been great! Thanks and keep up the great work.

buzzqw
6th February 2007, 09:24
about ifo... got it

in this ifo there is only one audio track, a german audio, and it is the first, so when automkv start dgindex it demux the first audio, but is missing... (i need a fragment of vob... but i suppose is a bug this vob..., user can demux manually with dgindex)

Also, with autogk is ok ?

Selecting all audio tracks i start dgindex in "demux all tracks" mode, and so is ok

@glynor
thanks, this appreciation is the way (well... someone have also donated... ) to make me feel better! Sometimes is hard to work without anybody that :thanks: you

thanks glynor, today is now a better day :)

BHH

buzzqw
6th February 2007, 10:06
@cosmos

i checked. It is ok. simply don't re-click on advanced audio settings, since everytime you click on it the fuction will blank the previus values :)

BHH

dyne
6th February 2007, 18:46
maybe, just try selecting AUTO on Matrix and choose Auto on width

BHH

I am trying this now with "The Gladiator" and am encoding it on the xvid_extra_slow preset

it decided to make the resolution 416x192 with a bitrate of 601kbps, which works out to be about 820mb, which is a bit low since I set it for 1400mb

with the ac3 audio it'd probably be about 1.1ish gb, which is the same as whats happened with all the other movies Ive tried

buzzqw
6th February 2007, 20:18
xvid_encraw... give more problem at size than wmv !

i can assure that bitrate computed is ok.

i think that is needed a different approach:

select 2 cd (or 1400), audio original, as profile choose SAP and after profile choose as matrix sharktooth LR

please try and give me good information ! :)

could you also please post the log of both (this one and previus) encoding ?

thanks !

BHH

dyne
7th February 2007, 02:10
I can't get to my computer tonight, so I'll post them tomorrow night

Henrikx
7th February 2007, 09:33
@buzzqw
Also, with autogk is ok ?
Yes !
THX

buzzqw
7th February 2007, 15:25
@Henrikx and Schotenhüter

Fixed in next release , added a sanity check that even on ifo input if dgindex don't demux selected audio tracks it will restart in demux all tracks mode

BHH

Unrealbr
7th February 2007, 20:58
@buzzqw
suggestion for next release allow external subtitles to be inserted o/

dyne
7th February 2007, 21:48
select 2 cd (or 1400), audio original, as profile choose SAP and after profile choose as matrix sharktooth LR
BHH

Here's the first part of the log for an encoding of "Mystic River." I set it for original audio, SAP, and sharktooth LR. (the log was too long to post at once)

I deleted the log for it with Xvid_extra_slow and "auto" for the matrix, and am running it now.

This encoding spat out a file that was 1.18gb in size, and plays the video too fast, so the video stops ~20 minutes early. The audio plays fine, though.

edit: here's the right log

15:54:05 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:54:05 Selected Input file: E:\dvd rips\temp\Mystic River\VIDEO_TS\VTS_01_0.IFO
15:54:05 Selected Output dir: E:\dvd rips\temp\
15:54:05 Selected Final Name: Mystic River SAP
15:54:05 Selected Container type: MKV
15:54:05 Selected Encoder: XviD
15:54:05 Selected Size: 1400
15:54:05 Selected Slice: 1
15:54:05 Selected Profile: Xvid_SAP.xml
15:54:05 Selected Width: Automatic
15:54:05 Selected Resizer: SimpleResize (neutral soft)
15:54:05 Selected Filters: RemoveGrain(mode=2)
15:54:05 Selected Deinterlacer: AUTO
15:54:05 Selected Field Order: AUTO
15:54:05 NeroAACEnc.exe: not present
15:54:05 Using Matrix: Sharktooth's EQM v3LR.cqm
15:54:05 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0,1,2]
15:54:05 Audio Codec 1: Copy Original
15:54:05 Audio Quality 1: 0.35
15:54:05 Advanced Audio Settings DUMP Track 1
15:54:05 Movie Title Name:
15:54:05 Audio Track Language:
15:54:05 Audio Track Name:
15:54:05 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:54:05 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:54:05 Lame Settings: ABR
15:54:05 Audio Normalization: 1
15:54:05 Frequency: AUTO --- Tempo : NONE
15:54:05 Pitch: NONE --- Other Add :
15:54:05 Advanced Audio Settings DUMP Track 2
15:54:05 Audio Track Language:
15:54:05 Audio Track Name:
15:54:05 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:54:05 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:54:05 Lame Settings: ABR
15:54:05 Audio Normalization: 1
15:54:05 Frequency: AUTO --- Tempo : NONE
15:54:05 Pitch: NONE --- Other Add :
15:54:05 Selected 1' Sub tracks: English 0 (0xBD 0x20) [0,1,2] wide
15:54:05 Selected 2' Sub tracks: NONE
15:54:05
15:54:05 Starting SubRipping
15:56:08 Subtitle Size: 4567040 bytes
15:56:08 Finished SubRipping
15:56:08 Starting Indexing
15:56:08 Dgindex CMD: C:\Program Files\Utilities\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\dvd rips\temp\Mystic River\VIDEO_TS\VTS_01_1.vob] -OF=[E:\dvd rips\temp\movie] -exit -minimize
15:58:13 Finished indexing
15:58:13 Starting fixing audio delay on track number 1
15:58:13 DelayCut CMD: C:\Program Files\Utilities\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\dvd rips\temp\fixed1.ac3" "E:\dvd rips\temp\movie T01 3_2ch 448Kbps DELAY -16ms.ac3"
15:58:28 Original 1' Audio Size: 464572416 bytes
15:58:28 Finished fixing audio delay
15:58:28 Renamed file fixed1.ac3 to audio.ac3
15:58:28 Encoded 1' Audio Track: 464572416 bytes
15:58:28 ForceFilm Detected: 99.400002% FILM found
15:58:34 Number of Frames: 249432
15:58:34 Framerate: 29.970030
15:58:34 Movie lenght in Seconds: 8323
15:58:34 Movie Width: 720
15:58:34 Movie Height: 480
16:07:04 Processing completed. Type is determined to be film.
16:07:04 BFF: 36
16:07:04 TFF: 540
16:07:04 Order: tff
16:07:04 Single Pass Encoding XviD: C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 162 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\resmovie.avs" -type 2 -mkv "E:\dvd rips\temp\resmovie.mkv"
16:13:30 Tested total movie: 5%
16:13:30 AutoResize movie size: 70520677 bytes
16:13:30 Movie Width suggested: 800 value based on sample size (111.11% of original width)
16:13:30 FIRST pass XviD: "C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 961 -turbo -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 106 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\movie.avs" -type 2 -mkv "E:\dvd rips\temp\movie.mkv"
16:13:30 SECOND pass XviD: "C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 961 -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 106 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\movie.avs" -type 2 -mkv "E:\dvd rips\temp\movie.mkv"
16:13:30 Starting First Pass
17:17:26 Starting Second Pass
18:42:37 Only Movie Size: 802593582 bytes
18:42:37 C:\Program Files\Utilities\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\dvd rips\temp\Mystic River SAP.mkv_pre" --track-name -1:"Mystic River SAP" --aspect-ratio 0:2.350000 --chapters "C:\Program Files\Utilities\AutoMKV\exe\chapters.txt" "E:\dvd rips\temp\movie.mkv" --language -1:eng "E:\dvd rips\temp\audio.ac3" "E:\dvd rips\temp\Mystic River SAP.idx" --title "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221 "
18:44:12 Final Muxed size: 1269012131 bytes
18:44:12 Encoding finished: 02:50:07 elapsed time
18:44:12 -----------------------------------------------------------------------
18:44:12 Script AutoCrop.log
18:44:12
18:44:12 Crop(0,58,720,360)
18:44:12 -----------------------------------------------------------------------
18:44:12 Script Resmovie.avs
18:44:12
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\autocrop.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\blockbuster.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\cnr2.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\ColorMatrix.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Convolution3D.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\corrector.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DctFilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Decomb.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Deen.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\degrainmedian.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DGDecode.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\EEDI2.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\fft3dfilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\FluxSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\frfun7.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\hqdn3d.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\LeakKernelDeint.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MaskTools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\medianblur.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MipSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mt_masktools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mvtools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\RemoveGrain.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Repair.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SangNom.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SimpleResize.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TBilateral.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TDeint.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TIVTC.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TomsMoComp.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TTempSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnDot.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnFilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\VSFilter.dll")
18:44:12 #loadpluginstart
18:44:13
18:44:13 #test1
18:44:13
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\MCBob_v03c.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\mvbob.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\seesaw.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\spresso.avsi")
18:44:13 #importstart
18:44:13
18:44:13 #test2
18:44:13
18:44:13 movie = mpeg2source("E:\dvd rips\temp\movie.d2v")
18:44:13 function getOrder(clip c) {
18:44:13 order = GetParity(c) ? 1 : 0
18:44:13 Return order }
18:44:13 #filter1start
18:44:13
18:44:13 #test3
18:44:13
18:44:13 #cropstart
18:44:13
18:44:13 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
18:44:13 fixed_aspect = 1.185185
18:44:13 c_width = width(cropclip)
18:44:13 c_height = Round(height(cropclip) / fixed_aspect)
18:44:13 input_par = float(float(c_width)/float(c_height))
18:44:13 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
18:44:13 out_width = 704
18:44:13 out_height = Round(float(out_width) / input_par)
18:44:13 hmod = out_height - (floor(out_height / 16 ) * 16)
18:44:13 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
18:44:13 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
18:44:13 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
18:44:13
18:44:13 tfm(d2v="E:\dvd rips\temp\movie.d2v").tdecimate()
18:44:13 #resizestart
18:44:13
18:44:13 #test4
18:44:13
18:44:13 SimpleResize(out_width,out_height)
18:44:13 #filter2start
18:44:13

dyne
7th February 2007, 21:49
and the other half:

18:44:13 #test5
18:44:13
18:44:13 RemoveGrain(mode=2)
18:44:13 function Comptest(clip c, float percent)
18:44:13 {
18:44:13 frange=floor(14./(percent/100.))
18:44:13 Return SelectRangeEvery(c, frange, 14)
18:44:13 }
18:44:13 Comptest(5)
18:44:13 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
18:44:13 -----------------------------------------------------------------------
18:44:13 Script movie.avs
18:44:13
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\autocrop.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\blockbuster.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\cnr2.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\ColorMatrix.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Convolution3D.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\corrector.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DctFilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Decomb.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Deen.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\degrainmedian.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DGDecode.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\EEDI2.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\fft3dfilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\FluxSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\frfun7.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\hqdn3d.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\LeakKernelDeint.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MaskTools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\medianblur.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MipSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mt_masktools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mvtools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\RemoveGrain.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Repair.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SangNom.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SimpleResize.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TBilateral.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TDeint.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TIVTC.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TomsMoComp.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TTempSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnDot.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnFilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\VSFilter.dll")
18:44:13 #loadpluginstart
18:44:13
18:44:13 #test1
18:44:13
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\MCBob_v03c.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\mvbob.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\seesaw.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\spresso.avsi")
18:44:13 #importstart
18:44:13
18:44:13 #test2
18:44:13
18:44:13 movie = mpeg2source("E:\dvd rips\temp\movie.d2v")
18:44:13 function getOrder(clip c) {
18:44:13 order = GetParity(c) ? 1 : 0
18:44:13 Return order }
18:44:13 #filter1start
18:44:13
18:44:13 #test3
18:44:13
18:44:13 #cropstart
18:44:13
18:44:13 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
18:44:13 fixed_aspect = 1.185185
18:44:13 c_width = width(cropclip)
18:44:13 c_height = Round(height(cropclip) / fixed_aspect)
18:44:13 input_par = float(float(c_width)/float(c_height))
18:44:13 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
18:44:13 out_width = 704
18:44:13 out_height = Round(float(out_width) / input_par)
18:44:13 hmod = out_height - (floor(out_height / 16 ) * 16)
18:44:13 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
18:44:13 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
18:44:13 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
18:44:13
18:44:13 tfm(d2v="E:\dvd rips\temp\movie.d2v").tdecimate()
18:44:13 #resizestart
18:44:13
18:44:13 #test4
18:44:13
18:44:13 SimpleResize(out_width,out_height)
18:44:13 #filter2start
18:44:13
18:44:13 #test5
18:44:13
18:44:13 RemoveGrain(mode=2)
18:44:13 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio.avs
18:44:13
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:13 NicAC3Source("E:\dvd rips\temp\fixed1.ac3")
18:44:13 EnsureVBRMP3Sync()
18:44:13 ConvertAudioTo16bit()
18:44:13 #Applyed ORIGINAL downmixing routines
18:44:13 Normalize()
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio.bat
18:44:13
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio2.avs
18:44:13
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio2.bat
18:44:13
18:44:13
18:44:13 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - -

buzzqw
7th February 2007, 22:06
@Unrealbr

already done !

@dyne

This encoding spat out a file that was 1.18gb in size, and plays the video too fast, so the video stops ~20 minutes early.

i need the log, please ! (i suppose FILM type was detected..., but please need the log)

BHH

dyne
8th February 2007, 00:49
i need the log, please ! (i suppose FILM type was detected..., but please need the log)

BHH

It's just finished encoding (with the same result). I edited in the log to my above posts

Unrealbr
8th February 2007, 02:10
@Unrealbr

already done !

BHH
really? I cant add, is there any special key to press to be able to do it?? :(

nah.. nvm.. i think its for next release
I'm sleepy so i'm kinda dumb atm
:confused: :confused:

buzzqw
8th February 2007, 08:30
@dyne

THANKS ! got the error for 20 minutes off!

also you got saturated
Movie Width suggested: 800 value based on sample size (111.11% of original width)

in next update the AUTO matrix will be the default value (and should fix this encoding !!!)

@Unrealbr
yes, next update !

BHH

dyne
8th February 2007, 13:58
thank you for the utlitiy :)

How do people make 2 CD (1400mb) rips with out saturating it?

buzzqw
8th February 2007, 14:36
not every movies goes saturated with 2 cd (try save private ryan or gladiator..) , what to do ? auto matrix (or high rate matrix like didee 6of9), no filtering, high quality resize like lanczosresize

in this way you don't saturated at all (is enough the matrix...)

BHH

buzzqw
9th February 2007, 09:15
Update ! TWO New full package !

www.64k.it/andres/data/a/AutoMKV074.rar -> full as usuall (but without NeroAACEnc.exe)
www.64k.it/andres/data/a/AutoMKV074_NO_RIPPER.rar -> without DvdFabDecrypter AND NeroAACEnc.exe)


0.74 Full Package 09/02/2007
ADDED: In Advanced settings two HVS_AQ string (take from http://forum.doom9.org/showthread.php?t=114811 )
ADDED: Sanity ceck before deleting \temp direcory. if this is a root directory isn't deleted. NOTE: IT IS IMPOSSIBLE THAT AUTOMKV WILL WORK ON A ROOT DIRECTORY SINCE IT CREATES THE \TEMP DIRECTORY!!! (suggestion by mael)
ADDED: Possibility to specify quality. This value overrides encoding mode, all encoding will be done in 1 pass (or 1 pass for autoresize + 1 pass for encoding). AutoMKV will take all values from selected profile's but will do a CQ encoding. Not saved in queue mode. (suggestion by dlflannery). NOTE THE CURVE OF QUANT IS TO TUNE. FEEL FREE TO SUGGESTS
ADDED: Possibility to load external Subtitle file.
ADDED: On main window a status line. Here i reported automkv works, tips, and more. It's very incomplete, please feel obligated to suggest more display (suggestion by mael)
ADDED: In advanced setting possibility to save and load customizable settings (suggestion by DDogg)
ADDED: BicubicResize with default value, FastBilinearResize, Spline36Resize http://forum.doom9.org/showthread.php?t=112594
FIXED: If Nero AAC isn't present Automkv will now switch to CCT AAC, for better compatibility pourpose, also the bitrate will be corrected
FIXED: If selected CCT AAC audio encoder the audio was encoded two times
FIXED: Long path. When encoding string is over 530 characters dos cannot understand the command line. Now i will launch directly the exe with the parameters, this should fix the problem (thanks to karasu)
FIXED: If <BframePredictionMode> if 0 then --direct none is applyed to x264 command line (suggestion by DDogg) (and fyi 1=--direct spatial , 2=--direct temporal , 3=--direct auto)
FIXED: Some tuning to Auto Matrix choice
FIXED: Sometimes AviMux_GUI not use values written in muxavi but old setting in config.ini.amg file. Now i will change this file every time before muxing. (thanks to DDogg)
FIXED: Switching from queue to standard mode will break the shutdown fuction (thanks to cosmos)
FIXED: If subtitles weren't correctly extract the muxing will not break but will mux without subtitles (thanks to papsi)
FIXED: AutoMKV is now working on 120 DPI monitor (or i hope so)
FIXED: Now when selecting on Advanced audio setting ABR or CBR for Lame, the bitrate displayed is correct
FIXED: No pop-up after selecting media file (not on ifo). Now bbsummary starts hidden
FIXED: Using CCT AAC encoder AutoMKV will switch to --lc profile if bitrate is over 128
FIXED: Added a sanity check that even on ifo input if dgindex don't demux selected audio tracks it will restart in demux all tracks mode (thanks to Schotenhüter)
FIXED: When using XviD and movie is FILM/Decimating, AutoMKV will pass correct framerate to xvid_encraw (thanks to dyne)
FIXED: If user select the deinteralcer BUT not the Order, AutoMKV will use Hybrid Order.
UPDATE: CCT AAC audio encoder
UPDATE: DgIndex to 1.4.9 beta 13

BHH

dlflannery
9th February 2007, 16:51
Regarding the problems I had with DVD-to-WMV (http://forum.doom9.org/showthread.php?p=947879#post947879), I have not seen a solution (did I miss it?). Is it just a problem with WME and nothing can be done? (This means the user has to analyze the video before putting it into AutoMKV in order to choose the interlace mode -- not "Auto".)

Thanks!

buzzqw
9th February 2007, 18:02
Is it just a problem with WME and nothing can be done?

i can try to pass framerate to wmvencoder... but don't know if will be enough (but i hope so!)

i will build a debug version :)

BHH

BleedingGums
9th February 2007, 20:22
in version 0.74 right after the DGindex finished the program pauses and I get a "tst" dialog box with an ok button. Is there anyway to turn that off?

buzzqw
9th February 2007, 20:32
@BleedingGums
OPS!!!
www.64k.it/andres/data/a/AutoMKV074a.exe

EDIT: corrected the TST debug message , removed another debug message..

thanks !

BHH

BleedingGums
9th February 2007, 21:04
wow that was fast. Just a little quibble, in your new status bar there is a typo "star ripping", also "Let's Encoding" sounds funny, might I suggest "Let's Encode!" or "Encoding Started". also it would be nice if the status bar indicated whether it was on the fist or second pass (I don't know if it does that, I'm still on the first pass.)
Keep up the excelent work! AutoMKV just keeps getting better and better.

buzzqw
9th February 2007, 21:22
fixed the typos... and not... i don't write it (second pass).. good suggestion !

BHH

SeeMoreDigital
9th February 2007, 21:41
I don't seem to be able to create MP4 encodes with CT 6Ch AAC-HE audio... Although CT 6Ch AAC-LC works perfectly (and sounds very good indeed at 192Kbps)...

Nothing of any significance seems to stand out in the log....


Cheers

Konstantin_by
9th February 2007, 21:42
Hello. I have 2 question.
1: Can I use AutoMkV on 64x system?
2: Why when I create film with 1 audio track, AutoMKV encode the same track 2 times? (I choose coding tech AAC) If i choose 2 tracks AutoMKC encode them 2 times each.

DDogg
9th February 2007, 23:24
Buzz, very nice. A lot of usable new features to play with. The load configuration is a time saver. Greatly appreciated!

Minor issues:

1> When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is not greyed out.

2> The profile being used when the configuration is saved is not included in the saved ini file. For instance, my DV configuration includes a modified "CQ-ASP_Q2_eq(crf) for DV.xml" profile. If possible, it would be good to have this load with the DV.ini config. This is a workaround, to some degree, as tedious modifications made in the advanced profile editor are not saved. One, or the other would be helpful, but I think just loading the profile in use at the time the config file is created would be the easiest and best way to go. Thoughts?

3> Tracing down an odd mux issue with DV input, 264/Nero stereo, MKV encodes. Lot of stuttering in audio and "fast forward" jumping in the video. The problem may be on my end. Will find out and let you know. You could try that DV source I sent you and see if you see anything.

Terrific job! Don't burn yourself out. You are a treasure we don't want to lose :)

dyne
9th February 2007, 23:34
Im having another problem

After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..

So I currently have the cmd window popping up every second and closing

edit:
and there's also a problem with it my computer freezing for 20-30 seconds at a time after auomkv starts running. It persists and eventually locks up the computer completely (this didn't happen with .72b, and I dont think it's a hardware problem)

Both issues occur with either the .74 or .74a version

buzzqw
10th February 2007, 00:53
@SeeMoreDigital

got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...

in other word:
if multichannel -> HE-AAC till 128 -> LC-AAC

@DDogg
i will look at the issues :) thanks !

@Konstantin_by
i hope yes... i don't have a 64bit OS... but please refere any problem
about audio ... fixed in 0.74!

@dyne
After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..
So I currently have the cmd window popping up every second and closing
:confused:

try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?

about the freezing... what are you pc specs (cpu/ram/OS/video card...)?

ALSO: ANY OTHER GOT FREEZING ????

BHH

DarkNite
10th February 2007, 01:58
No freezing here, not even on my Vista Ultimate box.

dyne
10th February 2007, 07:43
@dyne

:confused:

try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?

about the freezing... what are you pc specs (cpu/ram/OS/video card...)?

ALSO: ANY OTHER GOT FREEZING ????

BHH

There isn't a movie.avs file. If I try to open resmovie.avs, I get the following error:

Avisynth open failure:
TFM: Illegal transistions found in dvd2avi project file!
Please use the fixed version that has been created in the same directory as the original d2v file

specs: Windows XP pro
A64 3200+
1gb ram
Geforce 6150 integrated video

edit: it must just be that particular movie. I tried it 3 times and got the same bad result, but I'm trying another movie now and it seems fine

Schotenhüter
10th February 2007, 12:16
@buzzqw

now it functions marvelously,many thx.

SeeMoreDigital
10th February 2007, 14:21
@SeeMoreDigital

got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...

in other word:
if multichannel -> HE-AAC till 128 -> LC-AACIndeed...

Using BeLight I carried out some tests with CT's AAC encoder, and some 2Ch and 6Ch AC3 sources at 48.00KHz. Here is what I found: -

2Ch AAC-HE PS has a range from 16 to 48Kbps
2Ch AAC-HE has a range from 16 to 128Kbps
2Ch AAC-HE High has a range from 129 to 256Kbps
2Ch AAC-LC has a range from 96 to 256Kbps

6Ch AAC-HE has a range from 96 to 224Kbps
6Ch AAC-LC has a range from 160 to 256Kbps


Cheers

buzzqw
10th February 2007, 15:02
UPDATE ! 0.74c

www.64k.it/andres/data/a/AutoMKV074c.exe

ADDED: First or Second pass is now displayed in status list (thanks to BleedingGums) ANYONE FEEL FREE TO SUGGEST OTHER MESSAGE TO DISPLAY !!!
ADDED: Information table from SMD (the ? button in advanced audio setting)
FIXED: Some typos.. (thanks to BleedingGums)
FIXED: When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is now greyed out. (thanks to DDogg)
FIXED: The profile being used when the configuration is saved is now included in the saved ini file. (thanks to DDogg)

@SeeMoreDigital
thanks a lot !

BHH

Unrealbr
10th February 2007, 17:49
@buzzqw
The subs will be encoded as HARDSUB ou SOFTSUB?
t/y, your job on improving Automkv is magnificent!!

buzzqw
10th February 2007, 18:47
will be only muxed (in mkv or mp4, ignored in avi)

BHH

Unrealbr
10th February 2007, 19:32
will be only muxed (in mkv or mp4, ignored in avi)

BHH

Well, then lets make a suggestion.
Maybe for the next release an option to set the sub to me muxed or hardcoded.
:D

Huerta
10th February 2007, 21:19
The subs wouldn't even show up in mine. I checked the log and it said that the size of the subs was -1kb. So I opened up VStrip manually and checked to see if I could do it from there but it said it couldn't open up the Vob Sequence. I think I figured out why and I also found a solution.

I think the problem was when I decrypted the episodes. I just got those new DBZ remastered DVD's from funimation, and there were 39 episodes split up into 6 disks. Originally in each disk all the anime episodes I had didn't show up as seperate episodes but as one super long movie with 54 chapters. So each episode had 7 chapters and there were a couple of useless chapters at the end. So I decrypted 5 chapters for each episode(I excluded the opening and ending) into their own directory and I think by doing that it messed up the subs in some way where VSrip couldn't rip them.

The solution I used was to use Subrip and make your own srt file and then just load it up externally in AutoMKV when encoding. It's a little extra legwork but it was worth it.

Just thought I should bring this up incase anyone should ever have this problem. If you have any other suggestions on how to fix my sub problem that would be great.

Other than that this is a really excellent program you have here.

dalihrp
11th February 2007, 13:50
How about add an option to set min or max width for encoded movie.
or is this already available?

and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?

buzzqw
11th February 2007, 14:56
How about add an option to set min or max width for encoded movie.
or is this already available?

no, isn't avaiable, i will use the autoresize to determine the better with.

and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?

choose whatever profile you want (for x264 or xvid), this is needed to set the varius encoder 's parameters. In advanced setting check Specify Quality and select your value :)

BHH

fleon
11th February 2007, 16:58
Hi people, I am planning encoding Sin City(personal owned, for personal use) on the x264 video format, so what settings do you guys recommend me for this movie?

buzzqw
11th February 2007, 17:24
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter

or for for 1 cd, audio cct aac 96 (or ogg 2.5), ce-mainprofile, width auto, QMLF2_4_motions filter

try yourself, every movie has is own encoding story!

BHH

travisbell
11th February 2007, 19:48
Hey buzzqw,

Whenever I try and start an encode with the latest version now, it just rips through all the steps but doesn't actually encode anything...

Here is my log file..

http://consumeroo.com/files/serenity.1080i.dd51.oar.renderman.ts.log

Any idea?

buzzqw
11th February 2007, 20:43
yes ! two ideas !

first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)
second: i had fixed. now dgindex try to dgindex all the possible !

www.64k.it/andres/data/a/AutoMKV074d.exe

changelog

FIXED: On ts files , selecting "All audio tracks" and not checking projectx , dgindex will try its best :) (thanks to travisbell)

BHH

fleon
12th February 2007, 01:38
Hey buzzqw,
I am gonna encode like you told me 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter

But I have a question, by saying auto encode, you mean the width resolution or what? and the movie seems to be widescreen so the software detect that and choose the best resolution?

travisbell
12th February 2007, 02:41
first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)

Interesting... I don't even see an option for "All audio tracks". The only thing I have done is chose "Original" on Track 1...

One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...

Thanks man!

cosmos
12th February 2007, 07:15
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter
Hey there mate :) Just wondering: how come you don't recommend one of the HQ-Slow/HQ-Slower profiles?

sunflash10
12th February 2007, 07:57
Ever since .74 came out I haven't been able to encode dvds properly. It all seems to work fine up until the x264 encoder runs. It is open for about a second, closes, then opens again for the second pass and then closes immediately once again. Then it "completes" the process. Part of the log file is attached.
Thanks

buzzqw
12th February 2007, 08:26
how come you don't recommend one of the HQ-Slow/HQ-Slower profiles

hq-slower isn't worth the time. Make an encode with ce-mainprofile and hq-slower/insane.

Look at encoding time and quality gained. for me isn't worth all that time. Maybe hq-slow... but... just for 1 cd encoding not for 2 cd

@sunflash10

mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip (http://www.64k.it/andres/data/d/dgmpgdec149b12.zip)
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter

BHH

jeffy
12th February 2007, 10:57
One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...

Thanks man!

BHH, I have been having the same problems for MPEG files too, since the version labeled 0.74. They used to be loaded immediately. Can you comment please?

buzzqw
12th February 2007, 13:18
@jeffy and @travisbell

ops... got it !
was due to the modify of "no pop-up" for bbsummary , previusly i will check the first 10000 frames... now, erroneusly check all frames...

fixed ! www.64k.it/andres/data/a/AutoMKV074e.exe

thanks !!

BHH

papsi
12th February 2007, 14:16
I tried the newest version and I'm pleased. The new features like the status bar and the percentage-style ripping are good, and I'm planning to experiment a little with this feature in the future.

3 notices:
1) When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program" (without extension) in root of drive C. When I restart the system, Windows or my firewall or my antivirus software always warn me that it's not recommended to have a file with this name in C:\ and renames the file to Program~1. I think that one of the programs AutoMKV uses is at fault. BTW I noticed this issue in all version of AutoMKV.

2) I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?

3) The source on one of my films is pretty blurry. Which filter do you recommend? Their are planty of smoothener filters, grain removers, but I don't see sharpeners in the list (or just can't notice them). SeeSaw() would be a good options, but as I read, this filter is used to intensify the details on already nice, clean and sharp sources. My source is blurry but not grainy, so which filter can you recommend? I tried to apply a sharp resize filter (bicubicResize), but it's obviously not enough. Also it would be great to add a short explanation of the filters in one place (or just add links).

Once again, thanx for the new version! :)

gekan
12th February 2007, 15:13
I agree with papsi.

I've been having the same problem he describes in #1 but I hadn't connected it with AutoMVK.

Also, I agree about the filters. Adding more than one without have to edit the script is surely welcome, like a short description on what they do.

Thanks again for the great application! :)

buzzqw
12th February 2007, 15:19
When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program"

that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?

I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?

is already possible :)
in filter just write (example) Deen().Undot().Spresso()
in this why you will apply deen , then undot then spresso.

or use in Advanced setting Last line avs to write what you want

My source is blurry but not grainy,
in filter you can write what you want, remember.
Remember that is also needed to load the plugin, and to do this simply put the dll into \exe\filter folder and then relaunch automkv

What filter to use? ... try removegrain(mode=25)

BHH

gekan
12th February 2007, 15:46
This is what my "Program" file contains:

Opening IFO file E:\Media\VTS_01_0.IFO OK.

Video:
Compression : MPEG-2
TV system : PAL 625/50 Hz
Aspect ratio: 4:3
Display Mode: not specified
Source Res : 720x576
Letterboxed : no
Mode : Camera

Audio:
0. English (AC3 2ch, 0xBD 0x80)

SubPicture:
0. Greek (0xBD 0x20)

Program Chain(s):
Using PGC #0/1. Length: 01:09:45:00 in 14 cell(s).
000. VOB-ID: 01/CELL-ID: 01 - Len: 00:16:34:56 - TS: 00:00:00:00
001. VOB-ID: 01/CELL-ID: 02 - Len: 00:04:35:04 - TS: 00:16:34:56
002. VOB-ID: 01/CELL-ID: 03 - Len: 00:01:04:80 - TS: 00:21:09:60
003. VOB-ID: 01/CELL-ID: 04 - Len: 00:02:34:08 - TS: 00:22:14:40
004. VOB-ID: 01/CELL-ID: 05 - Len: 00:03:32:64 - TS: 00:24:48:48
005. VOB-ID: 01/CELL-ID: 06 - Len: 00:00:57:12 - TS: 00:28:21:12
006. VOB-ID: 01/CELL-ID: 07 - Len: 00:05:21:12 - TS: 00:29:18:24
007. VOB-ID: 01/CELL-ID: 08 - Len: 00:02:56:16 - TS: 00:34:39:36
008. VOB-ID: 01/CELL-ID: 09 - Len: 00:02:58:08 - TS: 00:37:35:52
009. VOB-ID: 01/CELL-ID: 10 - Len: 00:08:02:40 - TS: 00:40:33:60
010. VOB-ID: 01/CELL-ID: 11 - Len: 00:01:57:12 - TS: 00:48:36:00
011. VOB-ID: 01/CELL-ID: 12 - Len: 00:08:25:92 - TS: 00:50:33:12
012. VOB-ID: 01/CELL-ID: 13 - Len: 00:08:34:08 - TS: 00:58:59:04
013. VOB-ID: 01/CELL-ID: 14 - Len: 00:02:11:88 - TS: 01:07:33:12

Cells links :
000 -> 001 -> 002 -> 003 -> 004 -> 005 -> 006 -> 007 -> 008 -> 009 ->
010 -> 011 -> 012 -> 013

Total film length : 01:09:45:00

Chapter 1 = 00:00:00:00
Chapter 2 = 00:16:34:56
Chapter 3 = 00:21:09:60
Chapter 4 = 00:22:14:40
Chapter 5 = 00:24:48:48
Chapter 6 = 00:28:21:12
Chapter 7 = 00:29:18:24
Chapter 8 = 00:34:39:36
Chapter 9 = 00:37:35:52
Chapter 10 = 00:40:33:60
Chapter 11 = 00:48:36:00
Chapter 12 = 00:50:33:12
Chapter 13 = 00:58:59:04
Chapter 14 = 01:07:33:12

dyne
12th February 2007, 23:11
that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?


BHH

I actually have had that file show up, too. Its contents are pretty close to what gekan posted

sunflash10
12th February 2007, 23:18
mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter

That fixed the encoding problem like a charm.

The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.

papsi
13th February 2007, 00:46
Yes gekan, that's it. But strange enough, I couldn't recreate this file when I actually want it...

To buzzqv:
You see, I didn't even realized that the filter text box is editable. Thanx!

HeadBangeR77
13th February 2007, 02:13
@ papsi:
You could use LimitedSharpen(Faster) with the parameter "wide=true" for your purposes. Is there any option to modify the avs manually before the encoding starts (I don't use AutoMKV, so I haven't got the faintest idea ;))?
I see now, haven't refreshed my browser for a longer time/.

Also, bicubic resize is well known from ... causing artifacts, if used with higher sharpening values. You could try Spline36 (almost artifact-free), Lanczos3 or Lanczos4 - bicubic isn't good choice imho.

cheers,
HDBR77

papsi
13th February 2007, 11:27
To HeadBangeR77:
Spline36 is included with the newest version of AutoMKV, but LimitedSharpen isn't. But that's not a problem, because I can download it manually, put it in the folder with the rest of the filters and manually apply within AutoMKV. Thanx for your reply! I'll try it! :)

foxyshadis
13th February 2007, 12:17
That fixed the encoding problem like a charm.

The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.

That happens if the audio and video on the dvd don't match up, sometimes. If it's a constant offset, try just loading it into mkvtoolnix and adding that offset to the audio, then remux.

buzzqw
13th February 2007, 13:23
@sunflash10

dgindex report a delay of 0 so i cannot do better synch

i saw that dvd is already preprocessed ... dont' know if in source file is in synch or not... could be due a bad ripping

@foxyshadis

very good hint ! i suppose the delay is due to arcoss/ripguard...

P.S. i love your avatar !

glynor
13th February 2007, 18:15
I just updated to build 0.74e from 0.72b. I have a DV-encoded AVI file that I compressed yesterday to x264 in a MP4 container with 0.72b just fine.

Using identical settings, with the identical file, and 0.74e today "appears" to work correctly (AutoMKV goes through all the steps and completes) but no "result" file is created. It appears that the X264 compression step isn't working... In my log I have:

11:26:01 Starting X264
11:26:01 Command Line 1' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 226 --stats "C:\video\projects\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output NUL "C:\video\projects\temp\movie.avs"
11:26:01 Command Line 2' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 226 --stats "C:\video\projects\temp\.stats" --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "C:\video\projects\temp\movie.mp4" "C:\video\projects\temp\movie.avs"
11:27:23 "C:\Program Files\AutoMKV\exe\matroska\mp4box.exe" -add "C:\video\projects\temp\movie.mp4":par=1.000000 -fps 29.969999 "C:\video\projects\temp\Cryo_Lobby-supertiny_full.mp4"
11:27:23 Final Muxed size: -1 bytes
11:27:23 Encoding finished: 00:08:18 elapsed time

In the actual X264 command line window, if I pop it up, it stays blank for a long while and then flashes by something about unsupported input file format (so quick it's hard to read exactly).

Also, I still had the EXE for build 0.72b so I ran that, set the same settings (but didn't roll back to the previous full RAR) and ran the encode and it worked fine....

My source file is DV, so it's huge. I can make a very small example clip and post it if you need, just ask...

buzzqw
13th February 2007, 18:28
@glynor

same, same problem as sunflash10
http://forum.doom9.org/showthread.php?p=953524#post953524

mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter


hope that help

BHH

glynor
13th February 2007, 19:06
Looks the same as sunflash's log alright (though mine is not a DVD or MPEG2 source). I'll try it and let you know!

glynor
13th February 2007, 19:38
Okay... This is odd. Replacing the files as you suggested in the above linked post didn't work.

So, I deleted my entire AutoMKV folder and re-extracted the 0.74 full RAR file and made a new one, re-added my NeroAAC encoder, and tried again. I also reinstalled AVISynth just for giggles, but I did certainly already have the current build.

Either way, it now appears to be working with the same source file! I don't know if I had something weird "built up" in my AutoMKV install directory (I hadn't really deleted and done the "full reinstall" in quite a long time), but either way... It seems to be working now!

I'll do a bit more testing and post back, but I think I'm solved. :thanks:

glynor
13th February 2007, 20:58
Yep. It's been working fine for me now!

One thing I have noticed -- and I'm not at all sure that it's AutoMKV's "fault" and not the creator of the applicable profile's "fault" but...

If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player. Upon opening the file I get:

Error -2002: a bad public movie atom was found in the movie

And it doesn't play. VLC and MPC of course handle it with aplomb. Any ideas on how to get AutoMKV to generate a Quicktime compatible x264 MP4?

dlflannery
13th February 2007, 21:14
Hi Buzzqw:

The specs for Zune encoding (http://www.zune.net/en-us/support/howto/start/providecontent.htm#section5)(without having the Zune PC software re-encode when synching to the Zune device -- taking a long time) are:

Natively Supported Formats on the Zune Device

Format: Windows Media Video (.wmv)
Video codec: Windows Media Video 9 (Simple, Main, and Advanced Profiles), Windows Media Video 9 Screen, Windows Media Video 9 Image Version 2, Windows Media Video 9 VCM.
Video resolution: up to 320x240 (QVGA) or 320x180 (16:9 QVGA)
Maximum video bit rate: 500 Kbps (recommended for the best balance of optimal battery life and video quality) up to 1.5 Mbps
Video peak bit rate: up to 1.5 Mbps
Complexity or profile: Main profile, VBR
Audio codec: Windows Media Audio (.wma)
Maximum audio bit rate: WMA Standard, CBR, 128 Kbps (recommended), up to 192 Kbps, Stereo, 44.1 kHz
Maximum total bit rate: 1.692 Mbps, 1.5 Mbps for peak video plus 192 Kbps for audio


Note

The Zune device also supports Windows Media Video (WMV) Simple Profile, Windows Media 7 and 8, and PhotoStory files. For these video types, the maximum video bit rate is 736 Kbps with a maximum overall bit rate of 800 Kbps when audio is included.

I have found the Zune 1-pass profiles work fine (using 500 kbps video, 128 kbps audio) but both of the 2-pass profiles produce WMV files that will require additional re-encoding by the Zune software upon synching to the Zune device.

The peak bitrates using the 2-pass profiles are 1 Mbps and 1.2 Mbps (per mediaInfo). Since these profiles use WMV8 codec I suspect they are exceeding the maximum bitrate for that codec (see the "note" above). (Depends on whether the note means the "Peak" bitrate or the maximum average bitrate.)

I noticed the v_bitrate option value being sent to the WME encoder was 524288000 which seems about 1000 or 1024 times too high. I modified the Zune_2_Pass profile by changing WMV8 to WMV9 and changing the bitrate option by removing the last 3 zeros (i.e., 524288). This worked fine. The output was Zune-device compatible without re-encoding and the peak bitrate was 815 kbps. The change to WMV9 (I think) allows the peak bitrate to be that high.
EDIT: I've realized with more experimenting that the extra multiplier of 1000 or 1024 on the v_bitrate option only occurs if I go into the Advanced Profiles Editing tab, change WMV8 to WMV9, then check "Use this profile". At that moment the v_bitrate value jumps from 51200 to 524288000. The only problem with the current 2-pass Zune profiles seems to be the peak bitrate is too high for WMV8 on the Zune Device. Actually I discovered if you just check "Use this profile" on any CBR WMV profile (without even editing it) the v-bitrate option gets multiplied by 1024 and this error will now stick for any other WMV profile until you restart AutoMKV.

NOTE: The bitrate was changed from 512000 to 512 in the XML profile to get the 524288 in the command line option.

When I did this with just changing WMV8 to WMV9 (but not reducing the bitrate by 1000) the files were 5 times as large and the bitrates were way to high for the Zune (several Mbps).

To summarize I see two things:
1. The 2-pass Zune profiles do not work as desired because the peak VBR bitrate is too high for the Zune device. Thus WMV9 will be needed, since the Zune device will accept much higher bitrates with that codec.
2. There is a bug where if you select a WMV CBR profile and check "Use this Profile" in the Advanced Profile Editing tab, all v_bitrate option values for WMV encodings from then until you restart AutoMKV will be multiplied by an (incorrect) value of 1024.

Thanks!

glynor
13th February 2007, 21:25
If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player.

I found a few posts regarding the issue with MeGUI:
http://forum.doom9.org/showthread.php?t=108334
http://forum.doom9.org/showthread.php?t=107378

Looks like it's probably caused by converting videos with a 29.97 framerate (standard NTSC). Any guess on how to work around this issue with AutoMKV (without manually altering the script of course)?

dlflannery
14th February 2007, 02:59
Was converting a .avi (DIVX4 + mp3) to WMV for Zune. When it got to the WME script it just hung. No messages, no crash, just nothing happening. The video is only 1:45 min long so after waiting several minutes I shut down the WME command window. So I tried checking "Use Direct Show Source" and it encoded just fine (although due to the nature of the video there was no way to check for good audio sync).

In graphEdit or WMP11 it shows ffdshow mpeg4 video and mp3 audio decoders being used. It will also play in the DivX software player.

Does this just mean that an AVS script using AVISource() could not serve the video? Well.... No! I just tried it with a one line AVISource() script and it played fine in WMP. (???)

I'm just trying to learn so if anyone could explain what determines this behavior I would appreciate it.

EDIT: Additional info
The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.

buzzqw
14th February 2007, 08:54
@dlflannery

:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.

also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility

also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000

EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?

The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.
:confused: , was the original movie "played" while encoding ?

@glynor
i prefer not to do hack... expecially due on quickcrapplayer bugs... , BUT go on advenced settings, click on last avs string and add: AssumeFPS(30000,1001) or AssumeFPS(24000,1001)

BHH

dlflannery
14th February 2007, 14:53
@dlflannery

:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.

also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility

also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000

EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?
BHH

:confused: Did you understand the problem that no matter what rate you load in a profile, if you check the "Use This Profile" (perhaps you changed the v_keydist) the rate gets multiplied by 1024. If you don't check this, it does not get multiplied by 1024 ??

To see this, select WMV Zune_Quick_1_pass profile, go to the "Advanced Profile Editing" tab. Look at the v_bitrate value in the Command line. At first it may be 128000 or it may be 512000 (correct value). If you click Reload Profile it changes to 512000 (correct value). Then check "Use This Profile" and it jumps to 524288000. It seems that the updating of the command line value is not properly occuring.

You said you added new profiles. Are you inviting me to do that instead of you, or in addition, or what? :confused: (I would be happy to suggest profiles after I get un-confused!)


:confused: , was the original movie "played" while encoding ?
BHH
I never do anything else on the computer while it is encoding .... don't want to risk disturbing the encoding process ! Everything I did with movie.avs and movie_wmv.bat was AFTER the encoding stalled and I terminated the WME script command window. I was really just asking what factors determine that Direct Show must be used.

Sorry, I seem to be confused about everything you have said! :o

Chart
14th February 2007, 18:07
Looks promising, but I'm having a problem :(
When I try to encode big files, x264.exe just starts idling when about 10% is encoded. No errors or crashing, encoders cpu usage just goes from 100% -> 0% and stays there forever. Task manager says x264.exe is first using couple hundred MB:s of memory but when it starts idling it is taking 4 MB.

I first tried this program around the end of December, and since that I have tried at least 5 different versions of AutoMKV, and all have done the same. I have tried many source files and many versions of x264. I have tried with different audio codecs ja video containers, but always the same. x264 has been my codec of choice. Have also tried diffent profiles.

Strangely MKVmagic works live a charm, so I have been using it to backup many DVD:s. I have tried both programs with same versions of x264, and AutoMKV fails always. However I have used AutoMKV succesfully for small video files, lasting only few minutes. Somehow it doesn't like bigger files :eek:

No errors in log. Any ideas? :confused: