Log in

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


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

buzzqw
9th April 2007, 16:03
702 is NOT Mod 4
... i will try to check these manual values...


BHH

delacroixp
9th April 2007, 16:19
Well, while we're about it...

Will MKV allow subtitles directly from VOB... I've ripped out each subtitle with it's own IFO (DVD Decrypter)...
Also the extras and their individual soundtracks (including Spanish, Greek and Hebrew)... which were then converted (with vol boost) to WAV and back to MP4... so the folder's looking seriously messy at this point in time... not to mention, complicated for even my prodigeous mental capabilities... Tickle (http://web.tickle.com/) put my IQ up there with Bill Gates at 2543... how bad is that ???

Please help.

:thanks:


:):D:eek:
Pascal

btw
I still feel that if AutoCrop-Only was working correctly... I wouldn't have had those problems with 'The Deer Hunter'...
I'm not really a hands-on kinda person as much as I've loved encoding over here with AutoMKV... personally I'ld rather drive a new car that works flawlessly... or better still, take a Taxi with someone else at the wheel...
***EDIT***
OK... well encoding with AutoMKV is like the first trip to Mars... how bad is that ???
And it's like wayyy better than MeGUI... or what ??
DOS was gr8, GUI is better ?

delacroixp
9th April 2007, 16:57
DVD Fab Decrypter (http://forum.doom9.org/showthread.php?t=124149) was updated...

blutach's avatar (see post) is to die for... I think we need something like that for AutoMKV... a little animation to highlight the power of film and motion...

What's it take to get an avatar like that... become a Doom9 Team Member ?


:):D:eek:
Pascal

buzzqw
9th April 2007, 17:22
delacroixp, isn't simple to accomodate all needs and like
sometimes i wish you take mkvmagic source and do the all the fabulous works is needed.

This is a free time, free willed, free money project... and your sarcasm isn't well accepted.

best regards

Andres

EDIT: latest dvdfabdecrypter isn't accepting command line (as already posted)

nx6
9th April 2007, 18:17
Well, to be quite honest... I've only seen that error ("Error parsing parameter file") once... and that was yesterday while encoding "The Aristocats"... with subtitles (normal + hearing impaired)... which also gave me the opportunity to test the Anime (Convolution3D-HQ) Filter...
Ah, I was trying that filter, too. It seems to have a very positive effect on my final movie size. But the error was showing up on earlier tries without the filter.

5 mins later...
the error message from VSRip is still there...
I don't mind so much if the error message appears, as long as I don't have to dismiss it for the rip to continue.

this message is from vsrip, most probably is trying to rip a subtitle that not exist in this pgc... please post the param.lst
The closest I have is para.lst. There's not much in it.

S:\temp\VTS
0
1
ALL
CLOSE


usually when this error happen is better or to Rip all sub or rip single sub
Rip all subs is the only option I can choose in these tests.

you need 3 subtitles. how the d2v could contain info about correct subtitles timing ?
I didn't know if the idx file still contained the VOB/cell timing info.

buzzqw
9th April 2007, 19:05
S:\temp\VTS
0
1
ALL
CLOSE
that's mean rip all sub from first chain
try manually launching vsrip and load the ifo, what is the first chain ? is possible to rip ?

Rip all subs is the only option I can choose in these tests
that's mean that NO SUBTITLE is avaiable (detected) in your source file.
If your input is vob/ts/d2v/avs..., you don't have any source of subtitles. Only with ifo files you have a source for subtitles
Is AutoMKV that insert Rip All Subs, per default, indipendently of source files
Even if your vob contain several subtitles it is impossible to extract it without having the ifo...
And so this error is not error of automkv.

I didn't know if the idx file still contained the VOB/cell timing info.

use dvddecrypter and rip by chapter, then process every chapter by vsrip to extract proper subtitles

BHH

nx6
9th April 2007, 19:31
If your input is vob/ts/d2v/avs..., you don't have any source of subtitles. Only with ifo files you have a source for subtitles
Is AutoMKV that insert Rip All Subs, per default, indipendently of source files
Even if your vob contain several subtitles it is impossible to extract it without having the ifo...
And so this error is not error of automkv.

So what you're saying is I only select the subtitles with the menu if I am using an IFO for input. If I'm using a d2v, then I just load the external file and leave the drop-down menu on "None". Thank you, it looks like this is "operator error". :)

