PDA

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


Pages : 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

buzzqw
16th December 2006, 16:51
@Barleyman and @weaver4

Fixed in 0.62e :)

BHH

vOjToL
18th December 2006, 11:08
AutoMKV 0.62,c,d
Queued Job always start with audio encoder NeroAAC(even "1'Audio Codec" is set "Lame")and ignore many other settings...
The input file is .avi. If encoding starting by press "Start", not "Add to Queue" - it's ok.

buzzqw
18th December 2006, 13:32
fixed in 0.62e

thanks for this bug reporting!

BHH

Barleyman
18th December 2006, 18:03
no need manual cropping.

just set with to 720 and on advanced setting better to check Force ITU Resing and Anamorphic Encoding


Nice in theory, doesn't work in practice. Source is 2.35 PAL DVD, which obviously has black borders.

I have "USE CRF for autoresize [3]", "force ITU resize", "anamorphic encoding" selected and "resize filters [NONE]". I'm using CQ XVID MKV.

The black borders are kept in the encoded file, it's 576 pixels high.

2nd problem, DTS audio is fubarred. In the TEMP directory I have 475MB "fixed1.ac3"-file, and 244kb "audio.ac3"-file. Apparently MKVmerge-command is using the audio.ac3-file..

Does this only happen because my temp-directory was not empty? Rename fails?


23:21:12 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:21:12 Selected Input file: E:\Movies-E\POTC\VTS_01_0.IFO
23:21:12 Selected Output dir: E:\Movies-E\POTC\temp\
23:21:12 Selected Container type: MKV
23:21:12 Selected Encoder: XviD
23:21:12 Selected Size: 2200
23:21:12 Selected Slice: 1
23:21:12 Selected Profile: XviD_CQ.xml
23:21:12 Selected Width: 720
23:21:12 Selected Resizer: NONE
23:21:12 Selected Filters: NONE
23:21:12 Selected Deinterlacer: AUTO
23:21:12 NeroAACEnc.exe not present
23:21:12 Enabled CRF/CQ autoresize with value 3
23:21:12 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:21:12 Audio Codec 1: Copy Original
23:21:12 Audio Quality 1: 5
23:21:12 Activate Force ITU Resizing
23:21:12 Activate Anamorphic Encoding
23:21:12 Selected Unlimited media size
23:21:12 Starting Indexing
23:21:12 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
23:23:20 Finished indexing
23:23:21 Starting fixing audio delay on track number 1
23:23:21 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.ac3" "E:\Movies-E\POTC\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:23:37 Original 1' Audio Size: 485522688 bytes
23:23:37 Finished fixing audio delay
23:23:37 Renamed file fixed1.ac3 to audio.ac3
23:23:37 Encoded 1' Audio Track: 249128 bytes
23:23:42 Number of Frames: 216795
23:23:42 Framerate: 25.000000
23:23:42 Movie lenght in Seconds: 8672
23:23:42 Movie Width: 720
23:23:42 Movie Height: 576
23:30:52 Processing completed. Type is determined to be interlaced.
23:30:52 BFF: 830
23:30:52 TFF: 7
23:30:52 Order: 0
23:30:52 CQ encoding XviD: C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies-E\POTC\temp\movie.avs" -type 2 -avi "E:\Movies-E\POTC\temp\movie.avi"
11:43:49 Accepted values are between 2191523840 and 2329935872 bytes (movie+audio)
11:43:49 Got a file of size: -2142293504 bytes + audio size 249128 bytes (-2142044416)
11:43:49 Only Movie Size: -2142293504 bytes
11:43:49 C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Movies-E\POTC\temp\potc.mkv" --aspect-ratio 1:2.438095 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Movies-E\POTC\temp\movie.avi" --language 0:eng "E:\Movies-E\POTC\temp\audio.ac3"
11:46:03 Final Muxed size: -2140865844 bytes
11:46:03 Encoding finished: 12:24:51 elapsed time
11:46:03 -----------------------------------------------------------------------
11:46:03 Script AutoCrop.log
11:46:03
11:46:03 Crop(10,78,704,420)
11:46:03 -----------------------------------------------------------------------
11:46:03 Script Resmovie.avs
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script movie.avs
11:46:03
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\decomb.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
11:46:03 #loadpluginstart
11:46:03
11:46:03 #test1
11:46:03
11:46:03 Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
11:46:03 Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
11:46:03 #importstart
11:46:03
11:46:03 #test2
11:46:03
11:46:03 movie = mpeg2source("E:\Movies-E\POTC\temp\movie.d2v")
11:46:03 function getOrder(clip c) {
11:46:03 order = GetParity(c) ? 1 : 0
11:46:03 Return order }
11:46:03 #filter1start
11:46:03
11:46:03 #test3
11:46:03
11:46:03 function Filter_Motion_Nil(clip c) {
11:46:03 c = RemoveGrain(c,mode=25)
11:46:03 return c }
11:46:03 function Filter_Motion_Min(clip c) {
11:46:03 c = RemoveGrain(c,mode=2)
11:46:03 return c }
11:46:03 function Filter_Motion_Mid(clip c) {
11:46:03 c = RemoveGrain(c,mode=3)
11:46:03 return c }
11:46:03 function Filter_Motion_High(clip c) {
11:46:03 c = RemoveGrain(c,mode=17)
11:46:03 return c }
11:46:03 function Filter_Motion_Very_High(clip c) {
11:46:03 c = RemoveGrain(c,mode=20)
11:46:03 return c }
11:46:03 #cropstart
11:46:03
11:46:03 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
11:46:03 fixed_aspect = 1
11:46:03 c_width = width(cropclip)
11:46:03 c_height = Round(height(cropclip) / fixed_aspect)
11:46:03 input_par = float(float(c_width)/float(c_height))
11:46:03 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
11:46:03 out_width = 720
11:46:03 out_height = Round(float(out_width) / input_par)
11:46:03 hmod = out_height - (floor(out_height / 16 ) * 16)
11:46:03 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
11:46:03 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
11:46:03 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
11:46:03
11:46:03 #resizestart
11:46:03
11:46:03 #test4
11:46:03
11:46:03 last=movie
11:46:03 LeakKernelDeint(order=0,sharp=true)
11:46:03 #filter2start
11:46:03
11:46:03 #test5
11:46:03
11:46:03 QMF()
11:46:03 ColorMatrix("Rec.709->Rec.601",hints=false)
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio.avs
11:46:03
11:46:03 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
11:46:03 NicAC3Source("E:\Movies-E\POTC\temp\fixed1.ac3")
11:46:03 EnsureVBRMP3Sync()
11:46:03 ConvertAudioTo16bit()
11:46:03 #Applyed Original downmixing routines
11:46:03 Normalize()
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio.bat
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio2.avs
11:46:03
11:46:03 -----------------------------------------------------------------------
11:46:03 Script mkvmaudio2.bat
11:46:03
11:46:03
11:46:03 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
18th December 2006, 18:14
I'll answer myself:
a) Yeah, cropping will not happen if resize filter is "NONE". After I enable laczos4resize, black borders are cropped.
b) Looks like the problem is indeed with the temp file not being empty to start with (unchecked delete temp files for testing)

vOjToL
18th December 2006, 18:45
cropping will not happen if resize filter is "NONE". After I enable laczos4resize, black borders are cropped.

If input file is avs script, cropping, resize and filtering not happen too.

buzzqw
18th December 2006, 19:10
If input file is avs script, cropping, resize and filtering not happen too.

this is wanted. if one can make an avs , can even crop inside.

2nd problem, DTS audio is fubarred. In the TEMP directory I have 475MB "fixed1.ac3"-file, and 244kb "audio.ac3"-file. Apparently MKVmerge-command is using the audio.ac3-file..

from the log file seems you have selected the ac3 track...

BHH

vOjToL
18th December 2006, 20:03
this is wanted. if one can make an avs , can even crop inside.
Ok, I agree. In this case, what is the comptest (resmovie.avs) doing for? In log file the new resolution is set after test, but in movie.avs is set nothing (sorry about my english, I am learnig...).

Barleyman
18th December 2006, 20:20
from the log file seems you have selected the ac3 track...

DTS track is identified as AC3 as well..

The problem is that if you un-tick "del temp file" and then compress files several times in the same directory with AC3 audio, the step where fixed.ac3 should be renamed to audio.ac3 fails.

buzzqw
18th December 2006, 20:46
Ok, I agree. In this case, what is the comptest (resmovie.avs) doing for?

this is a good question... in next update on avs input i will put resizer to NONE and WIDTH to fullwidth

(sorry about my english, I am learning...).

your english is enough, no prob !

DTS track is identified as AC3 as well..
ifo/dvd or mpeg input file ?

BHH

Barleyman
18th December 2006, 21:36
ifo/dvd or mpeg input file ?
BHH

In the mpeg cut file I made for testing..

Maybe check if the target file exists before rename operations? Or, heck, just *delete* the target by default! (In the temp directory). In any case you'll only ever see that prob if you want to keep temp files, so :rolleyes:

BTW, dct filter didn't do anything for file compressibility on q=3, hqdn3d appeared to slash bitrate by about 10-20%.

Are you specifying the XVID PAR switch for anamorphic avi/xvid encode? Looks like that would allow anamorphic files without using the MKV container? Can't figure out the logic for the pixel aspect ratio, thought.

-par integer[:integer] : Set Pixel Aspect Ratio.
1 = 1:1
2 = 12:11 (4:3 PAL)
3 = 10:11 (4:3 NTSC)
4 = 16:11 (16:9 PAL)
5 = 40:33 (16:9 NTSC)
other = custom (width:height)

vOjToL
18th December 2006, 21:52
Ok, one more question then. Why in "Movie Name" I canot type capital letters?

Barleyman
18th December 2006, 22:25
So all right, having fooled around with the ac3 audio, here's what happens with DTS audio. Nothing. It's not even in the mkvmerge line and like a fool I told automkv it's OK to delete temp files.. Oh well, good thing the computer doesn't get bored processing the same movie several times..

20:08:02 0.62d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:08:03 Selected Input file: E:\Movies-E\POTC\VTS_01_0.IFO
20:08:03 Selected Output dir: E:\Movies-E\POTC\temp\
20:08:03 Selected Container type: MKV
20:08:03 Selected Encoder: XviD
20:08:03 Selected Size: 1 DVD-R
20:08:03 Selected Slice: 1
20:08:03 Selected Profile: XviD_CQ.xml
20:08:03 Selected Width: 720
20:08:03 Selected Resizer: LanczosResize
20:08:03 Selected Filters: Hqdn3d(4,3,6,4.5)
20:08:03 Selected Deinterlacer: AUTO
20:08:03 NeroAACEnc.exe not present
20:08:03 Track Language 1: English (DTS 6ch, 0xBD 0x89) [0]
20:08:03 Audio Codec 1: Copy Original
20:08:03 Audio Quality 1: 5
20:08:03 Activate Force ITU Resizing
20:08:03 Activate Anamorphic Encoding
20:08:03 Selected Unlimited media size
20:08:03 Starting Indexing
20:08:03 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
20:10:25 Finished indexing
20:10:25 Starting fixing audio delay on track number 2
20:10:25 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.dts" "E:\Movies-E\POTC\temp\movie T02 DELAY 0ms.dts"
20:10:59 Original 1' Audio Size: 817693902 bytes
20:10:59 Finished fixing audio delay
20:10:59 Renamed file fixed1.dts to audio.dts
20:10:59 Encoded 1' Audio Track: 817693902 bytes
20:11:04 Number of Frames: 216795
20:11:04 Framerate: 25.000000
20:11:04 Movie lenght in Seconds: 8672
20:11:04 Movie Width: 720
20:11:04 Movie Height: 576
20:17:52 Processing completed. Type is determined to be interlaced.
20:17:52 BFF: 830
20:17:52 TFF: 7
20:17:52 Order: 0
20:17:53 CQ encoding XviD: C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe -cq 3 -progress -threads 1 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 162 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\Movies-E\POTC\temp\movie.avs" -type 2 -avi "E:\Movies-E\POTC\temp\movie.avi"
23:15:48 Accepted values are between 4461743104 and 4743537664 bytes (movie+audio)
23:15:48 Got a file of size: 2101630464 bytes + audio size 817693902 bytes (2919324416)
23:15:48 Only Movie Size: 2101630464 bytes
23:15:48 C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe -o "E:\Movies-E\POTC\temp\potc.mkv" --aspect-ratio 1:2.438095 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Movies-E\POTC\temp\movie.avi"
23:18:01 Final Muxed size: 2099380657 bytes
23:18:01 Encoding finished: 03:09:59 elapsed time
23:18:01 -----------------------------------------------------------------------
23:18:01 Script AutoCrop.log
23:18:01
23:18:01 Crop(10,78,704,420)
23:18:01 -----------------------------------------------------------------------
23:18:01 Script Resmovie.avs
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script movie.avs
23:18:01
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\decomb.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
23:18:01 #loadpluginstart
23:18:01
23:18:01 #test1
23:18:01
23:18:01 Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
23:18:01 Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
23:18:01 #importstart
23:18:01
23:18:01 #test2
23:18:01
23:18:01 movie = mpeg2source("E:\Movies-E\POTC\temp\movie.d2v")
23:18:01 function getOrder(clip c) {
23:18:01 order = GetParity(c) ? 1 : 0
23:18:01 Return order }
23:18:01 #filter1start
23:18:01
23:18:01 #test3
23:18:01
23:18:01 #cropstart
23:18:01
23:18:01 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
23:18:01 fixed_aspect = 1
23:18:01 c_width = width(cropclip)
23:18:01 c_height = Round(height(cropclip) / fixed_aspect)
23:18:01 input_par = float(float(c_width)/float(c_height))
23:18:01 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
23:18:01 out_width = 720
23:18:01 out_height = Round(float(out_width) / input_par)
23:18:01 hmod = out_height - (floor(out_height / 16 ) * 16)
23:18:01 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
23:18:01 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
23:18:01 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
23:18:01
23:18:01 LeakKernelDeint(order=0,sharp=true)
23:18:01 #resizestart
23:18:01
23:18:01 #test4
23:18:01
23:18:01 LanczosResize(out_width,out_height)
23:18:01 #filter2start
23:18:01
23:18:01 #test5
23:18:01
23:18:01 Hqdn3d(4,3,6,4.5)
23:18:01 ColorMatrix("Rec.709->Rec.601",hints=false)
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio.avs
23:18:01
23:18:01 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
23:18:01 NicDTSSource("E:\Movies-E\POTC\temp\fixed1.dts")
23:18:01 EnsureVBRMP3Sync()
23:18:01 ConvertAudioTo16bit()
23:18:01 #Applyed Original downmixing routines
23:18:01 Normalize()
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio.bat
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio2.avs
23:18:01
23:18:01 -----------------------------------------------------------------------
23:18:01 Script mkvmaudio2.bat
23:18:01
23:18:01
23:18:01 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Barleyman
18th December 2006, 22:33
I checked the -par parameter with an avi file and it works just fine. At least with the five presets and xvid decoder filter.

Media player classic and actual windows media player both displayed it with correct AR. Dunno if any SAP is going to honor that, thought.

Nico.Laus.2001
19th December 2006, 00:43
just demux your ts file to m2v (video) and mpa/ac3 (audio) elementary streams

Open AutoMKV, as input choose the m2v file, automkv will ask to browse for till 2 audio files. Make your choice or click cancel at seconda audio track.


cool, thanks - unfortunately when adding files in that way to the queue and starting to process it, the program asks again for the audio files

could it be, that when "Shutdown PC when finished" the PC does actually not shut down but only log off (or restart?) - at least when enabling this I find myself in the login screen

some further improvements I can think of:

selecting 2 audio tracks that way, you still have to choose the second - this could be enabled by default when chosen
mp4box does support setting names for audio tracks - could you maybe provide input fields for that beneath the audio chooser?
x264 is supported in avi as well (?) - would be nice to have this opportunity, too (especially because mp4 editing tools are quite rare)
as far as I know, AC3 can not be part of an mp4 compliant container - an error message before the actual muxing process would be nice, if such file is to be integrated (saves computing time - especially if "Del temp file" is on you'd have to do it all again :( )
same for lame not supporting more than 2 audio channels


I know it might be difficult to find out about program features dynamically since that would be the best way to implement the latter 2 improvements, but maybe there is a way - otherwise it' just a minor improvement that would be nice but is not that important if you know the tricks

AutoMKV is a great program anyway

fogbav
19th December 2006, 11:19
Little bit offtopic :

One Question to the Xbox Freaks out there ...

I converted TS files to XVID_Normal Profile ... Audio : 3 Tracks with Nero AAC ... AC3/Stereo/Stereo ... everything goes with mp4Box to an MP4 Container.

My Problem now is that when the Video starts everything is fine, but after ca. 30 seconds the Video gets "Croppy" until its look like a slideshow.

So i thought its the CPU Power of the Xbox ... BUT :

When i set the Cache on XBMC to 4096 the video goes to 1 Minute without error and then starts to get croppy ... so it looks like a Network Caching problem i think ...

Networking no Problem - 100 MBIt - no error on other Xvid AVIs from Internet ...

XBMC - Newest version ... 17.12.

Does anyone here has the same Problems ?

Is there the posibility that XBMC has a problem with mp4 Containers ... ?

Barleyman
19th December 2006, 14:58
I converted TS files to XVID_Normal Profile ... Audio : 3 Tracks with Nero AAC ... AC3/Stereo/Stereo ... everything goes with mp4Box to an MP4 Container.


AC3? That's HD? Xbox simply cannot cope with 1920x1080p material.

1280x720p might and might not work. I've seen some xvid encodes with about 900xSomething resolution that work OK.

Another issue might be that the AAC decoder is probably quite cpu intensive, especially if it's been encrypted as 6-AAC channels instead of straight AC3.

fogbav
19th December 2006, 17:05
Thanks Barleyman for your tips ....

I found the Bug - and a temp. fix ...

I analysed that Cache was going down to 0 % ... only recovering when i was presing pause and then play ... raising to 8 MB didn't work ... so :

I DEACTIVATED the cache function .... evrything works normal now ... perfectly... strange bug ....

Thanx

FoGBaV

fogbav
19th December 2006, 20:16
OK ... this is the answer i get in XBMC Forum .... HElp !!! 8)
:
"sounds like you have muxed your stuff in a mp4 stream format, not the proper one for local playback (there's a header flag iirc)."

I convert with automkv into AVI container (same with mp4) and then mux with mp4box -add ****.avi -add ***.acc ....

i think this is the same way automkv gets into mp4 containers when converting to xvid - it generates an avi and mp4boxes into mp4 ... (because plain automkv mp4-Xvid files are also bad on xbmc)

Has this one to do with interleaving/packet/raw parameters ... i don't know ... any proffesionals out there ? 8)

Do i have to use an mystic switch in mp4box ... ?

Shit ... this one is out of my range ...8)

So the best solution for me seems to be converting to mp4 container with automkv (video only - getting all nice PAR Settings and anything else) and then only "add" the Audio MP4 Tracks ... i'm right ?

buzzqw
19th December 2006, 21:28
I convert with automkv into AVI container (same with mp4) and then mux with mp4box -add ****.avi -add ***.acc ....

i think this is the same way automkv gets into mp4 containers when converting to xvid - it generates an avi and mp4boxes into mp4 ... (because plain automkv mp4-Xvid files are also bad on xbmc)

YES, automkv (when codec video is xvid) will make an movie.avi and then mux it with audio into mp4 (like you say mp4box -add ****.avi -add ***.MP4 .... )

Has this one to do with interleaving/packet/raw parameters ... i don't know ... any proffesionals out there ? 8)

xvid are encoded with packed b frames ! edit the profile and set <PackedBitstream> to true ( <PackedBitstream>true</PackedBitstream> )... but i don't think this is the problem...

So the best solution for me seems to be converting to mp4 container with automkv (video only - getting all nice PAR Settings and anything else) and then only "add" the Audio MP4 Tracks ... i'm right ? BUT this is the way automkv work ! :confused:

try posting the muxing line to xmbc forum (mybe also the xvid command line) :)

BHH

fogbav
19th December 2006, 21:46
Thanks buzzqw ... don't be confused with my manual muxxing action ... only doing some test. Automkv is doing the 99 % part of the work in my batch ...8)

So i found out that it has to do with the Nero AAC file .

Playing automkv plain mp4 file works great on xmbc. but when i am adding an audiotrack with mp4box the xbox goes down as discribed.

Think there is a bug ... but it has nnooooothing to do with automkv .... !!! 8)

Thanks a lot

FoGBaV

Barleyman
20th December 2006, 08:06
I'm still beating the DTS horse. Looks like the audio will be out of synch even when everything else works OK.

For some reason when I tried it again automkv included the dts audio in the mkvmerge command line. Weird.

I'll check encoding the same movie with AC3, let you know when it's finished if that worked OK.

buzzqw
20th December 2006, 13:17
@Barleyman
about dts audio not selected ... it's a bug in automkv

i hope tomorrow to release the new 0.63, a good bug fixes release with some add-on very interesting

