PDA

View Full Version : AutoMKV 0.95 beta 21 NEED TESTER!


Pages : 1 [2]

Encoder888
25th January 2008, 03:38
buzzqw:

Just wanted to congratulate you on the new aspect ratio improvements. It does work! The half inch 16:9 difference with original DVD versions of the the 1.85 movies that I noticed with 0.93 is gone now and all the movies I tested retain their perfect original aspect ratios.

I have a question about the delaycut changes - What difference does it make whether you use delaycut or you get the delay fixed in the mux, or you use the delayaudio in soundout (not even sure what that is). I mean, if it fixes the audio delay what exactly is the end-result difference? Is there a best option?

buzzqw
25th January 2008, 07:37
@survivant001

is it possible to add audio CUT to get to trim the audio if the track is too long ?

the audio is "cutted" at muxing or is encoded only from frame 0 to XXX ?

@Taddeusz
Thank you! The only issue I ran into is that option won't save in the automkv.ini

already fixed in next update! (and added to queue too)

@valnar

i must admit that i prefer to add fuctions that i know how works.
And the SAR/PAR/DAR are still in a grey area...

anyway on x264 encoding the SAR:
On Non Anamorphic encoding is always --sar 1:1
On Anamorphic encoding is --sar ITU*AR*((cropped_width/total_width)/(cropped_height/total_height))

1) on a 2.35 PAL movie (cropped 72 top, 72 bottom, ITU=53.3333/52, AR=16/9 or 4/3)

53.3333/52*16/9*((720/720)/(432/576))=2.431147578347578

without ITU= 2.37037037037037

@Encoder888

I have a question about the delaycut changes - What difference does it make whether you use delaycut or you get the delay fixed in the mux, or you use the delayaudio in soundout (not even sure what that is). I mean, if it fixes the audio delay what exactly is the end-result difference? Is there a best option?

for your information:
MeGui : use DelayAudio
AutoGK : Fix in Mux
Old AutoMKV: DelayCut
StaxRip: Fix in Mux
RipBot264 (iirc): use DelayAudio

so.. all choice are correct, and no difference should be spotted on end-results

@ALL

i would like to publish the new FINAL 0.95 soon.. so please BUGS are welcome

BHH

mnerec
25th January 2008, 08:16
00:01:25 Dgindex CMD: C:\Tools\AutoMKV 0.95beta\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\Qu he hecho yo para merecer esto_1984\VTS_01_1.vob] -OF=[C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie] -exit -minimize
00:03:23 D2V file size: 717804
00:03:23 Audio 1 :movie t80 2_0ch 192kbps delay 0ms.ac3
00:03:23 Pre Audio Size: 139941888 bytes
00:03:23 Applying DelayAudio of 0 to audio file: movie t80 2_0ch 192kbps delay 0ms.ac3
00:03:23 Encoding C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie t80 2_0ch 192kbps delay 0ms.ac3 to NeroAAC with 0.50 quality
00:07:48 Encoded 1' Audio Track: -1 bytes
00:07:48 Unable to encode Audio, try piping with FFmpeg!
00:07:48 NeroAACEnc doesn't accept piping from ffmpeg, switching to LibFaac at 96kbps
00:11:22 Encoded 1' Audio Track: 53906920 bytes
00:11:25 Number of Frames: 145773
00:11:25 Framerate: 25.000000
00:11:25 Movie length in Seconds: 5831
00:11:25 Movie Width/Height: 720/576
00:11:25 DgIndex AR: 16:9
00:14:15 Source is declared tff by a margin of 52/43.
00:14:15 Advanced Deinterlace Routines Log
00:14:15 Analyzed 871 sections of five frames
00:14:15 Found Interlace Sections: 1 0.11%
00:14:15 Found Progressive Sections:870 99.89%
00:14:15 Found Telecined Sections: 0 0.00%
00:14:15 Found Zero Mov: 99.89% 870
00:14:15 Found One Mov: 0.11% 1
00:14:15 Found Two Mov: 0.00% 0
00:14:15 Found Three Mov: 0.00% 0
00:14:15 Found Four Mov: 0.00% 0
00:14:15 Found Five Mov: 0.00% 0
00:14:15 The Movie is declared to progressive
00:14:15 Starting X264
00:14:15 Command Line 1' Pass X264: C:\Tools\AutoMKV 0.95beta\exe\encoder\x264.exe --pass 1 --bitrate 2056 --stats "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 2 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-pyramid --analyse none --threads auto --thread-input --sar 1:1 --output NUL "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie.avs"
00:14:15 Command Line 2' Pass X264: C:\Tools\AutoMKV 0.95beta\exe\encoder\x264.exe --pass 2 --bitrate 2056 --stats "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 4 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads auto --thread-input --sar 1:1 --output "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie.264" "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie.avs"
01:14:02 Finished 1' Pass X264
03:41:59 X264 Final 2 Pass Encoding Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:1057 Avg QP:17.82 size: 41374
x264 [info]: slice P:64797 Avg QP:19.77 size: 15172
x264 [info]: slice B:79919 Avg QP:21.35 size: 5903
x264 [info]: mb I I16..4: 30.7% 0.0% 69.3%
x264 [info]: mb P I16..4: 11.2% 0.0% 6.2% P16..4: 36.4% 27.9% 11.8% 0.0% 0.0% skip: 6.5%
03:41:59 Only Movie Size: 1498654720 bytes
03:41:59 "C:\Tools\AutoMKV 0.95beta\exe\matroska\mkvmerge.exe" -o "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\Qu he_1984.mkv" --default-duration 0:25000/1000fps --track-name -1:"Qu he_1984" --chapters "C:\Tools\AutoMKV 0.95beta\exe\chapters.txt" "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie.264" --language -1:esp --default-track -1:yes "C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\audio1.mp4" --title "Done with AutoMKV 0.95 beta 17 http://forum.doom9.org/showthread.php?p=854221 "
03:42:00 Final Muxed size: -1 bytes
03:42:00 Encoding finished: 02:27:58 elapsed time
03:42:00 -----------------------------------------------------------------------
03:42:00 Script movie.avs
03:42:00
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\AddGrain.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\autocrop.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\aWarpSharp(Pruned).dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\blockbuster.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\cnr2.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\ColorMatrix.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\Convolution3D.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\corrector.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\DctFilter.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\Decomb.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\Deen.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\degrainmedian.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\DGDecode.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\EEDI2.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\FFMpegSource.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\FFT3DFilter.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\FluxSmooth.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\frfun7.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\hqdn3d.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\LeakKernelDeint.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\MaskTools.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\medianblur.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\MipSmooth.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\MSharpen.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\mt_masktools.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\mvtools.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\NicAudio.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\RemoveGrainS.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\RepairS.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\SangNom.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\SimpleResize.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\SoundOut.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\TBilateral.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\TDeint.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\TIVTC.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\TomsMoComp.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\TTempSmooth.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\UnDot.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\UnFilter.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\VSFilter.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\warpsharp.dll")
03:42:00 #loadpluginstart
03:42:00
03:42:00 #test1
03:42:00
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\BlindDeHalo3_mt2.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\Deblock_QED_MT2.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\HybridFuPP.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\LanczosPlus.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\Lem.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\LimitedSharpenFaster.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\MCBob_v03c.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\mvbob.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\QMlib.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\seesaw.avsi")
03:42:00 Import("C:\Tools\AutoMKV 0.95beta\exe\filter\spresso.avsi")
03:42:00 #importstart
03:42:00
03:42:00 #test2
03:42:00
03:42:00 movie = mpeg2source("C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie.d2v")
03:42:00 function getOrder(clip c) {
03:42:00 order = GetParity(c) ? 1 : 0
03:42:00 Return order }
03:42:00 #filter1start
03:42:00
03:42:00 #test3
03:42:00
03:42:00 last = movie
03:42:00 crop(0,12,-0,-12)
03:42:00 fixed_aspect = 1.854991
03:42:00 #resizestart
03:42:00
03:42:00 #test4
03:42:00
03:42:00 LanczosResize(800,432)
03:42:00 #filter2start
03:42:00
03:42:00 #test5
03:42:00
03:42:00 RemoveGrain(mode=2)
03:42:00 -----------------------------------------------------------------------
03:42:00 Script mkvmaudio.avs
03:42:00
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\NicAudio.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\SoundOut.dll")
03:42:00 LoadPlugin("C:\Tools\AutoMKV 0.95beta\exe\filter\FFmpegSource.dll")
03:42:00 NicAC3Source("C:\Users\Public\Videos\Movies\_NEEDS SUBS_Almodovar\_que_he\temp\movie t80 2_0ch 192kbps delay 0ms.ac3")
03:42:00 DelayAudio(0.0000)
03:42:00 #Applying STEREO downmixing routines
03:42:00 function stereo(clip a)
03:42:00 {
03:42:00 flr = GetChannel(a, 1, 2)
03:42:00 fcc = GetChannel(a, 3)
03:42:00 lfe = GetChannel(a, 4)
03:42:00 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
03:42:00 mix = MergeChannels(lfc, lfc)
03:42:00 lrc = MixAudio(flr, mix, 0.2929, 1.0)
03:42:00 blr = GetChannel(a, 5, 6)
03:42:00 Return MixAudio(lrc, blr, 1.0, 0.2929)
03:42:00 }
03:42:00 #
03:42:00 6==Audiochannels() ? stereo() : last
03:42:00 function addvideo(clip c) {
03:42:00 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
03:42:00 Return audiodub(last,c)
03:42:00 }
03:42:00 Normalize()
03:42:00
03:42:00 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\Tools\AutoMKV 0.95beta\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.50 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
03:42:00
03:42:00 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Tjek out this line:
00:07:48 NeroAACEnc doesn't accept piping from ffmpeg, switching to LibFaac at 96kbps

Why on earth 96kpbs? I asked for 0.5 quality (~192kbps).

I know 192 to 192kbps transcoding might be a bit silly, but this is what I asked, not some random bitrate.

Why is this?

buzzqw
25th January 2008, 08:31
@mnerec

Why on earth 96kpbs? I asked for 0.5 quality (~192kbps).

i cannot pass 0.35 as "bitrate" to libfaac... :eek:

i will try to "translate to a rational bitrate

BHH

mnerec
25th January 2008, 08:34
Here is the conversion list I use.

Its is from an audio processing program dbPowerAmp and is intended for NeroACC:

5
Quality .05 (estimated bit rate: 16 Kbps)
-q .05
Quality .15 (estimated bit rate: 32 Kbps)
-q .15
Quality .25 (estimated bit rate: 64 Kbps)
-q .25
Quality .35 (estimated bit rate: 100 Kbps)
-q .35
Quality .45 (estimated bit rate: 150 Kbps)
-q .45
Quality .5 (estimated bit rate: 170 Kbps)
-q .5
Quality .55 (estimated bit rate: 200 Kbps)
-q .55
Quality .65 (estimated bit rate: 250 Kbps)
-q .65
Quality .75 (estimated bit rate: 300 Kbps)
-q .75
Quality .85 (estimated bit rate: 350 Kbps)
-q .85
Quality .95 (estimated bit rate: 400 Kbps)
-q .95

buzzqw
25th January 2008, 09:56
@mnerec

i will use MOD16(quality*320) so 0.50=160, 0.35=112

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

i hope this will be the last beta

BHH

Honeyko
25th January 2008, 10:32
I would consider any behavior which prevents an encoded file from being moved outside of the Temp folder (or which triggers a renaming of the Temp folder) to be a bug, as it will result in destroyed encodes by succeeding queued projects.

buzzqw
25th January 2008, 10:51
I would consider any behavior which prevents an encoded file from being moved outside of the Temp folder (or which triggers a renaming of the Temp folder) to be a bug, as it will result in destroyed encodes by succeeding queued projects.

if file isn't moved it's because mux failed, and if mux fail it's because some stream is missing.

It's better to resolve problem then to walk around

BHH

mnerec
25th January 2008, 11:23
@mnerec
i will use MOD16(quality*320) so 0.50=160, 0.35=112


Hmm, in my tests Nero generates aprox. 170-175 kbps for me at 0.50, not 160kbps.

Doesn't that mean that you'll always generate lower quality than what the user expects/wants when switching encoders?

Maybe you should do a few tests with libfaac to back up your numbers? Personally I don't know how to compress with libfacc, so I can't do it for you.

buzzqw
25th January 2008, 11:39
quality is always variable ...

and since it's a failsave situation .. it's more then enough

BHH

zacoz
25th January 2008, 12:12
I've tested the latest beta and still have the same problem (http://forum.doom9.org/showthread.php?p=1087493#post1087493) as with earlier 0.95 betas. If you use original size (no resizing or croping) with a 16:9 source and output muxing AR set to Automatic then the output MKV is muxed as 5:4 - yuk :(

Is there a flaw in the formula used to calculate the automatic muxing AR when there is no cropping or resize?

Or is it simply an mathematical anomaly such that there needs to be an override in these cases so that Automatic setting simply uses the source AR.

I'll go and run some tests with a DVD source (instead of the below SD Capture) to see if the same issue occurs.

