Log in

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


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

buzzqw
28th December 2007, 22:30
@red5goahead

i suggest to rip with RipIt4me, the problem with audio can be due to "bad/inaccurate" rip

BHH

red5goahead
28th December 2007, 22:53
@red5goahead

i suggest to rip with RipIt4me, the problem with audio can be due to "bad/inaccurate" rip

BHH

I fixed it with mkv utility.

but I'll try because also there is some deinterlace issue.

survivant001
29th December 2007, 02:28
@buzzqw

I have a request. Can you add x264 build that contain theses options please ?:
--aud Use access unit delimiters
--nal-hrd Use NAL HRD parameters
--pulldown <integer> Use 3:2 pulldown
- 32: TBT,BT,BTB,BT pattern
- 64: triple,double *recommended for 720p

The reason is theses options can be used to generate a h264 stream complaint with Encore CS3 to generate a bluray compatible.


Another request, is to be able to save the SAR setting in the profile.xml (like ps3_4.1.xml) I need a SAR of 1:1.

another thing is that when the option : --nal-hrd is used you need to add the option vbr-buffer
like this
--vbv-bufsize 14745 --vbv-maxrate 16000

I want to generate a bluray profile, like a did for the ps3_41.xml.

for now, I have to edit manually the xpass.cmd to add theses options, and I need to use the build 699i_pulldown.

with that I have a h264 stream 100% complaint bluray (ok, need to have 23.976 or 25fps).. why using that.. simple reason.. Encore cs3 will generate a m2ts file that can be played on the PS3.. and it support fast forward and rw :)

Encoder888
29th December 2007, 04:19
Hey buzzqw,

I really like the new AQ feature, where you may specify whatever sensitivity / strength you want directly from the GUI. I've been playing with it all day (good thing I got a 3.2GHz Athlon 64 X2) :) The reason I'm posting this is cause I erased my question, which used to be this post, because I answered it myself - the default AQ settings from the 0.92 AQ profiles was 0.5 for strength and 15 for sensitivity. I've been using the same strength, and I increased (or decreased) the sensitivity to 10 and I've been getting awesome results. So, good work on the new feature, it really gives you the necessary freedom, to determine what each unique film needs.

Also, I noticed something, which really isn't a big deal and doesn't affect performance, but I thought I'd let you know anyway:

I noticed that in the AQ Strength field, you've allowed users to specify anything from 0 to 110 (or 0.00 to 11.00, as it is x10). Considering that the AQ Strength in reality can only go up to 2.00, you probably should restrict the field to be able to go only from 0 to 20, since anything above 20 would result in the same 2.00 strength, so it's pointless to allow the user to enter anything above 20, and this may confuse people who are not familiar with AQ. Oh, and also I noticed that you misspelled the word "strength". I know I make that typo all the time too :)) Like I said those are just tiny details. Otherwise, great work. I love the new build. The audio also seems to be working just fine.

Keep up the good work.

buzzqw
29th December 2007, 09:18
@survivant001

your xmas gift (with some delay ;) )

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

ADDED: support for <aud>, <nal-hrd>, <pulldown>
take as reference the PS3_41_ECS3.xml
pulldown value can be any integer (suggestion by survivant001)
NOTE that this option aren't avaiable with x264 Cef's build
FIXED: AQ Strength typos (thanks to Encoder888)
FIXED: Maximum AQ Strength is 2.0 (and so you can put 20 for 2.0) (thanks to Encoder888)


BHH

pdanpdan
29th December 2007, 11:06
Hello, In the 0.93 series I have a problem with DVD processing.
After ripping to HDD, the vob is named "VTS_02_PGC_01_1.VOB", but dgindex command line tries to use it as "VTS_02_1.VOB".