use dvddecrypter and rip by chapter, then process every chapter by VSRip to extract proper subtitles
I was taking VSRip and just deselecting the cells I didn't want subtitles for, leaving the cells that make the episode I was working on. Seemed to work well for this first episode I've been playing with.

Looking into DVDFabDecrypter's settings, looks like I could have just done the same thing with it. If I had seen that I wouldn't have add to mess with making d2v files to start with. Something to remember with the next disc.

delacroixp
9th April 2007, 20:58
use dvddecrypter and rip by chapter, then process every chapter by vsrip to extract proper subtitles


I was taking VSRip and just deselecting the cells I didn't want subtitles for, leaving the cells that make the episode I was working on. Seemed to work well for this first episode I've been playing with.

Looking into DVDFabDecrypter's settings, looks like I could have just done the same thing with it. If I had seen that I wouldn't have add to mess with making d2v files to start with. Something to remember with the next disc.
Certainly a solution for my subtitles from 'The Aristocats'.

:thanks: & :thanks:


:):D:eek:
Pascal

Tobytl
9th April 2007, 22:04
0.80c-Tobytl does indeed fix the color bleeding issue! I thank you, and Futurama thanks you.

@delacroixp

I think you may be running into a completely different problem. As long as the image is progressive (already deinterlaced/IVTCed) you can crop on mod2 offsets without issue, so with 0.80c this is perfectly reasonable.

I believe you mentioned that you aren't resizing, which is admirable, no quality loss from the resize and all. But you will also run into some more problems that way. MPEG video, regardless of the version (mpeg1/2/4/asp/avc) requires mod16 height/width because the macroblocks that are the largest 'unit' in mpeg encoding are 16x16, 704 is mod16, 574 is not (576 is). Some encoders will continue on anyway, warning you about compression loss and/or incompatibility with some decoders (like in your funny dos window). When you do resize, the autocrop bit in the movie.avs takes care of this for you, making out_height mod16. If you don't resize though, and you still crop, the width/height should be mod16 for compatibility sake.

This can be done with autocrop by itself fairly easily. A conditional like
if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

delacroixp
10th April 2007, 10:04
@delacroixp
This can be done with autocrop by itself fairly easily. A conditional like

if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

Very neat... I've never done any Avisynth script editing/creating... but this may well be a good start.

:thanks:


:):D:eek:
Pascal

delacroixp
10th April 2007, 10:17
I've been converting RAW AVI into mp4-mkv @ 18-CQ-CRF as source material for future projects... the resultant file is about 25% of the original... and so freeing-up terabytes of hdd space...

I've run into 3 files that refuse to co-operate...
The sound encodes fine and the video encodes @ 75fps (normally 11 fps) and the 'small' files are totally green...

*** AutoMKV log File ***

10:47:29 0.80b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:47:29 Selected Input file: H:\Incomming\mok.avi
10:47:29 Selected Output dir: H:\Encodong\temp\
10:47:29 Selected Final Name: mok
10:47:29 Selected Container type: MKV
10:47:29 Selected Encoder: X264
10:47:29 Selected Size: 1 CD
10:47:29 Selected Slice: 1
10:47:29 Selected Profile: ConstantQuality-CRF.xml
10:47:29 Selected Width: Original
10:47:29 Selected Resizer: NONE
10:47:29 Selected Filters: RemoveGrain(mode=3)
10:47:29 Selected Deinterlacer: AUTO
10:47:29 Selected Field Order: AUTO
10:47:29 Manual Crop: Enabled
10:47:29 Left Crop: 0
10:47:29 Top Crop: 0
10:47:29 Right Crop: 0
10:47:29 Botton Crop: 0
10:47:29 Manual Width: 720
10:47:29 Manual Height: 576
10:47:29 Enabled CRF/CQ AutoRes at 18 value
10:47:29 Track Language 1: mok.avi
10:47:29 Audio Codec 1: Nero AAC
10:47:29 Audio Quality 1: 0.50
10:47:29 Audio Channel 1: Stereo
10:47:29 Advanced Audio Settings DUMP Track 1
10:47:29 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:47:29 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:47:29 Lame Settings: ABR
10:47:29 Audio Normalization: 1
10:47:29 Frequency: AUTO --- Tempo : NONE
10:47:29 Pitch: NONE --- Other Add :
10:47:29 Advanced Audio Settings DUMP Track 2
10:47:29 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:47:29 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:47:29 Lame Settings: ABR
10:47:29 Audio Normalization: 1
10:47:29 Frequency: AUTO --- Tempo : NONE
10:47:29 Pitch: NONE --- Other Add :
10:47:29
10:47:51 Number of Frames: 62398
10:47:51 Framerate: 25.000000
10:47:51 Movie length in Seconds: 2496
10:47:51 Movie Width/Height: 720/576
10:49:20 Order: unk
10:49:20 Encoding H:\Encodong\temp\ to NeroAAC with 0.50 quality
10:57:21 Encoded 1' Audio Track: 47051062 bytes
10:57:21 Starting X264
10:57:21 CRF encoding X264: E:\Encoding\_H 264 - Program Files\_AutoMKV\AutoMKV - Latest\exe\encoder\x264.exe --pass 1 --crf 18 --stats "H:\Encodong\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --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 3 --output "H:\Encodong\temp\movie.mp4" "H:\Encodong\temp\movie.avs"