21:39:43 0.95 beta 18 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
21:39:43 OS Version: Windows XP
21:39:43 Selected Input file: D:\Capture\7 Digital 2008-01-25_213205.m2v
21:39:43 Selected Output dir: D:\Capture\temp\
21:39:43 Selected Final Name: Test
21:39:43 Selected Container type: MKV
21:39:43 Selected Encoder: X264
21:39:43 Selected Size: Unlimited File Size
21:39:43 Selected Profile: Constant_Quality.xml
21:39:43 Selected Resizer: NONE / Original
21:39:43 Selected Filters: NONE
21:39:43 Selected Deinterlacer: AUTO
21:39:43 Selected Field Order: AUTO
21:39:43 Enabled Constant Quality With Unlimited Size (Q 22)
21:39:43 Track Language 1: D:\Capture\7 Digital 2008-01-25_213205.mp2
21:39:43 Audio Codec 1: Nero AAC
21:39:43 Audio Quality 1: 0.35
21:39:43 Audio Channel 1: Stereo
21:39:43 Track Language 2: NONE
21:39:43 Audio Codec 2: Nero AAC
21:39:43 Advanced Audio Settings DUMP Track 1
21:39:43 Nero Option Profiles: AUTO --- Encoding Mode: Quality
21:39:43 CCT Option Profiles: AUTO --- Channel Options: AUTO
21:39:43 Lame Settings: ABR
21:39:43 Audio Normalization: 1
21:39:43 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
21:39:43 Selected Unlimited media size
21:39:43 Dgindex CMD: E:\AutoMKV95b\exe\dgindex\dgindex.exe -FO=0 -OM=1 -YR=2 -AIF=[D:\Capture\7 Digital 2008-01-25_213205.m2v] -OF=[D:\Capture\temp\movie] -exit -minimize
21:39:44 Encoding D:\Capture\temp\7 Digital 2008-01-25_213205.mp2 to NeroAAC with 0.35 quality
21:40:00 Encoded 1' Audio Track: 269826 bytes
21:40:03 Number of Frames: 538
21:40:03 Framerate: 25.000000
21:40:03 Movie length in Seconds: 22
21:40:03 Movie Width/Height: 720/576
21:40:03 DgIndex AR: 16:9
21:40:59 Source is declared tff by a margin of 104/0.
21:40:59 Advanced Deinterlace Routines Log
21:40:59 Analyzed 106 sections of five frames
21:40:59 Found Interlace Sections: 106 100.00%
21:40:59 Found Progressive Sections:0 0.00%
21:40:59 Found Telecined Sections: 0 0.00%
21:40:59 Found Zero Mov: 0.00% 0
21:40:59 Found One Mov: 0.00% 0
21:40:59 Found Two Mov: 0.00% 0
21:40:59 Found Three Mov: 0.00% 0
21:40:59 Found Four Mov: 0.00% 0
21:40:59 Found Five Mov: 100.00% 106
21:40:59 The Movie is declared to interlaced
21:40:59 Starting X264
21:40:59 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 1:1 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
21:41:42 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
21:41:42 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
21:41:42 Got a file of size: 8632931 bytes + audio size 269826 bytes (8902757)
21:41:42 Only Movie Size: 8632931 bytes
21:41:42 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\Test.mkv" --default-duration 0:25000/1000fps --track-name -1:"Test" --aspect-ratio 0:1.250000 "D:\Capture\temp\movie.264" --language -1:und --default-track -1:yes "D:\Capture\temp\7 Digital 2008-01-25_213205.mp4" --title "Done with AutoMKV 0.95 beta 18 http://forum.doom9.org/showthread.php?p=854221 "
21:41:42 Final Muxed size: 8909518 bytes
21:41:42 Encoding finished: 00:00:43 elapsed time
21:41:42 -----------------------------------------------------------------------
21:41:42 Script AutoCrop.log
21:41:42
21:41:42 Crop(2,4,716,572)
21:41:42 -----------------------------------------------------------------------
21:41:42 Script movie.avs
21:41:42
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\AddGrain.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\autocrop.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\aWarpSharp(Pruned).dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\blockbuster.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\cnr2.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\ColorMatrix.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\Convolution3D.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\corrector.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\DctFilter.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\Decomb.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\Deen.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\degrainmedian.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\DGDecode.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\EEDI2.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\FFMpegSource.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\FFT3DFilter.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\FluxSmooth.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\frfun7.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\hqdn3d.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\LeakKernelDeint.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\MaskTools.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\medianblur.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\MipSmooth.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\MSharpen.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\mt_masktools.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\mvtools.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\NicAudio.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\RemoveGrainS.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\RepairS.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\SangNom.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\SimpleResize.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\SoundOut.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\TBilateral.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\TDeint.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\TIVTC.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\TomsMoComp.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\TTempSmooth.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\UnDot.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\UnFilter.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\VSFilter.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\warpsharp.dll")
21:41:42 #loadpluginstart
21:41:42
21:41:42 #test1
21:41:42
21:41:42 Import("E:\AutoMKV95b\exe\filter\BlindDeHalo3_mt2.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\Deblock_QED_MT2.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\HybridFuPP.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\LanczosPlus.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\Lem.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\LimitedSharpenFaster.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\MCBob_v03c.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\mvbob.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\QMlib.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\seesaw.avsi")
21:41:42 Import("E:\AutoMKV95b\exe\filter\spresso.avsi")
21:41:42 #importstart
21:41:42
21:41:42 #test2
21:41:42
21:41:42 movie = mpeg2source("D:\Capture\temp\movie.d2v")
21:41:42 function getOrder(clip c) {
21:41:42 order = GetParity(c) ? 1 : 0
21:41:42 Return order }
21:41:42 #filter1start
21:41:42
21:41:42 #test3
21:41:42
21:41:42 movie = LeakKernelDeint(movie,order=1,sharp=true)
21:41:42 last = movie
21:41:42 fixed_aspect = 1.780186
21:41:42 out_width = 720
21:41:42 out_height = 576
21:41:42 #resizestart
21:41:42
21:41:42 #test4
21:41:42
21:41:42 #filter2start
21:41:42
21:41:42 #test5
21:41:42
21:41:42 return last
21:41:42 -----------------------------------------------------------------------
21:41:42 Script mkvmaudio.avs
21:41:42
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\NicAudio.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\SoundOut.dll")
21:41:42 LoadPlugin("E:\AutoMKV95b\exe\filter\FFmpegSource.dll")
21:41:42 NicMPG123Source("D:\Capture\temp\7 Digital 2008-01-25_213205.mp2")
21:41:42 #Applying STEREO downmixing routines
21:41:42 function stereo(clip a)
21:41:42 {
21:41:42 flr = GetChannel(a, 1, 2)
21:41:42 fcc = GetChannel(a, 3)
21:41:42 lfe = GetChannel(a, 4)
21:41:42 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
21:41:42 mix = MergeChannels(lfc, lfc)
21:41:42 lrc = MixAudio(flr, mix, 0.2929, 1.0)
21:41:42 blr = GetChannel(a, 5, 6)
21:41:42 Return MixAudio(lrc, blr, 1.0, 0.2929)
21:41:42 }
21:41:42 #
21:41:42 6==Audiochannels() ? stereo() : last
21:41:42 function addvideo(clip c) {
21:41:42 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
21:41:42 Return audiodub(last,c)
21:41:42 }
21:41:42 Normalize()
21:41:42
21:41:42 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="E:\AutoMKV95b\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
21:41:42
21:41:42 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Edit: Same result with DVD Source :(

buzzqw
25th January 2008, 12:32
I've tested the latest beta and still have the same problem as with earlier 0.95 betas. If you use original size (no resizing or croping) with a 16:9 source and output muxing AR set to Automatic then the output MKV is muxed as 5:4 - yuk

DUMB question: the AR should be 16/9*576/720 ? or 16/9 ? OR 1 ?

BHH

zacoz
25th January 2008, 14:10
Don't know if the dumb question is directed to me or not (cause I am pretty dumb on this stuff).

Thinking out loud here in layman's terms (well my terms anyway)....

The source DAR of 16/9 is within 720*576 (W*H) pixel video so I'm guessing this makes the Pixel AR 16 / 9 * 576 / 720 = 1.422222

To get the correct Display of 16/9 when playing back the final mkv there would need to be a further horizontal stretching of 1.25 (5/4) applied (1.42222 * 1.25 = 1.777778 = 16/9).

This 1.25 is what is being passed to mkvmerge as the AR when the mkv is muxed.
"E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\Test.mkv" --default-duration 0:25000/1000fps --track-name -1:"Test" --aspect-ratio 0:1.250000 "D:\Capture\temp\movie.264" --language -1:und --default-track -1:yes "D:\Capture\temp\7 Digital 2008-01-25_213205.mp4" --title "Done with AutoMKV 0.95 beta 18 http://forum.doom9.org/showthread.php?p=854221 "


On playback however I'm therefore only getting a DAR of 5/4 (1.25).

Is the encoding in 0.95betas outputing square pixels (PAR of 1.0) or pixels with a PAR of 1.422222?

If the former, then shouldn't mkvmerge be using an AR of 16/9 when muxing rather than 5/4?

If the later, then I'm not really sure myself what should be passed to mkvmerge.

Does this rambling make sense to anyone :stupid:

buzzqw
25th January 2008, 14:19
while we are arguing..

try this http://www.64k.it/andres/data/a/AutoMKV095beta18-zacoz.exe

BHH

zacoz
25th January 2008, 14:31
Actually, just been looking at the encoding line again and wondering if the issue is that the --sar 16:9 is incorrect.

"E:\AutoMKV95b\exe\encoder\x264.exe" --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 16:9 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"

The SAR for 16:9 in a 720*576 PAL video should be 1.422222 (64:45) shouldn't it? Thus --sar 64:45 should be passed to x264.exe?

Still then trying to work out what the AR passed to mkvmerge should be :confused:

zacoz
25th January 2008, 14:35
Please don't take it as arguing :(

I'm just trying to work out why the auto settings don't work in 0.95 when one doesn't crop or resize, whereas they used to work in 0.93.

I'm by no means right in all my thinking here. I've been trying to apply my own warped logic and my friend Google.

buzzqw
25th January 2008, 14:49
Hi have PM SeeMoreDigital

I hope for a bright light !

BHH

zacoz
25th January 2008, 14:49
while we are arguing..
try this http://www.64k.it/andres/data/a/AutoMKV095beta18-zacoz.exe
BHH

Wow, now that's a wide screen and the characters in my test file seem to have put on quite a bit of weight around the middle (i.e. 2.2222 DAR rather than 1.77778)

Looking at this site: http://aflux.deltaanime.net/Zero1/MP4/x264.html about 2/3rds down the page it talks about SAR and that the SAR for PAL 720 x 576 is 64:45 (1.422222) which seems to match with my fuzzy logic.

Encoder888
25th January 2008, 14:51
buzzqw:

Whenever I try to use Nero AAC for 1.0 (even though I know it's an overkill, but still) and I think for more than 0.75, my audio for some reason does not want to encode. I didn't have that problem with 0.93 and if possible, you may wanna look into that.

Also - that's not a bug, but just a suggestion. Whenever I have to encode a widescreen movie (which for me is every movie), I always have to check the "Anamorphic Encoding" option now to get the correct aspect ratio. Before, it did it automatically. You may want to have AutoMKV automatically determine if the movie is anamorphic and switch to anamorphic encoding, so people don't have to check it every time.

Also, I'm not sure what ITU resize is for... Everything works perfect for me with just Anamorphic checked... Well, I guess that falls into the questions category :))

Otherwise, great build, can't wait for the final release.

zacoz
25th January 2008, 14:57
Hi have PM SeeMoreDigital

I hope for a bright light !

BHH

Yes, SeeMoreDigital is pretty bright so there's a good chance :cool:

Hmmm, that reminds me I think I had a webpage bookmarked somewhere before my latest windows install where SeeMoreDigital explained this stuff. I think my initial reactions (due to my noobness) when trying to read it were :eek: :confused: . I think I'd take a bit more in these days though - will have look tomorrow, getting very late here (1am).

zacoz
25th January 2008, 15:32
Tried along lines of Encoder888's post of ticking Anamorphic, leaving PAR and Muxing AR at Auto, but this didn't work as ended up with SAR in x264.exe cli being 1.77778 and DAR in mkvmerge cli being 1.42222 which gave me a 1.42222 playback instead of 1.77778. Seem to be the wrong way around.

Mucked around a little more and seems that regardless of whether I set the SAR in the x264 to 1:1 or 64:45 etc it seems to come down to what Automkv passes to mkvmerge, so in the case of 720x576 PAL 16:9 source with no resize or cropping it has to be
--aspect-ratio 0:16/9
or
--aspect-ratio 0:1.777778

Here's hoping I haven't annoyed you too much tonight with this buzzqw - not my intent.

Taddeusz
25th January 2008, 15:44
This is the problem that I described above. The way I fix this is to specify the proper SAR value in "Force PAR in avs". Like your 64:45 value. It will not accept a single decimal value, it must be in x:y format. The I have to set "Force Muxing AR" to the correct aspect ratio, in your case 16:9. That seems to fix all AR issues and the final video is correct in both the MKV header and programs that read the bitstream SAR.

buzzqw
25th January 2008, 19:41
@Taddeusz

don't want to warn.. but i have just found that force mux ar don't do nothing... since it is applied on wrong stream...

just launch from dos muxing.bat..
you will see somthing about a missing stream

now , edit the muxing.bat and change --aspect-ratio 1:xxx to --aspect-ratio -1:xxx and watch again the movie

BHH

buzzqw
25th January 2008, 19:55
http://www.64k.it/andres/data/a/AutoMKV095beta18-2.exe

for anyone that want play, only changed force muxing dar and automatic dar

BHH

SeeMoreDigital
25th January 2008, 22:10
Personally I find it easier to calculate "everything" as a fraction, because converting fractions to decimals and then back to fractions "can" often produce conflicting Aspect Ratio Signalling (ARS) values.

MAR = Movie Aspect Ratio (ie: The image element of the movie. After any/all black mattes have been cropped away).

PFS = Pixel Frame Size (ie: The pixel resolution of the encode).

ARS = Aspect Ratio Signalling (ie: PAR, DAR, SAR) value.


The maths bit

If your NTSC movie has an aspect ratio of 1.33:1, then this can be represented as a fraction of 4/3. Meaning: -

MAR PFS ARS
4 480 1920 8
- x --- = ---- lowest dominator - Giving you a ARS value of 8:9 (which decimates to 0.888888)
3 720 2160 9

If your NTSC movie has an aspect ratio of 1.77:1, then this can be represented as a fraction of 16/9. Meaning: -

MAR PFS ARS
16 480 7680 32
-- x --- = ---- lowest dominator -- Giving you a ARS value of 32:27 (which decimates to 1.185185)
9 720 6480 27

If your NTSC movie has an aspect ratio of 1.85:1, then this can be represented as a fraction of 37/20. Meaning: -

MAR PFS ARS
37 480 17760 37
-- x --- = ----- lowest dominator -- Giving you a ARS value of 37:30 (which decimates to 1.233333)
20 720 14400 30

If your NTSC movie has an aspect ratio of 2.35:1, then this can be represented as a fraction of 47/20. Meaning: -

MAR PFS ARS
47 480 22560 47
-- x --- = ----- lowest dominator -- Giving you a ARS value of 47:30 (which decimates to 1.566666)
20 720 14400 30

If your NTSC movie has an aspect ratio of 2.40:1, then this can be represented as a fraction of 12/5. Meaning: -

MAR PFS ARS
12 480 5760 8
-- x --- = ---- lowest dominator - Giving you a ARS value of 8:5 (which decimates to 1.6)
5 720 3600 5

If your PAL movie has an aspect ratio of 1.33:1, then this can be represented as a fraction of 4/3. Meaning: -

MAR PFS ARS
4 576 2304 16
- x --- = ---- lowest dominator -- Giving you a ARS value of 16:15 (which decimates to 1.066666)
3 720 2160 15

If your PAL movie has an aspect ratio of 1.77:1, then this can be represented as a fraction of 16/9. Meaning: -

MAR PFS ARS
16 576 9216 64
-- x --- = ---- lowest dominator -- Giving you a ARS value of 64:45 (which decimates to 1.422222)
9 720 6480 45

If your PAL movie has an aspect ratio of 1.85:1, then this can be represented as a fraction of 37/20. Meaning: -

MAR PFS ARS
37 576 21312 37
-- x --- = ----- lowest dominator -- Giving you a ARS value of 37:25 (which decimates to 1.48)
20 720 14400 25

If your PAL movie has an aspect ratio of 2.35:1, then this can be represented as a fraction of 47/20. Meaning: -

MAR PFS ARS
47 576 22072 47
-- x --- = ----- lowest dominator -- Giving you a ARS value of 47:25 (which decimates to 1.88)
20 720 14400 25

If your PAL movie has an aspect ratio of 2.40:1, then this can be represented as a fraction of 12/5. Meaning: -

MAR PFS ARS
12 576 6712 48
-- x --- = ---- lowest dominator -- Giving you a ARS value of 8:5 (which decimates to 1.92)
5 720 3600 25

While the above information is useful for calculating the ARS values of movies with popular MAR's (ie: 4:3, 16:9, 1.85:1, 2.35:1, 2.40:1 etc, etc). We know from bitter experience that these MAR's are, at best, only approximations!


The Good News

Fortunately for us, AutoMKV is able to work out the movies original aspect ratio as a decimal (see "#test3" in the log). And this decimal value can be used together with the encoded pixel frame size to determine the required ARS value.

Indeed in post #226 I wrote: - Hi Buzz,

I've been looking at the log reports and I'm curious to understand how the following "red highlighted" bit is worked out mathematically?
17:14:52 #test3
17:14:52
17:14:52 last=movie.Crop(30,86,656,412)
17:14:52 fixed_aspect = 2.264410
17:14:52 out_width = 656
17:14:52 out_height = 288
17:14:52 #resizestartHowever it's worked out, the resulting "fixed aspect ratio" appears to be very accurate!

Now, a while ago I conceived a little application that can work out the ARS value for movies displayed at any movie aspect ratio and encoded at any pixel frame size. The application is called the ARS Calculator. Unfortunately, it requires .NET to run, so it can't be used in-conjunction with AutoMKV... Putting that aside for a bit. It would work like this: -

http://i29.tinypic.com/2w2g6ya.png

The resulting ARS value can then be entered into the "Force PAR in AVS" box.


The Not So Good News

I've been tinkering with AutoMKV's many input settings and have found that it's possible to confuse the "fixed_aspect" calculations. For example: -

If I select the following: -

Resize Filters: Simple Resize (Neutral Soft)
Set Width Resolution: Auto Crop Only

.... I obtain the movies correct "fixed_aspect".

However, if I select the following: -

Resize Filters: Simple Resize (Neutral Soft)
Set Width Resolution: Auto Crop Only
Anamorphic Encoding: Checked

Or: -

Resize Filters: Simple Resize (Neutral Soft)
Set Width Resolution: Auto Crop Only
Force ITU Resize: Checked

.... I obtain the movies wrong correct "fixed_aspect".

That's all for now guys.... ;)


Cheers

Honeyko
25th January 2008, 22:25
I would consider any behavior which prevents an encoded file from being moved outside of the Temp folder (or which triggers a renaming of the Temp folder) to be a bug, as it will result in destroyed encodes by succeeding queued projects.if file isn't moved it's because mux failed, and if mux fail it's because some stream is missing. It's better to resolve problem then to walk aroundIf the "problem" involves FFmpeg kicking because the user chose a non-MOD16 crop/resize, or because his 45mb audio puked, that's no reason to lose a perfectly good 1gb video file when the next queued project empties the Temp folder. -- I suppose I could keep "Don't Mux" checked permanently, but that would be annoying.

Suggestion: Any error resulting in no mux when the user desires a mux (because he does not have "Don't Mux" checked), would flag "Don't Mux" on a one-time basis in order to preserve the work done so far.

buzzqw
25th January 2008, 22:26
However, if I select the following: -

Resize Filters: Simple Resize (Neutral Soft)
Set Width Resolution: Auto Crop Only
Anamorphic Encoding: Checked

i must admit i have based my calculation on megui project (thinking that was correct)

so.. on case of "Anamorphic Encoding: Checked" the fixed_aspect value on script how must be computed ?


When "Anamorphic Encoding: NOT Checked" i use
fixed_aspect=itu*AR*(cropped_width/total_width)/(cropped_height/total_height))

When "Anamorphic Encoding: IS Checked" i use
fixed_aspect=(cropped_width/cropped_height)
so no computing ITU or AR. if movie isn't cropped cropped_width=total _width and cropped_height=total_height

Wrong ? :confused:

Resize Filters: Simple Resize (Neutral Soft)
Set Width Resolution: Auto Crop Only
Force ITU Resize: Checked

.... I obtain the movies wrong correct "fixed_aspect".

isn't ITU=53.33333/52 (for PAL) and 1.02536086 for NTSC ?

so is above math correct ?... :confused:

:thanks:!

BHH

GenjyoSanzo
25th January 2008, 23:40
I have tested beta's 5-8 & 15-17; here is what I have found:

Direct Show Source:
Works in beta's 5-8; doesn't work with beta 15 or higher.
I don't have any beta's between 8-15 to test.
It doesn't matter if I use a vob and select to use DSS for video, or if I just use a mkv, same results:
AutoMKV will just sit there with about 30%-40% cpu usage on my dual core.


14:12:14 0.95 beta 17 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
14:12:14 OS Version: Windows XP
14:12:14 Selected Input file: D:\test.VOB
14:12:14 Selected Output dir: D:\temp\
14:12:14 Selected Final Name: test
14:12:14 Selected Container type: MKV
14:12:14 Selected Encoder: X264
14:12:14 Selected Size: Unlimited File Size
14:12:14 Selected Profile: Constant_Quality.xml
14:12:14 Selected Resizer: SimpleResize (neutral soft) / 704
14:12:14 Selected Filters: NONE
14:12:14 Selected Deinterlacer: AUTO
14:12:14 Selected Field Order: AUTO
14:12:14 Enabled Constant Quality With Unlimited Size (Q 17)
14:12:14 Using Matrix: M4G_High_Detail_V3.1.cfg
14:12:14 Track Language 1: NONE
14:12:14 Audio Codec 1: Nero AAC
14:12:14 Track Language 2: NONE
14:12:14 Audio Codec 2: Nero AAC
14:12:14 Enabled Use DirectShowSource for AUDIO and VIDEO
14:12:14



Autocropping + QMTrim:
All tested beta's will work with "light_all_around_denoise",
they all fail with "anime_denoise", "aggressive_all_around_denoise", & "aggressive_all_around_slow_denoise"
I have not tested any of the other scripts.
After x264 fails it will then fail back onto ffmpeg.


Evaluate: System exception - Access Violation (D:\Temp\movie.avs line 89)


The last line in the following is line 89:


#test3

movie = tfm(movie,d2v="D:\temp\movie.d2v").tdecimate()
last=movie.Crop(6,0,712,480)
fixed_aspect = 1.318485
out_width = 712
out_height = 544
#resizestart

#test4

#filter2start

#test5

C0 = Spline36Resize(out_width,out_height).deen("c3d",1,1,2,2)
C1 = BicubicResize(out_width,out_height,0,0.75).deen("c3d",1,3,3,2)
C2 = BicubicResize(out_width,out_height,0,0.50).deen("c3d",1,3,4,2)
C3 = BicubicResize(out_width,out_height,0.333,0.333).deen("c3d",1,4,4,2)
C4 = BicubicResize(out_width,out_height,0.333,0.1775).deen("c3d",1,4,5,1)
C5 = BicubicResize(out_width,out_height,0.38,0).deen("c3d",1,5,5,1)
C6 = BicubicResize(out_width,out_height,0.5402,0).deen("c3d",1,5,6,1).DCTFilter(1,1,1,1,1,1,1,.5)


Dirty work around is to manually set width resolution to something MOD16 in GUI before encoding, or manually edit out_width in movie.avs to something MOD16.


Autocropping + Threshold:
The default threshold of 34 is good enough for most movie's + shows, but it is not good enough for everything.
In previous versions up to version 0.93, I could set "Pause before encoding" and manually change the threshold value to something as high as 90 in the movie.avs file for the material that needed a significantly higher threshold to remove the black bars on the sides, mainly on the right. While this work around was annoying, at least it was there. Now with 0.95 and your new internal use of autocrop this is not possible. Also in versions before 0.95, with AutoCrop Only, if you had a source material that needed multiple values of cropping; as in one scene needed a value of x, but another scene would need a value of y, I could get Autocrop to work correctly if I changed the sample rate & threshold rate depending on the source before letting x264.exe do it's thing.

Suggestion:
In the "Advanced Settings" tab, have a drop down box to be able to change autocrop threshold & sample rate. This would be great for queued jobs since I would not have to manually change each show's job.


Thank you for making a great program.

survivant001
26th January 2008, 02:23
@survivant001



the audio is "cutted" at muxing or is encoded only from frame 0 to XXX ?


exactly.. 0->totalframecount

buzzqw
26th January 2008, 08:33
@GenjyoSanzo

First of all Welcome to the Forum!

and thanks for your suggestion and bugs

Direct Show Source:

fixed

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

Autocropping + QMTrim:
deen want a compulsory mod16 width... and only deen
as you see the height is mod16 (i force it to mod16).. but te width on case of autocrop only is mod4 ...

i will try to solve

Autocropping + Threshold:
i added the possibility to use only Manual Crop without specifing the width/height

for difficult autocrop i suggest to use the manual way

@survivant001

exactly.. 0->totalframecount
... i don't know .. in a TFM/Decimate situation..

but. i'll try

BHH

zacoz
26th January 2008, 09:17
Done some comparisons (source as noted below) selecting specific width (e.g. 640), AutoCrop Only, and Original, all with and without Anamorphic selected. AutoMKV seems to handle then all fine (visually) except for when Original width is selected.

When Original is selected, this is enforcing the same width AND height. That's fine.
This being the case if the original detected Display Aspect Ratio is greater than the Original Width / Original Height then the video is anamorphic (as mentioned by Encoder888 (http://forum.doom9.org/showthread.php?p=1091885#post1091885) AutoMKV should treat is as Anamorphic in such cases even if advanced option hasn't been ticked)
As the original width and height are both being retained, then the Muxing AR used in mkvmerge should be the detected Display Aspect Ratio of the original file.
Working backwards then, the SAR should be DAR / Width * Height.

Strangely, if I use an anamorphic PAL 720*576 16:9 source video that has no black bars and process using Autocrop Only and Anamorphic ticked then AutoMKV calculates a fixed_aspect = 1.251748 and uses a SAR of 1.4321678 and Muxing AR of 1.780186 and I get a PAL 716*576 16:9 output video. Perfect :)
17:34:43 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 14321678:10000000 --output
...
"D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
17:35:23 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\7 Digital 2008-01-25_213205.mkv" --default-duration 0:25000/1000fps --track-name -1:"7 Digital 2008-01-25_213205" --aspect-ratio 0:1.780186 "D:\Capture\temp\movie.264" --title "Done with AutoMKV 0.95 beta 18 http://forum.doom9.org/showthread.php?p=854221 "
...
17:35:23 last=movie.Crop(2,4,716,572)
17:35:23 fixed_aspect = 1.251748
17:35:23 out_width = 716
17:35:23 out_height = 576

If I process the same video using Original (width & height) and Anamorphic ticked then AutoMKV calculates a fixed_aspect = 1.251748 (same as above) but uses a SAR of 1.7777778 and Muxing AR of 1.422222 and I get a PAL 720*576 5:4 output video. Very Bad :mad:

18:26:40 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 17777778:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
...
18:27:27 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\7 Digital 2008-01-25_213205.mkv" --default-duration 0:25000/1000fps --track-name -1:"7 Digital 2008-01-25_213205" --aspect-ratio 0:1.422222 "D:\Capture\temp\movie.264" --title "Done with AutoMKV 0.95 beta 18 http://forum.doom9.org/showthread.php?p=854221 "
...
18:27:27 last = movie
18:27:27 fixed_aspect = 1.251748
18:27:27 out_width = 720
18:27:27 out_height = 576


So when using Original it's coming up with wildly different SAR & Muxing AR values for a video that is essentially the same (4 pixels width difference).

So it's not the fixed_aspect calculation that seems to be an issue but the calculation of the SAR & Muxing AR values when Original is chosen.

Is there a variable used in the calculation of SAR & Muxing AR that is not set right when Original is selected?

Getting closer to source of the problem I think (hope).

buzzqw
26th January 2008, 14:02
yes...i hope we are getting very close

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

the --sar should be fixed and the muxing part.. i have many doubt.. but i hope i have understud varius reading

BHH

valnar
26th January 2008, 14:54
Something is wrong with beta20 and automatic width resolution. This may have happened for a few betas - I don't know. The resulting video is very choppy in MPC and looks terrible. Perhaps all this perfectionism in math is hurting compatibility? (I'm not an expert in AR, but unless anamorphic is ticked, I like the idea of keeping PAR 1:1)

Here are the avinaptic results between beta10 and beta20 with an NTSC 2.35 MAR movie.

Beta 10 - plays okay

[ About file ]

Name: Leon_b10_automatic.mkv
Date: 26/01/2008 09:20:42
Size: 8,050,553 bytes (7.678 MB)

[ Generic infos ]

Play duration: 00:01:14 (74.144 s)
Container type: matroska
Creation time: 26/01/2008 14:20:41 UTC
Number of streams: 2
Type of stream nr. 1: video (V_MPEG4/ISO/AVC) {Leon_automatic}
Type of stream nr. 2: audio (A_AC3)
Audio streams: 1
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07

[ Relevant data ]

Resolution: 704 x 304
Width: multiple of 32
Height: multiple of 16

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 704 x 304
Frame aspect ratio: 44:19 = 2.315789
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 44:19 = 2.315789
Framerate: 23.976024 fps

[ Audio track ]

Codec ID: A_AC3
Channels (container): 2
Sample rate: 48000 Hz
Mode: dolby

[ About H.264 encoding ]

User data: x264
User data: core 57 svn-714
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2005
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=3
User data: deblock=1:-2:-1
User data: analyse=0x3:0x113
User data: me=umh
User data: subme=6
User data: brdo=1
User data: mixed_ref=1
User data: me_range=12
User data: chroma_me=1
User data: trellis=1
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=0
User data: threads=1
User data: nr=0
User data: decimate=0
User data: mbaff=0
User data: bframes=3
User data: b_pyramid=0
User data: b_adapt=1
User data: b_bias=0
User data: direct=3
User data: wpredb=1
User data: bime=1
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=crf
User data: crf=20.0
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=0.60
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: ip_ratio=1.40
User data: pb_ratio=1.30
SPS id: 0
Profile: High@L3.1
Num ref frames: 4
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CABAC
Weighted prediction: No
Weighted bipred idc: B slices - implicit weighted prediction
8x8dct: Yes

[ Profile compliancy ]

Profile to check: Home Theater NTSC
Resolution: Ok
Framerate: 23.976024 <> 30
Warning: If you need a more complete report, then click on "DRF analysis"

This report was created by AVInaptic (18-11-2007) on 26 gen 2008, h 09:48:32


Beta 20 - plays choppy

[ About file ]

Name: Leon_b20_automatic.mkv
Date: 26/01/2008 09:33:35
Size: 5,946,998 bytes (5.671 MB)

[ Generic infos ]

Play duration: 00:01:14 (74.144 s)
Container type: matroska
Creation time: 26/01/2008 14:33:35 UTC
Number of streams: 2
Type of stream nr. 1: video (V_MPEG4/ISO/AVC) {Leon_b20_automatic}
Type of stream nr. 2: audio (A_AC3)
Audio streams: 1
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07

[ Relevant data ]

Resolution: 640 x 368
Width: multiple of 32
Height: multiple of 16

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 640 x 368
Frame aspect ratio: 40:23 = 1.739130
Pixel aspect ratio: 368:427 = 0.861826
Display aspect ratio: 640:427 = 1.498829
Framerate: 29.970000 fps

[ Audio track ]

Codec ID: A_AC3
Channels (container): 2
Sample rate: 48000 Hz
Mode: dolby

[ About H.264 encoding ]

SPS id: 0
Profile: Main@L5.1
Num ref frames: 2
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CAVLC
Weighted prediction: No
Weighted bipred idc: No
8x8dct: No

[ Profile compliancy ]

Profile to check: Home Theater NTSC
Resolution: Ok
Framerate: Ok
Warning: If you need a more complete report, then click on "DRF analysis"

This report was created by AVInaptic (18-11-2007) on 26 gen 2008, h 09:48:25


On an unrelated note, I specified Profile: High@L3.1 in both, but only beta 10 did that. Beta 20 was totally messed up, and the avinaptic report didn't even show my x264 parameters.

-Robert

buzzqw
26th January 2008, 15:20
just tryed with beta20... don't get any issue :confused:

i tested automatic width and ANAMORPHIC NOT CHECKED

and got this from avinaptic


[ About file ]

Name: 1201364332__aaa.mkv
Date: 26/01/2008 16:18:52
Size: 1,056,064 bytes (1.007 MB)

[ Generic infos ]

Play duration: 00:00:13 (12.6 s)
Container type: matroska
Creation time: 26/01/2008 15:18:52 UTC
Number of streams: 2
Type of stream nr. 1: video (V_MPEG4/ISO/AVC) {_aaa}
Type of stream nr. 2: audio (A_AAC (AAC Low complexity))
Audio streams: 1
Muxing Application: libebml v0.7.7 + libmatroska v0.8.1
Writing Application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07

[ Relevant data ]

Resolution: 688 x 288
Width: multiple of 16
Height: multiple of 32

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 688 x 288
Frame aspect ratio: 43:18 = 2.388888
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 43:18 = 2.388888
Framerate: 25 fps


last=movie.Crop(0,72,720,432)
fixed_aspect = 2.370267
out_width = 688
out_height = 288
#resizestart

may i suggest to close automkv and retry ?

BHH

zacoz
26th January 2008, 15:22
Test with beta 20

Source: ..................... 720 * 576 with DAR 16:9
Set Width Resolution: ... Original
Anamorphic Encoding: ... Selected
Force PAR in avs: ......... Auto
Force Muxing DAR: ........ Automatic

fixed_aspect = 1.251748
SAR ............. 1.4222222 Good!
Muxing DAR ... 1.422222 Not Good (should be 1.777778)

Resulting Output Video: ...... 720 * 576 with DAR 5:4 Not Good (should be 16:9)

00:20:19 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 14222222:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
...
00:21:00 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\beta20 1.mkv" --default-duration 0:25000/1000fps --track-name -1:"beta20 1" --aspect-ratio -1:1.422222 "D:\Capture\temp\movie.264" --title "Done with AutoMKV 0.95 beta 20 http://forum.doom9.org/showthread.php?p=854221 "
...
00:21:01 #test3
00:21:01
00:21:01 movie = LeakKernelDeint(movie,order=1,sharp=true)
00:21:01 last = movie
00:21:01 fixed_aspect = 1.251748
00:21:01 out_width = 720
00:21:01 out_height = 576


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

Now I thought what if I test using Manual crop values of 0 - this should be exactly the same as using Original. But it's not. :confused: Using manual crop of 0 both the SAR and the Muxing DAR are correct.

Source: .............................. 720 * 576 with DAR 16:9
Set Width Resolution: ............ 720
Manual Crop: ....................... Selected
Top/Bottom/Left/Right CROP: .. 0
Anamorphic Encoding: ............ Selected
Force PAR in avs: ................. Auto
Force Muxing DAR: ................ Automatic

fixed_aspect = 1.251748
SAR .............. 1.4222222 Good!
Muxing DAR .... 1.777778 Good!

Resulting Output Video: ......... 720 * 576 with DAR 16:9 Good!


00:28:56 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 14222222:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
...
00:29:42 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\beta20 autocrop an.mkv" --default-duration 0:25000/1000fps --track-name -1:"beta20 autocrop an" --aspect-ratio -1:1.777778 "D:\Capture\temp\movie.264" --title "Done with AutoMKV 0.95 beta 20 http://forum.doom9.org/showthread.php?p=854221 "
...
00:29:42 #test3
00:29:42
00:29:42 movie = LeakKernelDeint(movie,order=1,sharp=true)
00:29:42 last = movie
00:29:42 crop(0,0,-0,-0)
00:29:42 fixed_aspect = 1.250000
00:29:42 out_width = 720
00:29:42 out_height = 576


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

Just to be sure what was happening by just setting 720 width and 0 crop I also ran a test using Automatic width and explicitly setting the width and height.

Source: ................................ 720 * 576 with DAR 16:9
Set Width Resolution: ............. Automatic (greyed out after selecting Use Manual Crop/Resize though)
Use Manual Crop/Resize: ......... Selected
Manual Crop: ........................ Selected
Top/Bottom/Left/Right CROP: .. 0
Specify Width/Height: ............ 720 x 576
Anamorphic Encoding: ........... Selected
Force PAR in avs: ................. Auto
Force Muxing DAR: ............... Automatic

fixed_aspect = 1.251748
SAR .............. 1.4222222 Good!
Muxing DAR .... 1.777778 Good!

Resulting Output Video: ...... 720 * 576 with DAR 16:9 Good!


00:59:49 CRF encoding X264: E:\AutoMKV95b\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\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 --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 14222222:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
...
01:00:35 "E:\AutoMKV95b\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\beta20 720 576 man crop0 an.mkv" --default-duration 0:25000/1000fps --track-name -1:"beta20 720 576 man crop0 an" --aspect-ratio -1:1.777778 "D:\Capture\temp\movie.264" --title "Done with AutoMKV 0.95 beta 20 http://forum.doom9.org/showthread.php?p=854221 "
...
01:00:36 #test3
01:00:36
01:00:36 movie = LeakKernelDeint(movie,order=1,sharp=true)
01:00:36 last = movie
01:00:36 crop(0,0,-0,-0)
01:00:36 fixed_aspect = 1.250000
01:00:36 #resizestart
01:00:36
01:00:36 #test4
01:00:36
01:00:36 SimpleResize(720,576)


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

So why should asking for an "Original" output width and height (which are 720 * 576) give a different (incorrect) result than asking for a 720 * 576 output (which is the original width and height)?

buzzqw
26th January 2008, 15:39
@zacoz

... i think you found the key

i checked the code and found an old hugly hack from early beta

maybe this is the last one... (figer crossed)

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

:thanks:

BHH

zacoz
26th January 2008, 15:51
You're the Man ! :thanks:

"Original" width selection is now producing correct 16:9 output.

Sorry it took me so many posts to get around to the root of the issue....it's been quite a learning experience.

I'll go run some tests on other width selections just to be thorough.

buzzqw
26th January 2008, 15:57
Thanks Zacoz!

many general usage test must be done, but if these issues (about anamorphic/original) are resolved.. well it's a goood work!

thanks again zacoz and valnar!

BHH

valnar
26th January 2008, 16:14
just tryed with beta20... don't get any issue :confused:

i tested automatic width and ANAMORPHIC NOT CHECKED


@buzzhq

OK, I tried automatic with the 2_Pass_Balanced preset and it worked fine, but i never use that.
[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 704 x 304
Frame aspect ratio: 44:19 = 2.315789
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 44:19 = 2.315789
Framerate: 23.976024 fps

When I used my own custom preset, it does not work. It used to..
[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 640 x 368
Frame aspect ratio: 40:23 = 1.739130
Pixel aspect ratio: 368:427 = 0.861826
Display aspect ratio: 640:427 = 1.498829
Framerate: 29.970000 fps

Here is the XML preset I use for DVD's (CQ and H@L3.1)
<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>_CQ_Robert_Q2_eq(crf)</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>9</EncodingMode>
<BitrateQuantizer>18</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>1</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<NoDCTDecimate>true</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>3</NbRefFrames>
<AlphaDeblock>-2</AlphaDeblock>
<BetaDeblock>-1</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>14000</VBVMaxBitrate>
<METype>2</METype>
<MERange>12</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>3.1</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>false</BFramePyramid>
<BRDO>true</BRDO>
<biME>true</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>false</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<Width>false</Width>
<Sar>false</Sar>
<aq-strength>false</aq-strength>
<aq-sensitivity>false</aq-sensitivity>
<deadzone-inter>false</deadzone-inter>
<deadzone-intra>false</deadzone-intra>
<fpel-cmp>false</fpel-cmp>
<me-prepass>false</me-prepass>
<SSIMCalculation>true</SSIMCalculation>
<Interlaced>false</Interlaced>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>

-Robert

Edit: this is beta 20. I didn't try beta 21 yet.

zacoz
26th January 2008, 16:16
BTW, have you had opportunity to think on Encoder888's suggestion to automatically set Anamorphic flag where Source is Anamorphic and "Original" width is selected?

As it presently stands if you use an Anamorphic Source and select "Original" but don't go to Advanced to select Anamorphic you'll end up with a 5:4 encode. I can't think of any reason why a user would want this to occur. It also has potential to trip up quite a few new users who don't venture near the Advanced tab (as is normally suggested to them here in the forum until they know what they're doing).

An approach I might suggest is to not try to test for this during setup rather adjust it as part of the processing:

1. User clicks Start Encoding
2. Analysis phase established DAR of source material
3. Test if "Original" has been selected for output width go to step 4 (otherwise step 7)
4. If source DAR > source width / source height then go to step 5 (otherwise step 7)
5. Enter line into log indicating "Anamorphic source identified and Original width selected therefore Anamorphic encoding activated"
6. Silently (i.e. don't change GUI) set Anamorphic Encoding to true
7. Continue processing as normal

buzzqw
26th January 2008, 16:27
@valnar

quick dumb question.. why using a crf profile AND automatic width ?

@zacoz

As it presently stands if you use an Anamorphic Source and select "Original" but don't go to Advanced to select Anamorphic you'll end up with a 5:4 encode. I can't think of any reason why a user would want this to occur

old 4/3 tv ?

1. User clicks Start Encoding
2. Analysis phase established DAR of source material
3. Test if "Original" has been selected for output width go to step 4 (otherwise step 7)
4. If source DAR > source width / source height then go to step 5 (otherwise step 7)
5. Enter line into log indicating "Anamorphic source identified and Original width selected therefore Anamorphic encoding activated"
6. Silently (i.e. don't change GUI) set Anamorphic Encoding to true
7. Continue processing as normal

... don't know.. i mean i thing it's good.. but... don't know..

should be "erroneus" full 720*576(or 480) at 5:4 ?

"must" be every 16/9 full resolution encoded at anamorphic ?

don't know.. sorry .. i will look around

BHH

valnar
26th January 2008, 16:43
BTW, have you had opportunity to think on Encoder888's suggestion to automatically set Anamorphic flag where Source is Anamorphic and "Original" width is selected?

As it presently stands if you use an Anamorphic Source and select "Original" but don't go to Advanced to select Anamorphic you'll end up with a 5:4 encode. I can't think of any reason why a user would want this to occur.
I agree.


@buzzhq
quick dumb question.. why using a crf profile AND automatic width ?

You're right. No reason except that I'm just testing. But I think I found the problem. When I select my custom profile, it resets the width to original and resize filter to NONE (why?). When I change it back to Automatic, I did not also change the resize away from NONE. It also seems to force ffmpeg when I choose this combination. My fault... but it would nice if AutoMKV prevented such stupidity.

-Robert

Honeyko
26th January 2008, 22:55
BTW, have you had opportunity to think on Encoder888's suggestion to automatically set Anamorphic flag where Source is Anamorphic and "Original" width is selected?

As it presently stands if you use an Anamorphic Source and select "Original" but don't go to Advanced to select Anamorphic you'll end up with a 5:4 encode.

Well, we don't the 5:4 encodes, but it shouldn't be automatically assumed that the user is looking for an anamorphic 720x576 PAR file if he selects "Original" width. He might be looking for smaller 720x400 file-size, particularly if he doesn't have "Don't Care" chosen for file-size.

(Something I'd like to see one of these days is a "checklist" that would pop up when you Start Encoding or Add to Queue which details everything that will happen to the file in terms of PAR and DAR. The user can then immediately see if anything is screwed up, or if he doesn't like way one axis is rounding to MOD16.)

Honeyko
27th January 2008, 03:03
b21 BUG:

Problems remain with the Start buttons.

1. "Start Encoding" a project
2. "Add to Queue" button grays out; "Start Encoding" remains clickable
3. click "Start Encoding" again

....and a second project begins, using the same Temp folder, while the first is still in progress, causing file loss and eventually a crash of AutoMKV (and the encoder may continue running, hidden, until terminated with the Task Manager).

Suggestion: ALL encodes are shunted through a Queue list (i.e., Start Encoding will just set up a single queued item, then start it. If there are already items in the Queue list, a pop up will inform the user).

==//==

BUG: ...the Add to Queue button appears to be permanently grayed...at least I haven't seen it enabled yet it b21.

Honeyko
27th January 2008, 03:33
Suggestion: Accept (and encode properly without "rounding up" or having the encoder halt or crash) odd-numbered crops values if they come in dimensional pairs -- top and bottom are both odd, for example.

(I'm not certain how this would be done....adding a "fake" padding line to either side prior to cropping...?)

zacoz
27th January 2008, 07:47
Well, we don't the 5:4 encodes, but it shouldn't be automatically assumed that the user is looking for an anamorphic 720x576 PAR file if he selects "Original" width. He might be looking for smaller 720x400 file-size, particularly if he doesn't have "Don't Care" chosen for file-size.

If you select "Original" in the width dropdown though you are actually enforcing original width AND HEIGHT. If you want a 720x400 pixel size then you must select either width "720" or width "Autocrop" (and not have ticked Anamorphic of course).

Below is a post I wrote last night but couldn't post due to server database errors. Take from it what you will in light of other posts since:


old 4/3 tv ?

But 5:4 isn't right for an old 4:3 TV anyway is it? As it stands you would end up with your image all squashed horizontally, instead of having a correctly proportioned image which the TV would display either with black bars top and bottom or by chopping off the left and right sides. The 4:3 TV would be doing one of these to the original source too.

"must" be every 16/9 full resolution encoded at anamorphic ?

My understanding is that a video is anamorphic if the ratio of the physical display width to it's physical display height is greater than the ratio of it's pixel width to it's pixel height. I.e. for it to display the picture in the correct proportions it has to be stretched horizontally (or squashed vertically).
Of course if you resize it so that the pixel width/height ratio equals the display width/height then it's not anamorphic.
So this issue is very specifically linked only to where the source is anamorphic and there is no change being made to width and height (original selected for width).

don't know.. sorry .. i will look around
BHH
I'm hoping some others here can provide some input to the discussion too as I'm looking at all this on the basis of what goes in and what comes out and whether it displays correctly by default. I'll be the first to admit I don't understand the intricacies and may still be overlooking a genuine reason for not forcing anamorphic in these cases.

Honeyko
27th January 2008, 09:33
"must" be every 16/9 full resolution encoded at anamorphic?My understanding is that a video is anamorphic if the ratio of the physical display width to it's physical display height is greater than the ratio of it's pixel width to it's pixel height. I.e. for it to display the picture in the correct proportions it has to be stretched horizontally (or squashed vertically).

A non-16x9 example is an NTSC DVD of a cartoon series encoded at 720x480, and which displays at 720x540 for proper 4x3. (In this case the vertical is squashed).

buzzqw
27th January 2008, 10:42
@Honeyko

Problems remain with the Start buttons.

Fixed

Suggestion: Accept (and encode properly without "rounding up" or having the encoder halt or crash) odd-numbered crops values if they come in dimensional pairs -- top and bottom are both odd, for example.

i added a nice (i hope) coloring system on manual crop, and now added a colered check on manual width and height values

i hope it's enough, since i don't want to change manual values users inserted

@ALL

about all forcing and not forcing anamorphic hype around, i will leave as is.
I will just add on statusbar a suggestion, on case of no resize/no crop, of checking anamorphic encoding.

OK?

also.. some test must be done even on mp4 container... ;)

BHH

SeeMoreDigital
27th January 2008, 11:10
@ALL

about all forcing and not forcing anamorphic hype around, i will leave as is.
I will just add on statusbar a suggestion, on case of no resize/no crop, of checking anamorphic encoding.

BHH Hi Buzz,

I'll take a more detailed look at this over the next few days and come up with some suggestions ;)

buzzqw
27th January 2008, 11:42
@SeeMoreDigital

:thanks:

my knowledge isn't enough, i have best hope on you!

and.. btw use the latest beta (now 21)

thanks again SeeMoreDigital!

BHH

Honeyko
27th January 2008, 12:03
Suggestion: Accept (and encode properly without "rounding up" or having the encoder halt or crash) odd-numbered crops values if they come in dimensional pairs -- top and bottom are both odd, for example.i added a nice (i hope) coloring system on manual crop, and now added a colered check on manual width and height values
I did see those (thanks), but that wasn't what I was getting at.

Grossly simplified example: Let's say you have a video which is 30 pixels wide and 20 pixels high, with a letterboxed image that is height 10. However, the top and bottom crop values to get the 10 are Top=9 and Bottom=11.....if they're rounded to Top=10 and Bottom=12 to eliminate all the black, then the image has lost two good rows of pixels and is now only height 8. If the crop values at 8 and 10, then the image is height 12 with slivers of black.

In other words, if there was a way to "shift" the image (or add lines of "padding" prior to cropping to rounded up values) in the case of Top=odd and Bottom=odd (or right and left both odd), it'd be a welcome solution to something that's been annoying me for a long time. (True Video Converter has an add-padding function, but I don't know if any encoder or converter exploits padding to "even up" odd cropping values.)

delacroixp
27th January 2008, 17:12
In other words, if there was a way to "shift" the image (or add lines of "padding" prior to cropping to rounded up values)
in the case of Top=odd and Bottom=odd (or right and left both odd), it'd be a welcome solution to something that's been annoying me for a long time.
(True Video Converter has an add-padding function, but I don't know if any encoder or converter exploits padding to "even up" odd cropping values.)
Add padding does sound like a messy solution to a simple problem.
Perhaps you should speak to akupenguin (http://forum.doom9.org/showthread.php?p=1090726#post1090726) for a little more background information as to what's possible and what's not !


:):devil::D
Pascal

zacoz
27th January 2008, 18:51
@ALL
about all forcing and not forcing anamorphic hype around, i will leave as is.
I will just add on statusbar a suggestion, on case of no resize/no crop, of checking anamorphic encoding.
OK?
Roger Chief.

also.. some test must be done even on mp4 container... ;)

mp4 .... never heard of it :devil:

Honeyko
27th January 2008, 21:06
BUG

If there are two or more open instances of AutoMKV, there's a possibility that they'll try to use the same Temp folder (leading to inevitable disaster).

(Preventing multiple instances isn't necessarily the ideal solution, however.)

valnar
27th January 2008, 21:10
BUG

If there are two or more open instances of AutoMKV, there's a possibility that they'll try to use the same Temp folder (leading to inevitable disaster).

(Preventing multiple instances isn't necessarily the ideal solution, however.)

That's not a bug. Just specify two different folders!

Honeyko
27th January 2008, 22:41
Right. But it's easy to screw up if you have a couple instances open, and one of them is minimized. (E.g., "Buzz has a new beta out; I'm gonna test it!" while forgetting about the encode you've had running in the background for the last ten hours.)

Hmm.... A tiny bit of code which checks if any of the usual suspects are already present in the Task Manager, and then warns the user?

Honeyko
27th January 2008, 23:16
FEATURE DESIRED

1. "Save Settings" permits user to save settings with a name (to permit multiple settings files).

2. "Load Settings" button added.

Honeyko
28th January 2008, 01:32
b21 BUG+ANNOYANCE

1. encode an xvid/avi with AC3 copy original .... works
2. change container....
....ANNOYANCE: Profile resets. (Is this necessary?)
3. encode with xvid/mkv with AC3 copy original .... works
4. Now perform the exact same encode a second time, and...
5. While the encode is in progress (XviD CQ running), change the container from mkv to mp4 (and readjust the profile). That's it -- don't do anything else. Now wait....
6. BUG. AutoMKV will attempt to mux the ongoing finished project into an mp4 container (instead of mkv selected initially) and halt with error (since AC3 won't go into mp4).

IOW, changing parameters in the main window (which you'll certainly do while setting up projects to queue) is adjusting settings in an ongoing encode. This bug may (?) possibly extend to settings other than container.

Honeyko
28th January 2008, 01:43
b21 BUG

An encode whose source file contains AC3 audio and whose target file will be an mp4 container -- will generate the "cannot mux AC3 audio into an mp4 container" even if the user has specified NONE for audio.

(The bug manifests only with NONE; otherwise AutoMKV muxes properly if the user converts the audio to an mp4-applicable format such as AAC.)

Honeyko
28th January 2008, 01:50
DESIRED FEATURE

1. xvid/avi -- temp "movie" file is not playable during encoding
2. xvid/mkv -- temp "movie" file is not playable during encoding
3. xvid/mp4 -- temp "movie" file **IS** playable during encoding!

-- I'd like to always be able to play that "movie" file.

(This was one of the best unsung features of Handbrake. I could save gobs of time by aborting an encode after noticing the output was going to be poor long before it was finished.)

Honeyko
28th January 2008, 02:01
BUG (maybe not AutoMKV's?)

Audio and video muxed into mp4 containers has erroneous type data. I.e., XviD/AAC shows up as mp4v/mp4a in VLC's Stream and Media info box.

Honeyko
28th January 2008, 02:09
BUG or missing ability:

-- You should be able to mux AAC audio into an .avi container. (At least some other encoders are able to.)

Honeyko
28th January 2008, 02:17
BUG:

"Advanced Audio Options" (click-item) pop-up window doesn't save any of the changes made after "OK!" is pressed to close the window.

(This window should probably also have a "Cancel" button.)

Taddeusz
28th January 2008, 02:34
BUG (maybe not AutoMKV's?)

Audio and video muxed into mp4 containers has erroneous type data. I.e., XviD/AAC shows up as mp4v/mp4a in VLC's Stream and Media info box.

Technically XviD is MPEG 4 video (MPEG 4 part 2) and AAC is MPEG 4 audio.

Honeyko
28th January 2008, 02:48
Technically XviD is MPEG 4 video (MPEG 4 part 2) and AAC is MPEG 4 audio.
If they're called that, then not much else will be able to fiddle with the buggers.

I.e., I can't open the file up in Vdub or AVI_Mux or MPEG4modifier.

Honeyko
28th January 2008, 05:45
BUG:

Requests to convert DTS audio to Lame DPLII are being given to VirtualDubMoB, which, after demuxing the source streams, will open up a "Converting" window which will process endlessly and consume mucho CPU without actually doing anything or making any progress.

(Cancling Vdub in the TaskManager then triggers FFmpeg to do the job.)

==//==

21:08:30 D2V file size: 707283
21:08:30 Audio 1 :movie t89 delay 0ms.dts
21:08:30 Pre Audio Size: 542958336 bytes
21:08:30 Applying DelayAudio of 0 to audio file: movie t89 delay 0ms.dts
21:08:30 Encoding W:\VIDEO_TS\temp\movie t89 delay 0ms.dts To Mp3 with 192 ABR Preset

...it dawns on me, after over two hours, that my audio isn't converting, so I force-quit Vdub.

23:22:44 Encoded 1' Audio Track: 0 bytes
23:22:45 Unable to encode Audio, try piping with FFmpeg!
23:22:45 "C:\AutoMKV093\exe\BeSweet\ffmpeg.exe" -i "W:\VIDEO_TS\temp\movie t89 delay 0ms.dts" -vn -ac 2 -acodec libmp3lame -vol 256 -ab 192000 "W:\VIDEO_TS\temp\audio1.mp3"

buzzqw
28th January 2008, 07:53
If there are two or more open instances of AutoMKV, there's a possibility that they'll try to use the same Temp folder (leading to inevitable disaster).

one AutoMKV at time is enough

FEATURE DESIRED

1. "Save Settings" permits user to save settings with a name (to permit multiple settings files).

2. "Load Settings" button added.

already present in advanced settings: load/save configuration

2. change container....
....ANNOYANCE: Profile resets. (Is this necessary?)
yes
5. While the encode is in progress (XviD CQ running), change the container from mkv to mp4 (and readjust the profile). That's it -- don't do anything else. Now wait....

never, never, never change settings while automkv is encoding

An encode whose source file contains AC3 audio and whose target file will be an mp4 container -- will generate the "cannot mux AC3 audio into an mp4 container" even if the user has specified NONE for audio.

i will check

DESIRED FEATURE

1. xvid/avi -- temp "movie" file is not playable during encoding
2. xvid/mkv -- temp "movie" file is not playable during encoding
3. xvid/mp4 -- temp "movie" file **IS** playable during encoding!
could not be done with actual xvid_encraw

Audio and video muxed into mp4 containers has erroneous type data. I.e., XviD/AAC shows up as mp4v/mp4a in VLC's Stream and Media info box.
don't know.. maybe i must pass more options to mp4box

-- You should be able to mux AAC audio into an .avi container. (At least some other encoders are able to.)
Today 03:01
No, hackish. not will be done

"Advanced Audio Options" (click-item) pop-up window doesn't save any of the changes made after "OK!" is pressed to close the window.

not a bug. Already know. the windows is alway resetted to default value everytime is opened. But automkv will remember values set if you don't reopen the window

Requests to convert DTS audio to Lame DPLII are being given to VirtualDubMoB, which, after demuxing the source streams, will open up a "Converting" window which will process endlessly and consume mucho CPU without actually doing anything or making any progress.
first pass is analysis of normalize, then analysis for dlp2, then encoding. anyway could be a bug of nicdtssource or soundout or virtualdub...

BHH

Honeyko
28th January 2008, 08:42
never, never, never change settings while automkv is encoding
People organizing queue lists will do this.
They'll expect to be able to do it.

-- I'm just warning you now! :D

zacoz
28th January 2008, 08:54
People organizing queue lists will do this.
They'll expect to be able to do it.

-- I'm just warning you now! :D

Having originally come from using AutoGK I did it.......once. Now I don't. I set up my queue and only then press Start Queue. I for one would rather keep the queue with it's idiosyncrasies than have it scrapped (http://forum.doom9.org/showthread.php?p=1066135#post1066135).

SeeMoreDigital
28th January 2008, 08:56
BUG (maybe not AutoMKV's?)

Audio and video muxed into mp4 containers has erroneous type data. I.e., XviD/AAC shows up as mp4v/mp4a in VLC's Stream and Media info box.The data muxed within the .MP4 stream is perfectly okay. All the information is in there!

If anything, it's VLC that needs to change how it reads/displays the data.


Cheers

Honeyko
28th January 2008, 09:57
Audio and video muxed into mp4 containers has erroneous type data. I.e., XviD/AAC shows up as mp4v/mp4a in VLC's Stream and Media info box.The data muxed within the .MP4 stream is perfectly okay. All the information is in there! If anything, it's VLC that needs to change how it reads/displays the data.The problem is that just about nothing else (other than players) know what to do with it either; I can't open it up it in any of familiar suite of utilities (save AutoMKV).

Perhaps its an inherent "feature" of the mp4 container itself (?)
People organizing queue lists will do this. They'll expect to be able to do it.Having originally come from using AutoGK I did it.......once.People coming from Handbrake or MediaCoder will too.Now I don't. I set up my queue and only then press Start Queue. I for one would rather keep the queue with it's idiosyncrasies than have it scrapped.True...true...we don't want that!

Hmm.... The trouble appears to stem from settings being tied to the main application window rather than a file written out as coding begins....no? -- I noticed, the other day, that when I clicked "Edit Job" on a queued item, it popped me out to the basic settings tab.

If so, then the solution would appear to be to have the script access settings from a file, or a tiny "mirror"-app which does nothing but sit in memory and hold settings unique to that current project.

delacroixp
28th January 2008, 19:20
Having originally come from using AutoGK I did it.......once. Now I don't. I set up my queue and only then press Start Queue.
I for one would rather keep the queue with it's idiosyncrasies than have it scrapped (http://forum.doom9.org/showthread.php?p=1066135#post1066135) .
True...true...we don't want that!

Quite right...

AutoMKV is based on a single encode philosophy (batch encoding does work but single encodes work better).
Dr DivX (http://forum.doom9.org/showthread.php?p=971203#post971203), by contrast, is rooted in batching... all jobs work through batch (even single encodes)... "watch folders" further enhance productivity.

X264 encodes, by contrast, are much slower and only commercial apps like MainConcept (http://forum.doom9.org/showthread.php?p=1090819#post1090819) (costing over $ 2000) support serious batching with watch folders.
AutoMKV is free but worth it's weight in gold !

I love AutoMKV... don't you ?


:):devil::D
Pascal

SeeMoreDigital
28th January 2008, 21:04
The problem is that just about nothing else (other than players) know what to do with it either; I can't open it up it in any of familiar suite of utilities (save AutoMKV).

Perhaps its an inherent "feature" of the mp4 container itself What exactly is your issue about this?

buzzqw
28th January 2008, 21:30
as already said several times, the code of queue isn't the most perfect , even more it's for me difficult to handle in better way without rewrite it all

the actual state of queue is perfectable but it's a PITA working on it. and can be easily broken without effort

The queue it's just an "image" of varius settings of automkv, it isn't a full file with all settings and variable written. The queue file is used to set the state of list/check and when the encoding start automkv will react as encoding a single job

so, sorry, but queue will be as is for a long time. maybe i will rewrite it.. but don't know when

and.. thanks for all kinds words, tests, patience, bugs and time. I must admit that sometimes i will like to stop/drop the development, to much free time loose (and shout from my wife...) but.. thanks to YOU i will dedicate some more time to automkv, with all its bugs and a long wishlist.

BHH

P.S. i hope for first days of february to release the next full release. (if SeeMoreDigital don't say that anamorphic/nonanamorphic is totally broken)

Honeyko
28th January 2008, 23:32
The problem is that just about nothing else (other than players) know what to do with it either; I can't open it up it in any of familiar suite of utilities (save AutoMKV). Perhaps its an inherent "feature" of the mp4 container itselfWhat exactly is your issue about this?
If one encodes into an mp4 container, one is able to open and view the output file prior to completion -- this has obvious advantages in spotting bad encodes and aborting them early. Unfortunately, once one's audio and video are inside the container and rebadged as mp4v and mp4a, getting them back out again in their original four-letter designation is difficult.

Taddeusz
29th January 2008, 00:10
If one encodes into an mp4 container, one is able to open and view the output file prior to completion -- this has obvious advantages in spotting bad encodes and aborting them early. Unfortunately, once one's audio and video are inside the container and rebadged as mp4v and mp4a, getting them back out again in their original four-letter designation is difficult.

Not necessarily. MKVmerge allows you to change the stream's FourCC designation.

Honeyko
29th January 2008, 08:27
(Thanks, tadd!)

==//==

BUG: XviD fractional CQs being rounded.

Example: Encode a test clip in Constant_Quality profile at CQ2 and then CQ3. Then, manually enter 2.5 or 2.75 for CQ number, and encode for a file-size inbetween those. You'll see the fractional number listed in Advanced Settings' "Use CRF for AutoSize Routines", but it will be rounded to an integer if you click the [CQ Tune] button.

buzzqw
29th January 2008, 09:42
thanks , fixed

BHH

Honeyko
29th January 2008, 11:57
SUGGESTION: It'd be nice to see several pre-set fractions between 2 and 3 appear on the CD list when XviD is selected. (When output AR is the same as original, there's a huge difference in quality and file size between CQ2 and CQ3. My 12mb test clips comes in at 5.5mb at CQ3 and 9.9mb at CQ2.)

==//==

BUG(maybe-?): AutoMKV doesn't appear to be directing the proper fractional CQ to the XviD CD encoder. For example, I have a current project ongoing with CQ2.75 (after being unsatisfied with CQ3), but the in-progress CQ has been running closer to 2 than 3, and CQ Aver so far is 2.92 about 20% into the encode, and the file size seems to be turning out bigger than it should be.

BUG: Play around with that CQ Tune button a bit, and you'll see that sometimes it's not appearing when it should be, or is there when it shouldn't be. IIRC, it happens when changing container or codec automatically resets profile.

BUG(maybe): If you fps will be reduced during encode (e.g., 29.97 to 23.97), the Estimated Time appears to be calculated based upon a count of the source's frames rather than the output's frames. (This means the encode will appear to abruptly end four-fifths of the way through.)

buzzqw
29th January 2008, 12:07
SUGGESTION: It'd be nice to see several pre-set fractions between 2 and 3 appear on the CD list when XviD is selected.(When output AR is the same as original, there's a huge difference in quality and file size between CQ2 and CQ3.)

you mean fractional CQ value ? if so.. not so easy, ... i will check

BUG: AutoMKV doesn't appear to be directing the proper fractional CQ to the XviD CD encoder. For example, I have a current project with 2.75, but running CQ has been running closer to 2 than 3, and CQ Aver so far is 2.92

open the xvidsingle.bat and look here the -cq value

BUG: Play around with that CQ Tune button a bit, and you'll see that sometimes it's not appearing when it should be, or is there when it shouldn't be. IIRC, it happens when changing container or codec automatically resets profile
yea.. know..

BHH

hfmls
29th January 2008, 19:38
i cant convert anthing :S

nothing muxes


19:39:52 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:39:52 OS Version: Windows XP
19:39:52 Selected Input file: C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv
19:39:52 Selected Output dir: C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\
19:39:52 Selected Final Name: ck-braveone-sample
19:39:52 Selected Container type: WMV
19:39:52 Selected Encoder: WMV
19:39:52 Selected Size: 36 / 1
19:39:52 Selected Profile: Constant_Quality.xml
19:39:52 Selected Resizer: NONE / Original
19:39:52 Selected Filters: RemoveGrain(mode=2)
19:39:52 Selected Deinterlacer: AUTO
19:39:52 Selected Field Order: AUTO
19:39:52 Track Language 1: ck-braveone-sample.mkv
19:39:52 Audio Codec 1: WMV
19:39:52 Audio Quality 1: 96
19:39:52 Audio Channel 1: Stereo
19:39:52 Track Language 2: NONE
19:39:52 Audio Codec 2: WMV
19:39:52 Load external subtitle file: "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.srt"
19:39:52 Advanced Audio Settings DUMP Track 1
19:39:52 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:39:52 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:39:52 Lame Settings: ABR
19:39:52 Audio Normalization: 1
19:39:52 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
19:39:52
19:39:52 Unable to determine movie proprierties , switched to DirectShowSource
19:40:12 Number of Frames: 1289
19:40:12 Framerate: 23.975986
19:40:12 Movie length in Seconds: 54
19:40:12 Movie Width/Height: 1280/528
19:40:12 Number of Frames: 1289
19:40:12 Framerate: 23.975986
19:40:12 Movie length in Seconds: 54
19:40:12 Movie Width/Height: 1280/528
19:40:33 Source is hybrid bff and tff at 0 bff and 0 tff.
19:40:33 Advanced Deinterlace Routines Log
19:40:33 Analyzed 181 sections of five frames
19:40:33 Found Interlace Sections: 0 0.00%
19:40:33 Found Progressive Sections:181 100.00%
19:40:33 Found Telecined Sections: 0 0.00%
19:40:33 Found Zero Mov: 100.00% 181
19:40:33 Found One Mov: 0.00% 0
19:40:33 Found Two Mov: 0.00% 0
19:40:33 Found Three Mov: 0.00% 0
19:40:33 Found Four Mov: 0.00% 0
19:40:33 Found Five Mov: 0.00% 0
19:40:33 The Movie is declared to progressive
19:40:33 Encoding C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\ck-braveone-sample.mkv to WAV , as pre-process to WMV
19:40:50 Encoded 1' Audio Track: 10322316 bytes
19:40:50 WMV CMD: cscript.exe "D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\encoder\WMCmd.vbs" -input "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\movie.avs" -output "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\movie.wmv" -v_codec WVC1 -v_mode 2 -v_quality 90 -s_config "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_loopfilter 1 -v_buffer 10000 -v_bdeltaqp 1 -v_performance 40 -a_input "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\audio.wav" -a_codec wmapro -a_mode 0 -title "ck-braveone-sample" -log wmv.log -year 2008 -copyright "Done with AutoMKV! 0.95 beta 21" -a_setting 96_44_2
19:40:53 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
19:40:53 Switched to FFmpeg for Video Encoding!
19:40:53 FFmpeg.exe String: "D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\BeSweet\ffmpeg.exe" -i "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv" -vcodec wmv1 -b 5454000 -s 1280x528 -acodec wmav2 -ac 2 -ab 128000 -ar 48000 -r 23.975986 -y "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\movie.wmv"
19:40:53 Fished FFmpeg Encoding!
19:40:53 Final Muxed size: -1 bytes
19:40:53 Encoding finished: 00:01:01 elapsed time
19:40:53 -----------------------------------------------------------------------
19:40:53 Script AutoCrop.log
19:40:53
19:40:53 Crop(0,0,1280,528)
19:40:53 -----------------------------------------------------------------------
19:40:53 Script movie.avs
19:40:53
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\AddGrain.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\autocrop.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\aWarpSharp(Pruned).dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\blockbuster.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\cnr2.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\ColorMatrix.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\Convolution3D.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\corrector.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\DctFilter.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\Decomb.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\Deen.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\degrainmedian.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\DGDecode.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\EEDI2.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\FFMpegSource.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\FFT3DFilter.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\FluxSmooth.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\frfun7.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\hqdn3d.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\LeakKernelDeint.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\MaskTools.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\medianblur.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\MipSmooth.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\MSharpen.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\mt_masktools.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\mvtools.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\NicAudio.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\RemoveGrainS.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\RepairS.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\SangNom.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\SimpleResize.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\SoundOut.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\TBilateral.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\TDeint.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\TIVTC.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\TomsMoComp.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\TTempSmooth.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\UnDot.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\UnFilter.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\VSFilter.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\warpsharp.dll")
19:40:53 #loadpluginstart
19:40:53
19:40:53 #test1
19:40:53
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\Deblock_QED_MT2.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\HybridFuPP.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\LanczosPlus.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\Lem.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\LimitedSharpenFaster.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\MCBob_v03c.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\mvbob.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\QMlib.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\seesaw.avsi")
19:40:53 Import("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\spresso.avsi")
19:40:53 #importstart
19:40:53
19:40:53 #test2
19:40:53
19:40:53 movie = directshowsource("C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv",fps=23.975986,convertfps=true,audio=false)
19:40:53 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
19:40:53 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
19:40:53 function getOrder(clip c) {
19:40:53 order = GetParity(c) ? 1 : 0
19:40:53 Return order }
19:40:53 #filter1start
19:40:53
19:40:53 #test3
19:40:53
19:40:53 last = movie
19:40:53 fixed_aspect = 2.424242
19:40:53 out_width = 1280
19:40:53 out_height = 528
19:40:53 #resizestart
19:40:53
19:40:53 #test4
19:40:53
19:40:53 #filter2start
19:40:53
19:40:53 #test5
19:40:53
19:40:53 RemoveGrain(mode=2)
19:40:53 -----------------------------------------------------------------------
19:40:53 Script mkvmaudio.avs
19:40:53
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\NicAudio.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\SoundOut.dll")
19:40:53 LoadPlugin("D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\filter\FFmpegSource.dll")
19:40:53 DirectShowSource("C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv",fps=23.975986,convertfps=true,video=false)
19:40:53 #Applying STEREO downmixing routines
19:40:53 function stereo(clip a)
19:40:53 {
19:40:53 flr = GetChannel(a, 1, 2)
19:40:53 fcc = GetChannel(a, 3)
19:40:53 lfe = GetChannel(a, 4)
19:40:53 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
19:40:53 mix = MergeChannels(lfc, lfc)
19:40:53 lrc = MixAudio(flr, mix, 0.2929, 1.0)
19:40:53 blr = GetChannel(a, 5, 6)
19:40:53 Return MixAudio(lrc, blr, 1.0, 0.2929)
19:40:53 }
19:40:53 #
19:40:53 6==Audiochannels() ? stereo() : last
19:40:53 function addvideo(clip c) {
19:40:53 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
19:40:53 Return audiodub(last,c)
19:40:53 }
19:40:53 Normalize()
19:40:53
19:40:53 ConvertAudioTo16bit()
19:40:53 Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
19:40:53
19:40:53 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Honeyko
29th January 2008, 20:10
Nothing muxes...
<snip>
19:39:52 Unable to determine movie proprierties , switched to DirectShowSource

So far, there is no final mux if the encoder changes.

buzzqw
29th January 2008, 20:18
@hfmls

reread forum rules

@Honeyko

19:40:53 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
19:40:53 Switched to FFmpeg for Video Encoding!
19:40:53 FFmpeg.exe String: "D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\BeSweet\ffmpeg.exe" -i "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv" -vcodec wmv1 -b 5454000 -s 1280x528 -acodec wmav2 -ac 2 -ab 128000 -ar 48000 -r 23.975986 -y "C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\temp\movie.wmv"
19:40:53 Fished FFmpeg Encoding!

do you think that in NO second the encode goes fine ? it's not a problem of muxing, it's a problem of source

BHH

Atak_Snajpera
29th January 2008, 21:22
Selected Input file: C:\Torrents\The.Brave.One.720p.Bluray.x264-Chakra\Sample\ck-braveone-sample.mkv

Hehe next time hide this ok :)

SeeMoreDigital
29th January 2008, 21:31
Unfortunately, once one's audio and video are inside the container and rebadged as mp4v and mp4a, getting them back out again in their original four-letter designation is difficult.Why do you need to do this?

In any case... GSpot v2.70a, AVInaptic or MP4box might be able to offer you more detailed stream information.

hfmls
29th January 2008, 22:17
tried in c: with the name sample.mkv and no muxing again

hfmls
30th January 2008, 00:31
guys it allways stps here :S

00:34:30 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="D:\Documents and Settings\Hélder\Desktop\AutoMKV093_NORIP\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
00:34:30
00:34:30 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Honeyko
30th January 2008, 01:20
Suggestion:

If manual cropping values plus "Specify Width / Height" values equal source PAR, gray out "Resize Filters".

(I've done a few tests with different resize filters with source PAR remained unchanged, and the output files were the exact same size, so I'm assuming that the filters were never engaged.)

Honeyko
30th January 2008, 01:22
guys it allways stps here :

hfmls, quit AutOMKV, and then see if the left-over Temp folder can be renamed or deleted. If not, then it's become "stuck" somehow. (You'll have to quit and restart explorer.exe in the Task Manager to de-gum it and then delete it.)

zacoz
30th January 2008, 08:22
@hfmls

Have you tried a different, clean source mkv to see if you get the same issue? A file that plays doesn't necessarily a good error less source make.

Try moving AutoMKV itself to a root subdirectory instead of on the desktop to exclude a path or command line length issue or problem with "é" character (english system here so don't know if it's a possible problem or not).

Honeyko
31st January 2008, 01:11
Buzz: of curiosity, why no .94?

(You could just call whatever b22 you've got so far .94, and thereby retire that interminable .93 thread. :D )

Honeyko
31st January 2008, 03:01
BUG (maybe)

1. trailer extra appended to end of main film VTS_01 vob-set.
2. VTS_01_1.IFO used as input.

Annoyance: The entire VOB set (amounting to 4.5gb) of the main film), less 80mb of VTS_01_5 (representing the trailer) were copied to the Temp folder before anything else was done. VTS_01_1 through VTS_01_4 were unaltered from the source -- so it seems a waste of time and drive-space to copy them.

buzzqw
31st January 2008, 07:20
@Honeyko

basically all beta tested so far are "0.94"... so the life of 0.94 is only as beta build... (despite of thread title...)

the official next build will be 0.95


i agree about copying vobs around isn't the smartest thing.. but it's the safer way for automkv to handle dvd, i can suggest to make the d2v manually then feed automkv with this d2v
and.. about VTS_01_5, as long it's in VTS_01 group it will be processed. automkv don't have a full ifo parsing capabilities

BHH

delacroixp
1st February 2008, 01:22
@Honeyko
i agree about copying vobs around isn't the smartest thing.. but it's the safer way for automkv to handle dvd,
i can suggest to make the d2v manually then feed automkv with this d2v

I would certainly 2nd this approach.

Dr DivX wouldn't even process DVD's and warned against encoding directly from ISO's... leaving all the ripping and processing up to the user.
Setting up your own d2v takes away alot of the guesswork while letting you process the audio separately and choose the exact video segment.
It also works well if you tend to encode the same video more than once.

AutoMKV doesn't differentiate between DVD's and ISO's.


:):devil::D
Pascal

buzzqw
1st February 2008, 10:30
@ALL

if no more bugs , i will publish official 0.95 monday 04/02/2008

suggestione will be accepted only for next release (0.96)

BHH

Honeyko
1st February 2008, 11:25
Any chance of a b22 first? (I, uh, been kinda waitin' for it! :D )

==//==

Concern: Prevent making the AutoMKV folder the default output folder (one of these days, it'll cause trouble).

buzzqw
1st February 2008, 11:36
added corcern for next build (not beta)

BHH

Honeyko
3rd February 2008, 01:21
BUG: If you have a resize/crop option as a saved setting along with a Resize filter, the resize filter will default to none (but not the resize/crop values) when you open a new input file,

Honeyko
3rd February 2008, 20:55
BUG (maybe) or annoyance:

If you choose to Decimate a 25.000fps film, you get a 20.000fps output file, not 23.976 (which is what I normally want, anyway).

Suggestion: Decimate will offer the user a choice of intended fps (and the script will then first try other means of achieving the desired fps, then decimate only if, say, Film cannot remove progressive frames to reach it).

Honeyko
3rd February 2008, 21:37
(Toss-up)

This thread is a couple years old, and I notice that the "LimitedSharpen" matrix (or profile) they're talking about isn't on AutoMKV's list....and so I assume it's been superceded by something better.

What current filter/matrix combo duplicates what I'm seeing in those sample images?

buzzqw
4th February 2008, 07:25
If you choose to Decimate a 25.000fps film, you get a 20.000fps output file, not 23.976 (which is what I normally want, anyway)

Deinterlacer should be used/selected only when know what doing

Decimate will offer the user a choice of intended fps (and the script will then first try other means of achieving the desired fps, then decimate only if, say, Film cannot remove progressive frames to reach it).

there is already the possibility to change fps

BHH

Honeyko
4th February 2008, 11:27
Buzz, before releasing it as .95 today, run the following test:

1. xvid/avi
2. mpeg2 or VOB input
3. Constant Quality profile, quantitizer 2
4. IMPORTANT: (*) Variable Constant Quality
5. (Advanced Settings) ...checkmark Custom Comp Check 5%
6. Specify Quality: 100%
7. Select a file output size in mb (small, to make it work for it).

...and see if that all works out the way it's supposed to.

(I'm going to bed now, and have a several long encodes queued, otherwise I'd test some clips.)

buzzqw
4th February 2008, 12:20
for me is ok

and i want to know how to get specified size while specifing quantitizer ....

BHH

Honeyko
4th February 2008, 12:56
Well, if you choose Variable Constant Quality, the line of text associated with it indicates that it is for specific file sizes rather than unknown file-sizes.

==//==

BUG: with a set-up as described above, AutoMKV is not limiting Custom Comp Check to 5%. Instead, it does the whole file (meaning there'd be no time-savings over simply doing a regular 2-pass.)

buzzqw
4th February 2008, 13:03
you cannot mix specify quality, constant quality and constraint size

you are lucky that automkv not crash...

BHH

Honeyko
4th February 2008, 13:14
<chuckle> Well, beta-testing is all about getting it to crash! :D

(Based on what you're saying, the Specify Quality command should gray-out if the user selects a specific size, or vice-versa. ...this is one reason why I think AutoMKV should have a general "reset" button that blanks every setting to a default -- because otherwise two mutually-conflicting options would keep graying each other out, and the user might be baffled as to what's causing it.)

...be this as it may, what in my above list prevented the 5% limit from kicking in?

buzzqw
4th February 2008, 13:24
on autoresize (resmovie.avs) the 5% is in

BHH

Honeyko
4th February 2008, 13:33
I'm attempting the same encode again, but this time unchecking Specify Quality.

Appears to be running, but the following oddity occurred, and ffmpeg took over after the 5% comp test apparently choked after only a second or two:


07:19:23 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:19:23 OS Version: Windows XP
07:19:23 Selected Input file: Z:\DD6.mpg
07:19:23 Selected Output dir: Z:\temp\
07:19:23 Selected Final Name: DD6
07:19:23 Selected Container type: AVI
07:19:23 Selected Encoder: XviD
07:19:23 Selected Size: 345 / 1
07:19:23 Selected Profile: Constant_Quality.xml
07:19:23 Selected Resizer: HybridFuPP Anime LQ Source / Automatic
07:19:23 Selected Filters: LEM(ff="""HQDN3D(3)""",flem="""Removegrain(mode=2)""")
07:19:23 Selected Deinterlacer: Film
07:19:23 Selected Field Order: AUTO
07:19:23 Manual Crop: Enabled
07:19:23 Left Crop: 8
07:19:23 Top Crop: 0
07:19:23 Right Crop: 8
07:19:23 Botton Crop: 2
07:19:23 Manual Width: 704
07:19:23 Manual Height: 480
07:19:23 Enabled Constant Quality With Fixed Size (Q 2)
07:19:23 Enabled CRF/CQ AutoRes at 2 value
07:19:23 Using Matrix: Semi-insane.cqm
07:19:23 Track Language 1: 80: AC3 2/0 192
07:19:24 Audio Codec 1: Copy Original
07:19:24 Track Language 2: NONE
07:19:24 Audio Codec 2: Lame
07:19:24 Selected Hit Media Size
07:19:24 Dgindex CMD: C:\Can be kept empty\AutoMKV093\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[Z:\DD6.mpg] -OF=[Z:\temp\movie] -exit -minimize
07:23:53 D2V file size: 170992
07:23:53 Audio 1 :movie t80 2_0ch 192kbps delay 0ms.ac3
07:23:53 Pre Audio Size: 29324544 bytes
07:23:53 Renamed file movie t80 2_0ch 192kbps delay 0ms.ac3 to movie t80 2_0ch 192kbps delay 0ms_.ac3
07:23:53 Encoded 1' Audio Track: 29324544 bytes
07:23:59 Number of Frames: 36619
07:23:59 Framerate: 29.970030
07:23:59 Movie length in Seconds: 1222
07:23:59 Movie Width/Height: 720/480
07:23:59 DgIndex AR: 4:3
07:24:00 CQ encoding XviD: C:\Can be kept empty\AutoMKV093\exe\encoder\xvid_encraw.exe -cq 2.2 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV093\profiles\XviD-profiles\matrix\Semi-insane.cqm" -i "Z:\temp\movie.avs" -type 2 -avi "Z:\temp\movie.avi"
07:24:06 Accepted values are between 343670784 and 365376320 bytes (movie+audio)
07:24:06 Got a file of size: -1 bytes + audio size 29324544 bytes (29324544)
07:24:06 Switching to ABR mode
07:24:07 ABR encoding XviD: C:\Can be kept empty\AutoMKV093\exe\encoder\xvid_encraw.exe -bitrate 2168 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV093\profiles\XviD-profiles\matrix\Semi-insane.cqm" -i "Z:\temp\movie.avs" -type 2 -avi "Z:\temp\movie.avi"
07:24:24 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
07:24:24 Switched to FFmpeg for Video Encoding!
07:24:25 FFmpeg.exe String: "C:\Can be kept empty\AutoMKV093\exe\BeSweet\ffmpeg.exe" -an -threads 1 -i "Z:\DD6.mpg" -vcodec libxvid -bf 2 -qscale 2.5 -cropleft 8 -croptop 0 -cropright 8 -cropbottom 2 -s 704x480 -deinterlace -r 29.970 -y "Z:\temp\movie.avi"

buzzqw
4th February 2008, 13:38
post movie.avs

something wrong is there , thanks

BHH

Honeyko
4th February 2008, 13:53
(crap...already started a different encode...this one appears to be holding. All that I changed between the two was to select a different custom-matrix and resize-filter, toggle profile from CQ to one-pass and back to CQ to see if it would "jiggle loose" a stuck setting somewhere, and bump CQ from 2 to 3.)

I am definitely going to sleep now, so <yawwwn> you'll have to try and duplicate it.

BTW, when it tests 5%, does it just do the first 5% of the file, or does it grab bits and parts from all over the file?

zacoz
4th February 2008, 14:31
<chuckle> Well, beta-testing is all about getting it to crash! :D

OT: And you've got to be one of the most thorough / toughest beta testers I've ever seen. :D Actually could have used you for some recent software projects at work. ;)

decayd
4th February 2008, 16:58
Hello

Just a little question about this beta version.
When I resize a 1920 resolution video down to 720, the resulting file is 720x400, compared to using version 93a which makes the file 720x416.

I was just wondering why the difference?

I have included a log from each version, if you need, encoding the same file.

buzzqw
4th February 2008, 17:25
the most accurate should be 0.95

anyway i wait for logs approval

BHH

Aylwin
4th February 2008, 18:07
I've just noticed something strange. I encoded a 2 minute VOB and the resulting MKV says 2 minutes and 38 seconds. When I play it, VLC thinks it's 02:38 but it only plays for the 2 minutes.

Why?

19:47:16 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:47:16 Selected Input file: D:\VIDEO_TS\VTS_01_0.IFO
19:47:16 Selected Output dir: D:\Rips\temp\
19:47:16 Selected Final Name: GLADIATOR
19:47:16 Selected Container type: MKV
19:47:16 Selected Encoder: X264
19:47:16 Selected Size: 1/4 DVD-R / 1
19:47:16 Selected Profile: 2_Pass_Better_Quality.xml
19:47:16 Selected Resizer: NONE / Original
19:47:16 Selected Filters: SeeSaw()
19:47:16 Selected Deinterlacer: AUTO
19:47:16 Selected Field Order: AUTO
19:47:16 Specify Quality: 85
19:47:16 Activate PGC Ripping: 1
19:47:16 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
19:47:16 Audio Codec 1: Copy Original
19:47:16 Track Language 2: NONE
19:47:16 Audio Codec 2: Lame
19:47:16 Selected 1' Sub tracks: English 0 (0xBD 0x20) [0] wide
19:47:16 Activate Anamorphic Encoding
19:47:16
19:47:16 Starting SubRipping
19:47:18 Subtitle Size: 8192 bytes
19:47:18 Finished SubRipping
19:47:18 Activate PGC processing: PGC 1 [0:01:59:10]
19:47:18 Dgindex CMD: D:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[D:\\VIDEO_TS\VTS_01_1.vob] -OF=[D:\Rips\temp\movie] -exit -minimize
19:47:19 D2V file size: 15296
19:47:19 Audio 1 :movie t80 3_2ch 384kbps delay -192ms.ac3
19:47:19 Pre Audio Size: 5730045 bytes
19:47:19 Renamed file movie t80 3_2ch 384kbps delay -192ms.ac3 to movie t80 3_2ch 384kbps delay -192ms_.ac3
19:47:19 Encoded 1' Audio Track: 5730045 bytes
19:47:21 Number of Frames: 2985
19:47:21 Framerate: 25.000000
19:47:21 Movie length in Seconds: 120
19:47:21 Movie Width/Height: 720/576
19:47:21 DgIndex AR: 16:9
19:47:38 Source is declared tff by a margin of 1/1.
19:47:38 Advanced Deinterlace Routines Log
19:47:38 Analyzed 355 sections of five frames
19:47:38 Found Interlace Sections: 0 0.00%
19:47:38 Found Progressive Sections:355 100.00%
19:47:38 Found Telecined Sections: 0 0.00%
19:47:38 Found Zero Mov: 100.00% 355
19:47:38 Found One Mov: 0.00% 0
19:47:38 Found Two Mov: 0.00% 0
19:47:38 Found Three Mov: 0.00% 0
19:47:38 Found Four Mov: 0.00% 0
19:47:38 Found Five Mov: 0.00% 0
19:47:38 The Movie is declared to progressive
19:47:38 Starting X264
19:47:38 Command Line 1' Pass X264: D:\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18.75 --stats "D:\Rips\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 6 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --sar 14222222:10000000 --output "D:\Rips\temp\movie.264" "D:\Rips\temp\movie.avs"
19:49:21 Finished 1' Pass X264
19:49:21 Only Movie Size: 29141702 bytes
19:49:21 "D:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Rips\temp\GLADIATOR.mkv" --default-duration 0:25000/1000fps --track-name -1:"GLADIATOR" --aspect-ratio -1:1.777778 --chapters "D:\AutoMKV\exe\chapters.txt" "D:\Rips\temp\movie.264" --language -1:eng --sync 0:-192 --default-track -1:yes "D:\Rips\temp\movie t80 3_2ch 384kbps delay -192ms_.ac3" "D:\Rips\temp\GLADIATOR.idx" --title "Done with AutoMKV 0.95 beta 21 http://forum.doom9.org/showthread.php?p=854221 "
19:49:22 Final Muxed size: 34917252 bytes
19:49:22 Encoding finished: 00:01:44 elapsed time
19:49:22 -----------------------------------------------------------------------
19:49:22 Script AutoCrop.log
19:49:22
19:49:22 Crop(0,74,720,436)
19:49:22 -----------------------------------------------------------------------
19:49:22 Script movie.avs
19:49:22
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\AddGrain.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\autocrop.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\blockbuster.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\cnr2.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\ColorMatrix.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\Convolution3D.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\corrector.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\DctFilter.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\Decomb.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\Deen.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\degrainmedian.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\DGDecode.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\EEDI2.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\FFMpegSource.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\FFT3DFilter.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\FluxSmooth.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\frfun7.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\hqdn3d.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\LeakKernelDeint.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\MaskTools.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\medianblur.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\MipSmooth.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\MSharpen.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\mt_masktools.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\mvtools.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\NicAudio.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\RemoveGrainS.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\RepairS.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\SangNom.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\SimpleResize.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\SoundOut.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\TBilateral.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\TDeint.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\TIVTC.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\TomsMoComp.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\TTempSmooth.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\UnDot.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\UnFilter.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\VSFilter.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\warpsharp.dll")
19:49:22 #loadpluginstart
19:49:22
19:49:22 #test1
19:49:22
19:49:22 Import("D:\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\HybridFuPP.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\LanczosPlus.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\Lem.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\MCBob_v03c.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\mvbob.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\QMlib.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\seesaw.avsi")
19:49:22 Import("D:\AutoMKV\exe\filter\spresso.avsi")
19:49:22 #importstart
19:49:22
19:49:22 #test2
19:49:22
19:49:22 movie = mpeg2source("D:\Rips\temp\movie.d2v")
19:49:22 function getOrder(clip c) {
19:49:22 order = GetParity(c) ? 1 : 0
19:49:22 Return order }
19:49:22 #filter1start
19:49:22
19:49:22 #test3
19:49:22
19:49:22 last = movie
19:49:22 fixed_aspect = 1.651376
19:49:22 out_width = 720
19:49:22 out_height = 576
19:49:22 #resizestart
19:49:22
19:49:22 #test4
19:49:22
19:49:22 #filter2start
19:49:22
19:49:22 #test5
19:49:22
19:49:22 SeeSaw()
19:49:22 -----------------------------------------------------------------------
19:49:22 Script mkvmaudio.avs
19:49:22
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\NicAudio.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\SoundOut.dll")
19:49:22 LoadPlugin("D:\AutoMKV\exe\filter\FFmpegSource.dll")
19:49:22 NicAC3Source("D:\Rips\temp\movie t80 3_2ch 384kbps delay -192ms.ac3")
19:49:22 #Applying STEREO downmixing routines
19:49:22 function stereo(clip a)
19:49:22 {
19:49:22 flr = GetChannel(a, 1, 2)
19:49:22 fcc = GetChannel(a, 3)
19:49:22 lfe = GetChannel(a, 4)
19:49:22 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
19:49:22 mix = MergeChannels(lfc, lfc)
19:49:22 lrc = MixAudio(flr, mix, 0.2929, 1.0)
19:49:22 blr = GetChannel(a, 5, 6)
19:49:22 Return MixAudio(lrc, blr, 1.0, 0.2929)
19:49:22 }
19:49:22 #
19:49:22 6==Audiochannels() ? stereo() : last
19:49:22 function addvideo(clip c) {
19:49:22 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
19:49:22 Return audiodub(last,c)
19:49:22 }
19:49:22 Normalize()
19:49:22
19:49:22
19:49:22 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
4th February 2008, 18:53
just and idea.. the frames count report 1min 59 sec, but audio is longer ?

BHH

Honeyko
4th February 2008, 19:14
OT:Honeyko View Post
<chuckle> Well, beta-testing is all about getting it to crash! :DAnd you've got to be one of the most thorough / toughest beta testers I've ever seen. :DYou should see me when I'm getting paid!Actually could have used you for some recent software projects at work. ;)Does your work pay? ;)

==//==

BUG: Still can't get Comp Check to do perform only the percentage entered.

07:43:25 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:43:25 OS Version: Windows XP
07:43:25 Selected Input file: Z:\AAA New Folder\VIDEO_TS\DD_1\Dungeons & Dragons 06 Beauty and the Bogbeast.mpg
07:43:25 Selected Output dir: Z:\AAA New Folder\VIDEO_TS\DD_1\temp\
07:43:25 Selected Final Name: Dungeons & Dragons 06 Beauty and the Bogbeast
07:43:25 Selected Container type: AVI
07:43:25 Selected Encoder: XviD
07:43:25 Selected Size: 346 / 1
07:43:25 Selected Profile: Constant_Quality.xml
07:43:25 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:43:25 Selected Filters: LEM(ff="""HQDN3D(3)""",flem="""Removegrain(mode=2)""")
07:43:25 Selected Deinterlacer: Film
07:43:25 Selected Field Order: AUTO
07:43:25 Manual Crop: Enabled
07:43:25 Left Crop: 8
07:43:25 Top Crop: 0
07:43:25 Right Crop: 8
07:43:25 Botton Crop: 2
07:43:25 Manual Width: 704
07:43:25 Manual Height: 480
07:43:25 Enabled Constant Quality With Fixed Size (Q 3)
07:43:26 Enabled CRF/CQ AutoRes at 3 value
07:43:26 Using Matrix: Didees SixOfNine-HVS.cqm
07:43:26 Track Language 1: 80: AC3 2/0 192
07:43:26 Audio Codec 1: Copy Original
07:43:26 Track Language 2: NONE
07:43:26 Audio Codec 2: Lame
07:43:26 Selected Hit Media Size
07:43:26 Dgindex CMD: C:\Can be kept empty\AutoMKV093\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[Z:\AAA New Folder\VIDEO_TS\DD_1\Dungeons & Dragons 06 Beauty and the Bogbeast.mpg] -OF=[Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie] -exit -minimize
07:46:23 D2V file size: 170992
07:46:23 Audio 1 :movie t80 2_0ch 192kbps delay 0ms.ac3
07:46:23 Pre Audio Size: 29324544 bytes
07:46:23 Renamed file movie t80 2_0ch 192kbps delay 0ms.ac3 to movie t80 2_0ch 192kbps delay 0ms_.ac3
07:46:23 Encoded 1' Audio Track: 29324544 bytes
07:46:29 Number of Frames: 36619
07:46:29 Framerate: 29.970030
07:46:29 Movie length in Seconds: 1222
07:46:29 Movie Width/Height: 720/480
07:46:29 DgIndex AR: 4:3
07:46:30 CQ encoding XviD: C:\Can be kept empty\AutoMKV093\exe\encoder\xvid_encraw.exe -cq 2.2 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV093\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.avs" -type 2 -avi "Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.avi"
11:46:32 Accepted values are between 344666944 and 366435360 bytes (movie+audio)
11:46:32 Got a file of size: 1081915264 bytes + audio size 29324544 bytes (1111239808)
11:46:32 Switching to ABR mode
11:46:32 ABR encoding XviD: C:\Can be kept empty\AutoMKV093\exe\encoder\xvid_encraw.exe -bitrate 2175 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV093\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.avs" -type 2 -avi "Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.avi"
...and here's the movie.avs (minus the plug-in loading junk at the front). The project is a 24min cartoon episode. The VOB is 900mb. My intended output size is 346mb. Currently, I have a 1.00gb movie_cq file in the Temp folder, and an in-progress movie file of 136mb. The still-running XviD CQ encoder says it's 30% finished...indicating that the resultant file will be much bigger than 236mb, or that it will do yet another pass -- ???#loadpluginstart

#test1

Import("C:\Can be kept empty\AutoMKV093\exe\filter\BlindDeHalo3_mt2.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\Deblock_QED_MT2.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\HybridFuPP.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\LanczosPlus.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\Lem.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\LimitedSharpenFaster.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\MCBob_v03c.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\mvbob.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\QMlib.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\seesaw.avsi")
Import("C:\Can be kept empty\AutoMKV093\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

movie = tfm(movie,d2v="Z:\AAA New Folder\VIDEO_TS\DD_1\temp\movie.d2v").tdecimate()
last = movie
crop(8,0,-8,-2)
fixed_aspect = 1.309126
#resizestart

#test4

SimpleResize(704,480)
#filter2start

#test5

LEM(ff="""HQDN3D(3)""",flem="""Removegrain(mode=2)""")

Aylwin
4th February 2008, 19:16
just and idea.. the frames count report 1min 59 sec, but audio is longer ?
I don't know. I don't think so. I've tried again with a 53 second video and the resulting MKV says 01:40. When I check the VOB using Media Info and by playing using VLC, the reported time is correct.

Basically, I use DVD Shrink to create the "short DVD". Then I load the IFO file in AutoMKV and do the encode. I just noticed this my chance because I'm trying to create a sample file for testing on a new multimedia player.

Honeyko
4th February 2008, 20:08
Basically, I use DVD Shrink to create the "short DVD"....

(Huh?)

You mean you used it to re-stream the main film VOBs into a single big, fat VOB? (That's what I do.) ...or that you used DVDshrink to crush a film VOB-set larger than 4.37gb down to a 4.37gb total VOB-set before encoding? (No! Never do that!)

Aylwin
4th February 2008, 21:42
You mean you used it to re-stream the main film VOBs into a single big, fat VOB? (That's what I do.) ...or that you used DVDshrink to crush a film VOB-set larger than 4.37gb down to a 4.37gb total VOB-set before encoding? (No! Never do that!)
None of the above. Check my post. I'm creating 1-2 minute video clips. :)

I select Re-author, drag the Main Movie over and then Set Start/End Frames. The resulting VOB is around 100MB or so depending on the length. It's just a short video clip from the original movie.

Honeyko
4th February 2008, 23:34
None of the above. Check my post. I'm creating 1-2 minute video clips. :) I select Re-author, drag the Main Movie over and then Set Start/End Frames. The resulting VOB is around 100MB or so depending on the length. It's just a short video clip from the original movie.Hunt down VideoRedoPlus -- it's insanely great for that sort of thing, and works with MPEG2 input as well (so you can makes clips of bigger clips). You can also merge by stream-copy MPEG2.

buzzqw
5th February 2008, 07:23
..and here's the movie.avs (minus the plug-in loading junk at the front). The project is a 24min cartoon episode. The VOB is 900mb. My intended output size is 346mb. Currently, I have a 1.00gb movie_cq file in the Temp folder, and an in-progress movie file of 136mb. The still-running XviD CQ encoder says it's 30% finished...indicating that the resultant file will be much bigger than 236mb, or that it will do yet another pass -- ???

most probably

the determining of cq value isn't a exact science.. and so automkv will trigger a second pass to get the correct file size.
wait and look at log

BHH

zacoz
5th February 2008, 09:21
None of the above. Check my post. I'm creating 1-2 minute video clips. :)

I select Re-author, drag the Main Movie over and then Set Start/End Frames. The resulting VOB is around 100MB or so depending on the length. It's just a short video clip from the original movie.
It could have something to do with cutting within cells (or GOPs?) that's resulting in a less than clean and tidy output. Maybe the IFO is still in some cases referencing the original cell length whereas the actual video and audio is less due to your cuts.

VobBlanker may be another application you could try. I seem to recall jsoto putting efforts into making cuts as technically clean as possible (without re-encoding).

@Honeyko (OT)
You should see me when I'm getting paid!Does your work pay? ;)
Not enough for the testing part I think - that's been the problem. :(

Aylwin
5th February 2008, 09:59
VobBlanker may be another application you could try. I seem to recall jsoto putting efforts into making cuts as technically clean as possible (without re-encoding).
I just tried with VobBlanker and got a slightly stranger result. I made the same 53 second clip as I did with DVDShrink. But this time, when I load into AutoMKV, the "Select PGC" field shows 01:07. After encoding the MKV still shows 01:40 which is the same as the clip created with DVDShrink.

So both MKVs show 01:40. The only difference is that the clip created with DVDShrink correctly shows the time in the "Select PGC" field. Of course, it's possible that I used VobBlanker incorrectly. But anyway, something strange is going on.

buzzqw
5th February 2008, 11:20
as i publish the new 0.95 stable , this thread will be closed.

No question will be allowed in this thread.

Please use the new 0.95 thread.

thanks

BHH

Encoder888
5th February 2008, 13:24
@buzzqw

Hey :) I just installed the new stable 0.95 and tried to encode a movie using the default DelayAudio, but I still got a significant delay. If you get a second, please take a look and let me know what may have caused this. Thanks a lot :)

06:25:12 0.95 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
06:25:12 OS Version: Windows XP
06:25:12 Selected Input file: D:\The GamePlan\THE_GAME_PLAN\VIDEO_TS\VTS_04_0.IFO
06:25:12 Selected Output dir: D:\temp\
06:25:12 Selected Final Name: GamePlan095_DelayAudio
06:25:12 Selected Container type: MKV
06:25:12 Selected Encoder: X264
06:25:12 Selected Size: Don't care about size / 1
06:25:12 Selected Profile: 1_Pass_Fastest.xml
06:25:12 Selected Resizer: NONE / Original
06:25:12 Selected Filters: NONE
06:25:12 Selected Deinterlacer: AUTO
06:25:12 Selected Field Order: AUTO
06:25:12 Specify Quality: 100
06:25:12 Activate PGC Ripping: 1
06:25:12 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0,1,2,3]
06:25:12 Audio Codec 1: Nero AAC
06:25:12 Audio Quality 1: 1.00
06:25:12 Audio Channel 1: Stereo
06:25:12 Track Language 2: NONE
06:25:12 Audio Codec 2: Nero AAC
06:25:12 Movie title Name: The Game Plan
06:25:12 Advanced Audio Settings DUMP Track 1
06:25:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
06:25:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
06:25:12 Lame Settings: ABR
06:25:12 Audio Normalization: 1
06:25:12 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
06:25:12 Activate Anamorphic Encoding
06:25:12
06:25:12 Activate PGC processing: PGC 1 [1:50:14:08]
06:25:12 D:\AutoMKV\exe\Vsrip\pgcdemux.exe -pgc 1 -nocellt -nolog -noaud -nosub -nom2v -vob "D:\The GamePlan\THE_GAME_PLAN\VIDEO_TS\VTS_04_0.IFO" "D:\temp"
06:28:01 Dgindex CMD: D:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[D:\temp\VTS_01_1.VOB] -OF=[D:\temp\movie] -exit -minimize
06:31:35 D2V file size: 840336
06:31:35 Audio 1: movie t80 3_2ch 384kbps delay -70ms.ac3
06:31:35 Pre Audio 1' Size: 317589504 bytes
06:31:35 Applying DelayAudio of -70 to audio file: movie t80 3_2ch 384kbps delay -70ms.ac3
06:31:35 Encoding D:\temp\movie t80 3_2ch 384kbps delay -70ms.ac3 to NeroAAC with 1.00 quality
06:44:42 Encoded 1' Audio Track: movie t80 3_2ch 384kbps delay -70ms.mp4 264376496 bytes
06:44:42 D2V Film Detected: 99.900002% FILM found
06:44:48 Number of Frames: 198367
06:44:48 Framerate: 29.970030
06:44:48 Movie length in Seconds: 6619
06:44:48 Movie Width/Height: 720/480
06:44:48 DgIndex AR: 16:9
06:51:08 Source is declared bff by a margin of 136/4.
06:51:08 Advanced Deinterlace Routines Log
06:51:08 Analyzed 626 sections of five frames
06:51:08 Found Interlace Sections: 2 0.32%
06:51:08 Found Progressive Sections:14 2.24%
06:51:08 Found Telecined Sections: 610 97.44%
06:51:08 Found Zero Mov: 2.24% 14
06:51:08 Found One Mov: 0.32% 2
06:51:08 Found Two Mov: 97.44% 610
06:51:08 Found Three Mov: 0.00% 0
06:51:08 Found Four Mov: 0.00% 0
06:51:08 Found Five Mov: 0.00% 0
06:51:08 The Movie is declared to telecined
06:51:08 Checking script...movie.avs
06:51:10 Starting X264
06:51:10 ABR encoding X264: D:\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 15.00 --stats "D:\temp\.stats" --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 0 --direct none --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 8 --nf --no-cabac --no-b-adapt --no-chroma-me --threads auto --thread-input --sar 11851852:10000000 --output "D:\temp\movie.264" "D:\temp\movie.avs"
07:19:03 X264 Final ABR Encoding Stats:
x264 [info]: using SAR=46296/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [info]: slice I:1612 Avg QP:12.47 size: 67699
x264 [info]: slice P:85914 Avg QP:14.18 size: 29681
x264 [info]: slice B:71167 Avg QP:15.80 size: 13853
x264 [info]: mb I I16..4: 36.1% 0.0% 63.9%
x264 [info]: mb P I16..4: 10.3% 0.0% 13.8% P16..4: 36.0% 11.7% 6.2% 0.0% 0.0% skip:22.2%
x264 [info]: mb B I16..4: 3.1% 0.0% 3.3% B16..8: 88.6% 3.0% 2.1% direct: 0.0% skip: 0.0%
07:19:03 Only Movie Size: 3645072128 bytes
07:19:03 "D:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\temp\GamePlan095_DelayAudio.mkv" --default-duration 0:24000/1001fps --track-name -1:"GamePlan095_DelayAudio" --aspect-ratio -1:1.777778 --chapters "D:\AutoMKV\exe\chapters.txt" "D:\temp\movie.264" --language -1:eng --default-track -1:yes "D:\temp\movie t80 3_2ch 384kbps delay -70ms.mp4" --title "The Game Plan"
07:21:19 Final Muxed size: 3911316992 bytes
07:21:19 Encoding finished: 00:30:09 elapsed time
07:21:19 -----------------------------------------------------------------------
07:21:19 Script AutoCrop.log
07:21:19
07:21:19 Crop(0,62,720,356)
07:21:19 -----------------------------------------------------------------------
07:21:19 Script movie.avs
07:21:19
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\AddGrain.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\autocrop.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\blockbuster.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\cnr2.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\ColorMatrix.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\Convolution3D.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\corrector.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\DctFilter.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\Decomb.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\Deen.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\degrainmedian.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\DGDecode.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\EEDI2.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\FFMpegSource.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\FFT3DFilter.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\FluxSmooth.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\frfun7.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\hqdn3d.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\LeakKernelDeint.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\MaskTools.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\medianblur.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\MipSmooth.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\MSharpen.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\mt_masktools.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\mvtools.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\NicAudio.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\RemoveGrainS.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\RepairS.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\SangNom.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\SimpleResize.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\SoundOut.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\TBilateral.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\TDeint.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\TIVTC.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\TomsMoComp.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\TTempSmooth.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\UnDot.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\UnFilter.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\VSFilter.dll")
07:21:19 LoadPlugin("D:\AutoMKV\exe\filter\warpsharp.dll")
07:21:19 #loadpluginstart
07:21:19
07:21:19 #test1
07:21:19
07:21:19 Import("D:\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\HybridFuPP.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\LanczosPlus.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\Lem.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\MCBob_v03c.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\mvbob.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\QMlib.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\seesaw.avsi")
07:21:19 Import("D:\AutoMKV\exe\filter\spresso.avsi")
07:21:19 #importstart
07:21:19
07:21:19 #test2
07:21:19
07:21:20 movie = mpeg2source("D:\temp\movie.d2v")
07:21:20 function getOrder(clip c) {
07:21:20 order = GetParity(c) ? 1 : 0
07:21:20 Return order }
07:21:20 #filter1start
07:21:20
07:21:20 #test3
07:21:20
07:21:20 movie = tfm(movie,d2v="D:\temp\movie.d2v").tdecimate()
07:21:20 last = movie
07:21:20 fixed_aspect = 2.022472
07:21:20 out_width = 720
07:21:20 out_height = 480
07:21:20 #resizestart
07:21:20
07:21:20 #test4
07:21:20
07:21:20 #filter2start
07:21:20
07:21:20 #test5
07:21:20
07:21:20 return last
07:21:20 -----------------------------------------------------------------------
07:21:20 Script mkvmaudio.avs
07:21:20
07:21:20 LoadPlugin("D:\AutoMKV\exe\filter\NicAudio.dll")
07:21:20 LoadPlugin("D:\AutoMKV\exe\filter\SoundOut.dll")
07:21:20 LoadPlugin("D:\AutoMKV\exe\filter\FFmpegSource.dll")
07:21:20 NicAC3Source("D:\temp\movie t80 3_2ch 384kbps delay -70ms.ac3")
07:21:20 DelayAudio(-0.0700)
07:21:20 #Applying STEREO downmixing routines
07:21:20 function stereo(clip a)
07:21:20 {
07:21:20 flr = GetChannel(a, 1, 2)
07:21:20 fcc = GetChannel(a, 3)
07:21:20 lfe = GetChannel(a, 4)
07:21:20 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
07:21:20 mix = MergeChannels(lfc, lfc)
07:21:20 lrc = MixAudio(flr, mix, 0.2929, 1.0)
07:21:20 blr = GetChannel(a, 5, 6)
07:21:20 Return MixAudio(lrc, blr, 1.0, 0.2929)
07:21:20 }
07:21:20 #
07:21:20 6==Audiochannels() ? stereo() : last
07:21:20 function addvideo(clip c) {
07:21:20 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
07:21:20 Return audiodub(last,c)
07:21:20 }
07:21:20 Normalize()
07:21:20
07:21:20 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="D:\AutoMKV\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 1.00 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
07:21:20
07:21:20 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
5th February 2008, 13:33
http://forum.doom9.org/showthread.php?p=1096411#post1096411

BHH

P.S. i suppose a bad rip (some black cell at start) .. try manually making the d2v with dgindex, and cut the first seconds

delacroixp
8th February 2008, 05:08
I don't know. I don't think so. I've tried again with a 53 second video and the resulting MKV says 01:40. When I check the VOB using Media Info and by playing using VLC, the reported time is correct.
Hunt down VideoRedoPlus -- it's insanely great for that sort of thing, and works with MPEG2 input as well (so you can make clips of bigger clips). You can also merge by stream-copy MPEG2.



I just tried with VobBlanker and got a slightly stranger result. I made the same 53 second clip as I did with DVDShrink. But this time, when I load into AutoMKV, the "Select PGC" field shows 01:07. After encoding the MKV still shows 01:40 which is the same as the clip created with DVDShrink.

So both MKVs show 01:40. The only difference is that the clip created with DVDShrink correctly shows the time in the "Select PGC" field. Of course, it's possible that I used VobBlanker incorrectly. But anyway, something strange is going on.

Perhap you could try with DGIndex (http://neuron2.net/dgmpgdec/DGIndexManual.html) (AutoMKV/exe/DGIndex/DGInedx.exe)... it lets you easily select the keyframe of your choice.
You can only slice a video at keyframe (http://en.wikipedia.org/wiki/Key_frame) (I-frame (http://en.wikipedia.org/wiki/Video_compression_picture_types)) intervals !


:):devil::D
Pascal

Aylwin
13th February 2008, 15:43
Perhap you could try with DGIndex (http://neuron2.net/dgmpgdec/DGIndexManual.html) (AutoMKV/exe/DGIndex/DGInedx.exe)... it lets you easily select the keyframe of your choice.
You can only slice a video at keyframe (http://en.wikipedia.org/wiki/Key_frame) (I-frame (http://en.wikipedia.org/wiki/Video_compression_picture_types)) intervals !


:):devil::D
Pascal
It seems that my clips were fine. I've tried again with 0.95b and now it's correct. So this latest version must've fixed something.

delacroixp
16th February 2008, 16:54
in MPC, you can "ctrl + g" to jump to a specific frame then press "F5" to save a BMP
You don't perhaps have any idea how I could coherce MPC to output an upscaled snapshot to any resolution.
Usefull to compare 2 encodes, naturally upscaled to the same resolution (eg, 720x576 & 864x480 -> 1024x576).

:thanks: much !


:):devil::D
Pascal