11:31:23 0.93 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:31:23 OS Version: Windows XP
11:31:23 Selected Input file: E:\VIDEO_TS\VTS_02_0.IFO
11:31:23 Selected Output dir: C:\#EAC#\work\temp\
11:31:23 Selected Final Name: Muk gong (Battle of the Wits)
11:31:23 Selected Container type: MKV
11:31:23 Selected Encoder: X264
11:31:23 Selected Size: Unlimited File Size
11:31:23 Selected Profile: Constant_Quality.xml
11:31:23 Selected Resizer: NONE / Original
11:31:23 Selected Filters: RemoveGrain(mode=2)
11:31:23 Selected Deinterlacer: AUTO
11:31:23 Selected Field Order: AUTO
11:31:23 Manual Crop: Enabled
11:31:23 Left Crop: 0
11:31:23 Top Crop: 56
11:31:23 Right Crop: 0
11:31:23 Botton Crop: 60
11:31:23 Manual Width:
11:31:23 Manual Height:
11:31:23 Enabled Constant Quality With Unlimited Size (Q 21)
11:31:23 Enabled CRF/CQ AutoRes at 21 value
11:31:23 Activate PGC Ripping: 1
11:31:23 Track Language 1: 80: Chinese (AC3 6ch, 0xBD 0x80) [0]
11:31:23 Audio Codec 1: Nero AAC
11:31:23 Audio Quality 1: 0.30
11:31:23 Audio Channel 1: Original
11:31:23 Track Language 2: NONE
11:31:23 Audio Codec 2: Nero AAC
11:31:23 Movie title Name: Muk gong (Battle of the Wits)
11:31:23 Advanced Audio Settings DUMP Track 1
11:31:23 Nero Option Profiles: AUTO --- Encoding Mode: Quality
11:31:23 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:31:23 Lame Settings: ABR
11:31:23 Audio Normalization: 1
11:31:23 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
11:31:23 Selected 1' Sub tracks: Romanian 1 (0xBD 0x21) [0] wide
11:31:23 Selected 2' Sub tracks: English 0 (0xBD 0x20) [0,1] wide
11:31:23
11:31:23 Starting ripping from E:\VIDEO_TS\ to C:\#EAC#\work\temp\
11:33:18 Finished Ripping
11:33:18 Starting SubRipping
11:34:18 Subtitle Size: 9453568 bytes
11:34:18 Finished SubRipping
11:34:18 Activate PGC processing: PGC 1 [2:12:54:22]
11:34:18 Dgindex CMD: C:\7_Soft\Multimedia\AutoMkv\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[C:\#EAC#\work\temp\DVD\VIDEO_TS\VTS_02_1.vob] -OF=[C:\#EAC#\work\temp\movie] -exit -minimize
11:57:59 D2V file size: 994342

buzzqw
29th December 2007, 11:27
@pdanpdan
please start manually dvddecrypter (from \exe\vsrip folder)
go in Tools -> Settings, and on Ifo Mode , de-select "Include PGC Number" and "Include Angle Number"

please report back any problems :)

BHH

red5goahead
29th December 2007, 11:39
@red5goahead
i suggest to rip with RipIt4me, the problem with audio can be due to "bad/inaccurate" rip
BHH

I tried with DvdFab HD Decrypter 4. The rip is correct I check out before encoding. it's correct. no Delay for the audio.
I uncheck delaycut but the audio is still hastes (more than 1 second). In this test automkv recode ac3 from 384kbit to 224kbit

This is the last log.