*** mok.ini ***
; AutoMKV parameters
[AutoMKV]
Source on DVD = 0
Input File = H:\Incomming\mok.avi
Input Folder = H:\Incomming\
Output Folder = H:\Encodong\
Container = MKV
Movie Name = mok
Size = 1 CD
Slice = 1
Resizer = 12
Width = Original
Set encoding mode = X264
Audio Track 1 = mok.avi
Audio Codec 1 = Nero AAC
Audio Bit 1 = 10
Audio Bitrate 1 = 0.50
Audio Channel 1 = Stereo
Audio Track 2 = NONE
Audio Codec 2 = Nero AAC
Audio Bit 2 = 7
Audio Bitrate 2 = 0.35
Audio Channel 2 = Stereo
Sub Track 1 = NONE
Sub Track 2 = NONE
Encoding Profiles = ConstantQuality-CRF.xml
Hit Media/Go Unlimited =
Use CRF/CQ for AutoResize = 0
CRF/CQ Value = 18
Bitrate Encoding = 0
Bitrate Value = 700
Quality Encoding = 0
Quality Value = 75
Delete temporary files = 0
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Process this IFO = 0
Process this PGC = 0
PGC to Process = -1
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = RemoveGrain(mode=3)
Enable Last Line AVS Script = 0
Last Line AVS Script =
Deinterlacer = AUTO
Field Order = AUTO
Language = eng
Use ProjectX for TS files = 0
Use custom X.ini = 0
Use DelayCut = 1
HQ Deinterlacer = 0
Matrix = NONE
Force PAR in XviD = NONE
Use DirectShowSource for Video = 0
Use DirectShowSource for Audio = 0
Enable Manual Crop And Resize = 1
Crop Top = 0
Crop Left = 0
Crop Bottom = 0
Crop Right = 0
Manual Width = 720
Manual Height = 576
Audio Track Name 1 =
Movie Title Name =
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
Windows Media Audio = AUTO
Windows Media Channel = AUTO
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 =


movie.avs in Virtual Dub plays as totally green...

Any ideas...


:):D:eek:
Pascal

AMED
10th April 2007, 10:21
@buzzqw

i was wondering if there was any chance of getting AC3FIX (http://www.videohelp.com/tools?tool=91) (only 10kb's) integrated into AutoMKV. I've come across a few movies that i have that need AC3FIX run on them otherwise the audio encoding (mp4) will happen at 1x.

the usage seems pretty straight forward
ac3fix V0.3

Removes bad frames from .AC3 files
Usage: ac3fix <infile> <outfile>
Error level returned:
0: No bad frames found
1: One or more bad frames found and removed
2: Error in execution

The best place to use it is before the use of delaycut

there seems to be room for a checkbox to be added to the Demuxing and indexing options under the advanced tab.

buzzqw
10th April 2007, 12:16
@delacroixp
movie.avs in Virtual Dub plays as totally green...

missing directshowsource or avisource unable to open the file

open the "mok.avi" with gspot and check the decoder used

@AMED
delaycut already (iirc) do this, even more i don't know if delaycut, after passing the ac3 thru ac3fix, will be able to synch...

i will look deeper to dealycut decumentation

thanks!

BHH

nx6
10th April 2007, 21:23
I tried running Queue mode for the first time last night and things did not come out very well.

Three jobs.
All d2v input.
Two audio tracks on each.
A separate subtitles files for each.

The first job was the only one that muxxed, it has the correct audio tracks, but I marked what the language was on each those tracks and that was not added on the final movie. There is a subtitles track, but it appears to be the subtitles for another episode. I made three separate sets of idx/sub files (with different names) for each episode, and attached the corresponding episode's idx file to it when I set up its job.

I haven't had a chance to look at the log file for a clue what happened with the other two episodes not muxxing (might be the quotation mark issue still) but I do have it with me here at work so I have time.

Edit: Just read through the log. It was the quotes issue that stopped the muxxing from working, so next update will fix that. :) The language settings I put on the audio tracks simply aren't there from what I see. :confused: The last job's subtitle idx file was in fact fed to all three of the jobs. :mad:

delacroixp
10th April 2007, 21:56
@delacroixp
This can be done with autocrop by itself fairly easily. A conditional like

if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

OK... so what exactly does this mean... It looks roughly like...
IF autocrop-only == MOD 16(width and height) THEN No resizer
ELSE autocrop-only (with resizer)

I've just taken out Once Upon a Time in America (http://en.wikipedia.org/wiki/Once_Upon_a_Time_in_America) by Serge Leone, from the public Library... hopefully I can produce an encode that they can use for patrons... I already have done so in DivX and most people have SAP's. The sound is veryyy soft... BeSweet recommends a Surround Gain of 5.9 dB and a Stereo Gain of 17.5 dB.
I ran it through Dr DivX... which shows L=2 blackspace... with your algorithm... 720 - 2 (L crop) = 718 => NOT mod 16 => autocrop with resizer.
I'm not really against resizing... the whole movie will be resized on playback... but I don't want to resize unnecessarily or like DivX => 1024x576 and then encode...

Your formula needs a little more refinement and a bit more tolerance... I also like MOD 16... assume 720x576 movie (any DAR)...
IF (width crop [L+R] < 8) THEN Don't crop
ELSE OverCrop 16
And multiples of 16... eg 17, 18 etc... ditto height... and so resizing could still be avoided

I chose to leave the 2 columns of black space in 'Once Upon a Time in America' though the algorithm could be modified to...
IF (crop <= 4) THEN Don't crop ELSE
IF (crop >= 12) THEN AutoCrop Only 16
ELSE crop and resize


:):D:eek:
Pascal

delacroixp
10th April 2007, 22:09
There is a subtitles track, but it appears to be the subtitles for another episode. I made three separate sets of idx/sub files (with different names) for each episode, and attached the corresponding episode's idx file to it when I set up its job.

The last job's subtitle idx file was in fact fed to all three of the jobs. :mad:
Do you place each job in a separate folder

Also, if I rip 3 movies in IFO mode into 1 folder (assume each movie is 1 file), including the IFO file and rename them all accordingly... movie1.VOB, movie1.IFO... movie2.VOB, movie2.IFO... etc
Will AutoMKV and/or DGIndex encode all 3 movies correctly ?

no, sorry. each full rip in one folder. OR put all in one folder, then create the d2v files for each movie and demux only the audio you want (named accordly to movie name).Then you can queue the d2v+audio works

I had a similar query way back when and Buzzqw stipulated that each job get it's own folder...


:):D:eek:
Pascal

nx6
10th April 2007, 23:11
Do you place each job in a separate folder

No, these are all in the same folder. I'm doing it the other way buzzqw mentioned (not that I read that post first, though).

...put all in one folder, then create the d2v files for each movie and demux only the audio you want (named accordly to movie name).Then you can queue the d2v+audio works

So in the folder I have
ep01.d2v
ep02.d2v, etc...

and I have audio tracks that match up namewise with these files as well:
Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3
Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3
Ep02 T01 2_0ch 224Kbps DELAY 0ms.ac3, etc...

as well as:
ep01sub.idx
ep01sub.sub
ep02sub.idx
ep02sub.sub, ect...
for the subtitles.

I don't think there's any issue with adding the audio, as the log shows the correct audio tracks for each episode where added for its corresponding job, but I had gone into advanced audio settings for each audio track and defined with language it was (since AutoMKV would not be adding those values itself like it does when you process an IFO). All three jobs show that they attempted to mux ep04sub.idx for the subtitle file (ep04.d2v was the last job set up in the queue).