BHH

fogbav
20th December 2006, 13:35
Feature Question ...(Maybe still implemented, but "me" to stupid to find 8) )

Is it possible to not autoresize but do a autocrop of "back lines" in the MIDDLE of the Film ?

My Ts files are all 720x576 even when 16:9 films are send. So it would be wonderfull to get full width but only crop the black lines(high).

Because of some comercials or trailers in front and at the end of the film it would be good to decide the autocrop in the middle of the film.

Happy encoding

FoGBaV

buzzqw
20th December 2006, 14:03
:D Already possible ! :D

go to \exe\filter and open base.avs

find this line

autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)

and the value of samplestartframe to 5000 (as example)

like this
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=5000)

in this way the autocrop will start to analyze movie from frame 5000

Happy Encoding Too !

BHH

Barleyman
21st December 2006, 15:34
Finished encoding with AC3-stream. Audio is till out of sync.. Any ideas there? I get these lines for dgindex + delaycut:

22:46:55 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies-E\POTC\VTS_01_1.vob] -OF=[E:\Movies-E\POTC\temp\movie] -exit -minimize
22:49:15 Finished indexing
22:49:15 Starting fixing audio delay on track number 1
22:49:15 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Movies-E\POTC\temp\fixed1.ac3" "E:\Movies-E\POTC\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"

0ms delay at least does not seem to be correct. Audio is out of sync from the very beginning. Maybe this is thrown by the company logo sequence in the beginning? I checked with latest (1.49b7) build of DGindex but same result (0ms delay). I also tried muxing in the dgindex output file but it had the same problem.

buzzqw
21st December 2006, 15:57
0ms delay at least does not seem to be correct.

in wich way you ripped the dvd ? have you used RipIt4me ?

BHH

weaver4
21st December 2006, 16:12
By any chance does this DVD have multiple angles? If so you will have an audio sync problem. Movies like Star-Wars, Armageddon, The Incredibles and many more will have multiple angles in them.

If so; here is the process that I use to overcome that problem.

> Rip the COMPLETE DVD using anydvd, dvdfab decrypter, or RipIt4Me into a directory.
> Open those files in DVD Shrink 3.1
> Re-author the movie:
--- Select only the angle you are interested in (generally the first)
--- Set the Compression Settings:
----- to select only the audio and subpictures that want.
----- set video compression to "no compression"; ignore warnings
> Backup to second directory (ignore "too big" warnings)
> In AutoMKV open the files in this second directory and process as normal.

Barleyman
21st December 2006, 18:23
in wich way you ripped the dvd ? have you used RipIt4me ?

BHH

Either dvd decrypter or dvdfab if it was corrupted dvd..

Ed: DVD decrypter.

Barleyman
21st December 2006, 18:32
By any chance does this DVD have multiple angles? If so you will have an audio sync problem. Movies like Star-Wars, Armageddon, The Incredibles and many more will have multiple angles in them.


Interesting..

I have ripped it with dvd decrypter in IFO mode. DVD shrink is not happy with it.

So how does autogk etc get around this? Because this is 1st time I encounter this problem and I must have processed some multi-angle dvd's with autogk..

weaver4
21st December 2006, 19:07
Interesting..

I have ripped it with dvd decrypter in IFO mode. DVD shrink is not happy with it.

So how does autogk etc get around this? Because this is 1st time I encounter this problem and I must have processed some multi-angle dvd's with autogk..

Most programs don't get around it since they rely on dgdecode which has the problem.

Some disk will have multiple angles and copy-protection. That is why it is a good idea to use one of the rippers that I mentioned and not dvd decrypter alone.

Barleyman
21st December 2006, 19:44
Most programs don't get around it since they rely on dgdecode which has the problem.

Some disk will have multiple angles and copy-protection. That is why it is a good idea to use one of the rippers that I mentioned and not dvd decrypter alone.

Let's see what autogk does with that rip.

I use dvdfab when there's a copy protection, otherwise usually always dvd decrypter. Especially nice on episodic DVDs because you can make batch files to rip all the episodes on the disk without having to wait next to the PC.

In any case I think there's angle processing on DVD decrypter, I just didn't figure out it's a problem.

Ed: Apparently in IFO mode only angle 1 is retained. In FILE mode you can pick the angle you want.

buzzqw
22nd December 2006, 08:53
www.64k.it/andres/data/a/AutoMKV063.rar

New full package


ADDED: If final muxed file already exist in destination directory, the new file name will be based on time of muxing (suggest of Barleyman)
ADDED: If MP4 container is selected and muxing audio is ac3 the program will, at end of encoding, prompt an error and quit, without removing the temp directory (suggest of Nico.Laus.2001)
ADDED: In advanced Settings is possible to force value '-par' to command line of XviD. On AUTO no par is feeded to command line (suggest of vOjToL)
ADDED: Is now possible to choose shutdown mode (StayOn/Shutdown/LogOff/Reboot) (suggest of vOjToL)
ADDED: Added filter Spresso and SeeSaw
ADDED: Several new Tips!
FIXED: Some glitch on Advanced Settings layout
FIXED: Queue with multiple audio selected (thanks to BleedingGums)
FIXED: Muxing in avi container when no audio is selected (thanks to weaver4)
FIXED: Several bugs on work with queue and command line
FIXED: Deinterlacer routines use the field order to determine best deinterlacer
FIXED: Movie name now accept even capital letters (thanks to vOjToL)
FIXED: When using queue automkv will not more ask again audio files for m2v input files (thanks to Nico.Laus.2001)
FIXED: Correct order of audio tracks when input is mpeg. This one was nasty and ugly resolve (thanks to Barleyman)
FIXED: If Lame encoder is selected audio will be, when needed, downmixed to Stereo (thanks to Nico.Laus.2001)
FIXED: Number of threads on x264 encoding will be NUMBER_OF_PROCESSORS * 1.5 (on HT machine is already 2)
UPDATE: Italian translation
UPDATE: DOC folder removed. Please read the License.txt file for information regarding AutoMKV license and other bundled software licenses
UPDATE: X264.exe to 614, TIVTC to v1.0 RC11, Dgindex to 1.4.7 b9

happy bug hunting and encoding ! :)

BHH

buzzqw
22nd December 2006, 14:37
update 0.63a www.64k.it/andres/data/a/AutoMKV063a.exe

0.63a
FIXED: bad parsing of ifo file

vOjToL
22nd December 2006, 16:46
In queue mode AutoMKV 0.63a still ignore preset "custom matrix-NONE".
If there are a few jobs in queue(1.avs+1.mp3; 2.avs+2.mp3; 3.avs+3.mp3....), AutoMKV always use(in every job) only the last audio file(3.mp3) with every video file(1,2,3.avs).

buzzqw
22nd December 2006, 17:27
are you queueing avs files ? :confused:

BHH

buzzqw
22nd December 2006, 17:48
could you try this build ?

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

BHH

vOjToL
22nd December 2006, 18:26
are you queueing avs files ?

Yes, e.g. for reencoding ~120 avi files, everyone with it's own posprocessing and filtering settings... :)

0.63b (in queue) still always processing the same audio file with many others video files :(

fogbav
22nd December 2006, 18:30
Thanks buzzqw 4 new Version ...

test is running ...

Edit :

Testing CLi ... something wrong when going to convert the avi into the mp4 container ... analysing now ...

fogbav
22nd December 2006, 20:45
5 encodings later:


BUG (!)
movie.mp4 (destination format and file) is written into the temp directory ... where it is killed when option del temp file is selected ... bad thing ...8)

Tested with 0.63 (not a or b)

I did not test gui mode ...

Suggestion on Audio Tracks :

i still have some difficults with Audio Tracks in TS Files ...

i tested different programs converting all Tracks to Nero AAC ... best thing worked out is converting with Besweet with new bsn.dll and following command line

for Stereo :

start /low /wait /min .\exe\besweet\besweet.exe -core( -input ".\tmp\film.mp2" -output ".\tmp\final\film_en.aac" -logfile ".\tmp\final\film_en.aac.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.2 ) -ota( -g max )

AC3 :

start /low /wait /min .\exe\besweet\besweet "BeSweet.exe" -core( -input ".\tmp\film.ac3" -output ".\tmp\final\film.ac3" -logfile ".\tmp\final\film.ac3.log" ) -azid( -c normal ) -bsn( -vbr 0.2 -6chnew ) -ota( -g max )

No BePipe or Delaycut is nessary when using ProjectX - perfect Sync ... AND FINALLY working AC3 conversion ... (didn't worked with Bepipe)

I'm not professional enough to say if this is a good way ... but has worked now for 20 econdings (using Automkv for video and cli converting Audio Tracks this way and then mux everything together).

Only something i wanted to say ....8)

Greets

FoGBaV

buzzqw
22nd December 2006, 20:50
@fogbav
this build shoul be ok

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

BHH

fogbav
22nd December 2006, 22:16
Damn ... you are to fast ...8)

Thannnx ... heating up the engines ...

Edit : Works 100 % again ... thanks ... ! Going to test filters now ...8)

buzzqw
22nd December 2006, 22:53
@vOjToL

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

i hope is ok. i tryed with 3 queue avses file

BHH

ehushagen
23rd December 2006, 01:09
Just wanted to thank you for creating a wonderful GUI for x264. You seem to be standing right on that fine line of easy-to-use and still being a very powerful program in the hands of an experienced user, so huge congratulations to you. If you've got any sort of Paypal donation system set up, please let me (and others, I'm sure) know. I'd love to give you some money for all your hard work.

One suggestion to make, if I may. When selecting an MPEG-2 transport stream (.mpv) as the video source, and then selecting the audio stream in the pop-up boxes that appear after, the Audio Track 1 selection always seems to default to 'None'. This is easily corrected by selecting the chosen audio source from the drop-down box, but it might be handy to have it automatically select it.

Anyways, thanks again!

weaver4
23rd December 2006, 02:22
Using XviD constant profile the audio was way out of sync. This for a movie that was perfectly insync in version 62c.

vOjToL
23rd December 2006, 09:11
www.64k.it/andres/data/a/AutoMKV063e.exe

i hope is ok. i tryed with 3 queue avses file

It's really ok! :)
Very much thanks for your GREAT job!

One more little problem(probably with "code page"): when output file name is e.g. "Co ludzie powiedzą" ("Keeping Up Appearances" in english), I get finally file(after muxing) "Co ludzie powiedzA..."

AMED
23rd December 2006, 10:39
Hi buzzqw,

Is there any chance of getting the statically linked versions of Removegrain.dll and Repair.dll for the stable package instead of the dynamically versions. when i was using the dynamically linked versions from the 0.63 package, the compression test onward was failing because the avs script couldn't import removegrain.dll and repair.dll. i manually changed the dll's to statically linked versions and the error stopped.

also is there any chance for some simple error checking as Automkv goes through the conversion process. e.g. when you get to the conversion of the audio and the resulting audio file equals 0 give a error or when you do the compression test and the resulting filesize = 0 etc.

buzzqw
23rd December 2006, 11:22
@AMED

statically linked versions of Removegrain.dll and Repair.dll
good suggestion, more generally users can change this dll with optimized versions of same library

also is there any chance for some simple error checking as Automkv goes through the conversion process. e.g. when you get to the conversion of the audio and the resulting audio file equals 0 give a error or when you do the compression test and the resulting filesize = 0 etc.

i could add a "Stop on Error" check... i will think about it :)

Co ludzie powiedzą yep... no unicode support now... , i will search...

EDIT2: removed link...
BHH

AMED
23rd December 2006, 11:47
good suggestion, more generally users can change this dll with optimized versions of same library
i could add a "Stop on Error" check... i will think about it :)

Thank you for considering my suggestions :).

BTW do you know what other library is needed to get the dynamic removegrain.dll and repair.dll to work? I've had a look at the removegrain website and it says it that the dynamic versions need a library but fails to say what it is. :confused:

buzzqw
23rd December 2006, 12:05
the statically compiled are RemoveGrainS.dll and RepairS.dll (from removegrain pre 1.0 package http://www.64k.it/andres/data/avisynth/RemoveGrain10.rar )

BHH

P.S try this build with your failing audio... www.64k.it/andres/data/a/AutoMKV063f.exe

ehushagen
23rd December 2006, 15:36
Nice! The 0.63f version works perfectly for me as well now, too.

buzzqw
23rd December 2006, 15:42
@ehushagen

yes... i forgot to publish the changelog... 0.63f

FIXED: On avs/m2v/d2v the first audio selected is then used (thanks to ehushagen)
ADDED: PayPal button, feel free to ignore... or not :D
ADDED: If audio encoding goes bad AutoMKV will ask to continue or quit (beta, suggest from AMED)

I am VERY GRATEFULL to ehushagen for being the first in Donors List :thanks: :)

BHH

vOjToL
23rd December 2006, 18:03
yep... no unicode support now... , i will search...
BHH

This buid -0.63f(removed link,454kB) crash always after audio encoding, the new "f"(421kB) works good. There is not a big problem for me to using only latina letters in files names, I've been waiting for unicode build :)

Edit: After succesfull queue encoding, a window of program appears again, and then I choose video file for next encoding, the window for audio file not appears, nothing happens, I can't open audio file, until I restart the application

ottar
23rd December 2006, 22:11
Thanks for a great tool!

One question: I just want good quality , and I don't care how big the output is. What profile and output size should I use?

Two suggestions: first, an option in the Disk Settings list for "Don't Care About Size". Second, could you make the window border not resizable? If you size it bigger, all you get is more empty space, and if you size it smaller, you just hide controls, so Fixed Dialog is a better border style choice, I think.

Thanks again for your excellent program.

Tailschao
23rd December 2006, 22:20
Hi,
Great GUI, I'll make a small contribution when my Xmas money gets paid into my account. :)

If I chose .avs input with 5.1 AC3 audio as 1st audio and no second audio, and set the audio to Lame stereo 128, the audio isn't encoded, it just stays like this:
http://img127.imageshack.us/img127/1844/automkvaudiononencodescly7.png
until I close the window.
Log:
20:36:19 0.63f - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:36:19 Selected Input file: G:\NEW COMP DVD TEMP FILES\debs.avs
20:36:19 Selected Output dir: G:\NEW COMP DVD TEMP FILES\temp\
20:36:19 Selected Container type: AVI
20:36:19 Selected Encoder: XviD
20:36:19 Selected Size: 1 CD
20:36:19 Selected Slice: 1
20:36:19 Selected Profile: XviD_Normal.xml
20:36:19 Selected Width: 720
20:36:19 Selected Resizer: NONE
20:36:19 Selected Filters: NONE
20:36:19 Selected Deinterlacer: NONE
20:36:19 NeroAACEnc.exe not present
20:36:19 Enabled CRF/CQ autoresize with value 2.5
20:36:19 Using Matrix: Sharktooth's EQM v3LR.cqm
20:36:19 Track Language 1: G:\NEW COMP DVD TEMP FILES\VTS_01_2 T01 3_2ch 448Kbps DELAY 0ms.ac3
20:36:19 Audio Codec 1: Lame
20:36:19 Audio Quality 1: 128
20:36:19
20:36:19 DelayCut CMD: C:\Documents and Settings\[REMOVED]\My Documents\AutoMKV063\exe\dgindex\Delaycut.exe -auto -out "G:\NEW COMP DVD TEMP FILES\temp\fixed1.ac3" "G:\NEW COMP DVD TEMP FILES\VTS_01_2 T01 3_2ch 448Kbps DELAY 0ms.ac3"
20:37:40 Encoding G:\NEW COMP DVD TEMP FILES\temp\fixed1.ac3 To Mp3 with 128 ABR preset
20:38:25 Encoded 1' Audio Track: 0 bytes

Also the donate button is blank, not really a bug, but should take, oohh, 2 seconds to fix? ;)

EDIT: If I use a preset (as opposed to specifying bitrate) then it stops here:
http://img294.imageshack.us/img294/8095/automkvaudiononencodescbp3.png
instead.

buzzqw
24th December 2006, 09:47
Edit: After succesfull queue encoding, a window of program appears again, and then I choose video file for next encoding, the window for audio file not appears, nothing happens, I can't open audio file, until I restart the application

Fixed... anyway queue is to use for more files and than quit, not for one file job...

Two suggestions: first, an option in the Disk Settings list for "Don't Care About Size".

ADDED ! , AutoMKV will set profile and size (and width... fell free to change with to your taste!)

Second, could you make the window border not resizable?

FIXED, thanks for suggestion !

@Tailschao

the audio is being normalized... is normal that "seems stopped"... try with a shorter sample :), you will see what i mean

about donate button: is just missing image or the button ? :confused:

@ALL

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

ADDED: "Don't care about size" in size list, selecting this preset the profile (xvid or x264) will switch to quality encoding (suggestion by ottar)
FIXED: using queue more time without restarting automkv (thanks to vOjToL)
FIXED: border in no more resizable (thanks to ottar)

BHH

ottar
24th December 2006, 10:34
Thanks for giving us the quality encoding mode!

I have one more tiny bug to report: the checkbox for Episodic DVD is misspelled as "espisodic".

You are very responsive. Take a break for Christmas - you deserve it.

vOjToL
24th December 2006, 10:50
about donate button: is just missing image or the button ? :confused:


Yes, it's missing: http://www.mm.pl/~vojtol/automkv/automkv.jpg but the button is working :)

When input audio is mp3 mono, output is mono too, even preset is: lame, stereo. I know, mono to stereo it's a not big difference, dimension of result file is the same...but for standalone player is the difference, sound playing only for central speaker, not left&right.

weaver4
24th December 2006, 14:05
I have a movie that I was encoding using the CQ Xvid profile. The audio was way out of sync (by about a minute). I tried a second movie and had the same problem. These are both movies that encoded properly in 62c. I then tried the first movie in CQ x264 and the audio was in sync.

What do you want me to look at?

SeeMoreDigital
24th December 2006, 14:08
I have a movie that I was encoding using the CQ Xvid profile. The audio was way out of sync (by about a minute).What playback method did you use to determine this... A software or hardware media player

ehushagen
24th December 2006, 15:15
What are people's experiences with using dvr-ms files? I tried loading one this morning, and it just made BAutoDeint hang at 18% although the hard drive was still crunching away on it.

weaver4
24th December 2006, 15:45
What playback method did you use to determine this... A software or hardware media player

SMD: DivX player and Media Player Classic

lolo_htpc
24th December 2006, 19:38
Thanks for this excellent GUI.
After many tests, I could not manage to get autoMKV to autocrop without using the resize function.
I am using the fixed bitrate option for all my encoding. I have the impression that it works with fixed file size but not with specified bitrate.
Thanks,

buzzqw
24th December 2006, 20:11
I could not manage to get autoMKV to autocrop without using the resize function

just set width to full width... usually 720... anyway with next update will be possible to select in width list "AutoCrop Only" :)

about bitrate problem: could you please post a log ?

BHH

buzzqw
24th December 2006, 20:17
@ehushagen

once you know how to deinterlace it you can apply in deinterlacer text box the deinterlacer used string :)

BHH

EDIT: here the Xmas Edition www.64k.it/andres/data/a/AutoMKV063h.exe

changelog

0.63h XMas Edition
FIXED: Mispelled "espisodic dvd" (thanks to ottar)
FIXED: Unknow language ???, would be translated to "und" (thanks to ottar)
ADDED: Added "AutoCrop Only" to width list (thanks to lolo_htpc)

AMED
25th December 2006, 04:39
Hi buzzqw,

I'm trying to convert POTC dead mans chest and it keeps failing at the compression test.