01:32:55 0.93 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
01:32:55 Selected Input file: E:\videorecorded\flightplan_dvd\MainMovie\FLT0EFW1\VIDEO_TS\VTS_01_0.IFO
01:32:55 Selected Output dir: E:\videorecorded\flightplan_dvd\MainMovie\temp\
01:32:55 Selected Final Name: FlightPlan
01:32:55 Selected Container type: MKV
01:32:55 Selected Encoder: X264
01:32:55 Selected Size: 1/3 DVD-R / 1
01:32:55 Selected Profile: 2_Pass_Balanced.xml
01:32:55 Selected Resizer: SimpleResize (neutral soft) / AutoCrop Only
01:32:55 Selected Filters: NONE
01:32:55 Selected Deinterlacer: AUTO
01:32:55 Selected Field Order: AUTO
01:32:55 Enabled CRF/CQ AutoRes at 18 value
01:32:55 Activate PGC Ripping: 1
01:32:55 Track Language 1: 82: Italiano (AC3 6ch, 0xBD 0x82) [0]
01:32:55 Audio Codec 1: AC3
01:32:55 Audio Quality 1: 224
01:32:55 Audio Channel 1: Original
01:32:55 Track Language 2: NONE
01:32:55 Audio Codec 2: Nero AAC
01:32:55 Advanced Audio Settings DUMP Track 1
01:32:55 Nero Option Profiles: AUTO --- Encoding Mode: Quality
01:32:55 CCT Option Profiles: AUTO --- Channel Options: AUTO
01:32:55 Lame Settings: ABR
01:32:55 Audio Normalization: 1
01:32:55 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
01:32:55
01:32:55 Activate PGC processing: PGC 1 [1:34:02:22]
01:32:55 Dgindex CMD: E:\videorecorded\AutoMKV093\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=82 -YR=2 -AIF=[E:\videorecorded\flightplan_dvd\MainMovie\FLT0EFW1\VIDEO_TS\VTS_01_1.vob] -OF=[E:\videorecorded\flightplan_dvd\MainMovie\temp\movie] -exit -minimize
01:34:25 D2V file size: 730496
01:34:25 Original 1' Audio Size: 270775296.000000 bytes
01:34:25 Not fixing audio delay
01:34:25 Encoding E:\videorecorded\flightplan_dvd\MainMovie\temp\fixed1.ac3 to AC3 with 224 quality
01:38:20 Encoded 1' Audio Track: 157953152 bytes
01:38:26 Number of Frames: 141074
01:38:26 Framerate: 25.000000
01:38:26 Movie length in Seconds: 5643
01:38:26 Movie Width/Height: 720/576
01:38:26 DgIndex AR: 4:3
01:41:21 Source is declared tff by a margin of 63/60.
01:41:21 Advanced Deinterlace Routines Log
01:41:21 Analyzed 408 sections of five frames
01:41:21 Found Interlace Sections: 0 0.00%
01:41:21 Found Progressive Sections:408 100.00%
01:41:21 Found Telecined Sections: 0 0.00%
01:41:21 Found Zero Mov: 100.00% 408
01:41:21 Found One Mov: 0.00% 0
01:41:21 Found Two Mov: 0.00% 0
01:41:21 Found Three Mov: 0.00% 0
01:41:21 Found Four Mov: 0.00% 0
01:41:21 Found Five Mov: 0.00% 0
01:41:21 The Movie is declared to progressive
01:41:21 Starting X264
01:41:21 Command Line 1' Pass X264: E:\videorecorded\AutoMKV093\exe\encoder\x264.exe --pass 1 --bitrate 1977 --stats "E:\videorecorded\flightplan_dvd\MainMovie\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 2 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-pyramid --analyse none --threads auto --thread-input --output NUL "E:\videorecorded\flightplan_dvd\MainMovie\temp\movie.avs"
01:41:21 Command Line 2' Pass X264: E:\videorecorded\AutoMKV093\exe\encoder\x264.exe --pass 2 --bitrate 1977 --stats "E:\videorecorded\flightplan_dvd\MainMovie\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 4 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads auto --thread-input --output "E:\videorecorded\flightplan_dvd\MainMovie\temp\movie.mp4" "E:\videorecorded\flightplan_dvd\MainMovie\temp\movie.avs"
02:25:17 Finished 1' Pass X264
04:17:56 Only Movie Size: 1396173696 bytes
04:17:56 "E:\videorecorded\AutoMKV093\exe\matroska\mkvmerge.exe" -o "E:\videorecorded\flightplan_dvd\MainMovie\temp\FlightPlan.mkv" --track-name -1:"FlightPlan" --aspect-ratio 1:1.721894 --chapters "E:\videorecorded\AutoMKV093\exe\chapters.txt" "E:\videorecorded\flightplan_dvd\MainMovie\temp\movie.mp4" --language -1:ita --default-track -1:yes "E:\videorecorded\flightplan_dvd\MainMovie\temp\audio.ac3" --title "Done with AutoMKV 0.93 http://forum.doom9.org/showthread.php?p=854221 "
04:20:24 Final Muxed size: 1554748160 bytes
04:20:24 Encoding finished: 01:55:07 elapsed time
04:20:24 -----------------------------------------------------------------------
04:20:24 Script AutoCrop.log
04:20:24
04:20:24 Crop(8,70,704,436)
04:20:24 -----------------------------------------------------------------------
04:20:24 Script movie.avs
04:20:24
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\AddGrain.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\autocrop.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\aWarpSharp(Pruned).dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\blockbuster.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\cnr2.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\ColorMatrix.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\Convolution3D.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\corrector.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\DctFilter.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\Decomb.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\Deen.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\degrainmedian.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\DGDecode.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\EEDI2.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\FFMpegSource.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\FFT3DFilter.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\FluxSmooth.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\frfun7.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\hqdn3d.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\LeakKernelDeint.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\MaskTools.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\medianblur.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\MipSmooth.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\MSharpen.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\mt_masktools.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\mvtools.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\NicAudio.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\RemoveGrainS.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\RepairS.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\SangNom.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\SimpleResize.dll")
04:20:24 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\SoundOut.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\TBilateral.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\TDeint.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\TIVTC.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\TomsMoComp.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\TTempSmooth.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\UnDot.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\UnFilter.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\VSFilter.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\warpsharp.dll")
04:20:25 #loadpluginstart
04:20:25
04:20:25 #test1
04:20:25
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\BlindDeHalo3_mt2.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\Deblock_QED_MT2.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\HybridFuPP.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\LanczosPlus.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\Lem.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\LimitedSharpenFaster.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\MCBob_v03c.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\mvbob.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\QMlib.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\seesaw.avsi")
04:20:25 Import("E:\videorecorded\AutoMKV093\exe\filter\spresso.avsi")
04:20:25 #importstart
04:20:25
04:20:25 #test2
04:20:25
04:20:25 movie = mpeg2source("E:\videorecorded\flightplan_dvd\MainMovie\temp\movie.d2v")
04:20:25 function getOrder(clip c) {
04:20:25 order = GetParity(c) ? 1 : 0
04:20:25 Return order }
04:20:25 #filter1start
04:20:25
04:20:25 #test3
04:20:25
04:20:25 #cropstart
04:20:25
04:20:25 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
04:20:25 fixed_aspect = 1.066667
04:20:25 c_width = width(cropclip)
04:20:25 c_height = Round(height(cropclip) / fixed_aspect)
04:20:25 input_par = float(float(c_width)/float(c_height))
04:20:25 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
04:20:25 out_width = 720
04:20:25 out_height = Round(float(out_width) / input_par)
04:20:25 hmod = out_height - (floor(out_height / 16 ) * 16)
04:20:25 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
04:20:25 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
04:20:25 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
04:20:25
04:20:25 #resizestart
04:20:25
04:20:25 #test4
04:20:25
04:20:25 SimpleResize(out_width,out_height)
04:20:25 #filter2start
04:20:25
04:20:25 #test5
04:20:25
04:20:25 -----------------------------------------------------------------------
04:20:25 Script mkvmaudio.avs
04:20:25
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\NicAudio.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\SoundOut.dll")
04:20:25 LoadPlugin("E:\videorecorded\AutoMKV093\exe\filter\FFmpegSource.dll")
04:20:25 NicAC3Source("E:\videorecorded\flightplan_dvd\MainMovie\temp\fixed1.ac3")
04:20:25 #Applying ORIGINAL downmixing routines
04:20:25
04:20:25 function addvideo(clip c) {
04:20:25 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
04:20:25 Return audiodub(last,c)
04:20:25 }
04:20:25 Normalize()
04:20:25
04:20:25 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="E:\videorecorded\AutoMKV093\exe\besweet\aften.exe",prefilename=" -b 224 - audio.ac3",nofilename=true,showoutput=false)
04:20:25
04:20:25 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