Can anyone tell me what the .chunks file is for? Is it disc-specific or content specific? I didn't know if I needed to be keeping separate ones for each D2V file as they weren't getting named in accordance with the subtitle naming scheme by vsrip, it was always naming them after the IFO file. I renamed the first two that were generated after the subtitle set I was doing at the time, but I left the last one as the default name just in case it would be looking for the file under the name.

delacroixp
10th April 2007, 23:36
There's probably basically nothing wrong with your setup... but separate folders will even help your understanding of where everything's at... it's like 'modular programming'... you break everything down into byte-sized chunks (no pun intended)...

I've just started encoding "Once Upon a Time in America"... which has a very-high bitrate, almost akin to superBit releases... and since the movie is 229 minutes, it's divided into 2 parts... over 2 DVD's...
I've decided to have a separate folder for part 1, part 2 and the Serge Leone 'extra'... each with it's own audio tracks and subtitles...

hope it helps.


:):D:eek:
Pascal

nx6
11th April 2007, 00:53
hope it helps.
Pascal

Not really. I know where all the files are. The problem is advanced settings not getting saved as part of Queue jobs. Since every episode has track 1 as English and track 2 in Japanese, even if AutoMKV got stuck on the settings for the last job (similar to what's happening with the subtitles) everything would have been labeled correctly by coincidence on the other jobs. :D

Stupid question here: what is the numerical range for the ConstantQuality-CRF profile quality scale? I'm been thinking of trying something higher in quality than 18. Also, any recommendation of a filter to sharpen? I figured you might know since you were processing VHS tapes (made into AVIs) for a library I assume?

buzzqw
11th April 2007, 07:24
very quick answer:

actually queue don't save external subtitle

open the queue0.ini there is any sign of your external subs ?

(try to add in next version)

BHH

EDIT:

So in the folder I have
ep01.d2v
ep02.d2v, etc...

and I have audio tracks that match up namewise with these files as well:
Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3
Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3
Ep02 T01 2_0ch 224Kbps DELAY 0ms.ac3, etc...

as well as:
ep01sub.idx
ep01sub.sub
ep02sub.idx
ep02sub.sub, ect...
for the subtitles.
that's correct, automkv take care of what file to use. For external subtitles point to .idx (not .sub)

All three jobs show that they attempted to mux ep04sub.idx for the subtitle file (ep04.d2v was the last job set up in the queue).
that's correct... at least in this version, in next update every job has its subtitles

.chunks file is for trash it, not needed

thanks nx6 for your test... and sorry for subs...

BHH

jolson
11th April 2007, 10:52
ok, i had found the way to run all script minimized, without any (or very few) prompt that steal window... BUT... what is the lose ?

i cannot guarantee that "prepare only phase" will fuction again, also i will use vbs script (as an old suggestion of glynor) and some nasty and bad antivirus (namely Norton) can intercept those files as virus... :p
Again: wcscript SHOULD be present in all win2k and MUST be in winXP but i cannot bet on it...

please tell me your opinion
Tylo uses AutoIt for D2SRoBa (addon for DVD2SVCD) and it works very good, you can both script in it and build the GUI. Doesn't have to be pre-installed by the user.

I have used it for other things and it's safer than most scripting languages, you can have the script wait for a specific window to appear, press buttons in program dialogs by name of the button...

Apart from that, I have just started to read about this tool and will see if it can do what I want - must do more reading... ;)

delacroixp
11th April 2007, 11:51
Stupid question here: what is the numerical range for the ConstantQuality-CRF profile quality scale? I'm been thinking of trying something higher in quality than 18. Also, any recommendation of a filter to sharpen? I figured you might know since you were processing VHS tapes (made into AVIs) for a library I assume?

Well... I gather it starts @ Q1 (lossless) all the way beyond Q30 in ever decreasing increments of quality...
Unless you're working with RAW AVI or a very high bitrate, possibly Sony Superbit, production then Q18 is considered the lowest level... after this point filesize increases with little-to-no increase in quality...

I really am clueless, especially about filters... you'll have to refer to buzzqw...

You mention VHS tapes... actually our library has quite a large range of DVD's, from mainstream-entertainment, to culturally-orientated movies and documentary material from National Geographic and Discovery Channel etc...