15:15:48 0.63h XMas Edititon - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:15:48 Selected Input file: D:\DEAD_MANS_CHEST1\VIDEO_TS\VTS_01_0.IFO
15:15:48 Selected Output dir: D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\
15:15:48 Selected Container type: MKV
15:15:48 Selected Encoder: X264
15:15:48 Selected Size: 1/3 DVD-R
15:15:48 Selected Slice: 1
15:15:48 Selected Profile: HQ-Insane.xml
15:15:48 Selected Width: Automatic
15:15:48 Selected Resizer: LanczosResize
15:15:48 Selected Filters: Undot()
15:15:48 Selected Deinterlacer: AUTO
15:15:48 NeroAACEnc.exe not present
15:15:48 Enabled CRF/CQ autoresize with value 18
15:15:48 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
15:15:48 Audio Codec 1: Copy Original
15:15:48 Audio Quality 1: 0.35
15:15:48
15:15:48 Starting Indexing
15:15:48 Dgindex CMD: J:\Video\AutoMKV063\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\DEAD_MANS_CHEST1\VIDEO_TS\VTS_01_1.vob] -OF=[D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie] -exit -minimize
15:18:18 Finished indexing
15:18:18 Starting fixing audio delay on track number 1
15:18:18 DelayCut CMD: J:\Video\AutoMKV063\exe\dgindex\Delaycut.exe -auto -out "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\fixed1.ac3" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
15:18:41 Original 1' Audio Size: 485549568 bytes
15:18:42 Finished fixing audio delay
15:18:42 Renamed file fixed1.ac3 to audio.ac3
15:18:42 Encoded 1' Audio Track: 485549568 bytes
15:18:45 Number of Frames: 216821
15:18:45 Framerate: 25.000000
15:18:45 Movie lenght in Seconds: 8673
15:18:45 Movie Width: 720
15:18:45 Movie Height: 576
15:24:51 Processing completed. Type is determined to be interlaced.
15:24:51 BFF: 845
15:24:51 TFF: 7
15:24:51 Order: bff.
15:24:51 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1537212416 bytes
15:24:51 CRF encoding X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 1 --crf 18 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\resmovie.mp4" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\resmovie.avs"
15:24:54 Tested total movie: 5%
15:24:54 AutoResize movie size: 0 bytes
15:24:54 Movie Width suggested based on sample size: 0
15:24:54 Warning !!! - Too low resolution. Set witdh to 240
15:24:54 Starting X264
15:24:54 Command Line 1' Pass X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 1 --bitrate 969 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.avs"
15:24:54 Command Line 2' Pass X264: J:\Video\AutoMKV063\exe\encoder\x264.exe --pass 2 --bitrate 969 --stats "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mp4" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.avs"
15:25:00 J:\Video\AutoMKV063\exe\matroska\mkvmerge.exe -o "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mkv" --aspect-ratio 1:2.415094 --chapters "J:\Video\AutoMKV063\exe\chapters.txt" "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.mp4" --language 0:eng "D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\audio.ac3"
15:25:00 Final Muxed size: -1 bytes
15:25:00 Encoding finished: 00:09:12 elapsed time
15:25:00 -----------------------------------------------------------------------
15:25:00 Script AutoCrop.log
15:25:00
15:25:00 Crop(6,78,708,424)
15:25:00 -----------------------------------------------------------------------
15:25:00 Script Resmovie.avs
15:25:00
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\autocrop.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\blockbuster.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\cnr2.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\ColorMatrix.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Convolution3D.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\corrector.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DctFilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Decomb.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Deen.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\degrainmedian.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DGDecode.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\EEDI2.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\fft3dfilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\FluxSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\frfun7.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\hqdn3d.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\LeakKernelDeint.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MaskTools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\medianblur.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MipSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mt_masktools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mvtools.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\RemoveGrain.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Repair.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SangNom.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SimpleResize.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TBilateral.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TDeint.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TIVTC.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TomsMoComp.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TTempSmooth.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnDot.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnFilter.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\VSFilter.dll")
15:25:00 #loadpluginstart
15:25:00
15:25:00 #test1
15:25:00
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\MCBob_v03c.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\mvbob.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\QMF.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\seesaw.avsi")
15:25:00 Import("J:\Video\AutoMKV063\exe\filter\spresso.avsi")
15:25:00 #importstart
15:25:00
15:25:00 #test2
15:25:00
15:25:00 movie = mpeg2source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.d2v")
15:25:00 function getOrder(clip c) {
15:25:00 order = GetParity(c) ? 1 : 0
15:25:00 Return order }
15:25:00 #filter1start
15:25:00
15:25:00 #test3
15:25:00
15:25:00 #cropstart
15:25:00
15:25:00 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
15:25:00 fixed_aspect = 1.422222
15:25:00 c_width = width(cropclip)
15:25:00 c_height = Round(height(cropclip) / fixed_aspect)
15:25:00 input_par = float(float(c_width)/float(c_height))
15:25:00 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
15:25:00 out_width = 704
15:25:00 out_height = Round(float(out_width) / input_par)
15:25:00 hmod = out_height - (floor(out_height / 16 ) * 16)
15:25:00 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
15:25:00 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
15:25:00 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
15:25:00
15:25:00 LeakKernelDeint(order=bff.,sharp=true)
15:25:00 #resizestart
15:25:00
15:25:00 #test4
15:25:00
15:25:00 LanczosResize(out_width,out_height)
15:25:00 #filter2start
15:25:00
15:25:00 #test5
15:25:00
15:25:00 Undot()
15:25:00 function Comptest(clip c, float percent)
15:25:00 {
15:25:00 frange=floor(14./(percent/100.))
15:25:00 Return SelectRangeEvery(c, frange, 14)
15:25:00 }
15:25:00 Comptest(5)
15:25:00 ColorMatrix("Rec.709->Rec.601",hints=false)
15:25:00 -----------------------------------------------------------------------
15:25:00 Script movie.avs
15:25:00
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\autocrop.dll")
15:25:00 LoadPlugin("J:\Video\AutoMKV063\exe\filter\blockbuster.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\cnr2.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\ColorMatrix.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Convolution3D.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\corrector.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DctFilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Decomb.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Deen.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\degrainmedian.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\DGDecode.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\EEDI2.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\fft3dfilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\FluxSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\frfun7.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\hqdn3d.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\LeakKernelDeint.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MaskTools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\medianblur.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\MipSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mt_masktools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\mvtools.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\RemoveGrain.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\Repair.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SangNom.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\SimpleResize.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TBilateral.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TDeint.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TIVTC.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TomsMoComp.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\TTempSmooth.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnDot.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\UnFilter.dll")
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\VSFilter.dll")
15:25:01 #loadpluginstart
15:25:01
15:25:01 #test1
15:25:01
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\MCBob_v03c.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\mvbob.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\QMF.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\seesaw.avsi")
15:25:01 Import("J:\Video\AutoMKV063\exe\filter\spresso.avsi")
15:25:01 #importstart
15:25:01
15:25:01 #test2
15:25:01
15:25:01 movie = mpeg2source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\movie.d2v")
15:25:01 function getOrder(clip c) {
15:25:01 order = GetParity(c) ? 1 : 0
15:25:01 Return order }
15:25:01 #filter1start
15:25:01
15:25:01 #test3
15:25:01
15:25:01 #cropstart
15:25:01
15:25:01 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
15:25:01 fixed_aspect = 1.422222
15:25:01 c_width = width(cropclip)
15:25:01 c_height = Round(height(cropclip) / fixed_aspect)
15:25:01 input_par = float(float(c_width)/float(c_height))
15:25:01 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
15:25:01 out_width = 352
15:25:01 out_height = Round(float(out_width) / input_par)
15:25:01 hmod = out_height - (floor(out_height / 16 ) * 16)
15:25:01 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
15:25:01 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
15:25:01 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
15:25:01
15:25:01 LeakKernelDeint(order=bff.,sharp=true)
15:25:01 #resizestart
15:25:01
15:25:01 #test4
15:25:01
15:25:01 LanczosResize(out_width,out_height)
15:25:01 #filter2start
15:25:01
15:25:01 #test5
15:25:01
15:25:01 Undot()
15:25:01 ColorMatrix("Rec.709->Rec.601",hints=false)
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio.avs
15:25:01
15:25:01 LoadPlugin("J:\Video\AutoMKV063\exe\filter\NicAudio.dll")
15:25:01 NicAC3Source("D:\DEAD_MANS_CHEST1\VIDEO_TS\temp\fixed1.ac3")
15:25:01 EnsureVBRMP3Sync()
15:25:01 ConvertAudioTo16bit()
15:25:01 #Applyed ORIGINAL downmixing routines
15:25:01 Normalize()
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio.bat
15:25:01
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio2.avs
15:25:01
15:25:01 -----------------------------------------------------------------------
15:25:01 Script mkvmaudio2.bat
15:25:01
15:25:01
15:25:01 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

When i try and manually play the Resmovie.avs it gives me this error
Script Error: expected function name following '.'
(D:\dead_mans_chest1\video_TS\temp\Resmovie.avs, line 72, column 27)

it seems that this line is causing the problem,
LeakKernelDeint(order=bff.,sharp=true)

i have tried to remove the . in the the above line, then the error changes to
i don't know what "bff" means
(D:\dead_mans_chest1\video_TS\temp\Resmovie.avs, line 72)

Is there any chance you could have the compression test added to the simple error checking as you have done with if the audio encoding fails, if AutoResize movie size: = 0, ERROR Message problem with avs.

buzzqw
25th December 2006, 08:54
@AMED

the problem is fixed www.64k.it/andres/data/a/AutoMKV063i.exe

about error checking avs... it shouldn't needed... but i will think about it

BHH

AMED
25th December 2006, 12:41
Thanks for the quick fix, all working well now.
LeakKernelDeint(order=0,sharp=true)

fogbav
25th December 2006, 13:25
Hi buzzqw ...

Cli seems to be again broken in the new Versions ...

I will try to search for the reason ...

Happy XMAS to all !

ottar
25th December 2006, 19:03
Converting an episodic DVD to MKV only gets chapters for the first title on the DVD.

Input has three episodes, the first with 14 chapters, and the other two with seven chapters each. Output has the first 14 chapters correct, but no chapters for the rest of the file.

Merry Christmas!

buzzqw
25th December 2006, 19:03
@fogbav got it ! (wrong path)

fixed

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

BHH

buzzqw
25th December 2006, 19:06
@ottar

are you encoding all episodes in one file only or several file (one for each episodes) ?


BHH

ottar
25th December 2006, 19:09
All in one file. I don't know how to do one file for each episode, but I would like to.

buzzqw
25th December 2006, 20:00
so you have three ifo file ? if so please check on advanced settings episoding dvd and choose the ifo corrispondenting to your episodes

BHH

ottar
25th December 2006, 21:15
Just one IFO file. There are four PGCs, length 0:21, 1:30:59, 45:01, and 44:44. The MKV I get out has the right length (3:01:17), but the chapter points are the ones for the longest title (the 1:30:59 one). The chapter points are wrong, though, because they start from 00:00, not from 0:21.

buzzqw
25th December 2006, 21:56
please PM where to download the ifo

BHH

fogbav
25th December 2006, 22:11
@buzzqw : You are the best ...!

Tomorrow i will test the button left from about ...8)

Thanx

FoGBaV

Edit : First run didn't worked ... will test tomorrow morning ...

weaver4
26th December 2006, 05:20
Anyone know how to make a file for Zune with AutoMKV? The specification says it will play a H.264 format in a .m4v file.

So, I have tried to make a *.mp4 file in the using CE-mainprofile and then renaming it *.m4v. But the Zune it won't load it.

buzzqw
26th December 2006, 08:16
@fogbav.... some more information ???

@weaver what are the specifics (width/height/bitratre/level...) of Zune ?

BHH

fogbav
26th December 2006, 10:08
d2v file is not build normal ... its zero sized ...

DGINDEX is not coming up ....

log :

10:03:02 Selected Input file: D:\ACE4.0\tmp\film.m2v
10:03:02 Selected Output dir: D:\ACE4.0\tmp\temp\
10:03:02 Selected Container type: MP4
10:03:02 Selected Encoder: XviD
10:03:02 Selected Size: 55
10:03:02 Selected Slice: 1
10:03:02 Selected Profile: XviD_Normal.xml
10:03:02 Selected Width: 688
10:03:02 Selected Resizer: LanczosResize
10:03:02 Selected Filters: Spresso()
10:03:02 Selected Deinterlacer: AUTO
10:03:02 Enabled CRF/CQ autoresize with value 2.5
10:03:02 Using Matrix: Sharktooth's EQM v3LR.cqm
10:03:02 Track Language 1: All Audio Tracks
10:03:02 Audio Codec 1: Nero AAC
10:03:02 Audio Quality 1: 0.35
10:03:02 Track Language 2:
10:03:02 Audio Codec 2: Nero AAC
10:03:02 Audio Quality 2: 0.35
10:03:02
10:03:02 Not fixing audio files
10:03:03 ERROR - There are some problem with movie lenght! Try parsing D2V file
10:03:03 Number of Frames: 0
10:03:03 Framerate:
10:03:03 Movie lenght in Seconds: -2147483647
10:03:03 Movie Width:
10:03:03 Movie Height:
10:03:06 Order: unk
10:03:06 FIRST pass XviD: "D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 0 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\tmp\temp\movie.avs" -type 2 -avi "D:\ACE4.0\tmp\temp\movie_firstpass.avi"
10:03:06 SECOND pass XviD: "D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 0 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\tmp\temp\movie.avs" -type 2 -avi "D:\ACE4.0\tmp\temp\movie.avi"
10:03:06 Starting First Pass
10:05:21 Starting Second Pass
10:05:24 D:\ACE4.0\exe\matroska\mp4box.exe -add "D:\ACE4.0\tmp\temp\movie.avi":par=-1.#IND00 -chap "D:\ACE4.0\exe\chapters.txt" -fps 25.00000 "D:\ACE4.0\tmp\temp\movie.mp4"
10:05:25 Final Muxed size: -1 bytes
10:05:25 Encoding finished: 00:02:23 elapsed time


Directory Structure :

Datentr„ger in Laufwerk D: ist Data
Volumeseriennummer: XXXX-XXXX

Verzeichnis von D:\ACE4.0\tmp\temp

26.12.2006 10:05 <DIR> .
26.12.2006 10:05 <DIR> ..
26.12.2006 10:03 0 AutoCrop.log
26.12.2006 10:03 209 createautodeintmovie.avs
26.12.2006 10:03 574 createautodeintmovie.avs.bautodeint_temp.avs
26.12.2006 10:03 126 deint.bat
26.12.2006 10:03 4.766 deint.log
26.12.2006 10:03 0 frame.txt
26.12.2006 10:05 0 mkvmaudio.avs
26.12.2006 10:05 0 mkvmaudio.bat
26.12.2006 10:05 0 mkvmaudio2.avs
26.12.2006 10:05 0 mkvmaudio2.bat
26.12.2006 10:03 2.971 movie.avs
26.12.2006 10:03 0 movie.d2v
26.12.2006 10:03 0 movielenght.mp4
26.12.2006 10:05 170 muxing.bat
26.12.2006 10:05 0 resmovie.avs
26.12.2006 10:03 1.252 time.avs
26.12.2006 10:03 393 xvidfirstpass.bat
08.12.2006 20:16 2.457 xvidprofile.xml
26.12.2006 10:03 376 xvidsecondpass.bat
19 Datei(en) 13.294 Bytes
2 Verzeichnis(se), 14.705.438.720 Bytes frei


with 063d evrything is fine ...

buzzqw
26th December 2006, 14:38
fixed ! (was only broken with m2v files..)

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

BHH

Mouse
26th December 2006, 17:16
Dunno what i'm doing wrong but it can't seeme to get by when AVIMux starts. It crashes badly and the whole encode is terminated.

Right after it builds "audio.mp3". It quits with a error stating "audio.mp3" is busy, and both winXP and AVIMux errors and whole encode terminates.

Using a .ts source as input, using the analog sound in it.

Which of all 300 :) logfiles should i post ?



Also choosing AutoMKV not using DGIndex but ProjectX is somewhat broken, even if i choose "use ProjectX" it is still using DGIndex.

buzzqw
26th December 2006, 17:40
update www.64k.it/andres/data/a/AutoMKV063l.exe

ADDED: Button to Clear Log Window
ADDED: Possibility to activate High Quality Deinterlacer (slow!)
FIXED: Command line broken with m2v files
FIXED: More robust detection of pid on ts files

@Mouse

dowload this build, and then report... should be fixed ! :)

BHH

weaver4
26th December 2006, 18:20
@fogbav.... some more information ???

@weaver what are the specifics (width/height/bitratre/level...) of Zune ?

BHH

Well in one place it says this.

"Windows Media Video (.wmv): Main Profile, CBR or VBR, up to 1.5 Mbps peak video bitrate, 320 x 240 pixels, 30 frames per sec., with Windows Media Audio up to 192 Kbps, 44.1 kHz, stereo audio; Simple Profile, CBR, up to 736 Kbps video bitrate, 320 x 240 pixels, 30 frames per sec., with Windows Media Audio up to 192 Kbps, 44.1 kHz, stereo audio."

and in another it says

" Video
Windows Media Video (.wmv): All bitrates and resolutions
MPEG4 (.mp4, .m4v, .mov): Simple Profile, all bitrates, and resolutions
H.264 (.mp4, .m4v, .mov): Baseline and Main Profile, all bitrates and resolutions"

But the more I look at it the more I think that the first choice is for the Zune Handheld and the second is for Zune Player on the PC.

So, can AutoMKV make wmv files that will work?

fogbav
26th December 2006, 18:53
Works like a champ now ... thankx Buzzqw ... i hope its ok that i am the Cli Tester ... and shooting on you with bug reports ...8)

P.S. : A Resizer has to be selected to get autocrop to Work !!! (Bug?)

buzzqw
26th December 2006, 19:34
@fogbav

1) if you set resizer to NONE the movie will not resized or autocropped
2) if you set resizer to NOT NONE (any other resizer) and width to 720 (or less) le movie will be autocropped (and resized)
3) if you set resizer to NOT NONE (any other resizer) and width to AutoCrop Only the movie will be only autocropped

shouldn't changed from previus versions..

BHH

fogbav
26th December 2006, 20:00
OK .. ok... call me stupid ... checked now ...8)

Buzzqw ... is there any chance to get my posted script with Besweet ONLY mode 2 AAC integrated into automkv ...?

with the new bsn.dll it works like a hell to encode AC3 Audio even if there is the change from 2/0 AC3 to 3/2 AC3 (commercials). No DelayCut or Bepipe is nessecary (Bepipe brings up dangerous errors when AC3 Format is changed --- resulting in a 5KB big AC3 Track)

buzzqw
26th December 2006, 20:08
don't have you checked "Use Custom X.ini" ? :rolleyes:

i was able to add the option "Replace all non 3/2 ac3 by 3/2lfe silence"

BHH

buzzqw
26th December 2006, 20:35
@fogbav

re download 0.63l

added in codec audio "custom bat"

you must put into \temp created (or already present) the file mkvmaudio.bat and (if nedded) mkvmaudio2.bat

MUST BE NAMED AS I WROTE.

in those bat file the encoder must procuced or audio.xxx (mp4/mp3/ogg) or audio2.xxx

so
start /low /wait /min .\exe\besweet\besweet.exe -core( -input ".\tmp\film.mp2" -output ".\tmp\final\film_en.aac" -logfile ".\tmp\final\film_en.aac.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.2 ) -ota( -g max )

must be followed by mp4box audio.mp4 -add film_en.aac

and
AC3 :
start /low /wait /min .\exe\besweet\besweet "BeSweet.exe" -core( -input ".\tmp\film.ac3" -output ".\tmp\final\audio.mp4" -logfile ".\tmp\final\film.ac3.log" ) -azid( -c normal ) -bsn( -vbr 0.2 -6chnew ) -ota( -g max )


BHH

Mouse
26th December 2006, 20:37
.63l - audiotracks no longer changeable, eighter "All tracks" or "None".

Above in .ts

fogbav
26th December 2006, 20:37
Come on ... you give me a hard time today ...8)

Say something nice to me next time ... i am standing here with a brain like a frog ....8)

Will check soon (possible making my script 90 % obsulete ...)

Happy coding and encoding

FoGBaV

P.S. : Videos from automkv looks like diamonds - never saw a quality like this before (GK / AutoGK/Staxrip/Megui) ... converted 20 TS Files now with brilliant quality AAAND without any errors ...

buzzqw
26th December 2006, 20:40
@Mouse

please post "checkmedia.txt" (is with automkv.exe)

BHH

Mouse
26th December 2006, 21:30
@Mouse

please post "checkmedia.txt" (is with automkv.exe)

BHH

from checkmedia.txt

bbSummary - based on BBINFO version 1.9

File E:\recordings\CanalPlus\Sharktale\shark.1min.ts is an MPEG-2 Transport Stream
pack header field flag value not allowed in program streams

that sample is a cutout from a .ts that loads fine. Maybe using ProjectX and cut out sample's is bad?

(just checked, theres no error when i load the entire .ts..odd)

Anyway, free from crashes now, which is a good thing. Video looks absolute marvelous - even on my 42" pioneer plasma :p

fogbav
26th December 2006, 21:34
Could you please send me in the 42" pioneer plasma for detailed analyses on your problem ..? 8)

buzzqw
27th December 2006, 08:00
@Mouse

could PM with a link of this "broken" ts file ?

BHH

EDIT: also re-download 063l, should be fixed parsing of mpeg audio files within ts files

Mouse
27th December 2006, 16:41
L-version, even when re-downloading it, behaves like what i first had problem with.

-"Dunno what i'm doing wrong but it can't seeme to get by when AVIMux starts. It crashes badly and the whole encode is terminated.

Right after it builds "audio.mp3". It quits with a error stating "audio.mp3" is busy, and both winXP and AVIMux errors and whole encode terminates."

buzzqw
27th December 2006, 17:47
i have done several test with lame + xvid + avimux and never got problem... have you a sample to replicate ?

try disabling the antivirus, remove any previus \temp directory, try muxing manually

for me (and several others) is working :o

BHH

fogbav
27th December 2006, 20:38
Agree ! 8)

Best practice is to set up a virtual pc in VM with minimal codexes installed so no filter is interrupting the other.

War on pc is when you install a filter mega pack as ACE or something like this.

And ... if programms crashes (hard crashes) check your memory with Memcheck .... and try to rar about 20 Gig on your HD and do a verify over the archive ...