but there is another problem. Tha final aspect ratio is not correct. I use often autocrop for 2:35:1 film without problems but in this case the result is this :

a 720x416 video.

http://img263.imageshack.us/img263/3174/90702636dp0.th.png (http://img263.imageshack.us/my.php?image=90702636dp0.png)

why dgindex found

01:38:26 DgIndex AR: 4:3

Could be this the problem?

buzzqw
29th December 2007, 12:07
@red5goahead

if you just copy audio , the audio is coming before/late ?

abot 4:3, this value is read from d2v, and so written by dgindex. Most important is that this value is used in movie.avs
fixed_aspect = 1.066667
this is 1.4xxx for 16/9 films..

automkv will mux this film correctly
--aspect-ratio 1:1.721894
(more near to 16/9 than 4:3)

i can suggest 2 possible solution
1) set your recorder to flag correctly 4/3 and 16/9 film
2) open with notepad movie.d2v, correct Aspect Ratio to
Aspect_Ratio=16:9
then use this d2v as input for encoding, automkv will request audio.. and so link the fixed1.ac3...

about delay..
i will try to do d2v file manually, BUT skipping first seconds, just using ">" to skip the first gops

hope that help!

BHH

Zelos
29th December 2007, 14:00
Hi here :)

The soft seems to freeze at 98.6% at 1st pass when i overrange the framecount ( like 3000 fps more ).
i can use other windows programs, only the process stayed at 98.6% and counter still running.
If i put exactly the frames , then the 1st pass finish without problems.
But the second pass still block at this 98.6% , even if i modify the framecount.
That's strange , may be i was wrong somewhere ?

buzzqw
29th December 2007, 14:15
loadplugin("D:\AutoMKV091\exe\Filter\mipsmooth.dll")
directshowsource("g:\hitch\hitch.grf",video=true,audio=false,framecount=17300,fps=23.976)
crop(0,138,0,-138,align=true)

i can suppose that freeze is due to particular input file (graphedit file).. i haven't a big experience with graphedit... but looking around seems that you miss some information on your directshowsource line

do a search for hddvd/blueray and grf

BHH

vOjToL
29th December 2007, 15:19
Hi buzzqw! It is possible to select .ifo as a source and check "DSS x video"? At this moment AutoMKV trying open .ifo file with directshow(and crash), not a vob file :(

zacoz
29th December 2007, 16:22
Dredging up an old post here, but I've found myself in the same situation with a couple of HTDV captures I've done, for which I'm not interested in maintaining at a HDTV quality, thus would like to drop to 25fps. However I'm gathering something has changed in changefps or in how AutoMKV handles it, as when following the below instruction I'm getting "Script error: Invalid arguments to function 'changefps' (D:\Capture\temp\movie.avs, line 70)". Offending section in movie.avs being:
#test3
changefps(25.00)
#cropstart

Any assistance would be appreciated as I'm still uncertain what I need to do after visting my friend Google.

I have started using automkv to convert my HDTV rips, and I must say this is a great little program. I am converting to x264 using videoredo to edit out commercials first. One problem I have run into however, is that most of my HDTV caps are in 50fps. I have not been able to find any option in automkv to change this to say 25fps. I am guessing this can be added in the command line window somehow, just not sure how to do it... Any feedback would be appreciated.

@Surlyrich
on deinterlacer box WRITE changefps(25.00) (overwriting AUTO)

buzzqw
29th December 2007, 16:58
@vOjToL

i will surely look at this... but sorry.. why using dss when dgindex is more more reliable ?

@zacoz

since these posts avisynth changefps have changed syntax..
on automkv look at advanced profile editing, there is a specific changefps options

BHH

zacoz
29th December 2007, 17:18
@buzzqw
:thanks:

I'd found the option in the intervening period myself actually (while catching up on the last couple of weeks of posts here - completely missed the lifespan of the 0.93beta thread) and was running test to make sure it was what I should be using. No errors now, and assuming it will come out just how I want it.

vOjToL
29th December 2007, 17:21
@vOjToL
i will surely look at this... but sorry.. why using dss when dgindex is more more reliable ?
BHH
Because sometimes I need to use ffdshow with filters for encoding extras from DVD(fast deinterlacing, postprocessing and more effects).

buzzqw
29th December 2007, 17:38
@vOjToL

not easy to fix :(

i can suggest to rip in a big vob and point automkv to this vob not to ifo

i will deeply look at this problems.. but isn't easy .. sorry

BHH

vOjToL
29th December 2007, 19:00
The reason why I cannot select vob instead ifo is AutoMKV don't rip subs from vob directly.

Zelos
29th December 2007, 20:49
Me again :)

i check thr grf and was ok.
The pb was on my demuxer , it had corrupted the video file (at the end).
All is ok now, bug is corrected :p
Thanks for help buzz :thanks:

artisticcheese
29th December 2007, 22:55
Hi,

I have MKV file with x264 encoded movie with subtitle (I can see subtitle present by using CCCP shell extension). When I import it into AutoMKV it does not populate subtitles present in a movie for me to choose to be burned into the movie.
Sample of the movie can be downloaded here (50 MB file).
http://www.divshare.com/download/3289365-641

buzzqw
30th December 2007, 01:02
@Zelos

:helpful: :)