The DVD's are so easily scratched and mal-treated that I considered a DivX or H264 version essential... which can be easily duplicated on 4.5 GB DVD's as necessary... unlike China... we don't have low-cost DVD-duplicating factories for this kind of thing...


:):D:eek:
Pascal

buzzqw
11th April 2007, 12:37
@jolson

i have adopted vbs option, the autoit features to hidden/minimize program is already inside automkv.
Now automkv will start a process and then minimize it or start it minimized (all by checking process id)

also, automkv can do a lot is correctly used (and with a bit of knowledge of internals...). I suggest reading the wiki and the changelog. When i introduce a new features a will explain it in changelog... often :)

Unless you're working with RAW AVI or a very high bitrate, possibly Sony Superbit, production then Q18 is considered the lowest level

this is a big error :)

The CRF profile is NOT A CONSTANT QUALITY PROFILE but a CONSTANT RATE FACTOR PROFILE.
What's mean ?

you have a 15000 bitrate hd movie -> crf 18
the dark scenes will probably got a quant of 25
the high motion scenese got a quant of 10
the 18 isn't the median, but the average perceptual quality to achive, isn't like CQ encode of XviD where even at quant 1 some frames look bad, here we are speaking of perceived quality. So the original bitrate is marginal in computation: you could have a "ugly static black wall" at 15000 bitrate in dvd..., what is important is that wall must bu "ugly" (at rate 18) as before

you have a (normal) 4000 bit rate dvd -> crf 18
the dark scenes will got a quant of 25
the high motion got a quant of 10

isn't important the original bitrate but the quality of source and how much must be retained

BHH

jolson
11th April 2007, 14:12
also, automkv can do a lot is correctly used (and with a bit of knowledge of internals...). I suggest reading the wiki and the changelog. When i introduce a new features a will explain it in changelog... often :)
I've now looked through bits of wiki/changelog/this thread and also made a small test of the program.

A good test is often to run the program backwards from what it is intended ;) - so I DirectShowSource'd in a short .mkv (with AC3 audio) and set AutoMKV to create an .avi/XviD and keep source audio. I created a short test .srt (with just "START" and "STOP" in it) and added that as an external subtitle file.

I could select the srt file, but saw no indication that it would be used. I specified a lower resolution for the output file, but noticed that I could only give horisontal resolution - not vertical as well, as I would like to.
The input file was 60MB, the output 25MB. Seemed correct, with the lower resolution.
However, despite me selecting "Copy Original" with regards to audio, the input AC3 stream was reencoded to 128kbps mp3.
But the output .avi plays fine, with subtitles, so the external subtitles worked. Just the sound was a problem.

buzzqw
11th April 2007, 14:22
I could select the srt file, but saw no indication that it would be used.

that's true and wanted. sorry, no display of external subs selected... (maybe i will change my idea...)

specified a lower resolution for the output file, but noticed that I could only give horisontal resolution - not vertical as well, as I would like to.

true again, you can specify only width, then is autocrop/automkv that computed the height (taken in count ar)
You must use advanced setting for scecifying a width AND height

However, despite me selecting "Copy Original" with regards to audio, the input AC3 stream was reencoded to 128kbps mp3

this is impossible to achive with automkv, no original audio can be extracted and copyed by directshowsource or avi/mkv/ogm... only from mpeg container (vob/ts/mpeg...)

Thanks for your test! :)

BHH

delacroixp
11th April 2007, 14:36
@delacroixp

movie.avs in Virtual Dub plays as totally green...

missing directshowsource or avisource unable to open the file

open the "mok.avi" with gspot and check the decoder used

@AMED


I retried 2 of the movies with 0.80 and they worked out fine but mok.avi is still very green...

I tried GSpot though it doesn't mean much to me...

http://souls-online.net/delacroixp/AutoMKV/GSpot_mok.avi_Thum.bmp (http://souls-online.net/delacroixp/AutoMKV/GSpot_mok.avi.bmp)

click for full image...


:):D:eek:
Pascal

buzzqw
11th April 2007, 15:29
on gspot click on Ms A/V 1 and look at what decoder is used

then ask on dv forum (first try to use ffdshow to decode dv format)

BHH

nx6
11th April 2007, 22:00
that's correct... at least in this version, in next update every job has its subtitles
BHH

:thanks:
How about the advanced audio settings (langauge marking and custom label)? That would be nice.