(only some tips 4 instable pcs ... don't be angry about the tips ok ?)

Mouse
27th December 2006, 22:05
First, i'm not the only one with this problem, a buddy of mine has *exact the same problem*.

Second, NO megapack's or any other strange "codec-packs", found on pages with 500 pop-up-naked-ladies are installed here. Only the ones needed. No more, no less.

I have 2 gig's of ram, the harddisc i use to encode to has ~300gig free.

And no, i'm not offended fogbav.

buzzqw
28th December 2006, 08:10
have you tryed to mux manually ?

Mouse, please download this build www.64k.it/andres/data/a/AutoMKV063l-Mouse.exe, i have done just 1 modify: avimux will start muxing 5 sec later encoding is finished

try with a small sample

thanks :)

BHH

buzzqw
28th December 2006, 13:35
update www.64k.it/andres/data/a/AutoMKV064.exe

Changelog

ADDED: Save default now save name of final muxed file
ADDED: in command line input is now possibility to specify audio external (woking with m2v or d2v files)
es: AutoMKV.exe automkv.ini "c:\temp\_aaa.d2v" "c:\temp\_aaa.ac3" 0 0 0 start wait

ADDED: Totally reworked queued sections, now is similar to VirtualDub queue. For every work queued AutoMKV will produce an queueXXX.ini file, where XXX is the number of job
When user click start queue all queued job (not necessary all queueXXX.ini files) will be processed, and the corrisponding queueXXX.ini file deleted.
When AutoMKV start it will check for those queueXXX.ini files and if found will ask to process. In this way we have a permanently queue ! :)
Those change are early beta (i am at home with the flu...) , i have done much test but never as yours :)
I want also :thanks: all for the big support with all those not so stable build !

BHH

weaver4
28th December 2006, 16:37
buzzqw: What is the link to make a donation; I couldn't seem to find it.

fogbav
28th December 2006, 17:02
Integrated into Automkv - Main View - Button with "empty" text ( 8) ) left side from the about button ....

Opens up a new browser window ...

SeeMoreDigital
28th December 2006, 17:02
Where is it... Where is it?

http://img401.imageshack.us/img401/5728/automkv064pj5.png

weaver4
28th December 2006, 17:15
Where is it... Where is it?

http://img401.imageshack.us/img401/5728/automkv064pj5.png

Oh...Thanks; don't I feel silly. I thought I had seen the link in this thread, so I looked for 20 minutes.

buzzqw
28th December 2006, 17:33
for anyone that problem with donate button here is the LINK (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=azanzani%40gmail%2ecom&item_name=Donate%20to%20AutoMKV%20%21%20Thanks%20for%20your%20Support%20%21%21%21&no_shipping=1&return=http%3a%2f%2fwww%2e64k%2eit%2fandres%2fdata%2fa%2fThanks%2ehtm&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)

i will add it to first topic

thanks!

BHH

killerhex
28th December 2006, 23:33
is mkv input allowed

weaver4
29th December 2006, 02:29
I am still having problems with audio sync using constant quality xvid. I have run this movie through avi.net, autogk, dr divx, and MeGui and they all have the audio in sync. But in automkv the movie is out of sync by 90 seconds (audio is late by 90 seconds).

Here are the files.

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

===================================
Profile.
===================================
<?xml version="1.0" ?>
- <VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>cq</Name>
- <Settings xsi:type="xvidSettings">
<EncodingMode>1</EncodingMode>
<BitrateQuantizer>3</BitrateQuantizer>
<KeyframeInterval>300</KeyframeInterval>
<NbBframes>2</NbBframes>
<MinQuantizer>2</MinQuantizer>
<MaxQuantizer>31</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>true</Trellis>
<CreditsQuantizer>12</CreditsQuantizer>
- <FourCCs>
<string>XVID</string>
<string>DIVX</string>
<string>DX50</string>
<string>MP4V</string>
</FourCCs>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>0</FourCC>
<Zones />
<MaxNumberOfPasses>2</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<MotionSearchPrecision>6</MotionSearchPrecision>
<VHQMode>1</VHQMode>
<QuantType>0</QuantType>
<MinPQuant>2</MinPQuant>
<MaxPQuant>31</MaxPQuant>
<MinBQuant>2</MinBQuant>
<MaxBQuant>31</MaxBQuant>
<BQuantRatio>162</BQuantRatio>
<BQuantOffset>0</BQuantOffset>
<KeyFrameBoost>10</KeyFrameBoost>
<KeyframeThreshold>1</KeyframeThreshold>
<KeyframeReduction>20</KeyframeReduction>
<OverflowControlStrength>5</OverflowControlStrength>
<MaxOverflowImprovement>5</MaxOverflowImprovement>
<MaxOverflowDegradation>5</MaxOverflowDegradation>
<HighBitrateDegradation>0</HighBitrateDegradation>
<LowBitrateImprovement>0</LowBitrateImprovement>
<ReactionDelayFactor>16</ReactionDelayFactor>
<AveragingPeriod>100</AveragingPeriod>
<FrameDropRatio>0</FrameDropRatio>
<RateControlBuffer>0</RateControlBuffer>
<VbvPeakRate>0</VbvPeakRate>
<VbvMaxRate>0</VbvMaxRate>
<VbvBuffer>0</VbvBuffer>
<PackedBitstream>false</PackedBitstream>
<GMC>false</GMC>
<ChromaMotion>true</ChromaMotion>
<ClosedGOP>true</ClosedGOP>
<VHQForBframes>true</VHQForBframes>
<AdaptiveQuant>true</AdaptiveQuant>
<Greyscale>false</Greyscale>
<Interlaced>false</Interlaced>
<BottomFieldFirst>true</BottomFieldFirst>
<LumiMasking>false</LumiMasking>
<BframeThreshold>0</BframeThreshold>
<CustomQuantizerMatrix>extra\Sharktooth's EQM v3LR.cqm</CustomQuantizerMatrix>
</Settings>
</VideoProfile>

===================================
The Mux File
===================================
CLEAR
LOAD E:\Movies\temp\movie.avi
LOAD E:\Movies\temp\audio.mp3
SELECT FILE 1
ADD VIDEOSOURCE
SET INPUT OPTIONS
SET OPTION MP3 VERIFY CBR NEVER
SET OPTION MP3 VERIFY RESDLG OFF
SET OUTPUT OPTIONS
WITH SET OPTION
OPENDML 0
RECLISTS 0
AUDIO INTERLEAVE 3 FR
AVI ADDJUNKBEFOREHEADERS 0
PRELOAD 200
WITH AUDIO
NAME 1 english
END WITH
OVERWRITEDLG 0
CLOSEAPP 1
DONEDLG 0
ALL AUDIO 1
LEGACY 0
RECLISTS 1
NUMBERING OFF
MAXFILESIZE OFF
END WITH
START E:\Movies\temp\movie_full.avi

weaver4
29th December 2006, 02:56
After looking at this some more it appears that audio gets out of sync further as the movie proceeds.

I played both the autogk and automkv version in MPC and here are the properties.

------ AutoGK
Video: XVID 640x288 23.98fps [Stream 00]
Audio: MPEG Audio Layer 3 48000Hz stereo 160Kbps [Stream 01]

------ AutoMKS
Video: XVID 640x288 25.00fps [Stream 00]
Audio: MPEG Audio Layer 3 44100Hz stereo 97Kbps [01) english]

SeeMoreDigital
29th December 2006, 10:42
After looking at this some more it appears that audio gets out of sync further as the movie proceeds.

I played both the autogk and automkv version in MPC and here are the properties.

------ AutoGK
Video: XVID 640x288 23.98fps [Stream 00]
Audio: MPEG Audio Layer 3 48000Hz stereo 160Kbps [Stream 01]

------ AutoMKS
Video: XVID 640x288 25.00fps [Stream 00]
Audio: MPEG Audio Layer 3 44100Hz stereo 97Kbps [01) english]First.... Can you confirm whether your MPEG-2 source is PAL or NTSC?

buzzqw
29th December 2006, 10:49
My Kudos to Weaver4 !

YOU have resolved !!!

the source if fully FILM so automkv (as autogk) will ForceFilm in dgindex !

BUT xvid_encraw isn't able to recognize the framerate ! and so put 25 fps as default value

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

ADDED: -framerate to xvid_encraw command line
FIXED: lot's of bugs in queue mode
FIXED: is now possible to delete single job

:thanks: for your patience (and Contribute!)

BHH

dssgorila
29th December 2006, 13:52
I used to the psp profile to create a encode a video for my psp. but when I copied to the psp and tried to play the file i get Unsupported Data. the only thing i can think of is the file has a res of 704x304 not sure if the psp can play that res. I thought choosing the psp template would configure the video for psp spec. Am i missing something?

fogbav
29th December 2006, 13:55
Hi Buzzqw,

think a path error is back again ... i am encoding a m2v in path

d:\ace4.0\tmp\film.m2v

but xvid_encraw has following params :

D:\ACE4.0\temp>"D:\ACE4.0\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate
1514 -turbo -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 3 -pma
x 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 20 -clow 7 -nopacked
-nochromame -noclosed_gop -bvhq -qmatrix "D:\ACE4.0\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "D:\ACE4.0\temp\movie.avs" -type 2 -avi "D:\ACE4.0\temp\movie_firstpass.avi"



so the temp path is one directory above the real path ... is this a new planed change ?

muxxing to final mp4 container is also wrong :

"D:\ACE4.0\exe\matroska\mp4box.exe" -add "D:\ACE4.0\temp\movie.avi":par=2.392523 -chap "D:\ACE4.0\exe\chapters.txt" -fps 25.000000 "D:\ACE4.0\temp\movie.mp4"

it should go into d:\ace4.0\tmp\movie.mp4 ....

so final movie.mp4 ends up in

d:\ace4.0\temp\movie.mp4

and not in

d:\ace4.0\tmp\movie.mp4

buzzqw
29th December 2006, 14:27
could please post the first 10 lines of log ?
and the first lines of automkv.ini ?

i tryed from command line (m2v, no audio, xvid into mp4) and no got error

this is my log (as example)

14:22:20 0.64a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
14:22:20 Selected Input file: c:\Programmi\PureBasic4\AutoMKV\test\Sample_1.demuxed.m2v
14:22:20 Selected Output dir: C:\Programmi\PureBasic4\AutoMKV\test\temp\

and this is the mux line

14:22:29 C:\Programmi\PureBasic4\AutoMKV\exe\matroska\mp4box.exe -add "C:\Programmi\PureBasic4\AutoMKV\test\temp\movie.avi":par=1.367521 -chap "C:\Programmi\PureBasic4\AutoMKV\exe\chapters.txt" -fps 29.970030 "C:\Programmi\PureBasic4\AutoMKV\test\temp\movie.mp4"

and this is part of automkv.ini

; AutoMKV default parameters
; If AutoMKV.ini is present then specified parameters will be loaded
[AutoMKV]
Input Folder = C:\Programmi\PureBasic4\AutoMKV\test\
Output Folder = C:\Programmi\PureBasic4\AutoMKV\test\
Container = MP4


EDIT: and this is the command line used C:\Programmi\PureBasic4\AutoMKV>AutoMKV064a.exe automkv.ini c:\Programmi\PureBasic4\AutoMKV\test\Sample_1.demuxed.m2v" 0 0 0 0 start wait

thanks

BHH

fogbav
29th December 2006, 14:43
Sorry BuzzQW ... my first wrong bug ...8)

Movie.mp4 is created in d:\ace4.0 dir ...

only thing changed from last version is that the temp directory is now created on another place ...

and ...

i have to select in automkv.ini the destination folder ...

so i change my script ...

Sorry again ...

buzzqw
29th December 2006, 15:15
@fogbav

try this build www.64k.it/andres/data/a/AutoMKV064b.exe

if dest folder is specified then is used, if not will be muxed where is the input file (and the work is done is inputfile\temp folder)

BHH

fogbav
29th December 2006, 15:23
Yeah ... thats the one i need ...8)

Thhaanks ... greater for scripting purposes ...8)

Edit : Works perfect again ... thanks !

weaver4
30th December 2006, 00:52
My Kudos to Weaver4 !

YOU have resolved !!!

the source if fully FILM so automkv (as autogk) will ForceFilm in dgindex !

BUT xvid_encraw isn't able to recognize the framerate ! and so put 25 fps as default value

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

ADDED: -framerate to xvid_encraw command line
FIXED: lot's of bugs in queue mode
FIXED: is now possible to delete single job

:thanks: for your patience (and Contribute!)

BHH

I just checked this version....and the audio is in sync!!!! Great JOB!

weaver4
30th December 2006, 16:16
If you add CQ encoding (either XviD or x264) to the queue and then press the start queue button the dialog box for "go unlimited" comes up twice before each job. This is really annoying because before each job it stops while it waits for me to answer this dialog.

Also, I know this was mentioned a few months ago but AutoMKV application still disappears when you are running a queue. This makes it very difficult to see the log.

buzzqw
30th December 2006, 18:04
www.64k.it/andres/data/a/AutoMKV064c.exe

FIXED: when adding files to queue now is saved "Hit Media Size/Go Unlimited" (thanks to weaver4)

About: window... i am working on it :)

BHH

buzzqw
30th December 2006, 18:36
DONE IT ! YES!!!

in next version both on queue and command line automkv will not hide itself !!!

BUT PLEASE , pay attention. On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab

BHH

vOjToL
30th December 2006, 20:23
Hi buzzqw!

A one little thing, when I click "select input file", "Open File to Encode" window is opening, and then I change my plans and press "cancel" I get the popup window "Attention- Low Disk Space or Read Only Destination" ?

weaver4
30th December 2006, 21:15
DONE IT ! YES!!!

in next version both on queue and command line automkv will not hide itself !!!

BUT PLEASE , pay attention. On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab

BHH

Good news!!! I think you are getting close to 1.0!

Barleyman
31st December 2006, 01:49
Hm. AVI + "Xvid PAR = AUTO" does not actually do anything.. I assumed it'd detect source AR..

For MKV, PAR auto still does not do anything but "force muxing AR = AUTO" sets the correct AR for MKVmerge.

Setting correct AR manually with XVID PAR for avi works properly.

buzzqw
31st December 2006, 10:09
@vOjToL

is a wanted warning, since i set destination directory based on input file ... anyway... FIXED in next release :)

@weaver4
yep... wasn't so easy...

next big step is to free automkv window, so when automkv is working would be possible to add dinamically new work

@Barleyman
Hm. AVI + "Xvid PAR = AUTO" does not actually do anything.. I assumed it'd detect source AR..
i have choose to NOT PASS -par paramenter to xvid, so auto don't do anything (as you say)


BHH

boombastic
31st December 2006, 14:59
Hi buzzqw i'm writinig you here considering that the other forum is down at the moment....
Can you consider to change the matrix associated to the SAP profile to mpeg standard matrix?I think it's missleading naming a profile SAP while using a Custom Matrix. I think you can change the matrix or the name of the profile!What do you think about?

weaver4
31st December 2006, 15:22
Hi buzzqw i'm writinig you here considering that the other forum is down ...

What other forum?

buzzqw
31st December 2006, 15:31
@weaver4
italian forum :)

@boombastic

do i so enormeus error ?

FIXED (not already ... but FIXED)

thanks

BHH

P.S :temporary down ?

Barleyman
31st December 2006, 16:37
i have choose to NOT PASS -par paramenter to xvid, so auto don't do anything (as you say)


Yeah. So maybe "none" would be better default option than "auto"?

Trying queues 1st time with xvid + mkv now, let's see what you guys got done over holidays..

Barleyman
31st December 2006, 17:53
in this way the autocrop will start to analyze movie from frame 5000


Hmm.

Could this be changed to make multiple autocrop passes at some arbitary points of the file (like 20% + 40% + 60% + 80%) and pick the highest detected value?

Also the analyzed frames should be probably cranked up to pick up burned subtitles. With 40 frames if there are no subs for <2 secs, autocrop will happily slice letterboxed movie's subtitles away..

I don't think there's too much performance penalty by cranking that to, say, 750 frames considering encoding 45 min tv episode will in any case take a long time.

Let's see. I cranked samples to 750 and start frame to 7500, which is a bit of a brute force approach.

buzzqw
31st December 2006, 18:40
So maybe "none" would be better default option than "auto"?

good point. FIXED in next release

I don't think there's too much performance penalty by cranking that to, say, 750 frames considering encoding 45 min tv episode will in any case take a long time

not lose performance at all, just slower to start

I cranked samples to 750 and start frame to 7500, which is a bit of a brute force approach.

bruteforce... yes but a good approach.

Tips: try to use Manual Crop (in this way you can tell me if is fuctional... or broken :D )

BHH

EDIT: don't even try to queue with files in manual crop and other in autocrop... FIXED in next version

Unrealbr
1st January 2007, 00:47
I'm having a little issue when trying to rip from dvd directly, it decrypts fine with DVDFab but after that the DGIndex will just freeze and stay that way for hours and hours
Sorry i'm really T3H N00B in dvd encoding, so far all that i used to do was Anime encoding ^^.
For the time beeing i cant give you more details because i know NOTHING at all.

buzzqw
1st January 2007, 14:24
@Unrealbr

more info you give more help you got :)

please post the log

also, where you put destination folder ? not on dvd...

BHH

Unrealbr
1st January 2007, 14:38
11:34:18 0.64c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:34:18 Selected Input file:
11:34:18 Selected Output dir: F:\GTO\Assisti\temp\
11:34:18 Selected Container type: MP4
11:34:18 Selected Encoder: X264
11:34:18 Selected Size: 700
11:34:18 Selected Slice: 1
11:34:18 Selected Profile: CE-Mainprofile.xml
11:34:18 Selected Width: 720
11:34:18 Selected Resizer: LanczosResize
11:34:18 Selected Filters: Convolution3d (preset="movieHQ")
11:34:18 Selected Deinterlacer: NONE
11:34:18 Enabled CRF/CQ autoresize with value
11:34:18 Using Queue: automkv.ini of 0 works
11:34:18 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
11:34:18 Audio Codec 1: Nero AAC
11:34:18 Audio Quality 1: 0.35
11:34:18 Activate Anamorphic Encoding
11:34:18
11:34:18 Starting ripping from H:\VIDEO_TS\ to F:\GTO\Assisti\temp\
11:36:19 Finished Ripping
11:36:19 Starting Indexing
11:36:19 Dgindex CMD: E:\AutoMKV064\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\GTO\Assisti\temp\dvd\video_ts\VTS_01_1.vob] -OF=[F:\GTO\Assisti\temp\movie] -exit -minimize
11:37:25 Finished indexing

Wont get past this :(
The output is set to my 320gb HD

buzzqw
1st January 2007, 14:50
11:36:19 Dgindex CMD: E:\AutoMKV064\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\GTO\Assisti\temp\dvd\video_ts\VTS_01_1.vob] -OF=[F:\GTO\Assisti\temp\movie] -exit -minimize
11:37:25 Finished indexing

this seems to be correct, is very quick in indexing.. but is ok.
Is dgindex working ? creating audio and movie.d2v files ?

remember also that you must have installed

1) avisynth http://downloads.sourceforge.net/avisynth2/Avisynth_256.exe?modtime=1130597296&big_mirror=0
2) net framework http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en


BHH

Unrealbr
1st January 2007, 15:56
this seems to be correct, is very quick in indexing.. but is ok.
Is dgindex working ? creating audio and movie.d2v files ?

remember also that you must have installed

1) avisynth http://downloads.sourceforge.net/avisynth2/Avisynth_256.exe?modtime=1130597296&big_mirror=0
2) net framework http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en


BHH
Got avisynth and netframeworks 1.1 and 2.0 installed
movie.d2v is beeing created but not audio.d2v just AC3.
Btw, this time it got past though i did nothing wrong :confused: :confused:

buzzqw
1st January 2007, 16:16
...

movie.d2v and movie_xx_xx.ac3 is done through dgindex... so this is ok

BUT remember AFTER dgindex is runned delaycut, this utility is HIDDEN you don't see it work, just a fixed.ac3 growing and growing (to get movie_xx_xx.ac3 size).
After then the audio and video process start.

BHH

boombastic
1st January 2007, 16:33
@weaver4
italian forum :)

@boombastic

do i so enormeus error ?

FIXED (not already ... but FIXED)

thanks

BHH

P.S :temporary down ?

I hope temporary!

Unrealbr
1st January 2007, 17:16
...

movie.d2v and movie_xx_xx.ac3 is done through dgindex... so this is ok

BUT remember AFTER dgindex is runned delaycut, this utility is HIDDEN you don't see it work, just a fixed.ac3 growing and growing (to get movie_xx_xx.ac3 size).
After then the audio and video process start.

BHH

If it runs, its a light one because at the time i had problems the CPU usage wouldnt go higher then 3%.

buzzqw
1st January 2007, 17:52
is a disk operation NOT CPU

anyway IS FIXED.ac3 file created ? is growing ?

if yes it is ok, if this file isn't created something other goes wrong

BHH