thanks!

@artisticcheese

automkv desn't support subtitle muxed within mp4/ogm/mkv container

you must extract manually the subs (mkvextract) , then add as external subtitle

BHH

FrieWiled
30th December 2007, 07:43
Hey buzzqw,

Haven't ripped anything for a while, but started again...

I'm currently testing the new 0.93 now, but is there any chance of "hiding" the dos windows when they pop up?

Because it's kinda annoying when you just browsing the web, or whatever while your encoding....

I'll report back after a few test encodes :)

Thanks, FrieWiled.

buzzqw
30th December 2007, 08:31
@FrieWiled

i know.. future upgrades will hide these windows

BHH

AMED
30th December 2007, 08:34
I would have to times 2 FrieWiled's suggestion, there is nothing more annoying that watching a movie with AutoMKV running the background and every time a cmd box opens it bumps the movie out of full screen to windowed.

buzzqw
30th December 2007, 09:02
ok .ok ..ok..

NEXT update will remove some popup... ;)

BHH

ebucha
30th December 2007, 09:11
Buzzqw,

First off, thanks for all of the hard work. I've been using AutoMKV for months now and it always gets the job done.

I am however having an issue with 2_pass XviD encoding in version .93. The generated xvidfirstbatch.bat file is missing the -pass1 argument which causes a single pass encode. Here are the details of my batch files and my configuration just in case you need them:

"C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe" -cq 2.41 -max_bframes 3 -imin 3 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_offset 0 -kboost 20 -odegrade 9 -nopacked -nochromame -bvhq -threads 2 -par AUTO -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "C:\Video Creation\Processed\Movie\temp\movie.avs" -type 2 -avi "C:\Video Creation\Processed\Movie\temp\movie.avi"
"C:\Program Files\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -bitrate 1872166 -max_bframes 3 -imin 3 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_offset 0 -kboost 20 -odegrade 9 -nopacked -nochromame -bvhq -threads 2 -par AUTO -qmatrix "C:\Program Files\AutoMKV\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "C:\Video Creation\Processed\Movie\temp\movie.avs" -type 2 -avi "C:\Video Creation\Processed\Movie\temp\movie.avi"