The CRF profile is NOT A CONSTANT QUALITY PROFILE but a CONSTANT RATE FACTOR PROFILE.
What's mean ?

you have a 15000 bitrate hd movie -> crf 18
the dark scenes will probably got a quant of 25
the high motion scenese got a quant of 10
the 18 isn't the median, but the average perceptual quality to achive, isn't like CQ encode of XviD where even at quant 1 some frames look bad, here we are speaking of perceived quality. So the original bitrate is marginal in computation: you could have a "ugly static black wall" at 15000 bitrate in dvd..., what is important is that wall must bu "ugly" (at rate 18) as before

Since this is a perceptual setting, does that mean a movie that is almost all high action (I dunno, kung fu movie) at CRF 18 will be larger than a movie of "Brick walls of Paris" at CRF 18 that are the same length in time? Is that because more of the kung fu film is being encoded at high end range (quantity 10) or is the definition of "quantity 18" different for the more complex action flick verses architecture film.

What does the "ConstantQuality-QP" do?

buzzqw
12th April 2007, 07:14
or is the definition of "quantity 18" different for the more complex action flick verses architecture film.
that's right! more complexity more bitrate, lower quant (quant=quantitizer not quantity)

look here for another explanation
http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality

BHH

buzzqw
12th April 2007, 07:35
How about the advanced audio settings (langauge marking and custom label)? That would be nice.

DONE! (in next update!)

BHH

nx6
12th April 2007, 07:58
Given all the fixes covered in the forums lately, this looks like it's going to be a big update.

nx6
12th April 2007, 08:33
Where is the file that defines what makes up the "Filters" preset list?
I've just downloaded a new AVISynth filter and want to add it to the list. I've already added the DLL to \exe\Filter.

buzzqw
12th April 2007, 09:13
Where is the file that defines what makes up the "Filters" preset list?

there isn't a configuration file, the list is hard coded BUT after you put the filter dll into \exe\filter you can WRITE in filter list your filter configuration (overwriting what is written), like

fooplugin(preset="Automkv",fast=true)

BHH

delacroixp
12th April 2007, 17:32
or is the definition of "quantity 18" different for the more complex action flick verses architecture film.

What does the "ConstantQuality-QP" do?

that's right! more complexity more bitrate, lower quant (quant=quantitizer not quantity)

look here for another explanation
http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality
I just noticed that it's an MeGUI Wiki... it's like sleeping with the enemy... it reflects badly if we have to send our guys over to MeGUI for info... when in fact our product, is like, wayy better than their's even with all their financial and intellectual muscle behind them...

I'm sure nx6 could distill the essence and explain it much better in the AutoMKV Wiki... perhaps we can put together some usefull backround material... like 4:2:0 vs 4:2:2 & 8:4:4 Chroma subsampling... which really effects the colour we see...

In some cases a simple link to the main Wikipedia would really do the trick.


:):D:eek:
Pascal

BTW
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).

BleedingGums
12th April 2007, 19:24
i'm using .80c - tobytl version and it seems that AutoMKV insists on autocroping even if i have NONE as a resizer set. (0.80b does not suffer from this). Once autocropped, the resolution is not mod16 anymore. which causes encoding problems. I have not gotten around to test to see if this behavior with .80c stops if a resizer and resolution are set.

buzzqw
12th April 2007, 19:47
@BleedingGums

open the movie.avs in virtualdub... anche check... anyway in next update if autocrop isn't needed then isn't even included in avs... ;)

BHH

weaver4
12th April 2007, 20:56
BTW
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).

Actually if a movie was done in Q18 and the complete movie was a brick wall it be a very small filesize. In constant quality the movie only uses the bits it needs to maintain the same quality from frame to frame; no changes between frames means very few bits; heavy action requires more bits.

nx6
12th April 2007, 21:01
I just noticed that it's an MeGUI Wiki... it's like sleeping with the enemy... it reflects badly if we have to send our guys over to MeGUI for info... when in fact our product, is like, wayy better than their's even with all their financial and intellectual muscle behind them...

Well, I have no doubt that the MeGUI wiki has been around longer than the AutoMKV wiki, so it's going to have more content. I also don't see this as any stupid me>you contest between buzzqw's software (where's this "our" coming from) and MeGUI. They are two things that do roughly the same thing, people will use what they wish to.