Barleyman
1st January 2007, 19:46
Deinterlace does not seem to work for batch files.. At least not in AUTO-mode.

sp_int.jpg (http://personal.inet.fi/koti/ohramies/2006/sp_int.jpg)

And here's the log file.. No mention of interlaced source there for sure.

southpark.mpg.log (http://personal.inet.fi/koti/ohramies/2006/southpark.mpg.log)

buzzqw
1st January 2007, 20:05
the test to deinterlace was done
18:34:45 Order: unk
mean Order (bff/tff): unknow

please post the interesting stuff in deint.log (tff/bff/frame based...)

BHH

EDIT: could you also post a sample ? (PM)

Barleyman
1st January 2007, 21:50
the test to deinterlace was done
18:34:45 Order: unk
mean Order (bff/tff): unknow

please post the interesting stuff in deint.log (tff/bff/frame based...)

BHH

EDIT: could you also post a sample ? (PM)

Meh. Have to encode it again as the logs have been overwritten a while ago.

You mean a sample of the mpg file?

Btw, what's the correct combination of settings to encode with a given bitrate on a single pass without resizing? (xvid + avi/mkv). Is that an AVERAGE bitrate which uses more bits for tougher scenes and less for easier? Or a fixed bitrate?

The quantiser value doesn't seem to be very flexible..

Ed: There's the bitrate option which you told me does nothing in CQ profile. There's also option to hit a target size, but that only affects the resize..? Or does it do something else too?

Unrealbr
2nd January 2007, 01:22
Btw, i encoded my DVD but oddly it encoded on a 4:3 basis when it should have had been 16:9, is there anyway to fix that without having to go all the way encoding again?? Took me an everlasting 3h to encode @ mp4 h264 720x some random 4:3 crap.

buzzqw
2nd January 2007, 09:57
Meh. Have to encode it again as the logs have been overwritten a while ago.
no prob... in next release "Delete temp. file" will be unchecked by default :angry: (not with you)

You mean a sample of the mpg file? yes!

Btw, what's the correct combination of settings to encode with a given bitrate on a single pass without resizing? (xvid + avi/mkv).
Set Width to "AutoCrop Only" (for no resize, just autocrop) or set Resize to NONE for NO resize and NO autocrop

Fixed bitrate ? use (check) in advanced setting "Specify Bitrate"

Is that an AVERAGE bitrate which uses more bits for tougher scenes and less for easier? Or a fixed bitrate?

you want a CQ encoding.

The quantiser value doesn't seem to be very flexible..
is taken from profile. Just edit the value (xxx) in <BitrateQuantizer>XXX</BitrateQuantizer> profile

Ed: There's the bitrate option which you told me does nothing in CQ profile. read above :)

There's also option to hit a target size, but that only affects the resize..? Or does it do something else too?
allow to hit a fixed size, and the resize could be automatic or fixed width :)

Btw, i encoded my DVD but oddly it encoded on a 4:3 basis when it should have had been 16:9, is there anyway to fix that without having to go all the way encoding again?? Took me an everlasting 3h to encode @ mp4 h264 720x some random 4:3 crap.

so... i suppose you resolved your problem ;)

what container have you selected ? also ... the AR is parsed from d2v (open with notepad) file and the DAR (used in muxing) is extracted from final width/height.

BHH

Barleyman
2nd January 2007, 12:11
Fixed bitrate ? use (check) in advanced setting "Specify Bitrate"

That doesn't do anything with CQ profile.. right?


is taken from profile. Just edit the value (xxx) in <BitrateQuantizer>XXX</BitrateQuantizer> profile

allow to hit a fixed size, and the resize could be automatic or fixed width :)


The only problem is that this is fairly coarse setting. q=3 == OK quality, q=4 == crappy quality.

Hit target media is EVEN SLOWER than 2-pass. It compresses the whole dang movie at "best quess" value, which is often wrong, and then does it all over again at an explicit ABR value.

For background, I'm compressing episodes of OZ from dvb. It's interlaced (ouch) and has "documentary feeling" noise filter applied at source. Therefore it takes forever to compress (2.5 hours for 65 min episode) and produces very large file. Since the source is interlaced I can't even use the supplied removegrain-filters..

..Maybe I should invest into a dual-core cpu one day..

Barleyman
2nd January 2007, 12:22
no prob... in next release "Delete temp. file" will be unchecked by default :angry: (not with you)


Are you sure there are no problems with the old ac3 files etc in the temp directory?

buzzqw
2nd January 2007, 12:35
Update FULL PACKAGE www.64k.it/andres/data/a/AutoMKV066.rar

this build add a basic support to ZUNE and PSP , please report any problem !

0.65
ADDED: Icon to message warning (very hard work... ;) )
ADDED: Some new tooltips
ADDED: In log is now written command line used (if used)
ADDED: In log final file name
FIXED: When using queue or command line now AutoMKV don't hide itself. PLEASE , pay attention! On queue mode/command line, automkv will feed its list/combobox/check with varius paramenters... DON'T TOUCH IT, just read the log window or simply watch the first tab
FIXED: PAR usage, default is NONE
FIXED: In queue mode the manual crop was applyed to all encoding
FIXED: Better log
UPDATE: Italian translation

0.66
ADDED: Beta support to encoding for PSP (select X264 and PSP profile)
ADDED: Beta support to encoding for Zune (select WMV and Zune profile)
ADDED: Profile now is specified the width. If value is set to not to false the width is set to this value
ADDED: Level to X264.exe command line
ADDED: Parsed from x264 profile the "--no-ssim" options
UPDATE: X264 profile's to latest of SharkTooth. Isn't exactly the same because i added some more tweak
FIXED: Now "Del temporary file" is unchecked by default (for better debugging)

That doesn't do anything with CQ profile.. right?
absolutely

The only problem is that this is fairly coarse setting. q=3 == OK quality, q=4 == crappy quality.
why not 2.5 or 3.5 ? edit the profile in Advanced profile editing AND check use this profile

Hit target media is EVEN SLOWER than 2-pass. It compresses the whole dang movie at "best quess" value, which is often wrong, and then does it all over again at an explicit ABR value.
do you know a better approach ? :sly: feel free to suggest

Since the source is interlaced I can't even use the supplied removegrain-filters..
FALSE. The filters is applied AFTER deinterlacer :)

Are you sure there are no problems with the old ac3 files etc in the temp directory?
:confused: i don't unterstud

BHH

fogbav
2nd January 2007, 13:09
Yehaaaa ! Next round ... Batch Testing is in process mode ...8)

Thanx Buzzqw 4 the New Year present and the hard work you had to investigate ...

buzzqw
2nd January 2007, 13:39
:)

pay attention to temp files... with this release by default ISN'T check "Del temp files"

BHH

Barleyman
2nd January 2007, 15:31
:confused: i don't unterstud
BHH

[old temp files causing trouble]

I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.

Barleyman
2nd January 2007, 15:34
do you know a better approach ? :sly: feel free to suggest

[hit target media in 1-pass]

Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?

If the resize is disabled, the 1st try to compress entire file is useless, no?

Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder.

buzzqw
2nd January 2007, 16:33
I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.

yes, you are right.

in next release i will delete more files from \temp folder (*.ac3,*.avs,*.bat...)

Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?

i would like it is so easy , read this http://forum.doom9.org/showthread.php?t=116773

Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder. it have been update !

BHH

bingo
3rd January 2007, 14:40
Final file is undersized.
I used OGG Vorbis audio codec and set bitate to 3.
video codec: Xvid
Video size is set custom to 2190 (mb).

The final mkv video is 1920mb (should be 2190mb).
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).
What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.

Greetings bingo

buzzqw
3rd January 2007, 14:57
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).

is audio muxed in final mkv ?

Could be you have just saturated the movie ? (try with x264...)

What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.

this isn't important :) ! this value is not the true quality but the slider value (just try ogg quality 6 , you will see 12, x2)
(anyway in next update i will put the exact value in queue)

BHH

bingo
3rd January 2007, 15:31
is audio muxed in final mkv ?


yes, it is allready in the file.

buzzqw
3rd January 2007, 16:24
btw for check audio parameter open mkvmaudio.bat

i can assure (and you can test encoding with x264) that bitrate used is ok.

Simply xvid_encraw seems to don't have a good ratecontrol :angry: i will search on in

thanks anyway
BHH

sjchmura
3rd January 2007, 17:37
VC1/WMV support:

DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.

So

1. Is this using VC1 AP or Main Profile?
2. The audio is 100% broken if you have AC3Filter set to encode to SPDIF :( Is there a way to manually use AC3DECODE from nicaudio in the avisynth script? (5.1 AC3->WMV 5.1 crashes with no error with AC3Filter 1.11 and SPDIF enabled.)

buzzqw
3rd January 2007, 18:41
DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.

yes, if you open the xml you will see wvc1
BUT i use cscript and WMCmd.vbs i don't know if power toy fuctions will be used (in addition to command line) ? :confused:


Is there a way to manually use AC3DECODE from nicaudio

NO, sorry :o
only with graphedit files is possible...

BHH

SeeMoreDigital
3rd January 2007, 18:49
Hi Buzzqw,

Any further thoughts about configuring AutoMKV to encode Xvid directly into the .MP4 container, instead of the .AVI container first?


Cheers

buzzqw
3rd January 2007, 19:15
added in TODO file

anyway i will use this option only if final container is mp4 or mkv

(i had forgotten... ;) )

BHH

SeeMoreDigital
3rd January 2007, 19:22
That's great news.... Many thanks :D

Barleyman
3rd January 2007, 20:13
Meh.

Another possible conflict: If you have AC3 audio track and you want to downmix that to stereo, you choose LAME, right?

No. You have to choose LAME AND "stereo" instead of "original.

buzzqw
3rd January 2007, 20:20
no, you can use even original ... test it :)

i have added a "Sanity Check" in mkvmaudio.avs

"6==Audiochannels() ? stereo() : original()"

BHH

buzzqw
3rd January 2007, 20:43
@SMD

latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...

BHH

EDIT: and mp4box seems no able to handle raw input :(

SeeMoreDigital
3rd January 2007, 21:06
@SMD

latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...

EDIT: and mp4box seems no able to handle raw input :(How "RAW" is "RAW".... Normally just re-naming the file extension to either .M4V or .CMP will enable MP4box to mux the stream.

If you wish you e-mail a short RAW sample to me....

Barleyman
3rd January 2007, 21:12
no, you can use even original ... test it :)
i have added a "Sanity Check" in mkvmaudio.avs
"6==Audiochannels() ? stereo() : original()"


Yeah, I did try that.

Got -1 audio size and no mkv file.

SeeMoreDigital
3rd January 2007, 21:30
Oooooo.... my previous post was numbered "666" :devil:

Nico.Laus.2001
3rd January 2007, 21:54
I encountered a problem while working without administrative rights on NTFS (AutoMKV 0.66):

although I've got every rights on a folder, muxing with mp4box stops with an I/O error telling that the target file could not be accessed. As an admin that works and on FAT32 both work.

although it's more a problem of mp4box, maybe you got some ideas (maybe something yuo could influence when compiling mp4box into the package)

AMED
3rd January 2007, 22:27
I have this weird issue with the compression test failing, AutoMKV 0.66 doesn't seem to be saving the 18 that is in the Use CFR for Autoresize Routines box, this only occurs after i use the save settings button and close down AutoMKV and reopen it. Even manually typing in the 18 into the box, after automkv is closed it still goes back to a blank box. If i delete the automkv.ini file and run automkv again the 18 comes back.

10:22:25 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:22:25 Selected Input file: D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_0.IFO
10:22:25 Selected Output dir: D:\THE_NAKED_GUN1\VIDEO_TS\temp\
10:22:25 Selected Final Name: movie
10:22:25 Selected Container type: MKV
10:22:25 Selected Encoder: X264
10:22:25 Selected Size: 1/3 DVD-R
10:22:25 Selected Slice: 1
10:22:25 Selected Profile: HQ-Slow.xml
10:22:25 Selected Width: Automatic
10:22:25 Selected Resizer: LanczosResize
10:22:25 Selected Filters: RemoveGrain(mode=2)
10:22:25 Selected Deinterlacer: AUTO
10:22:25 NeroAACEnc.exe: not present
10:22:25 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
10:22:25 Audio Codec 1: Copy Original
10:22:25 Audio Quality 1: 0.35
10:22:25 Selected 1' Sub tracks: NONE
10:22:25 Selected 2' Sub tracks: NONE
10:22:25
10:22:25 Starting Indexing
10:22:25 Dgindex CMD: J:\Video\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_1.vob] -OF=[D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie] -exit -minimize
10:24:03 Finished indexing
10:24:03 Starting fixing audio delay on track number 1
10:24:03 DelayCut CMD: J:\Video\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "D:\THE_NAKED_GUN1\VIDEO_TS\temp\fixed1.ac3" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
10:24:09 Original 1' Audio Size: 273917952 bytes
10:24:09 Finished fixing audio delay
10:24:09 Renamed file fixed1.ac3 to audio.ac3
10:24:09 Encoded 1' Audio Track: 273917952 bytes
10:24:12 Number of Frames: 122285
10:24:12 Framerate: 25.000000
10:24:12 Movie lenght in Seconds: 4892
10:24:12 Movie Width: 720
10:24:12 Movie Height: 576
10:25:09 Processing completed. Type is determined to be progressive.
10:25:09 Order: unk
10:25:09 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1537212416 bytes
10:25:09 CRF encoding X264: J:\Video\AutoMKV066\exe\encoder\x264.exe --pass 1 --crf --stats "D:\THE_NAKED_GUN1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.mp4" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.avs"
10:25:12 Tested total movie: 5%
10:25:12 AutoResize movie size: -1 bytes
10:25:12 Movie Width suggested: 0 value based on sample size
10:25:12 Warning !!! - Too low resolution. Set witdh to 240

Barleyman
3rd January 2007, 22:41
Well.

The problem does not seem to be the "original vs stereo" after all.

There's the log file. (http://personal.inet.fi/koti/ohramies/2006/VTS_09_0.IFO.log)

1st off, at least logfile misses parentheses around mkvmerge...

E:\Movies-E\Star Wreck Imperial Edition>C:\Program Files\AutoMKV\exe\matroska\mk
vmerge.exe -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --asp
ect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\
Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movies
-E\Star Wreck Imperial Edition\temp\audio.mp3"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

2nd.. It get's better:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20

Error: 'suo' is neither a valid ISO639-2 nor a valid ISO639-1 code. See 'mkvmerg
e --list-languages' for a list of all languages and their respective ISO639-2 co
des.

Oops. Finally, this one produces expected result:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:fin "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi': Using the AVI demultip
lexer. Opening file. This may take some time depending on the file's size.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3': Using the MP2/MP3 demu
ltiplexer.
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi' track 0: Using the MPEG
-4 part 2 video output module.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3' track 0: Using the MPEG
audio output module.
The file 'E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv' has been o
pened for writing.

buzzqw
3rd January 2007, 22:48
@SeeMoreDigital
very good tips ! renaming from .raw to .m4v does the trick !

@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?

@AMED
i will try to replicate, thanks for this bug !

@Nico.Laus.2001
i will check on my side :)


BHH

Barleyman
4th January 2007, 00:02
@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?

fin for "Finnish" works.. I'm sure finnish language dvd-rips are not top of the list of anyone developing containers :rolleyes:

buzzqw
4th January 2007, 00:11
Suomi -> Fin , fixed in next release

thanks!

BHH

buzzqw
4th January 2007, 00:27
@AMED

FIXED in next release

i added (both for queue/Command line mode and save default) if crf/cq is used and what value

thanks

BHH