; AutoMKV parameters
[AutoMKV]
Source on DVD = 0
Input File = C:\Video Creation\Rips\Movie\VTS_05_1.VOB
Input Folder = C:\Video Creation\Rips\Movie\
Output Folder = C:\Video Creation\Processed\Movie\
Container = AVI
Movie Name = Movie (1)
Size = Don't care about size
Slice = 1
Resizer = 2
Width = 720
Set encoding mode = XviD
Audio Track 1 = 80: AC3 3/2 448
Audio Codec 1 = Lame
Audio Bit 1 = 12
Audio Bitrate 1 = 192
Audio Channel 1 = Stereo
Audio Track 2 = NONE
Audio Codec 2 = Lame
Audio Bit 2 = 7
Audio Bitrate 2 = 112
Audio Channel 2 = Stereo
Sub Track 1 = NONE
Sub Track 2 = NONE
Encoding Profiles = 2_Pass_Balanced.xml
Hit Media/Go Unlimited =
xcrfgounlimited =
xcrfhitmediasize =
xcrfcrfquantitizer =
Use CRF/CQ for AutoResize = 1
Auto adjust CRF = 0
AQ Strenght (x10) = 0
AQ Sensitivity = 0
Use Last line AVS Script = 0
Last Line AVS Script =
CRF/CQ Value = 2
Bitrate Encoding = 0
Bitrate Value = 700
Quality Encoding = 1
Quality Value = 80
Delete temporary files = 0
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Process this IFO = 0
PGC to Process = -1
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = NONE
Enable Last Line AVS Script = 0
Deinterlacer = AUTO
Field Order = AUTO
Language = eng
Trim from =
FPS = 0.000000
Use ProjectX for TS files = 0
Use custom X.ini = 0
Use DelayCut = 1
HQ Deinterlacer = 0
Matrix = Didees SixOfNine-HVS.cqm
Force Mux AR = 0
Force Mux W*H = 0
High Quality First Pass = 0
Do the Third Pass = 0
Force PAR in XviD = AUTO
Use DirectShowSource for Video = 0
Use DirectShowSource for Audio = 0
Enable Manual Crop And Resize = 0
Crop Top =
Crop Left =
Crop Bottom =
Crop Right =
Manual Width =
Manual Height =
Audio Track Name 1 = und
Movie Title Name =
Audio Track Desc 1 =
Nero Profiles 1 = AUTO
Nero Encoding Mode 1 = Quality
CCT Profiles 1 = AUTO
Channel Options 1 = AUTO
MP3 Settings 1 = ABR
Windows Media Audio = AUTO
Windows Media Channel =
Normalize Audio 1 = 0
Frequency 1 = AUTO
Tempo 1 = NONE
Pitch 1 = NONE
OtherADD 1 =
Audio Track Name 2 =
Audio Track Desc 2 =
Nero Profiles 2 = AUTO
Nero Encoding Mode 2 = Quality
CCT Profiles 2 = AUTO
Channel Options 2 = AUTO
MP3 Settings 2 = ABR
Normalize Audio 2 = 1
Frequency 2 = AUTO
Tempo 2 = NONE
Pitch 2 = NONE
OtherADD 2 =
Nero 2 Pass Encoding 1 track =
Nero 2 Pass Encoding 2 track =

Thanks for the assistance,
Evan

buzzqw
30th December 2007, 09:56
@ebucha

i am unable to replicate

i tryed using queue, save setting, and save configuration..
but all worked ok

if you are using a "save configuration" please delete it and recreate with automkv 0.93

just a consideration.. why using a 2 pass profile with "unlimited file size" ? the same result can be achivied with 1 pass CQ encoding

BHH

Tekoo
30th December 2007, 10:06
hi...

i've been using an older version of AutoMKV on XP SP2 for a long time without a prob

now that i have bought a new laptop and switched to Vista, i experienced two problems of which one was solved by downloading the new version (bautodeint.exe problem)

But the one which remains unsolved is the error message which i get as soon as i start encoding

"x264.exe has stopped working"

I've read in another thread that downloading the most recent build of x264 would solve it. I did so and replaced it but get the same error message.

Any clue on how to solve that?

buzzqw
30th December 2007, 10:27
i haven't vista.. but try launch automkv with administrative privilege.. , disable dep, turn off uac.. or .. throw away vista :p

BHH

valnar
30th December 2007, 16:28
OK, I just downloaded this program and will start reading this thread shortly - all 200+ pages. But while I do that, I want to run a couple test jobs to get the feel of AutoMKV.

I started a job and discovered that the x264 encodes run at normal priority. I can't figure out (and I searched) how to make everything run at low priority in Windows.

Having my PC totally taken over by the encode makes it hard to flip web pages and read. :)

-Robert

buzzqw
30th December 2007, 16:40
automkv will run "near" all process to idle priority ..by default
can you tell me what phase, triggering x264.exe, are you referring ? (analyze movie, deinterlace test, autoresize, encoding...)

thanks

BHH

ebucha
30th December 2007, 17:30
@buzzqw

Thanks, I'm an idiot. The saved configuration was the only thing I kept when upgrading from the last version. Removing it fixed the issue for 2_pass_XviD. Also, I am new to constant quality encoding. After looking at the manual, I have switched to the Constant_Quality profile.

Once again, thanks for the help, Evan.

valnar
30th December 2007, 17:46
automkv will run "near" all process to idle priority ..by default
can you tell me what phase, triggering x264.exe, are you referring ? (analyze movie, deinterlace test, autoresize, encoding...)

thanks

BHH

Anytime x264 is running. If I manually set it (when it runs) to low, it's better.

Robert

buzzqw
30th December 2007, 18:18
Update 0.93a, link in first post

changelog
ADDED: support for <aud>, <nal-hrd>, <pulldown> , take as reference the PS3_41_ECS3.xml, pulldown value can be any integer. Set 0 for disabling. (suggestion by survivant001)
FIXED: Typos (AQ strenght -> AQ strength) (thanks to Encoder888)
FIXED: Maximum AQ Strength is 2.0 (and so you can put 20 for 2.0)(thanks to Encoder888)
FIXED: Deinterlacer routine test now is running minimized and at idle priority
FIXED: Computing movie parameters now run at idle priority
FIXED: Some tweak to ffmpeg.exe usage