I'm sure nx6 could distill the essence and explain it much better in the AutoMKV Wiki...
I haven't even finished rewriting the changelog entries yet. Here's an idea, how about someone else contribute to the Wiki and write this stuff, like someone who knows about it.

AMED
13th April 2007, 09:13
one quick question buzzqw

when using Nero aac in stereo mode, should normalization be automatically enabled?

i have found in v0.80b that you have to open the advanced audio options and then click OK to close the advanced options for it add the normalize() to the mkvaudio script

when you open the advanced audio options normalize already has a check in the box but it doesn't seem to apply unless you open the advanced audio options.

buzzqw
13th April 2007, 09:42
@AMED

FIXED: An ugly bug that will not trigger normalize() if Advanced Audio Options were opened

this problem was corrected with 0.80b ...

i am unable to replicate the problem... :(

BHH

nx6
13th April 2007, 10:02
I just started using the special 80c build you released, this being the first one with the "cartoon" and "greyscale" options. I notice these are both listed under "XviD overides". Does that mean they wont work under X264?

AMED
13th April 2007, 10:58
@AMED
this problem was corrected with 0.80b ...
i am unable to replicate the problem... :(
BHH i found the problem, i needed to delete the automkv.ini that i must have created with v0.80a, the recreated automkv.ini using 0.80b seems to fix the problem

sorry about the false alarm

DarkZell666
13th April 2007, 11:27
I just started using the special 80c build you released, this being the first one with the "cartoon" and "greyscale" options. I notice these are both listed under "XviD overides". Does that mean they wont work under X264?

XviD offers those options but x264 doesn't (I mean XviD's vfw interface and x264's cli interface). It isn't GUI specific, it's just a matter of supported features by each codec.

buzzqw
13th April 2007, 12:41
@AMED

no prob ! :) glad you have resolved!

@DarkZell666

well said!
usually for anime is used the "anime presets" and for greyscale is sufficent to write in "Last avs script" greyscale()

@ALL

i am ready for the new update (full package) but i have some problem (look here http://forum.doom9.org/showthread.php?p=988229#post988229 ) ... i don't want to put an update that not work well...
i will wait some days... or will rollback specifics change made for new wmcmd.vbs :(

BHH

Shark_jlc
13th April 2007, 15:00
@ALL

i am ready for the new update (full package) but i have some problem (look here http://forum.doom9.org/showthread.php?p=988229#post988229 ) ... i don't want to put an update that not work well...
i will wait some days... or will rollback specifics change made for new wmcmd.vbs :(

BHH

If you need me to test on Win2k3, or Vista, let me know what to do and what you want.

buzzqw
13th April 2007, 15:19
@Shark_jlc
Thanks !

http://www.64k.it/andres/data/a/AutoMKV081SPC.rar

inside there are:
AutoMKV081.exe , the new wmcmd.vbs to put into \exe\encoder, and the all new wmv profiles (delete old wmv-profile folder) and the partial_changelog.txt

main changes are on wmv encoding, but Tobytl change are important too.., do not use hybridfupp resizer since i haven't include the new filter/avs

thanks (to all)

BHH

Shark_jlc
13th April 2007, 16:00
I'll see what I can do tonight at home, and this weekend, in regards to testing this out for you.

buzzqw
13th April 2007, 16:20
thanks Shark_jlc!

i hope to release 0.81 next week (i am waiting even for Zambelli posts)

BHH

delacroixp
13th April 2007, 18:28
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).
Actually if a movie was done in Q18 and the complete movie was a brick wall it be a very small filesize. In constant quality the movie only uses the bits it needs to maintain the same quality from frame to frame; no changes between frames means very few bits; heavy action requires more bits.
Well, let's say that IF somebody did a 18-CQ-CRF encode of a brick wall... it might be encoded at Q10 WHILE an 18-CQ-QP would insist on Q18 throughout which would still be a small file but the CRF encode would be tiny...
Funny enough I encoded The Deer Hunter without cropping the black-space Top and Bottom and when I re-encoded with a 144 row crop (72 T&B incl 3 overcrop to keep mod 16)... the file was 10% smaller...

It just shows you that even black-space can contribute significantly to filesize.


:):D:eek:
Pascal

weaver4
13th April 2007, 19:00
delacroixp: You are correct. I misread the first email and thought you were talking about CRF encode. A CRF encode would be "tiny". My-Bad.