Unrealbr
4th January 2007, 12:13
I'm having a couple of issues with 0.66 when trying to encode, the x264.exe is crashing after about 6min of encoding. Dunno if it is because im encoding @ 44fps, wich is kinda fast since i've set it to use no filters. Odly I didnt have had problems with 0.64.
I'm including the log below
08:58:20 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
08:58:20 Selected Input file: F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Selected Output dir: F:\Karekano[1 ao 26]DVD-RIP\temp\
08:58:20 Selected Final Name: CanalProject_KAMIKAKUSHI_KareKano_10
08:58:20 Selected Container type: MP4
08:58:20 Selected Encoder: X264
08:58:20 Selected Size: 50
08:58:20 Selected Slice: 1
08:58:20 Selected Profile: CE-Mainprofile.xml
08:58:20 Selected Width: AutoCrop Only
08:58:20 Selected Resizer: LanczosResize
08:58:20 Selected Filters: NONE
08:58:20 Selected Deinterlacer: AUTO
08:58:20 Enabled CRF/CQ AutoRes at 18 value
08:58:20 Track Language 1: [Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Audio Codec 1: Nero AAC
08:58:20 Audio Quality 1: 0.30
08:58:20 Selected 1' Sub tracks: NONE
08:58:20 Selected 2' Sub tracks: NONE
08:58:20
08:58:30 Number of Frames: 43377
08:58:30 Framerate: 29.969999
08:58:30 Movie lenght in Seconds: 1448
08:58:30 Movie Width: 640
08:58:30 Movie Height: 480
08:59:41 Processing completed. Type is determined to be progressive.
08:59:41 Order: unk
08:59:41 Encoding F:\Karekano[1 ao 26]DVD-RIP\temp\ to NeroAAC with 0.30 quality
09:01:05 Encoded 1' Audio Track: 13666252 bytes
09:01:05 Starting X264
09:01:05 Command Line 1' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 1 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output NUL "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:01:05 Command Line 2' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 2 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4" "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:12:09 E:\AutoMKV066\exe\matroska\mp4box.exe -add "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4":par=1.000000 -chap "E:\AutoMKV066\exe\chapters.txt" -add "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4:lang=und" -fps 29.969999 "F:\Karekano[1 ao 26]DVD-RIP\temp\CanalProject_KAMIKAKUSHI_KareKano_10_full.mp4"
09:12:09 Final Muxed size: -1 bytes
09:12:09 Encoding finished: 00:13:49 elapsed time
09:12:09 -----------------------------------------------------------------------
09:12:09 Script AutoCrop.log
09:12:09
09:12:09 Crop(4,0,632,480)
09:12:09 -----------------------------------------------------------------------
09:12:09 Script Resmovie.avs
09:12:09
09:12:09 -----------------------------------------------------------------------
09:12:09 Script movie.avs
09:12:09
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\autocrop.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\blockbuster.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\cnr2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\ColorMatrix.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Convolution3D.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\corrector.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DctFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Decomb.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Deen.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\degrainmedian.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DGDecode.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\EEDI2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\fft3dfilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\FluxSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\frfun7.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\hqdn3d.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MaskTools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\medianblur.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MipSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mt_masktools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mvtools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\NicAudio.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\RemoveGrain.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Repair.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SangNom.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SimpleResize.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TBilateral.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TIVTC.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TomsMoComp.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TTempSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnDot.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\VSFilter.dll")
09:12:09 #loadpluginstart
09:12:09
09:12:09 #test1
09:12:09
09:12:09 Import("E:\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\mvbob.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\QMF.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\seesaw.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\spresso.avsi")
09:12:10 #importstart
09:12:10
09:12:10 #test2
09:12:10
09:12:10 movie = directshowsource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
09:12:10 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
09:12:10 function getOrder(clip c) {
09:12:10 order = GetParity(c) ? 1 : 0
09:12:10 Return order }
09:12:10 #filter1start
09:12:10
09:12:10 #test3
09:12:10
09:12:10 #cropstart
09:12:10
09:12:10 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:12:10 fixed_aspect = 1
09:12:10 c_width = width(cropclip)
09:12:10 c_height = Round(height(cropclip) / fixed_aspect)
09:12:10 input_par = float(float(c_width)/float(c_height))
09:12:10 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:12:10 out_width = 640
09:12:10 out_height = Round(float(out_width) / input_par)
09:12:10 hmod = out_height - (floor(out_height / 16 ) * 16)
09:12:10 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:12:10 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:12:10 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:12:10
09:12:10 #resizestart
09:12:10
09:12:10 #test4
09:12:10
09:12:10 LanczosResize(out_width,out_height)
09:12:10 #filter2start
09:12:10
09:12:10 #test5
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.avs
09:12:10
09:12:10 video=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 audio=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",video=false)
09:12:10 stereo=getchannel(audio,1,2)
09:12:10 Return AudioDub(video, stereo)
09:12:10 EnsureVBRMP3Sync()
09:12:10 ConvertAudioToFloat()
09:12:10 #Applyed STEREO downmixing routines
09:12:10 function stereo(clip a)
09:12:10 {
09:12:10 fl = GetChannel(a, 1)
09:12:10 fr = GetChannel(a, 2)
09:12:10 c = GetChannel(a, 3)
09:12:10 lfe = GetChannel(a, 4)
09:12:10 sl = GetChannel(a, 5)
09:12:10 sr = GetChannel(a, 6)
09:12:10 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:12:10 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:12:10 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:12:10 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:12:10 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:12:10 Return MergeChannels(l, r).Normalize()
09:12:10 }
09:12:10 #
09:12:10 function original(clip a)
09:12:10 {
09:12:10 Normalize(a)
09:12:10 Return last
09:12:10 }
09:12:10 6==Audiochannels() ? stereo() : original()
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.bat
09:12:10
09:12:10 "E:\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^F:\Karekano[1 ao 26]DVD-RIP\temp\mkvmaudio.avs^)" | "E:\AutoMKV066\exe\besweet\neroaacenc.exe" -ignorelength -q 0.30 -if - -of "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4"
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.avs
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.bat
09:12:10
09:12:10
09:12:10 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
4th January 2007, 13:27
if crash at half encoding seems a issue related to x264.exe or to directshowsource filters

Try upgrading to 2.57RC3, it has a better directshowsource filter, also since DSS is used check your decoding option (in ffdshow i suppose)

Also why use autocrop at all ? has avi source blackbars ? is not set reisize to NONE

Last one, try with a simplier path/original file name... i don't want that .stats files goes crazy (but i doubt...)

Comment: 213 bitrate ?

BHH

Unrealbr
4th January 2007, 14:04
I'll try 2.57RC3.
It doesnt have blackbars, the source is 640x480.
I'm trying to backup a couple of anime episodes and to get each episode in 50mb i have to resize it to 560x420.
About autocrop, i dunno what that does so i havent touched it at all :P

its crashing @ 62% of 1st pass, just on episode 10.
I tried other episodes and didnt crash, that is very odd. I checked the raw and it has no problems, no audio or video problems so i dunno why it crashes :(

Another thing i just tested, i tried mkvmagic 1.33 and it will crash at 62% either. :(

buzzqw
4th January 2007, 15:27
feel positive !

is good that it crashed ever at 62% !

most probably are corrupted frames !

try divfix ! or open in vdub and do a directstream copy of audio/video

BHH

weaver4
4th January 2007, 15:40
I tired the Zune 1-Pass Profile and here is what I found:

After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M. This 5.57M entry would play the first few seconds of the movie correctly; so it did not look like a bad copy.

The resolution of the movie was 320x144 which is fine, but the filesize of movie seems awful big for that. I am not a real expert on wmv but XviD and DivX normally look great at 0.24 bits/pixel and X264 looks great at 0.18 bits/pixel. This was 0.51 bits/pixel.

buzzqw
4th January 2007, 16:03
After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M.

:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)

about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized

for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie

BHH

SeeMoreDigital
4th January 2007, 16:04
Hi Buzz,

Is there any possibility for you to provide direct access to the AAC-LC section of Coding Technologies AAC encoder?


Cheers

Unrealbr
4th January 2007, 16:48
Hey Buzz, i ran DivFix and it came this
NOTE: The error checking is not perfect!
Finished with C:\Documents and Settings\Unrealbr\Desktop\dvfx\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi .
Number of errors: 0
Done.


Yet i am trying to encode the forced fix i did in it.

*EDIT*: Didnt work
Now i'm gonna try to do a direct stream copy via VDub.
PS: Dunno how to do that T_T
*EDIT2*: Trying to reencode with AutoGK to see what comes out.
Everything crashes.. im going mad :(

weaver4
4th January 2007, 21:23
:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)

about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized

for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie

BHH

I will try another movie tonight to try the copy thing. Yes the 544 was the complete movie with audio; and it looks really good on the zune.

Markoul
4th January 2007, 21:58
buzzqw,

My question to you is, what settings i must choose in Automkv in order to preserve the gamma, color, contrast and brightness levels of the original DV movie i ripped off ??

I am encoding in x264 and using mkv container. Also i am using Lanczos resizing.

And it is definitely not a player problem... i have the latest set of ffdshow installed and mplayer classic is outputting different picture levels (i.e. contrast, brightness etc.) between the encoded mkv file and the original DV movie... (i playedback both with mplayer classic and crosschecked with VLC player as well)

Best Regards,

Markoul
p.s. and can you please fix AutoMKV to display correctly for "Windows Large Fonts 120DPI" display setting??

buzzqw
4th January 2007, 22:19
@SeeMoreDigital

i will work on this... added on todo list.. (and done m4v...)

@weaver4
:thanks: :goodpost:

@Markoul

for a dv source automkv will try or

this as first option

movie =avisource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie

and if fail

movie = directshowsource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie


levels of gamma,color, contrast and brightness isn't directly touched ... my doubt is that your source is interalced...

please try this build www.64k.it/andres/data/a/AutoMKV066a.exe (i added interlaced=true)

BHH

Markoul
4th January 2007, 22:35
Tahnk You!! Very Much!! :thanks:

SeeMoreDigital
4th January 2007, 22:52
Just tried build 0.66a....... Many thanks :D

First observation - It would seem manually entered video bitrates are not recognised and encoded correctly.


Cheers

Markoul
4th January 2007, 23:28
buzzqw,

for a dv source automkv will try or

this as first option...

When you say DV sources does this include also DVD movies?? (i.e. VOB files).

Is there also no change done to the original contrast and brightness levels ??

I checked on the movie and yes it is interlaced. I re encode now with HQ deinterlace enabled and will feedback my results to you.

Markoul

buzzqw
5th January 2007, 09:19
automkv will never change color/contrast

the change i made (interlaced=true) would give a better transposition from rgb/yuy2 to yv12, and is only for avi input

for vob i use colormatrix! (search it)

@SMD
from my test is correct... could you please post the log file ?

BHH

SeeMoreDigital
5th January 2007, 10:29
@SMD
from my test is correct... could you please post the log file ?Sure.... here's the log: -09:17:43 0.66a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:17:43 Selected Input file: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB
09:17:43 Selected Output dir: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\
09:17:43 Selected Final Name: movie
09:17:43 Selected Container type: MP4
09:17:43 Selected Encoder: XviD
09:17:43 Selected Size: 1 CD
09:17:43 Selected Slice: 1
09:17:43 Selected Profile: XviD_Normal.xml
09:17:43 Selected Width: 720
09:17:43 Selected Resizer: NONE
09:17:43 Selected Filters: NONE
09:17:43 Selected Deinterlacer: NONE
09:17:43 NeroAACEnc.exe: not present
09:17:43 Enabled CRF/CQ AutoRes at 2.5 value
09:17:43 Enabled Bitrate encoding with value 300
09:17:43 Track Language 1: AC3 Audio Stream 0
09:17:43 Audio Codec 1: Coding Tech. AAC
09:17:43 Audio Quality 1: 128
09:17:43 Selected 1' Sub tracks: NONE
09:17:43 Selected 2' Sub tracks: NONE
09:17:43
09:17:43 Dgindex CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB] -OF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie] -exit -minimize
09:17:43 Starting fixing audio delay on track number 1
09:17:43 DelayCut CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3" "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
09:17:43 Original 1' Audio Size: 2808064 bytes
09:17:43 Finished fixing audio delay
09:17:43 Encoding T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3 to Coding Tech. AAC with 131072 setting
09:17:56 Encoded 1' Audio Track: 821301 bytes
09:18:00 Number of Frames: 1270
09:18:00 Framerate: 25.000000
09:18:00 Movie lenght in Seconds: 51
09:18:00 Movie Width: 720
09:18:00 Movie Height: 576
09:18:00 FIRST pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 300 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 SECOND pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -altpass2 -progress -bitrate 300 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 Starting First Pass
09:18:44 Starting Second Pass
09:18:47 Only Movie Size: 4867378 bytes
09:18:47 "T:\Encoder Testing\AutoMKV066\exe\matroska\mp4box.exe" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v":par=2.350000 -chap "T:\Encoder Testing\AutoMKV066\exe\chapters.txt" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.mp4"
09:18:47 Final Muxed size: 5701889 bytes
09:18:47 Encoding finished: 00:01:04 elapsed time
09:18:47 -----------------------------------------------------------------------
09:18:47 Script AutoCrop.log
09:18:47
09:18:47 Crop(0,74,720,432)
09:18:47 -----------------------------------------------------------------------
09:18:47 Script Resmovie.avs
09:18:47
09:18:47 -----------------------------------------------------------------------
09:18:47 Script movie.avs
09:18:47
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\autocrop.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\blockbuster.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\cnr2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\ColorMatrix.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Convolution3D.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\corrector.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DctFilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Decomb.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Deen.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\degrainmedian.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DGDecode.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\EEDI2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\fft3dfilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\FluxSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\frfun7.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\hqdn3d.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MaskTools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\medianblur.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MipSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mt_masktools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mvtools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\RemoveGrain.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Repair.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SangNom.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SimpleResize.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TBilateral.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TIVTC.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TomsMoComp.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TTempSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnDot.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnFilter.dll")
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\VSFilter.dll")
09:18:48 #loadpluginstart
09:18:48
09:18:48 #test1
09:18:48
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\mvbob.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\QMF.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\seesaw.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\spresso.avsi")
09:18:48 #importstart
09:18:48
09:18:48 #test2
09:18:48
09:18:48 movie = mpeg2source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.d2v")
09:18:48 function getOrder(clip c) {
09:18:48 order = GetParity(c) ? 1 : 0
09:18:48 Return order }
09:18:48 #filter1start
09:18:48
09:18:48 #test3
09:18:48
09:18:48 #cropstart
09:18:48
09:18:48 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:18:48 fixed_aspect = 1.422222
09:18:48 c_width = width(cropclip)
09:18:48 c_height = Round(height(cropclip) / fixed_aspect)
09:18:48 input_par = float(float(c_width)/float(c_height))
09:18:48 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:18:48 out_width = 720
09:18:48 out_height = Round(float(out_width) / input_par)
09:18:48 hmod = out_height - (floor(out_height / 16 ) * 16)
09:18:48 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:18:48 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:18:48 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:18:48
09:18:48 #resizestart
09:18:48
09:18:48 #test4
09:18:48
09:18:48 last=movie
09:18:48 #filter2start
09:18:48
09:18:48 #test5
09:18:48
09:18:48 return last
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.avs
09:18:48
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:48 NicAC3Source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3")
09:18:48 EnsureVBRMP3Sync()
09:18:48 ConvertAudioTo16bit()
09:18:48 #Applyed ORIGINAL downmixing routines
09:18:48 Normalize()
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.bat
09:18:48
09:18:48 "T:\Encoder Testing\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\AutoMKV066\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.aac" --cbr 131072
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.avs
09:18:48
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.bat
09:18:48
09:18:48
09:18:48 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -The selected Xvid (MPEG-4 Part-2) video bit-rate was "300Kbps". However, according to MediaInfo (and GSpot) it's 766Kbps: -General #0
Complete name : T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\movie.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 version 2
Format/Family : MPEG-4
File size : 5.44 MiB
PlayTime : 50s 800ms
Bit rate : 898 Kbps
StreamSize : 20.0 KiB
Encoded date : UTC 2007-01-04 17:18:47
Tagged date : UTC 2007-01-04 09:18:47

Video #0
Codec : MPEG-4 Video
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 50s 800ms
Bit rate : 766 Kbps
Bit rate mode : VBR
Width : 720 pixels
Height : 576 pixels
Aspect ratio : 4/3
Frame rate : 25.000 fps
Standard : PAL
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.074
StreamSize : 4.64 MiB
Writing library : XviD0046
Encoded date : UTC 2007-01-04 09:18:47
Tagged date : UTC 2007-01-04 09:18:47
Apart from that it's encoding and muxing very well indeed ;)


Cheers

buzzqw
5th January 2007, 11:17
@SMD and anyone testing the alpha 0.66a

delete xvid_encraw.exe from \exe\encoder

download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

re test ! :)

BHH

SeeMoreDigital
5th January 2007, 12:54
@SMD and anyone testing the alpha 0.66a

delete xvid_encraw.exe from \exe\encoder

download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

re test ! :)That's fixed it..... Thanks!

Later on today I will check to see how well "interlaced" MPEG-4 encoding works from "interlaced" MPEG-2 sources.


Many thanks

weaver4
5th January 2007, 16:09
I tried a second shorter movie using the Zune single-pass and I am still a little confused about the file size. The profile says the video bit rate should be 500kbs but it looks like from the following that it got passed to the encoder as 881kbs. The file size came out exactly the same size as a movie that was 35 minutes longer.


23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16

Here is the complete log file:
===========================================


23:10:01 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:10:01 Selected Input file: E:\Movies\Rips\Evoluution\VTS_01_0.IFO
23:10:01 Selected Output dir: E:\Movies\temp\
23:10:01 Selected Final Name: Evolution--zune
23:10:01 Selected Container type: WMV
23:10:01 Selected Encoder: WMV
23:10:01 Selected Size: 1 CD
23:10:01 Selected Slice: 1
23:10:01 Selected Profile: Zune_1_Pass.xml
23:10:01 Selected Width: 320
23:10:01 Selected Resizer: SimpleResize (neutral soft)
23:10:01 Selected Filters: RemoveGrain(mode=2)
23:10:01 Selected Deinterlacer: AUTO
23:10:01 NeroAACEnc.exe: not present
23:10:02 Enabled CRF/CQ AutoRes at 90 value
23:10:02 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:10:02 Audio Codec 1: WMV
23:10:02 Audio Quality 1: 80
23:10:02 Selected 1' Sub tracks: NONE
23:10:02 Selected 2' Sub tracks: NONE
23:10:02
23:10:02 Starting Indexing
23:10:02 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\Rips\Evoluution\VTS_01_1.vob] -OF=[E:\Movies\temp\movie] -exit -minimize
23:15:09 Finished indexing
23:15:09 Starting fixing audio delay on track number 1
23:15:09 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:15:41 Original 1' Audio Size: 341772032 bytes
23:15:42 Finished fixing audio delay
23:15:42 ForcedFilm applied: 99.800003% FILM found
23:16:14 Number of Frames: 146328
23:16:14 Framerate: 23.976025
23:16:14 Movie lenght in Seconds: 6104
23:16:14 Movie Width: 720
23:16:14 Movie Height: 480
23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16
09:09:34 Only Movie Size: 488098543 bytes
09:09:34 Only Movie Size: 1445879296 bytes
09:09:34 Final Muxed size: 605506141 bytes
09:09:34 Encoding finished: 09:59:33 elapsed time
09:09:34 -----------------------------------------------------------------------
09:09:34 Script AutoCrop.log
09:09:34
09:09:34 Crop(10,0,700,480)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script Resmovie.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script movie.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\autocrop.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\blockbuster.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\cnr2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\ColorMatrix.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Convolution3D.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\corrector.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DctFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Decomb.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Deen.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\degrainmedian.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DGDecode.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\EEDI2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\fft3dfilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\FluxSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\frfun7.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\hqdn3d.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MaskTools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\medianblur.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MipSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mt_masktools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvtools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\NicAudio.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\RemoveGrain.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Repair.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SangNom.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SimpleResize.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TBilateral.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TIVTC.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TomsMoComp.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TTempSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnDot.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\VSFilter.dll")
09:09:34 #loadpluginstart
09:09:34
09:09:34 #test1
09:09:34
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvbob.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\QMF.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\seesaw.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\spresso.avsi")
09:09:34 #importstart
09:09:34
09:09:34 #test2
09:09:34
09:09:34 movie = mpeg2source("E:\Movies\temp\movie.d2v")
09:09:34 audio = NicAC3Source("E:\Movies\temp\fixed1.ac3",2)
09:09:34 function getOrder(clip c) {
09:09:34 order = GetParity(c) ? 1 : 0
09:09:34 Return order }
09:09:34 #filter1start
09:09:34
09:09:34 #test3
09:09:34
09:09:34 #cropstart
09:09:34
09:09:34 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:09:34 fixed_aspect = 1.185185
09:09:34 c_width = width(cropclip)
09:09:34 c_height = Round(height(cropclip) / fixed_aspect)
09:09:34 input_par = float(float(c_width)/float(c_height))
09:09:34 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:09:34 out_width = 320
09:09:34 out_height = Round(float(out_width) / input_par)
09:09:34 hmod = out_height - (floor(out_height / 16 ) * 16)
09:09:34 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:09:34 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:09:34 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:09:34
09:09:34 #resizestart
09:09:34
09:09:34 #test4
09:09:34
09:09:34 SimpleResize(out_width,out_height)
09:09:34 #filter2start
09:09:34
09:09:34 #test5
09:09:34
09:09:34 RemoveGrain(mode=2)
09:09:34 ColorMatrix("Rec.709->Rec.601",hints=false)
09:09:34 audio=EnsureVBRMP3Sync(audio)
09:09:34 audio=ConvertAudioToFloat(audio)
09:09:34 audiodub(audio,last)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\NicAudio.dll")
09:09:34 NicAC3Source("E:\Movies\temp\fixed1.ac3")
09:09:34 EnsureVBRMP3Sync()
09:09:34 ConvertAudioTo16bit()
09:09:34 #Applyed STEREO downmixing routines
09:09:34 function stereo(clip a)
09:09:34 {
09:09:34 fl = GetChannel(a, 1)
09:09:34 fr = GetChannel(a, 2)
09:09:34 c = GetChannel(a, 3)
09:09:34 lfe = GetChannel(a, 4)
09:09:34 sl = GetChannel(a, 5)
09:09:34 sr = GetChannel(a, 6)
09:09:34 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:09:34 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:09:34 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:09:34 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:09:34 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:09:34 Return MergeChannels(l, r).Normalize()
09:09:34 }
09:09:34 #
09:09:34 function original(clip a)
09:09:34 {
09:09:34 Normalize(a)
09:09:34 Return last
09:09:34 }
09:09:34 6==Audiochannels() ? stereo() : original()
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.bat
09:09:34
09:09:34 "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\temp\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\lame.exe" -v --vbr-new -h -S -V 5 - "E:\Movies\temp\audio.mp3"
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.bat
09:09:34
09:09:34
09:09:34 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Markoul
5th January 2007, 16:22
buzzqw,

for vob i use colormatrix! (search it)

okay i found the "colormatrix.dll" in the filters folder of my AutoMKV directory...so what next??

how i can make AutoMkv to use colormatrix filter when encoding vob files in x264 matroska?? {i am using the "CE-Mainprofile" and also the "RemoveGrain(mode=2)" filter for the particular movie i am encoding this time namely Star Trek 10 Nemesis Interlaced PAL DVD.}

Thanks in Advance :D

Markoul
p.s. I Encoded this particular movie for the 3rd time. the last time i used "HQ deinterlace" setting and Lazlos4 resize and now contrast and brightness levels are identical to the original vobs.

However colors are still false!!... :(

Markoul
5th January 2007, 17:48
here are 2 snapshots for comparison

First is a scene from the original DVD Movie (1024X576):

http://users.otenet.gr/~markoul/snap_original.jpg

Second is from the x264 encoded taken resized to (704X304) but for comparison reasons it is enlarged to match the above picture:

http://users.otenet.gr/~markoul/snap_x264.jpg


Notice the color hue differences between the 2 snapshots!

I used Lazlos4 resize and a soft denoise filter [removeGrain(mode=2)]

Movie is an Interlaced PAL DVD


Markoul

buzzqw
5th January 2007, 18:00
update

this update is a really beta one's.
Upon request by SMD i reworked all audio parts (near..)

Look at the tiny button near audio channel... feel the power to click.. if you are brave

from my test should be ok... but.. i prefer your test.

These values is used both for standard use, for queue use, and for command line use, BUT NOT with TS files (it will be quite hard to implementing to ts audio routines management...)

here is www.64k.it/andres/data/a/AutoMKV066b.exe

as i wrote before anyone testing the alpha 0.66b must

delete xvid_encraw.exe and xvid_encraw2.exe from \exe\encoder
download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder

0.66a
FIXED: in queue view the value reported is now the same value viewed (not ones used internal...)
FIXED: Audio "SUO" translated to "FIN" (thanks to Barleyman)
FIXED: When encoding with XviD the stream will be avi for avi muxing, m4v for mp4 mux and mkv for mkv muxing
FIXED: CQ encoding with XviD
FIXED: In queue/Save Settings is now saved even the crf/cq values(thanks to Amed)
FIXED: Internal name of XviD Profiles
FIXED: In avi source added a interlaced=true (thanks to Markoul)
0.66b
ADDED: Totaly reworked audio sections, click on Don't touch button near channel selection (suggestion by SMD)
ADDED: Several and more audio options
FIXED: Some bugs on muxing tag (also added some)
ADDED: New audio section work queue/cmd

@weaver4
just select the zune profile, and in advanced settings check on "Specify bitrate" (no need to sign 500000 , just 500 i will multiply it by 1000)

@Markoul
from my monitor is ok... i ask other people to watch and do a comparison

BHH

ehushagen
5th January 2007, 20:42
I'm with buzzqw on this one. Despite the obvious blurring difference, the colors are identical on this monitor.

buzzqw
5th January 2007, 22:15
@ehushagen

i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate

BHH

Markoul
6th January 2007, 00:13
i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate

Because the presentation method i used in my previous 2 snapshots i misleading about the encoding x264 quality (i.e. x264 snapshot 704X304 resolution was stretched to match the 1024X576 resolution of the original source DVD anamorphic snapshot, my desktop is configured at 1152X864 resolution)...

...i present you 2 new snapshots taken with fraps:

Original Source DVD Anamorphic Snapshot 720X576

http://users.otenet.gr/~markoul/mplayerc_original.bmp

Encoded X264 snapshot 704X304

http://users.otenet.gr/~markoul/mplayerc_x264.bmp

fogbav
6th January 2007, 03:37
last one looks better ...8)