there are some other pop up and not idle.. but this is at least a start

BHH

survivant001
30th December 2007, 19:10
@buzzqw

thanks for the update

I have a question or it a request.

Suppose I have a movie 3.2 gigs. It is possible to have a setting in "Disk Setting" to have a lenght similar to the source ?

suppose I encode a movie x264->x264 , AC3->AC3 (I know it's look stupid.. but I have 5.1profile that I want to convert to 4.1 with some filters). I don't want to check the source length and write it after that in the Disk Setting (I'm lazy, and it's always the same thing with me.. I don't want to do that each time a convert a movie, if I want a specific size like 1/3 DVD, I'll choose it)

or.. another way could be to take the same bitrate as the source ? like x264->x264, it should give a similar file size it I use the same bittrate. (ok, filters will have a impact.. but.. :) )

thanks

survivant001
30th December 2007, 19:14
I found a bug

when I opened automkv, my previous saved setting were there : like the profile, and mkv. but when I choose the container (in fact, I didn't select one.. just click on it).. the profile has been reset to 2_pass_balanced. The profile should only be update when the container change. I think it a ChangeEvent and not SelectEvent.

oups another one: I didn't start the encoding process yet and I have "computing Size MB" in the bottom left. (when I click on PAUSE before encoding"

another one (ok it's just label.. but) : in the automkv log.. there is a line : 13:16:16 Enabled CRF/CQ AutoRes at 18 value

I didn't check the checkbox.. the line shouldn't be there.


another one. In my previous encoding, my output folder was : d:\dvd\encore. I moved the folder today.. and when I start the encoding, I didn't receive a error message, and automkv was doing something, but no black windows.. I closed it. restart it.. change the right output folder.. click on start.. and everything look ok after that.. the process started.

good... I'm leaving to go coding myself.

buzzqw
30th December 2007, 19:57
It is possible to have a setting in "Disk Setting" to have a lenght similar to the source ?

i will do a "constant quality encoding", at crtf ... 22 to mantain same size.. (even if i prefer 18..)

anyway remember that you can write 3200 in disk settigns and so got a 3200mb final file

The profile should only be update when the container change. I think it a ChangeEvent and not SelectEvent.

good point.. i will look at this

I didn't start the encoding process yet and I have "computing Size MB" in the bottom left. (when I click on PAUSE before encoding"

this string appear in status bar when automkv will internally check disk settings.. don't worry

13:16:16 Enabled CRF/CQ AutoRes at 18 value
fixed, must appear only if automatic resize is selected

d:\dvd\encore. I moved the folder today
a sanity check for existing directory ... added in todo list

I'm leaving to go coding myself.
may i hope for AutoPS3 ? :p

BHH

vorob
30th December 2007, 20:56
I’m going to convert my home video, for now I’ve got in uncompressed type over 50gb, and I need to use some deinterlacer mode, but I don’t know which one to choose in this prog. Also may be I need some other options to change especially for VHSRip compression? Thx :)

weaver4
30th December 2007, 21:29
I think something may be wrong with your input file name. As I remember AutoMKV can get lost with all the periods in it. Try changing your input file name to have dashes in it except the ext period

The.Invisible.2007.720p.BluRay.DTS.x264-CtrlHD.mkv
to
The-Invisible-2007-720p-BluRay-DTS-x264-CtrlHD.mkv

Let me know if this fixes the problem.

BTW: It is a good idea, in this forum, to refer to movies as videos and never put a "real" movie title in a log file. Some countries it is not legal to make a backup of your own DVD's. We would never want to put Doom9 in Jeopardy. Doom9 has always been consistent about never making illegal copies.

survivant001
30th December 2007, 22:19
i will do a "constant quality encoding", at crtf ... 22 to mantain same size.. (even if i prefer 18..)

can you explain what that do ? (18,20,22..) I try to google it.. but didn't find a good explanation with examples.

thanks

buzzqw
30th December 2007, 22:34
@vorob

... i can suggest to try.. or let automkv analyze it and found the pattern

about vhs.. i suggest some all around denoiser like convolution3d, hqdn3d or mipsmooth

@weaver4
good point... but for me is a directshow problem

@survivant001
the xivd quantitizer goes from 1 to 31
the x264 quantitizer goes from 0 (lossless) to 51 (ultra blocky)
there is a mathematical formula (don't remember now..) that say CQ 2 (xvid) = CRF 18 (x264), and 3=20/21 (iirc)

look here http://forum.doom9.org/archive/index.php/t-1%20%3C/t-111982.html

BHH

survivant001
30th December 2007, 23:31
@survivant001
the xivd quantitizer goes from 1 to 31
the x264 quantitizer goes from 0 (lossless) to 51 (ultra blocky)
there is a mathematical formula (don't remember now..) that say CQ 2 (xvid) = CRF 18 (x264), and 3=20/21 (iirc)


thanks. so should I have CRF 18 or VBR for quality ?

I'm doing a test with crf 18,20, 24 and bitrate 8000. so the result for the best quality should be 18 right ? (maybe I won't see the difference.. but in theory)

spotter
31st December 2007, 04:01
@buzzqw

no delay to check size in this version?

spotter
31st December 2007, 05:57
also, why is there a resize filter if you do "autocrop only"?

xxxyzzzz
31st December 2007, 06:56
Hi buzzqw,

I am a big fan of AutoMKV. (And I use it in Linux!)

I have a few requests that I hope you can implement - and that I hope don't conflict with others' requests.

Would you be able to:

- With the "Select Input File" dialog, default to the last directory where a file was opened.

- with the "Select Output Folder" dialog, default to the "Select Input File" folder when a file is loaded

- if an IFO is loaded, set the "Movie Name" to the folder name which contains the IFO. If the folder name is VIDEO_TS, then use the folder above that. (This is because many ripping programs output to a folder with the DVD Volume name)

- When I select Ogg Vorbis and save the settings; the next time I open AutoMKV, it defaults to Lame. Is this a bug? If so, can it be fixed?

- Add an "Abort Job" button that stops the current job; and doesn't continue if it is a queued job. (I am pretty sure this has been requested, I just want to add my vote) :]


I am very thankful for your work. Keep it up! And, I understand if you can't fulfill all of these. I just though I'd ask.

Thanks,
Z

P.S. I was the one who added the Linux section to your wiki; but, every time I go to update it, some idiot (or some idiot's bot) keeps adding a bunch of links to porn/warez/phishing sites. I always remove them, though.

buzzqw
31st December 2007, 08:09
@spotter
no delay to check size in this version?
YES! i have changed code to reflect your bug! (and thanks again)

also, why is there a resize filter if you do "autocrop only"?
for keeping correct aspect ratio
if you don't want resizer BUT want crop, use the manual crop in advanced settings and then set none in resizer (main panel)

@xxxyzzzz

- With the "Select Input File" dialog, default to the last directory where a file was opened.
- With the "Select Output Folder" dialog, default to the "Select Input File" folder when a file is loaded
-if an IFO is loaded, set the "Movie Name" to the folder name which contains the IFO. If the folder name is VIDEO_TS, then use the folder above that. (This is because many ripping programs output to a folder with the DVD Volume name)
done, done and done (in next update)

When I select Ogg Vorbis and save the settings; the next time I open AutoMKV, it defaults to Lame. Is this a bug? If so, can it be fixed?
i am unable to replicate :o
be sure to delete any old automkv.ini, also what is your container and codec saved ?

Add an "Abort Job" button that stops the current job; and doesn't continue if it is a queued job. (I am pretty sure this has been requested, I just want to add my vote) :]
there aren't enough vote.. now is at bottom priority (never tell that i hate queue ? ;) )

and thanks for your work on WIKI!

BHH

delacroixp
31st December 2007, 08:44
Would you be able to:

- With the "Select Input File" dialog, default to the last directory where a file was opened.

- with the "Select Output Folder" dialog, default to the "Select Input File" folder when a file is loaded

- if an IFO is loaded, set the "Movie Name" to the folder name which contains the IFO. If the folder name is VIDEO_TS, then use the folder above that. (This is because many ripping programs output to a folder with the DVD Volume name)

- When I select Ogg Vorbis and save the settings; the next time I open AutoMKV, it defaults to Lame. Is this a bug? If so, can it be fixed?

- Add an "Abort Job" button that stops the current job; and doesn't continue if it is a queued job. (I am pretty sure this has been requested, I just want to add my vote) :]

I noticed that MKVmerge has a number of 'radio buttons' in the options section to save files in different ways.
Perhaps AutoMKV could adopt a similar strategy for INPUT and OUTPUT.


:):devil::D
Pascal

survivant001
31st December 2007, 14:24
@buzzwq

is it possible to add a feature for the sound. be able to increase the sound level of one speaker(if 5.1). I wanted a movie yerterday and the center wasn't loud enough, it was impossible to understand the dialogues..

spotter
31st December 2007, 15:28
also, why is there a resize filter if you do "autocrop only"?
for keeping correct aspect ratio
if you don't want resizer BUT want crop, use the manual crop in advanced settings and then set none in resizer (main panel)

I'm guessing in some cases we would want AR to be changed in an autocrop/no resize situation (say encoding a 2.35:1 film and don't want to encode the extra black bars).

Or am I missing something on why this would be bad?

buzzqw
31st December 2007, 15:40
@survivant001
is it possible to add a feature for the sound. be able to increase the sound level of one speaker(if 5.1). I wanted a movie yerterday and the center wasn't loud enough, it was impossible to understand the dialogues..

volume are automatically Normalized. if this isn't enough , better to handle audio with specific programs

@spotter
feel free to use autocrop/resize or manual crop :rolleyes:

BHH