SeeMoreDigital
6th January 2007, 13:13
Personally I would prefer to see the encode generated at 720x576 (ie: the same resolution as the source) with aspect ratio signalling at 64:45 applied... Or generated and cropped to 720x432 (ie: the black mattes cut away) with aspect ratio signalling at 64:45 applied....

Something like this (http://82.10.220.174/Uploaded_Files/Doom9_Forum_files/Xvid_720x432_with_ARS_@_64.45.7z)

Markoul
6th January 2007, 16:48
hey SeeMore,

you just converted a BMP image to mp4!!... clever:thanks:

did you use the anamorphic image or the x264?

Markoul

SeeMoreDigital
6th January 2007, 17:08
did you use the anamorphic image or the x264?The anamorphic DVD snap-shot ;)

lout
6th January 2007, 17:59
hi i try ts file 1080i DD5.1 to mkv+x264+original audio and program say Audio Error :"attention audio wasnt encoded properly" i have this problem on all ts files thnx m

buzzqw
6th January 2007, 18:09
on advenced setting check use "projectX for ts files" and UNCHECK "Allow use of DelayCut"

also a sample could be usefull (as log)

BHH

Nico.Laus.2001
6th January 2007, 21:28
ok, I encountered more errors when muxing :(

since v0.66 muxing of all files I encoded does not work, but when executing the command line taken from the log, mp4box does mux it (in log something like "Final Muxed size: -1 bytes" appears and processing stops)

(I was encoding from ifo file to x264 into mp4 container with one nero aac audio track)

SeeMoreDigital
6th January 2007, 21:42
Okay I have tested the revised CT encoder options using the new "Advanced Audio Options" menu....

http://img389.imageshack.us/img389/4382/automkvadvancedaudiooptub1.png

I've been able to generate AAC-LC streams but not AAC-HE :(

Also, may I ask what the "nops" "is" and "dc" Chanel options are?


Cheers

Barleyman
6th January 2007, 22:40
Couple of problems with manual cropping in movie.avs file..

1) You have to fill all the manual crop boxes. If you just define top and bottom cropping limits for letterbox, you get incorrect crop command such as crop(movie,,116,-,-60)

2) if you have resize=lanzcos, "autocrop only" + define manual cropping limits, you get incorrect LanczosResize()-line.

buzzqw
7th January 2007, 00:57
@Nico.Laus.2001

from my test is ok... please post the log


@SeeMoreDigital

me too.... :o ...
where is the problem in comman line :confused: ?

--nops - Disable Parametric Stereo
--is - Prefer Independed Stereo
--dc - Prefer Dual Channels

@Barleyman
Crop must be valorized for all box, just put 0 for no lateral crop. (in next update on checking manual crop i will put 0 value to all boxes)
And manual cropping must not be used with "autocrop only" , using manual crop must be set width and height (i will study it to remove any possible cause of error)

BHH

buzzqw
7th January 2007, 15:26
update www.64k.it/andres/data/a/AutoMKV066c.exe

0.66c
FIXED: When manual crop is checked all values is now valorized, change it. Also the width is disabled
FIXED: Use Advanced Audio with Nero encoder while using preset to quality
FIXED: Some imprecisions on log
ADDED: Save Log button

BHH

AMED
9th January 2007, 10:05
I've found a bug with 0.66c with the clear job list button on the Queued Jobs tab.

I have 6 jobs in the queued list
queue0.ini
queue1.ini
queue2.ini
queue3.ini
queue4.ini
queue5.ini

When i press the Clear Job List button once it doesn't remove all the entries, 3 are still there.
queue1.ini
queue3.ini
queue5.ini

When i press the Clear Job List button a second time there is still one item left in the list
queue3.ini

On the third click on the Clear Job List Button everything is removed from the queue list.

i hope that makes sense;)

Unrealbr
9th January 2007, 13:21
Good morning everyone \o/
Buzzqw may i suggest 1 feature for automkv??
I wonder if you could make it support MP4 and MKV input.
Thats my suggestion
Btw, 0.66c is working fine here \o/

buzzqw
9th January 2007, 13:38
@AMED , thanks ! fixed in next release

@Unrealbr
it is already possible for mkv, on input select all files
for mp4... added in next release.
There one big problem, however, audio track. The file must have only one audio track.

BHH

Unrealbr
9th January 2007, 17:56
@AMED , thanks ! fixed in next release

@Unrealbr
it is already possible for mkv, on input select all files
for mp4... added in next release.
There one big problem, however, audio track. The file must have only one audio track.

BHH

THAT is gonna be a problem since the MKVs i'm trying to backup to save some space on the HD are dual audios with softsub in the MKV.
As for the MP4s i need to re-encode to save space i wont have problems when the next release is out, they have only one audio.

BTW, AutoMKV is the best MP4 GUI i have found so far, if you allow me i'd like to use and link in my signature for this thread here on DOOM9.

buzzqw
9th January 2007, 19:47
THAT is gonna be a problem since the MKVs i'm trying to backup to save some space on the HD are dual audios with softsub in the MKV.

... i will explain better: the input mkv file could have many and more audio BUT i (the directshow) will use only the first one.
Also, subs will not be supported.

EDIT: I can suggest to encode the original mkv without audio (select NONE on audio). when finished open mmg.exe (from mkvtoonix) and put as input the new mkv and the OLD mkv, deselect audio/subs NOT not wanted AND old video, then MUX !


As for the MP4s i need to re-encode to save space i wont have problems when the next release is out, they have only one audio.
just for try.. rename it to .mkv and let automkv do its job :)


BTW, AutoMKV is the best MP4 GUI i have found so far
thanks for your kind words ! feel free to link in your signature what you want ! :)

BHH

dlflannery
10th January 2007, 05:05
@buzzqw:
In response to your suggestion in another thread (http://forum.doom9.org/showthread.php?p=930530#post930530) I downloaded AutoMKV and tried it for converting Mpeg2's (with mpeg audio) to Zune WMV's.

Looks like a great program and I was able to get good conversions after a short learning experience.

Now to comment on the program for my intended purpose, which is to convert a number of mpeg2 videos to good watchable quality on the 3" Zune device screen, in 320x240 WMV with parameters that do not trigger re-encoding by the Zune PC software when the files are 'synced' (transfered) to the Zune device:

I have converted to Zune using my own set of batch files and dgIndex, AviSynth and WME encoder (batch script), i.e., a simplified version of what your program does (no cropping, filtering, noise removal, delaycut, etc.). I've found that just using WMV7 codec and CBR=500kbps I get very good results and the total time for my process is about 40% of the video duration. All I do is type the names of the input files into my first batch file and start it.

For AutoMKV, it appears you can't just specify a constant bit rate but have to estimate a target output size that will yield the bit rate you desire. Is this correct? (Not very convenient for my particular purpose.)

By setting the desired output size in AutoMKV to a number calculated to give about 500 kbps (for video), using the single-pass Zune profile, and setting the filter to NONE, it took about 240% of video duration to create a file that did not appear noticeably better on playback than the same video processed by my (crude) fast process. The auto cropping did remove the noise line at the top -- I should probably add that to the AVS input process in my batch files.

The bottom line is I am very impressed with AutoMKV, and will undoubtedly use it for other purposes, but I do not see an advantage over my faster process (for my current purpose) -- unless I have just failed to properly use AutoMKV (?).

I tried to rig up an XML profile file that would cause AutoMKV to use WMV7 with the same simple options I use in my batch file but this didn't work, I think because I couldn't get rid of the advanced options in the WME script command line. My experience is that WMV7 is the key to the speed I get. When I run my same batch files with WMV9, it takes over twice as long.

buzzqw
10th January 2007, 08:26
Looks like a great program and I was able to get good conversions after a short learning experience.
:thanks: !

WMV7 codec and CBR=500kbps

that's the key. In my profile i use wmv9 ! in next update i will create 2 more "quick" profiles ! (with wmv7, and old profile wil be wmv8)

For AutoMKV, it appears you can't just specify a constant bit rate but have to estimate a target output size that will yield the bit rate you desire. Is this correct? (Not very convenient for my particular purpose.

in advanced settings check "Specified bitrate" (don't need to write 500000 for 500kbs bitrate, i will multiply by 1000)

about wmv7, nice to hear that's supported , i will look at this !

thanks for your suggestion !

BHH

cosmos
10th January 2007, 09:05
First of all, THANK YOU for a great program! Was searching for a free AutoGK-like program for H.264 encodes, preferably in Matroska containers. Seems I found it and it looks like a winner.

Just some questions/comments/possible bugs:

1)
hi i try ts file 1080i DD5.1 to mkv+x264+original audio and program say Audio Error :"attention audio wasnt encoded properly" i have this problem on all ts files thnx m

Same thing happens here. Ripping for a dvd and selecting two AC3 tracks to be included creates a problem. Specifically, I select two audio tracks, filling the boxes for "audio track 1" and "audio track 2" and selecting "Copy Original"/"Original". The encoding process starts and the log indicates that indeed audio track 1 is the first ac3 track I've selected and audio track 2 is the 2nd ac3 track. However dgindex extracts only the first ac3 stream. When it finishes it reports "attention audio wasnt encoded properly".

2) I'm a bit confused with "Use CRF for autoresize" and "auto adjust crf". Are the two options incompatible? When I select both, it seems that at least during the sizing process a single x264 pass is made, using CRF and not a two-pass process. In essence, how should these options be checked/enabled/disabled for a good rip?

3) Assuming that "ITU resizing" is enabled does "anamorphic encoding" really work? Not sure here, just asking :)

4) A minor bug: if I press check drive once, it displays correctly the longest PGC. If I press it again, it displays in the PGC pull down box two times the same PCG. The same happens for episodic DVDs. In all cases pressing check dvd duplicates again and again the PGCs.

Once more, thanks for a great app, it has replaced nero digital as my application of choice

buzzqw
10th January 2007, 10:10
First of all, THANK YOU
thanks for your kind words! :)

Same thing happens here. Ripping for a dvd and selecting two AC3 tracks to be included creates a problem.

Dgindex is UNABLE to demux two different audio tracks for TS files. For this reason i suggest lout to check "Use ProjectX for TS files"

For your problem i need the log file to better analyze the problem. Usually there is no problem to demux from vob files

2) I'm a bit confused with "Use CRF for autoresize" and "auto adjust crf".

The first option if to use with Automatic Width. Checking this option AutoMKV will use a quality based profile to find the "best" width given the media size selected.
The second option is to use only with CRF/CQ profiles encoding. Checking this option will allow automkv to do a crf encoding AND if size is bigger or smaller than XX the movie will be reencoded in costant bitrate mode

3) Assuming that "ITU resizing" is enabled does "anamorphic encoding" really work? Not sure here, just asking

yep... ITU works only if anamorphinc isn't checked (thanks for this bug!)

If I press it again, it displays in the PGC pull down box two times the same PCG

i will check it !

thanks !

BHH

cosmos
10th January 2007, 10:43
For your problem i need the log file to better analyze the problem. Usually there is no problem to demux from vob files
Funny thing: with 0.66c I was unable to reproduce the problem. Better! :)

The first option if to use with Automatic Width. Checking this option AutoMKV will use a quality based profile to find the "best" width given the media size selected.
The second option is to use only with CRF/CQ profiles encoding. Checking this option will allow automkv to do a crf encoding AND if size is bigger or smaller than XX the movie will be reencoded in costant bitrate mode
Thank you, I understand now :)

One more question: during the first execution of dvdfabdecrypter I was asked if I wanted to update. Should I? (I guess that if I do, it will not be installed into the AutoMKV directory, hence no point in actually downloading it).

TinTinFan
10th January 2007, 11:43
I use AutoMKV to encode to stand alone player. I have to use avi (or divx container). If I don't want to use AC3 audio, I have to use CBR MP3.

I tried your version 066c and in advanced audio settings I changed to CBR, but I see it is encoded in VBR MP3.

Bug or function not implemented yet?

buzzqw
10th January 2007, 13:26
One more question: during the first execution of dvdfabdecrypter I was asked if I wanted to update. Should I? (I guess that if I do, it will not be installed into the AutoMKV directory, hence no point in actually downloading it).

no need and not to do... since latest dvdfabdecrypter isn't more "command line" able.. :(

Bug or function not implemented yet?

bug... but fixed in next release ! thanks !

BHH

buzzqw
10th January 2007, 14:21
Update to new full package !

www.64k.it/andres/data/a/AutoMKV067.rar

Changelog

0.67
ADDED: Audio Track name (from Advanced Audio Options) added to MP4 muxing
ADDED: MovieName to --track-name in Matroska container
ADDED: Support for MP4 file as input. Select it on All files. This mp4 file must have only one audio track (anyway only the first audio track will be processed)
ADDED: Two new Zune Profiles, 2 Pass Quick and 1 Pass Quick. These profiles work on wmv7 (suggestion by dlflannery)
FIXED: Renamed near all WMV profiles. Now there are basically a standard profile that work on wvc1, a quick profile that work on wmv9, a veryquick profile that work on wmv8 and a ultraquick that work on wmv7 encoder
FIXED: Zune profiles "Zune 1 Pass" and "Zune 2 Pass" now work on wmv8. There's no need to use wmv9 on so small video device (suggestion by dlflannery)
FIXED: Track ID and Track Name in Matroska container
FIXED: Clear job queue don't delete all files (thanks to AMED)
FIXED: Double clicking on "Check DVD" will double the PGC list (thanks to cosmos)
FIXED: If "Force ITU Resize" is checked is no more possible to check "Anamorphic Encoding" (and vice versa) (thanks to cosmos)
FIXED: In Advanced audio the CBR settings for LAME wasn' true CBR... (thanks to TinTinFan)
UPDATE: Dgindex 1.4.9b9
UPDATE: Update XviD build to 20/12/2006
UPDATE: XviD_encraw.exe to latest one's of Squid_80

BHH

SeeMoreDigital
10th January 2007, 18:20
Hi Buzz,

Thanks for the new build :D

Just a thought.... How about modifying the "Audio Format" drop-down tab so you can directly select which variant of AAC audio you require (ie: "LC" or "HE"): -

http://img409.imageshack.us/img409/1403/automkvproposalez7.png

By-the-way, I'm presuming the Lame (MP3) audio encoder is able to offer both mentioned variants....


Cheers

dlflannery
10th January 2007, 20:54
Update to new full package !

www.64k.it/andres/data/a/AutoMKV067.rar

Changelog

............

ADDED: Two new Zune Profiles, 2 Pass Quick and 1 Pass Quick. These profiles work on wmv7 (suggestion by dlflannery)
...........

FIXED: Zune profiles "Zune 1 Pass" and "Zune 2 Pass" now work on wmv8. There's no need to use wmv9 on so small video device (suggestion by dlflannery)
...........
BHH
Thanks buzzqw (BHH) ! Won't be able to test them for a few hours.

Only someone NOT being paid (i.e., working for the love of it) can respond that fast!

dlflannery
11th January 2007, 04:00
@buzzqw:
The new Zune 1-Pass Quick profile works great! By turning off filters, deinterlacing and delaycut, and specifying a constant bitrate (500 for video + audio) I get total encoding times equal to what I was getting with my batch files, i.e., about 35% of video duration on my 3GHz PC. Plus I get the autocrop that wasn't in my batch files. As before with my batch files, the quality is perfectly acceptable for the Zune's 3inch screen. I converted mpeg2's with either mpeg1-layer2 audio or with Dolby AC3 5.1 with no problems.

:thanks:

A couple of questions:
1. I experimented with the default 64_44 audio then moved the audio bitrate up to 128. I noticed the WME option moved the sampling rate up too: 128_48. These seemed to play fine on my Zune device although the official Zune page specifying encoding videos for Zune (http://www.zune.net/en-us/support/howto/start/providecontent.htm#section6) says:
Maximum audio bit rate: WMA Standard, CBR, 128 Kbps (recommended), up to 192 Kbps, Stereo, 44.1 kHz
Thus I wonder if it wouldn't be safer to limit sampling rate to 44kHz for the Zune profiles? (I didn't see anywhere I could control this.)

2. If instead of autocrop I just wanted to blank out the top 1 or 2 (or 4) lines in the original (480 line) video, how would I set up the manual crop for that?

You have definitely removed any desire I had to generate a guide for my batch files! Now I'm thinking about a small guide called "The Newbie's Guide to Quick and Dirty Mpeg2 Conversion for Zune with AutoMKV". I know most of the folks reading this thread don't need it but I think there are others on other forums that might benefit from it. What do you think?

buzzqw
11th January 2007, 08:38
with no problems.

thanks you too ! i haven't a Zune so your test are very precius !

Thus I wonder if it wouldn't be safer to limit sampling rate to 44kHz for the Zune profiles? (I didn't see anywhere I could control this.)

DONE! (in next release) and even if audio bitrate is over 192 in encoding will be capped to 192!

blank out the top 1 or 2 (or 4) lines in the original (480 line) video, how would I set up the manual crop for that?

in advanced setting there is "manual crop" fuction. Here you can specify the crop value BUT you must also SPECIFY final the WIDTH/HEIGHT of encoded movie

tips: don't deactivate "DelayCut" or your files could be out of synch

What do you think?
would be good ! :thanks:

BHH

vOjToL
11th January 2007, 10:39
Buzzqw, is it possible to add the "abort" button"?
When I start encoding and I would like break the process I must close many cmd windows, accept 3 warrnings from AviMuxGui, close crashed AviMuxGui, and finally clean up Temp directory...

cosmos
11th January 2007, 11:05
There is a small bug in 0.67 with the descriptions of audio channels: for example if I give a description like "Director's Comments", the muxing.bat file produces an error. For example:

"E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "G:\lalala\temp\The Ninja.mkv" --track-name -1:"The Ninja" --aspect-ratio 1:2.415094 --chapters "E:\AutoMKV\exe\chapters.txt" "G:\lalala\temp\movie.mp4" --track-name -1:Director's Comments --language -1:eng "G:\lalala\temp\audio.ac3"

In order for this to work, it would be a good idea to enclose in "" the Audio Track 1 (and 2 if it exists) description, ie:

"E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "G:\lalala\temp\The Ninja.mkv" --track-name -1:"The Ninja" --aspect-ratio 1:2.415094 --chapters "E:\AutoMKV\exe\chapters.txt" "G:\lalala\temp\movie.mp4" --track-name -1:"Director's Comments" --language -1:eng "G:\lalala\temp\audio.ac3"

cosmos
11th January 2007, 11:25
I have some more questions. I can see that in the muxing.bat file above, no mention is made for the AC3 track delay. During the dgindex process for example a file with the name movie t01 3_2ch 384kbps delay -8ms_log.txt is produced. Hence there is a -8msec delay for this AC3 file.

Does mkvmerge understand automatically the delay, by reading the AC3 file? If it is not taken into account, then perhaps the mkvmerge command above should probably include a "--delay -1:-8ms" parameter?

buzzqw
11th January 2007, 13:21
@vOjToL
best way to kill process is to kill automkv.exe
about abort button i will search... but wouldn't be so easy...

@cosmos

Director's Comments

thanks ! fixed in next build !

movie t01 3_2ch 384kbps delay -8ms_log.txt
no need to parse or use delay in mkvmerge.
I (automkv) use delaycut.exe that FIX bad ac3 and FIX automatically the DELAY ! :)

BHH

vOjToL
11th January 2007, 13:53
best way to kill process is to kill automkv.exe


I knew that, but in many cases I would like AutoMKV stay alive :) , mostly if I don't save settings previously.


about abort button i will search... but wouldn't be so easy...


That's will be great!

vOjToL
11th January 2007, 14:31
I encoded movie with AutoMKV0.67, input was avs script+ac3 file(copy original). Disk setting 2CD. In result I get 119 parts of movie (every ~10MB ) in Temp directory... :confused:

07:47:53 0.67 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:47:53 Selected Input file: D:\dla dzieci\stary franklin\147.avs
07:47:53 Selected Output dir: D:\dla dzieci\stary franklin\temp\
07:47:53 Selected Final Name: psy i koty
07:47:53 Selected Container type: AVI
07:47:53 Selected Encoder: XviD
07:47:53 Selected Size: 2 CD
07:47:53 Selected Slice: 1
07:47:53 Selected Profile: XviD_Extra_Slow.xml
07:47:53 Selected Width: 528
07:47:53 Selected Resizer: SimpleResize (neutral soft)
07:47:53 Selected Filters: RemoveGrain(mode=2)
07:47:53 Selected Deinterlacer: NONE
07:47:53 NeroAACEnc.exe: not present
07:47:53 Enabled CRF/CQ AutoRes at value
07:47:53 Track Language 1: D:\dla dzieci\stary franklin\1.ac3
07:47:53 Audio Codec 1: Copy Original
07:47:53 Audio Quality 1: 0.35
07:47:53 Advanced Audio Settings DUMP Track 1:
07:47:53 Audio Track Language:
07:47:53 Audio Track Name:
07:47:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:47:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:47:53 Lame Settings: ABR
07:47:53 Audio Normalization: 1
07:47:53 Frequency: AUTO --- Tempo : NONE
07:47:53 Pitch: NONE --- Other Add :
07:47:53 Advanced Audio Settings DUMP Track 2:
07:47:53 Audio Track Language:
07:47:53 Audio Track Name:
07:47:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:47:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:47:53 Lame Settings: ABR
07:47:53 Audio Normalization: 1
07:47:53 Frequency: AUTO --- Tempo : NONE
07:47:53 Pitch: NONE --- Other Add :
07:47:53 Selected 1' Sub tracks: NONE
07:47:53 Selected 2' Sub tracks: NONE
07:47:53
07:47:53 DelayCut CMD: H:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "D:\dla dzieci\stary franklin\temp\fixed1.ac3" "D:\dla dzieci\stary franklin\1.ac3"
07:48:19 Renamed file fixed1.ac3 to audio.ac3
07:48:19 Encoded 1' Audio Track: 240996864 bytes
07:49:53 Number of Frames: 125520
07:49:53 Framerate: 25.000000
07:49:53 Movie lenght in Seconds: 5021
07:49:53 Movie Width: 688
07:49:53 Movie Height: 384
07:49:53 FIRST pass XviD: "H:\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 1953 -turbo -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 4 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 30 -clow 15 -nopacked -nochromame -noclosed_gop -bvhq -i "D:\dla dzieci\stary franklin\temp\movie.avs" -type 2 -avi "D:\dla dzieci\stary franklin\temp\movie.avi"
07:49:53 SECOND pass XviD: "H:\AutoMKV\exe\encoder\xvid_encraw.exe" -altpass2 -progress -bitrate 1953 -threads 1 -max_bframes 2 -imax 16 -qpel -quality 6 -vhqmode 4 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 30 -clow 15 -nopacked -nochromame -noclosed_gop -bvhq -i "D:\dla dzieci\stary franklin\temp\movie.avs" -type 2 -avi "D:\dla dzieci\stary franklin\temp\movie.avi"
07:49:53 Starting First Pass
09:41:53 Starting Second Pass
14:15:11 Only Movie Size: 1094334716 bytes
14:17:47 Final Muxed size: -1 bytes
14:17:47 Encoding finished: 06:29:54 elapsed time
14:17:47 -----------------------------------------------------------------------
14:17:47 Muxing Script
14:17:47 H:\AutoMKV\exe\matroska\AVIMux_GUI.exe D:\dla dzieci\stary franklin\temp\muxavi
14:17:47
14:17:47 CLEAR
14:17:47 LOAD D:\dla dzieci\stary franklin\temp\movie.avi
14:17:47 LOAD D:\dla dzieci\stary franklin\temp\audio.ac3
14:17:47 SELECT FILE 1
14:17:47 ADD VIDEOSOURCE
14:17:47 SET INPUT OPTIONS
14:17:47 SET OPTION MP3 VERIFY CBR NEVER
14:17:47 SET OPTION MP3 VERIFY RESDLG OFF
14:17:47 SET OUTPUT OPTIONS
14:17:47 WITH SET OPTION
14:17:47 OPENDML 0
14:17:47 RECLISTS 0
14:17:47 AUDIO INTERLEAVE 3 FR
14:17:47 AVI ADDJUNKBEFOREHEADERS 0
14:17:47 PRELOAD 200
14:17:47 WITH AUDIO
14:17:47 NAME 1 english
14:17:47 END WITH
14:17:47 OVERWRITEDLG 0
14:17:47 CLOSEAPP 1
14:17:47 DONEDLG 0
14:17:47 ALL AUDIO 1
14:17:47 LEGACY 0
14:17:47 RECLISTS 1
14:17:47 NUMBERING ON
14:17:47 MAXFILESIZE ON 700
14:17:47 END WITH
14:17:47 START D:\dla dzieci\stary franklin\temp\psy i koty_full.avi
14:17:47 -----------------------------------------------------------------------
14:17:47 Script AutoCrop.log
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script Resmovie.avs
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script movie.avs
14:17:47
14:17:47 Import("D:\dla dzieci\stary franklin\147.avs")
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio.avs
14:17:47
14:17:47 LoadPlugin("H:\AutoMKV\exe\filter\NicAudio.dll")
14:17:47 NicAC3Source("D:\dla dzieci\stary franklin\temp\fixed1.ac3")
14:17:47 EnsureVBRMP3Sync()
14:17:47 ConvertAudioTo16bit()
14:17:47 #Applyed ORIGINAL downmixing routines
14:17:47 Normalize()
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio.bat
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio2.avs
14:17:47
14:17:47 -----------------------------------------------------------------------
14:17:47 Script mkvmaudio2.bat
14:17:47
14:17:47
14:17:47 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
11th January 2007, 15:09
:confused: :scared:

don't know ! the file muxavi is correct

NUMBERING ON
MAXFILESIZE ON 700 -> this mean 700MB !

try removing from muxavi these line

NUMBERING ON
MAXFILESIZE ON 700

then click on muxing.bat

BHH

vOjToL
11th January 2007, 15:37
try removing from muxavi these line

NUMBERING ON
MAXFILESIZE ON 700

then click on muxing.bat


I did, it's the same result...

Then I set "CLOSEAPP" to "0", stop muxing process, click "settings" and I see: "split-maximum file size-10MB". I look in \exe\Matroska\config.ini.amg file, and find "MAXFILESIZE 10"-sholud I change it to 700?. Looks like AviMux ignore settings in muxavi file in Temp.

dlflannery
11th January 2007, 16:14
.......
DONE! (in next release) and even if audio bitrate is over 192 in encoding will be capped to 192!

Great! Thanks!


tips: don't deactivate "DelayCut" or your files could be out of synch
I understand the risk. However the delaycut process roughly doubles the overall conversion time (for the quick Zune profile) and I have not had sync problems (so far). I'm tempted to encode without it and then repeat with it if I see a sync problem. Or I can easily edit out a small clip of my mpeg2's (using VideoReDo) and test it for sync after a (short) AutoMKV conversion. This would detect constant offsets. Does delaycut handle more complicated sync problems than just constant offsets?

Feature request: (Since you are so responsive!)
When converting between different input and output types (e.g., .mpg to .wmv) it would be nice to be able to check a box that would automatically assign the input (root) file name to the output, e.g., test.mpg input would give test.wmv output name. This would make multiple file conversions much more convenient.

buzzqw
11th January 2007, 17:51
"MAXFILESIZE 10"

don't know why avimux_gui ignore my parameters...
i can only check for this value before muxing... but is a bug in avimux_gui... i think

I understand the risk. However the delaycut process roughly doubles the overall conversion time

that's near impossible. Is only a DISK to DISK operation, not an encoding operation. The audio file isn't reencoded just "trimmed/muxed" without delay. Isn't a framerate conversion at all!


it would be nice to be able to check a box that would automatically assign the input (root)

you can use the "movie name" to specify the muxed file name... also in xml files is possible to add

<title>fale</title>
<author>false</author>
<album>false</album>
<year>false</year>
<genre>false</genre>
<copyright>false</copyright>
<description>false</description>
<rating>false</rating>

information !

BHH

vOjToL
11th January 2007, 19:26
The movies encoded with new xvid_encraw.exe(-altpass2) are permanently undersized. I test it with many others resolution and bitrates, always 2pass average bitrate is less then bitrate set in command line and never rich it. It's looks like a bug in xvid_encraw?

SeeMoreDigital
11th January 2007, 19:42
The movies encoded with new xvid_encraw.exe(-altpass2) are permanently undersized. I test it with many others resolution and bitrates, always 2pass average bitrate is less then bitrate set in command line and never rich it. It's looks like a bug in xvid_encraw?I confirm...

At first I thought this was due to the duration of my 720x576 MPEG-2 test source (which is only 1270 frames).... But sadly that does not seem to be the case :(

Apart from this, the encode speed and quality seems very good :)

buzzqw
11th January 2007, 20:46
should i use a more aggressive bitrate ?
so if computed bitrate is 1000 i will use 1050 ? (+5%)

i switched from CD build because i find the new squid_80 build's more consistent, and better quality wise

from your test how much is undersized ?

BHH

vOjToL
11th January 2007, 21:03
should i use a more aggressive bitrate ?
so if computed bitrate is 1000 i will use 1050 ? (+5%)

i switched from CD build because i find the new squid_80 build's more consistent, and better quality wise

from your test how much is undersized ?

Target bitrate 1077, at the end of 2pass average was 860... It's a big different.
Anyway, after editing xvidsecondpass.bat ("-pass2" instead "-altpass2"), I run the 2pass again and seems to be fine(there is only 10% encoded for now, but the average bitrate is more equal target then last time).

buzzqw
11th January 2007, 21:43
please report when encoding is finished... maybe i change -altpasss to -pass2

BHH

SeeMoreDigital
11th January 2007, 21:55
from your test how much is undersized ?With my MPEG-2 (1270 frame) source.... When I select say 200Kbps, the Xvid encode comes out at 166/168Kbps (according to MediaInfo and GSpot).


Cheers

vOjToL
11th January 2007, 22:22
please report when encoding is finished... maybe i change -altpasss to -pass2


With my Barton 2500 we must waiting for a while :) . At this time (50%), the target is 1077 and average is 1089. I think that the result will be ok.

vOjToL
12th January 2007, 00:14
please report when encoding is finished... maybe i change -altpasss to -pass2


Ok, encoding ended, encoded 125520 frames, average bitrate is 1068(target 1077), file size after muxing is(setting-1CD):
-702MB(AviMuxGui)
-701MB(VirtualDubMod)
Movie quality-excellent :)

Nemesis7
12th January 2007, 03:59
Hey buzzqw, mate I can't seem to get it to work. I have the VOB + IFO files in the 'SOURCE' and let the program do the rest. It doesn't seem that it encodes the video (audio is fine). Avinsynth is installed. What am I doing wrong? Here's the log:

03:52:09 0.67 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
03:52:09 Selected Input file: C:\flcl1\SOURCE\VTS_03_0.IFO
03:52:09 Selected Output dir: C:\flcl1\SOURCE\temp\
03:52:09 Selected Final Name: FLCL - Episode 01
03:52:09 Selected Container type: MKV
03:52:09 Selected Encoder: X264
03:52:09 Selected Size: 85
03:52:09 Selected Slice: 1
03:52:09 Selected Profile: HQ-Insane.xml
03:52:09 Selected Width: Automatic
03:52:09 Selected Resizer: LanczosResize
03:52:09 Selected Filters: MipSmooth(preset = "AnimeHQ")
03:52:09 Selected Deinterlacer: AUTO
03:52:09 Track Language 1: Japanese (AC3 2ch, 0xBD 0x81) [0]
03:52:09 Audio Codec 1: Nero AAC
03:52:09 Audio Quality 1: 0.15
03:52:09 Advanced Audio Settings DUMP Track 1:
03:52:09 Audio Track Language:
03:52:09 Audio Track Name:
03:52:09 Nero Option Profiles: AUTO --- Encoding Mode: Quality
03:52:09 CCT Option Profiles: AUTO --- Channel Options: AUTO
03:52:09 Lame Settings: ABR
03:52:09 Audio Normalization: 1
03:52:09 Frequency: AUTO --- Tempo : NONE
03:52:09 Pitch: NONE --- Other Add :
03:52:09 Advanced Audio Settings DUMP Track 2:
03:52:09 Audio Track Language:
03:52:09 Audio Track Name:
03:52:09 Nero Option Profiles: AUTO --- Encoding Mode: Quality
03:52:09 CCT Option Profiles: AUTO --- Channel Options: AUTO
03:52:09 Lame Settings: ABR
03:52:09 Audio Normalization: 1
03:52:09 Frequency: AUTO --- Tempo : NONE
03:52:09 Pitch: NONE --- Other Add :
03:52:09 Selected 1' Sub tracks: NONE
03:52:09 Selected 2' Sub tracks: NONE
03:52:09
03:52:09 Starting Indexing
03:52:09 Dgindex CMD: C:\flcl1\AutoMKV067\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=2 -YR=2 -AIF=[C:\flcl1\SOURCE\VTS_03_1.vob] -OF=[C:\flcl1\SOURCE\temp\movie] -exit -minimize
03:52:47 Finished indexing
03:52:47 Starting fixing audio delay on track number 2
03:52:47 DelayCut CMD: C:\flcl1\AutoMKV067\exe\dgindex\Delaycut.exe -auto -out "C:\flcl1\SOURCE\temp\fixed1.ac3" "C:\flcl1\SOURCE\temp\movie T02 2_0ch 192Kbps DELAY 0ms.ac3"
03:52:48 Original 1' Audio Size: 35493888 bytes
03:52:48 Finished fixing audio delay
03:52:48 Encoding C:\flcl1\SOURCE\temp\fixed1.ac3 to NeroAAC with 0.15 quality
03:53:37 Encoded 1' Audio Track: 6555666 bytes
03:53:39 Number of Frames: 44325
03:53:39 Framerate: 29.970030
03:53:39 Movie lenght in Seconds: 1479
03:53:39 Movie Width: 720
03:53:39 Movie Height: 480
03:55:23 Processing completed. Type is determined to be partly film.
03:55:23 Processing completed. Type is determined to be partly film.
03:55:23 BFF: 39
03:55:23 TFF: 161
03:55:23 Order: var
03:55:23 Starting X264
03:55:23 Command Line 1' Pass X264: C:\flcl1\AutoMKV067\exe\encoder\x264.exe --pass 1 --bitrate 446 --stats "C:\flcl1\SOURCE\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "C:\flcl1\SOURCE\temp\movie.avs"
03:55:24 Command Line 2' Pass X264: C:\flcl1\AutoMKV067\exe\encoder\x264.exe --pass 2 --bitrate 446 --stats "C:\flcl1\SOURCE\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "C:\flcl1\SOURCE\temp\movie.mp4" "C:\flcl1\SOURCE\temp\movie.avs"
03:55:30 "C:\flcl1\AutoMKV067\exe\matroska\mkvmerge.exe" -o "C:\flcl1\SOURCE\temp\FLCL - Episode 01.mkv" --track-name -1:"FLCL - Episode 01" --aspect-ratio 1:4:3 --chapters "C:\flcl1\AutoMKV067\exe\chapters.txt" "C:\flcl1\SOURCE\temp\movie.mp4" --language -1:jpn "C:\flcl1\SOURCE\temp\audio.mp4"
03:55:30 Final Muxed size: -1 bytes
03:55:30 Encoding finished: 00:03:21 elapsed time
03:55:30 -----------------------------------------------------------------------
03:55:30 Script AutoCrop.log
03:55:30
03:55:30 Crop(4,0,712,480)
03:55:30 -----------------------------------------------------------------------
03:55:30 Script Resmovie.avs
03:55:30
03:55:30 -----------------------------------------------------------------------
03:55:30 Script movie.avs
03:55:30
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\autocrop.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\blockbuster.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\cnr2.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\ColorMatrix.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Convolution3D.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\corrector.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\DctFilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Decomb.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Deen.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\degrainmedian.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\DGDecode.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\EEDI2.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\fft3dfilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\FluxSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\frfun7.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\hqdn3d.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\LeakKernelDeint.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\MaskTools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\medianblur.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\MipSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\mt_masktools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\mvtools.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\NicAudio.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\RemoveGrain.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\Repair.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\SangNom.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\SimpleResize.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TBilateral.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TDeint.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TIVTC.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TomsMoComp.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\TTempSmooth.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\UnDot.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\UnFilter.dll")
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\VSFilter.dll")
03:55:30 #loadpluginstart
03:55:30
03:55:30 #test1
03:55:30
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\MCBob_v03c.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\mvbob.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\QMF.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\seesaw.avsi")
03:55:30 Import("C:\flcl1\AutoMKV067\exe\filter\spresso.avsi")
03:55:30 #importstart
03:55:30
03:55:30 #test2
03:55:30
03:55:30 movie = mpeg2source("C:\flcl1\SOURCE\temp\movie.d2v")
03:55:30 function getOrder(clip c) {
03:55:30 order = GetParity(c) ? 1 : 0
03:55:30 Return order }
03:55:30 #filter1start
03:55:30
03:55:30 #test3
03:55:30
03:55:30 edeintted = SeparateFields().SelectEven().EEDI2(field=-1)
03:55:30 tdeintted = TDeint(edeint=edeintted)
03:55:30 tfm(order=-1,clip2=tdeintted).tdecimate(hybrid=3)
03:55:30 crop(movie,4,4,-4,-4)
03:55:30 #resizestart
03:55:30
03:55:30 #test4
03:55:30
03:55:30 LanczosResize(320,240)
03:55:30 #filter2start
03:55:30
03:55:30 #test5
03:55:30
03:55:30 MipSmooth(preset = "AnimeHQ")
03:55:30 ColorMatrix("Rec.709->Rec.601",hints=false)
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio.avs
03:55:30
03:55:30 LoadPlugin("C:\flcl1\AutoMKV067\exe\filter\NicAudio.dll")
03:55:30 NicAC3Source("C:\flcl1\SOURCE\temp\fixed1.ac3")
03:55:30 EnsureVBRMP3Sync()
03:55:30 ConvertAudioToFloat()
03:55:30 #Applyed STEREO downmixing routines
03:55:30 function stereo(clip a)
03:55:30 {
03:55:30 fl = GetChannel(a, 1)
03:55:30 fr = GetChannel(a, 2)
03:55:30 c = GetChannel(a, 3)
03:55:30 lfe = GetChannel(a, 4)
03:55:30 sl = GetChannel(a, 5)
03:55:30 sr = GetChannel(a, 6)
03:55:30 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
03:55:30 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
03:55:30 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
03:55:30 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
03:55:30 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
03:55:30 Return MergeChannels(l, r).Normalize()
03:55:30 }
03:55:30 #
03:55:30 function original(clip a)
03:55:30 {
03:55:30 Normalize(a)
03:55:30 Return last
03:55:30 }
03:55:30 6==Audiochannels() ? stereo() : original()
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio.bat
03:55:30
03:55:30 "C:\flcl1\AutoMKV067\exe\besweet\bepipe.exe" --script "Import(^C:\flcl1\SOURCE\temp\mkvmaudio.avs^)" | "C:\flcl1\AutoMKV067\exe\besweet\neroaacenc.exe" -ignorelength -q 0.15 -if - -of "C:\flcl1\SOURCE\temp\audio.mp4"
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio2.avs
03:55:30
03:55:30 -----------------------------------------------------------------------
03:55:30 Script mkvmaudio2.bat
03:55:30
03:55:30
03:55:30 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


I get this when I run 'x264cmdq_pass1.bat' after the encoding job is done:

C:\flcl1\SOURCE\temp>"C:\flcl1\AutoMKV067\exe\encoder\x264.exe" --pass 1 --bitr
ate 446 --stats "C:\flcl1\SOURCE\temp\.stats" --ref 0 --no-b-adapt --progress --
keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-r
efs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25
000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8
,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "C:\flcl1\SOURCE\temp\movie.a
vs"
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'C:\flcl1\SOURCE\temp\movie.avs'


Hope you guys can help me out. Thnx.

dlflannery
12th January 2007, 07:01
@buzzqw
I've posted my guide (http://forum.videohelp.com/viewtopic.php?t=319372) for "Quick Conversion of Mpeg2 to Zune-compatible WMV using AutoMKV" on the VideoHelp forum. I hope you will take a look at it and let me know of any errors you see. At this moment the two screen shots I included are not being shown. I believe they have to be approved by a moderator before they show up.

Note that VideoHelp.com has added AutoMKV to their Tools section also, and one of the moderators has just posted a guide for DVD to WMV conversion using AutoMKV.

buzzqw
12th January 2007, 09:25
@Nemesis7

got it, fixed in next version. now don't use manual crop now (is a problem within manual crop and deinterlacer).
if you want resolve just add last=movie just before
edeintted = SeparateFields().SelectEven().EEDI2(field=-1)

@ALL please downgrade dgindex to 1.4.9 BETA 7 (incompatibility with tfm...)

http://www.neuron2.net/dgmpgdec/dgmpgdec149b7.zip

unzip to \exe\dgindex folder
copy dgdecode.dll to \exe\filter folder

@dlflannery
:thanks: !

BHH

cosmos
12th January 2007, 10:18
One suggestion (you gurus probably know more, but anyways thought this might of interest): I've seen that automkv uses 3 threads for x264. Now I'm sure I was reading somewhere that 2 threads is always faster than with 3, in some cases by an important margin.

Perhaps threads should be 2 instead of 3? Or auto for that matter? MeGUI uses in almost all cases 0 (=auto). Just a suggestion. Will try to make a comparison here on a small clip with threads =auto, threads=2 and threads=3.