PDA

View Full Version : AutoMKV 0.98.4


Pages : 1 [2] 3 4 5

flebber
14th September 2008, 11:59
@flebber

what disk settings ? ... Don't Care about file size ??

BHH

Yes I am using Don't Care about file size.

buzzqw
14th September 2008, 15:42
so..the bitrate isn't important , for aiming an unlimited file size.. you can use a "unlimited" (or very big) bitrate

BHH

flebber
14th September 2008, 16:56
so..the bitrate isn't important , for aiming an unlimited file size.. you can use a "unlimited" (or very big) bitrate

BHH

I am using unlimited file size because quality to me is more important, however I do want to achieve the most compact size possible. I don't want to specify that each file should be 50,100MB etc as I am concerned that whilst one clip may look good at 50mb another may have needed 60MB or only 40MBetc. I am trying to let the quality necessary for the source to determine its final filesize but as i have a lot of material the file size is still a concern. Does this make sense ? I hope so because that is what I am trying to do.

I have found that I can use specify bitrate on advanced settings so I am using that with unlimited file size and testing this profile.

<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>2P-HQ</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>20</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>4</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>true</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NoDCTDecimate>true</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>-1</NoiseReduction>
<MixedRefs>false</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>6</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>1</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>14000</VBVBufferSize>
<VBVMaxBitrate>25000</VBVMaxBitrate>
<METype>2</METype>
<MERange>24</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>4.1</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.8</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>1</AdaptiveBFrames>
<BFramePyramid>true</BFramePyramid>
<BRDO>true</BRDO>
<biME>false</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>false</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<Interlaced>false</Interlaced>
<SSIMCalculation>false</SSIMCalculation>
<Width>false</Width>
<Sar>false</Sar>
<aud>false</aud>
<nal-hrd>false</nal-hrd>
<pulldown>0</pulldown>
<aq-strength>true</aq-strength>
<aq-sensitivity>20</aq-sensitivity>
<deadzone-inter>6</deadzone-inter>
<deadzone-intra>6</deadzone-intra>
<fpel-cmp>false</fpel-cmp>
<pre-scenecut>false</pre-scenecut>
<psy-rd>true</psy-rd>
<me-prepass>false</me-prepass>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>

buzzqw
14th September 2008, 17:07
@flebber

you want to use the constant quality profile, that's for sure

BHH

writersblock29
15th September 2008, 03:22
@flebber

I agree with Buzzqw. I've spent tons of time playing with different profiles (and agonized over 5fps encoding speeds) only to find that running ConstantQuality_CRF did what I was looking for. I've modded the profile to use Q16 instead of the default Q18--but even then, many sources look very good at Q18. You might try running a short test encode unmodded and see what you think. I would, however, stick with CRF rather than true constant quality; the CRF profile is meant to work with human perception, encoding fast-action scenes (where your eyes really can't focus on fine details) with a higher Q value than slower scenes (where your eyes can notice pretty much anything off-beat). The result is a smaller file size with the same percieved quality as a constant quality encode using the same Q. And on my dinosaur system, the encoding speeds range from 10fps to 15fps, done in one pass.

flebber
15th September 2008, 06:17
@writersblock29

I have done several encodes now using ConstantQuality_CRF. I actually started by taking the BitrateQuantizer out to 22 and still at this level I did acheive a fairly good result (both quality and size) I have taken in the BitrateQuanizer to 20 there was little quality improvement in doing this and file size basically the same. I am going to try 16 now, this really does seem to ofer the result i wanted.

I tried an ConstantQuality_CRF encode with psy_RD enabled, I really couldn't see much improvement or size difference. Have you used it with CQ CRF ?

Thanks Buzzqw and writersblock for the advice.

IYG
15th September 2008, 06:38
I have a question.
Why doesn't autoMKV use 100% CPU?

writersblock29
15th September 2008, 06:40
@flebber

I haven't tried psy_RD... in all honesty, at the time I decided to mod the CRF profile, I was almost at the point of yanking my hair out from trying this, that, and the other thing... but seeing very little difference. Modding the CRF profile really just made me stumble on something I felt happy with. Since I've got almost 300 movies on my HTPC (and even though hard drives are getting reasonably priced, I really can't justify another 1TB at this point), I realized that I needed a sanity check: I was spending so much time tweaking settings, I didn't have any left over to actually watch movies! Plus I realized that if I didn't have a decent one-size-fits-all approach, I'd die of old age before getting these puppies archeived. I'm positive someone's reading this now who's thinking of telling me, "You're doing THAT? You're BUTCHERING it!!!" and they may well be right. But on a 52" HDTV, the results speak for themselves to me. I do perform image enhancement via FFdshow on the HTPC (which basically just uses Lanczos Resize to upscale the image to my television's resolution), but the results are so close to high def, I don't mind having very few Bluray titles in my library. FFdshow also handles re-encoding the AAC back into AC3 on the fly so that I have surround sound with a smaller filesize than if I'd have simply kept the AC3 stream. All I can say is that I'm a happy man again! :p

@Buzzqw

Any thoughts on the sound sync issue? At first I thought they were bad rips, but Handbrake doesn't seem to mind them. Nero Recode handled a few test encodes pretty well, too. Any info I can offer I'm happy to give!

buzzqw
15th September 2008, 08:42
@writersblock29

about synch issue:

the delay is fixed or progressive ?

could you try to do the d2v manually and use the dgindex tool to analize synch ?

on your log the delay reported is 290ms is this correct to your ear ?

automkv don't have procedures to determine delay, it rely on dgindex reports

(handbrake and nero recode use alternative way for handling audio delay)

BHH

Crono141
16th September 2008, 00:38
I have another AVISynth Error. When using HybridFuPP (HQ source) and autocrop, I got the error : Width and height (destination) must be dividable by 8 if you want to show motion or use motion processing.

My guess is: Autocrop picked values incompatable with my resize filter. Any way to fix that?

EDIT: Ok, I checked "MOD16 Crop" in the advanced tab, and this time got a different avs error:

Script Error: Invalid Arguments to function "Deen"
E:\Programs\AutoMKV\exe\filter\HybridFuPP.avsi, line 214
(E:\Programs\AutoMKV\temp\movie.avs, line 86)

Here's movie.avs
LoadPlugin("E:\Programs\AutoMKV\exe\filter\AddGrain.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\DGAVCDecode.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\DirectShowSource.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\FFMpegSource.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\FFT3DFilter.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\gradfun2db.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\MSharpen.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\mt_masktools-25.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\RemoveDirtS.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\RemoveGrainS.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\RepairS.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\SoundOut.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TCPDeliver.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\VSFilter.dll")
LoadPlugin("E:\Programs\AutoMKV\exe\filter\warpsharp.dll")
#loadpluginstart

#test1

Import("E:\Programs\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
Import("E:\Programs\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
Import("E:\Programs\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("E:\Programs\AutoMKV\exe\filter\HybridFuPP.avsi")
Import("E:\Programs\AutoMKV\exe\filter\LanczosPlus.avsi")
Import("E:\Programs\AutoMKV\exe\filter\Lem.avsi")
Import("E:\Programs\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
Import("E:\Programs\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("E:\Programs\AutoMKV\exe\filter\mvbob.avsi")
Import("E:\Programs\AutoMKV\exe\filter\QMlib.avsi")
Import("E:\Programs\AutoMKV\exe\filter\seesaw.avsi")
Import("E:\Programs\AutoMKV\exe\filter\spresso.avsi")
Import("E:\Programs\AutoMKV\exe\filter\Udegrain.v9.01a.avsi")
#importstart

#test2

movie = mpeg2source("E:\Programs\AutoMKV\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

movie = tfm(movie,d2v="E:\Programs\AutoMKV\temp\movie.d2v").tdecimate()
last=movie.Crop(10,64,704,352)
fixed_aspect = 1.777778
out_width = 704
#Aspect_Error = 1.010%
out_height = 400
#resizestart

#test4

HybridFuPP(out_width,out_height,preset="high")
#filter2start

#test5

Convolution3d (preset="movieHQ")
audio=NicAC3Source("E:\Programs\AutoMKV\temp\movie T80 2_0ch 192Kbps DELAY 14ms.ac3")
audio=DelayAudio(audio,0.0140)
audio=Normalize(audio)

AudioDub(audio,last)

Chengbin
17th September 2008, 01:54
When you save settings, when you open a video, AutoMKV messes up the file name and file size.

flebber
17th September 2008, 10:52
When you save settings, when you open a video, AutoMKV messes up the file name and file size.

Really hasn't happened to me before. Have you any further information so we can help you ?

Chengbin
17th September 2008, 13:51
Really hasn't happened to me before. Have you any further information so we can help you ?

Nevermind. For some reason before it switches the file size to file name and file name to file size.

writersblock29
18th September 2008, 03:26
@Buzzqw

I think I may have stumbled upon a solution to my sound syncing problems... quite by accident. I replaced my NeroAacEnc with the SSE version (my intent was only to see if there was a noticable speed difference with my processor), and fired up one of my problem projects. To my surprise, the project now has the correct sync. Who knew? I'm going to test out a few of the other misfits to confirm that this is indeed a viable solution to the problem... but if it all turns out, it may be a suggestion to offer anyone else who is having sync issues (and has a processor with SSE capability). I don't know how the Nero encoder handles audio streams--or why there'd be a difference in audio handling between the regular encoder and the SSE version--but it seems to have worked.

[Edit] Nah. It wasn't the SSE version that fixed it. For some reason, renaming that program to NeroAacEnc didn't work; Automkv tried using it... it failed... so Automkv used FFMpeg. So Nero wasn't involved at all for fixing my problem. At least, according to the log file generated. But the resulting projects work and are in sync.

juGGaKNot
18th September 2008, 20:12
Is the "2_Pass_Psy_B_Adapt_SLOW" profile DXVA ? i see level 4.1 but i also see 16 ref frames ..

How can i edit the profile ? i want to use merange 64 and not 32

flebber
18th September 2008, 23:18
Is the "2_Pass_Psy_B_Adapt_SLOW" profile DXVA ? i see level 4.1 but i also see 16 ref frames ..

How can i edit the profile ? i want to use merange 64 and not 32

I installed Automkv in C:\Rip, So for me the profiles are in C:\Rip\profiles\x264-profiles\ . yours would be in the similar directory. Use notepad or whatever editor open the profile and save remember if you change the name you save the profile as to make sure its saved as xml.

Crono141
19th September 2008, 05:30
I found another bug in the queue. If one of your queued jobs includes a DVD to rip, it won't rip the VOB, it will try and read it directly from the DVD. Naturally, this doesn't work out too well for 98% of DVDs out there. So if you've got multiple DVD's to convert, you need to rip them all first, and then queue the decrypted VOBs.

jkl6648
19th September 2008, 14:07
Once the Queue is running you cannot add more jobs to it.

Also, even when the queue finishes, the "Add to queue" button is grayed out, so you can't queue up more jobs without quitting and re-opening autoMKV.

buzzqw
19th September 2008, 15:00
queue isn't editable once started. not to change, sorry

@Crono141
.. queue and dvdrip don't work well.. i know

@juGGaKNot

these expiremental profile will be removed in next update, and .. about dxva, actually i don't care about it

but any update to profiles made by users is always welcommed

@Writersblock29

i say: bad rip, otherwise nero don't fails

BHH

juGGaKNot
19th September 2008, 17:00
@juGGaKNot

these expiremental profile will be removed in next update, and .. about dxva, actually i don't care about it


Why not ? :)

When will the next update be btw ?

ales.fila
20th September 2008, 22:55
Hi, first many thanx for fixing Czech language, jupee. Like IYG and EddieT I am experiencing in 0.97 betas slow encoding with x286. I am using Insane Quality profile so its 2-pass run. In 0.96 x286 encoding on my little bit OC Q9300 uses CPU for nearly 100%. So standard 100 minutes video takes to encode approx 2 hours. But in 0.97 same video takes nearly 6 hours. CPU is used for 28-30%. First I thought its because different version of profile or x286 codec. No, I tryied old profile and codec in new automkv and vice versa with no luck. For me it seems that 0.97 calls x286 codec is some different way. With 0.96 you see VirtulaDub progress window during encode, with 0.97 you see command line with x286 running. Can it be cause that x286 in cmd line is not using all CPU power ? Last notice, all CPU cores are stressed in the same way for 0.96 and 0.97. So in 0.96 all four cores work at nearly 100 %, in 0.97 all cores are around 30 %. Thank you for any answer.

buzzqw
21st September 2008, 11:08
i can only suggest to try a different profile.

the insane profile was build with the idea of taking the most slowing encoding options , and not all encoding options are so optimized in x264

try with the balanced profile, or better profile

last one: check the usage (cpu %) of automkv.exe during encoding, should stay idle or so

BHH

daab
22nd September 2008, 20:02
hi there,
i experience the same effects in cpu-performance on my quad-core as ales.fila:

0.97 + 0.95 xvid uses ~75% cpu and states in the command window, that it requested 3 threads for encoding.
no difference when i change the number of threads in advanced profile editing to 4.
recognizes avisynth in command-window.

for x264 i made a test with a 1024mb vob-file.
no filters used, no audio used, auto crop only with simple re size neutral soft, no deinterlacing,
profile 2pass BETTER (not insane) quality.

avisynth is installed.
0.95 x264 ~98% of cpu.
0.97 x264 ~30% of cpu.

i already tried with the 0.95 x264-encoder-exe in 0.97 - worked but no difference in performance (still only ~30%).
the 0.97 x264-encoder-exe didn't work at all in 0.95.
also in 0.97 i only get dos-box-encoding windows. in 0.05 i have these vdubmod-like encoding windows.

tried serveral installation-variations, used both complete download-packs from the forum for 0.95 and 0.97.

no idea what's wrong :-(

Chengbin
22nd September 2008, 23:42
Can I change the Archos 605 profile? I would like to make a profile with main profile, level 4.1, 1 trellis, 1 b-frame, 2 ref-frame, CABAC on. Thanks.

buzzqw
23rd September 2008, 08:40
as i always said INSANE profile are for user with INSANE time to waste

i will tune a to less insane .. the insane ;)

BHH

Crono141
24th September 2008, 05:20
Thanks for the great program. AutoMKV has reached the point where its exactly the program I need and does exactly what I need it to do.

:thanks::thanks::thanks::thanks::thanks::thanks:

technoir1
24th September 2008, 12:47
Heres some usefull info I found on x264... Hope it helps some people :)

A qualitative overview of x264's ratecontrol methods
By Loren Merritt


x264's ratecontrol is based on libavcodec's, and is mostly empirical. But I can retroactively propose the following theoretical points which underlie most of the algorithms:

- You want the movie to be somewhere approaching constant quality. However, constant quality does not mean constant PSNR nor constant QP. Details are less noticeable in high-complexity or high-motion scenes, so you can get away with somewhat higher QP for the same perceived quality.
- On the other hand, you get more quality per bit if you spend those bits in scenes where motion compensation works well: A given artifact may stick around several seconds in a low-motion scene, and you only have to fix it in one frame to improve the quality of the whole scene.
- Both of the above are correlated with the number of bits it takes to encode a frame at a given QP.
- Given one encoding of a frame, we can predict the number of bits needed to encode it at a different QP. This prediction gets less accurate if the QPs are far apart.
- The importance of a frame depends on the number of other frames that are predicted from it. Hence I-frames get reduced QP depending on the number and complexity of following inter-frames, disposable B-frames get higher QP than P-frames, and referenced B-frames are between P-frames and disposable B-frames.


The modes:

2pass:
Given some data about each frame of a 1st pass (e.g. generated by 1pass ABR, below), we try to choose QPs to maximize quality while matching a specified total size. This is separated into 3 parts:
(1) Before starting the 2nd pass, select the relative number of bits to allocate between frames. This pays no attention to the total size of the encode. The default formula, empirically selected to balance between the 1st 2 theoretical points, is "complexity ** 0.6", where complexity is defined to be the bit size of the frame at a constant QP (estimated from the 1st pass).
(2) Scale the results of (1) to fill the requested total size. Optional: Impose VBV limitations. Due to nonlinearities in the frame size predictor and in VBV, this is an iterative process.
(3) Now start encoding. After each frame, update future QPs to compensate for mispredictions in size. If the 2nd pass is consistently off from the predicted size (usually because we use slower compression options than the 1st pass), then we multiply all future frames' qscales by the reciprocal of the error. Additionally, there is a short-term compensation to prevent us from deviating too far from the desired size near the beginning (when we don't have much data for the global compensation) and near the end (when global doesn't have time to react).

1pass, average bitrate:
The goal is the same as in 2pass, but here we don't have the benefit of a previous encode, so all ratecontrol must be done during the encode.
(1) This is the same as in 2pass, except that instead of estimating complexity from a previous encode, we run a fast motion estimation algo over a half-resolution version of the frame, and use the SATD residuals (these are also used in the decision between P- and B-frames). Also, we don't know the size or complexity of the following GOP, so I-frame bonus is based on the past.
(2) We don't know the complexities of future frames, so we can only scale based on the past. The scaling factor is chosen to be the one that would have resulted in the desired bitrate if it had been applied to all frames so far.
(3) Overflow compensation is the same as in 2pass. By tuning the strength of compensation, you can get anywhere from near the quality of 2pass (but unpredictable size, like +- 10%) to reasonably strict filesize but lower quality.

1pass, constant bitrate (VBV compliant):
(1) Same as ABR.
(2) Scaling factor is based on a local average (dependent on VBV buffer size) instead of all past frames.
(3) Overflow compensation runs after each row of macroblocks instead of per-frame. We predict how many bits this row should have taken (again based on SATD), and adjust the QP and bit prediction for subsequent rows.

1pass, constant ratefactor:
(1) Same as ABR.
(2) The scaling factor is a constant based on the --crf argument.
(3) No overflow compensation is done.

constant quantizer:
QPs are simply based on frame type.


all modes:
H.264 allows each macroblock to have a different QP. x264 uses this feature only in VBV mode. The other modes determine one QP which is used for a whole frame

AGKnotUser
27th September 2008, 14:42
On "Advanced Settings" tab, Deinterlacer box, Checkbox "Allow Hybrid Order/Pattern" does not get saved in
"Load and Save Configuration".

Dark Shikari
27th September 2008, 21:13
Heres some usefull info I found on x264... Hope it helps some people :)Note that its a tad out of date ;)

IYG
28th September 2008, 00:26
Hi buzzqw,
May you enable an opinion "144 kbps" for audio like autoGK?
Thanks.

Chengbin
28th September 2008, 16:19
buzzqw, can you make AutoMKV encode audio and determine field order at the same time? Many of us have quad core CPUs and those 2 processes only use 1. Can you add that in the next update?

buzzqw
28th September 2008, 17:18
buzzqw, can you make AutoMKV encode audio and determine field order at the same time? Many of us have quad core CPUs and those 2 processes only use 1. Can you add that in the next update?

that's not a bad idea..

there are some quirks around.. but.. not a bad idea

BHH

Chengbin
29th September 2008, 00:48
So will you implement this?

buzzqw
29th September 2008, 08:57
i'll try, that for sure

BHH

technoir1
3rd October 2008, 01:51
I've got CPU utilization problems here too, or at least performance issues

Automkv used to average out about 3.5 hours per movie for me but the last few beta releases since around 0.96b12 It’s taken up to 8 hours. I don’t know what’s going on. I've tried it on another very similar computer with the same OS and a fresh install of Windows. Same problem. It is also so hungry for resources (maybe it’s not resources but It would seem that it’s resources) that whilst running Automkv I sometimes can’t even load a web page unless I change Internet Explorer’s priority to “Above Normal”

Another issue That I have found is using the DivxX264 Encoder. I’ve copied the two files DivX264.exe and h264vout.001 into the “Encoder” folder I run Automkv and the audio encodes fine then DivX264.exe opens for a split second, closes and then Automkv says “Lets Mux’ followed instantly by “Saving Log’ any ideas?

I will add that with the divX264 problem I have it on both WinXP home edition and also on vista home premium. I have tried it also on two vista PC’s. I just formatted my laptop last night and put a fresh copy of WinXP on it to test out this issue on an XP system before I posted and I can confirm same problem. I did not download the single divxX264.exe and h264vout.001 files by the way. I downloaded the installer, ran it and copied the 2 files into the “encoder” folder.

My specs for my main P.C are as follows


Operating System: Windows Vista (TM) Home Premium Home Edition 6.00.6001 Service Pack 1
Report Date: Friday 03 October 2008 at 12:36

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


<<< System Summary >>>

> Mainboard : Asus CROSSHAIR

> Chipset : nVidia nForce 590 SLI

> Processor : AMD Athlon 64 X2 6400+ @ 3200 MHz

> Physical Memory : 4096 MB (4 x 1024 DDR2-SDRAM )

> Video Cards : Nvidia Corp NVIDIA GeForce GTX 280
> Video Cards : Nvidia Corp NVIDIA GeForce GTX 280

> Hard Disk : ST332062 (320 GB)

> Hard Disk : ST332062 (320 GB)

> Hard Disk : ST375064 (750 GB)

> Hard Disk : Maxtor (750 GB)

> DVD-Rom Drive : LITE-ON DVDRW LH-20A1P ATA Device

> DVD-Rom Drive : ASUS DRW-1814BLT SCSI CdRom Device

> DVD-Rom Drive : NH6515A ZDV329B SCSI CdRom Device

> Monitor Type : Hewlett Packard HP vs17 - 17 inches

> Operating System : Windows Vista (TM) Home Premium Home Edition 6.00.6001 Service Pack 1

> DirectX : Version 10.00

> Windows Performance Index : 5.6

------------------------------------------------------------------------------------------
***** End of report *****

technoir1
3rd October 2008, 01:58
Here is my log

03:23:12 0.97 public beta4 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
03:23:12 OS Version: Windows XP
03:23:12 Selected Input file: E:\To Encode\WHAT_THE_BLEEP_RABBIT_HOLE\VTS_03_0.IFO
03:23:12 Selected Output dir: C:\Documents and Settings\James\Desktop\New Folder\temp\
03:23:12 Selected Final Name: WHAT_THE_BLEEP_RABBIT_HOLE
03:23:12 Selected Container type: MKV
03:23:12 Selected Encoder: DivXH264
03:23:12 Selected Size: Don't care about size / 1
03:23:12 Selected Profile: 1_Pass_High Performance.xml
03:23:12 Selected Resizer: NONE / Original
03:23:12 Selected Filters: RemoveGrain(mode=2)
03:23:12 Selected Deinterlacer: AUTO
03:23:12 Selected Field Order: AUTO
03:23:12 Activate PGC Ripping: 1
03:23:12 Using Matrix:
03:23:12 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
03:23:12 Audio Codec 1: Nero AAC
03:23:12 Audio Quality 1: 0.60
03:23:12 Audio Channel 1: Stereo
03:23:12 Track Language 2: NONE
03:23:12 Audio Codec 2: Nero AAC
03:23:12 Advanced Audio Settings DUMP Track 1
03:23:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
03:23:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
03:23:12 Lame Settings: ABR
03:23:12 Audio Normalization: 1
03:23:12 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
03:23:12
03:23:12 Activate PGC processing: PGC 1 [2:28:16:00]
03:23:12 Dgindex CMD: C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[E:\To Encode\WHAT_THE_BLEEP_RABBIT_HOLE\VTS_03_1.vob] -OF=[C:\Documents and Settings\James\Desktop\New Folder\temp\movie] -exit -minimize
03:25:46 D2V file size: 1117965 bytes
03:25:46 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
03:25:46 Pre Audio 1' Size: 498068480 bytes
03:25:53 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
03:25:53 Encoding C:\Documents and Settings\James\Desktop\New Folder\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with 0.60 quality
04:04:22 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 224204896 bytes
04:04:31 Number of Frames: 222400
04:04:32 Framerate: 25.000000
04:04:32 Movie length in Seconds: 8897
04:04:32 Movie Width/Height: 720/576
04:04:32 DgIndex AR: 16:9
04:12:55 Source is declared tff by a margin of 101/86.
04:12:56 Advanced Deinterlace Routines Log
04:12:56 Analyzed 926 sections of five frames
04:12:56 Found Interlace Sections: 2 0.22%
04:12:56 Found Progressive Sections:924 99.78%
04:12:56 Found Telecined Sections: 0 0.00%
04:12:56 Found Zero Mov: 99.78% 924
04:12:56 Found One Mov: 0.22% 2
04:12:56 Found Two Mov: 0.00% 0
04:12:56 Found Three Mov: 0.00% 0
04:12:56 Found Four Mov: 0.00% 0
04:12:56 Found Five Mov: 0.00% 0
04:12:56 The Movie is declared to progressive
04:12:58 Starting DivX264
04:13:00 Encoding One Pass DivX264: -threads 2 -br 29935 -aqo 0 -I 4 -ref 2 -bf 2 -i "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.avs" -o "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.264"
04:13:38 Finished One Pass DivX264
04:13:51 "C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\matroska\mkvmerge.exe" -o "C:\Documents and Settings\James\Desktop\New Folder\temp\WHAT_THE_BLEEP_RABBIT_HOLE.mkv" --default-duration 0:25000/1000fps --track-name -1:"WHAT_THE_BLEEP_RABBIT_HOLE" --aspect-ratio -1:1.250000 --chapters "C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\chapters.txt" "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.264" --language -1:eng --default-track -1:yes "C:\Documents and Settings\James\Desktop\New Folder\temp\movie t80 3_2ch 448kbps delay 0ms.mp4" --title "Done with AutoMKV 0.97 public beta4 http://forum.doom9.org/showthread.php?t=140178 "
04:13:54 Final Muxed size: -1 bytes
04:13:54 Encoding finished: 00:50:42 elapsed time
04:13:54 -----------------------------------------------------------------------
04:13:54 Script AutoCrop.log
04:13:54
04:13:54 Crop(0,0,720,576)
04:13:54 -----------------------------------------------------------------------
04:13:54 Script movie.avs
04:13:54
04:13:54 #loadpluginstart
04:13:54
04:13:54 #test1
04:13:54
04:13:54 #importstart
04:13:54
04:13:54 #test2
04:13:54
04:13:54 movie = mpeg2source("C:\Documents and Settings\James\Desktop\New Folder\temp\movie.d2v")
04:13:54 function getOrder(clip c) {
04:13:54 order = GetParity(c) ? 1 : 0
04:13:54 Return order }
04:13:54 #filter1start
04:13:54
04:13:54 #test3
04:13:54
04:13:54 last = movie
04:13:54 fixed_aspect = 1.777778
04:13:54 out_width = 720
04:13:54 #Aspect_Error = -1.235%
04:13:54 out_height = 576
04:13:54 #resizestart
04:13:54
04:13:54 #test4
04:13:54
04:13:54 #filter2start
04:13:54
04:13:54 #test5
04:13:54
04:13:54 RemoveGrain(mode=2)
04:13:54 -----------------------------------------------------------------------
04:13:54 Script mkvmaudio.avs
04:13:54
04:13:54 LoadPlugin("C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\filter\NicAudio.dll")
04:13:54 LoadPlugin("C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\filter\SoundOut.dll")
04:13:54 LoadPlugin("C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\BeSweet\BassAudio.dll")
04:13:54 LoadPlugin("C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\filter\FFmpegSource.dll")
04:13:54 NicAC3Source("C:\Documents and Settings\James\Desktop\New Folder\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
04:13:54 DelayAudio(0.0000)
04:13:54 #Applying STEREO downmixing routines
04:13:54 function stereo(clip a)
04:13:54 {
04:13:54 flr = GetChannel(a, 1, 2)
04:13:54 fcc = GetChannel(a, 3)
04:13:54 lfe = GetChannel(a, 4)
04:13:54 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
04:13:54 mix = MergeChannels(lfc, lfc)
04:13:54 lrc = MixAudio(flr, mix, 0.2929, 1.0)
04:13:54 blr = GetChannel(a, 5, 6)
04:13:54 Return MixAudio(lrc, blr, 1.0, 0.2929)
04:13:54 }
04:13:54 #
04:13:54 6==Audiochannels() ? stereo() : last
04:13:54 function addvideo(clip c) {
04:13:54 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
04:13:54 Return audiodub(last,c)
04:13:54 }
04:13:54 Normalize()
04:13:54
04:13:54 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\Documents and Settings\James\Desktop\AutoMKV097beta4\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.60 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
04:13:54
04:13:54 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

kretin
3rd October 2008, 03:04
Hey Buzzqw,

I posted a message about this in the 0.96 beta thread, but I tried this latest version last night and it's doing the same thing.

I've joined the m2ts files into one m2ts file which plays fine and includes the whole movie.

Something weird is happening in the creation of "movie.dga" as I've tried to convert the same m2ts file a couple of times now, and each time it's ended up a different size, way smaller than it should be. The first time movie.dga reported the movie length as around 1300 secs, the second time on the same m2ts file it reported it as 137 secs.

Any ideas what's going wrong?

As you can see from the log it's decided it's 1453 secs long this time. Each time is different, it's very odd. What is encoded is perfect, it just only encodes a portion of the movie...

18:34:22 0.97 public beta4 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:34:22 OS Version: Windows XP
18:34:22 Selected Input file: D:\Video\#Blu-ray\MeetTheRobinsons\movie.dga
18:34:22 Selected Output dir: D:\Video\#Blu-ray\MeetTheRobinsons\temp\
18:34:22 Selected Final Name: Movie01
18:34:22 Selected Container type: MKV
18:34:22 Selected Encoder: X264
18:34:22 Selected Size: 4240 / 1
18:34:22 Selected Profile: 2_Pass_Balanced.xml
18:34:22 Selected Resizer: LanczosResize / 1280
18:34:22 Selected Filters: RemoveGrain(mode=2)
18:34:22 Selected Deinterlacer: AUTO
18:34:22 Selected Field Order: AUTO
18:34:22 Track Language 1: movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms.ac3
18:34:22 Audio Codec 1: Copy Original
18:34:22 Track Language 2: NONE
18:34:22 Audio Codec 2: Nero AAC
18:34:22
18:34:42 Renamed file movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms.ac3 to movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms_.ac3
18:34:42 Encoded 1' Audio Track: movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms_.ac3 116177920 bytes
18:34:42 DGA File Size: 658796 bytes
18:36:10 Number of Frames: 34818
18:36:10 Framerate: 23.976025
18:36:10 Movie length in Seconds: 1453
18:36:10 Movie Width/Height: 1920/1080
19:05:44 Source is declared tff by a margin of 16/20.
19:05:44 Advanced Deinterlace Routines Log
19:05:44 Analyzed 162 sections of five frames
19:05:44 Found Interlace Sections: 0 0.00%
19:05:44 Found Progressive Sections:162 100.00%
19:05:44 Found Telecined Sections: 0 0.00%
19:05:44 Found Zero Mov: 100.00% 162
19:05:44 Found One Mov: 0.00% 0
19:05:44 Found Two Mov: 0.00% 0
19:05:44 Found Three Mov: 0.00% 0
19:05:44 Found Four Mov: 0.00% 0
19:05:44 Found Five Mov: 0.00% 0
19:05:44 The Movie is declared to progressive
19:05:51 Starting X264
19:05:51 Command Line 1' Pass X264: D:\Video\Utilities\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 23811 --stats "D:\Video\#Blu-ray\MeetTheRobinsons\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --psy-rd 1.0 --no-ssim --level 4.1 --b-adapt 2 --b-pyramid --partitions none --threads auto --thread-input --sar 1:1 --output NUL "D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.avs"
19:05:51 Command Line 2' Pass X264: D:\Video\Utilities\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 23811 --stats "D:\Video\#Blu-ray\MeetTheRobinsons\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-bufsize 14000 --vbv-maxrate 25000 --me umh --psy-rd 1.0 --no-ssim --level 4.1 --weightb --b-adapt 2 --b-pyramid --b-rdo --bime --partitions p8x8,b8x8,i4x4 --threads auto --thread-input --sar 1:1 --output "D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.264" "D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.avs"
20:17:24 Finished 1' Pass X264
21:47:39 Only Movie Size: 2050751329 bytes
21:47:39 "D:\Video\Utilities\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Video\#Blu-ray\MeetTheRobinsons\temp\Movie01.mkv" --default-duration 0:24000/1001fps --track-name -1:"Movie01" --aspect-ratio -1:1.777778 "D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.264" --language -1:und --default-track -1:yes "D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms_.ac3" --title "Done with AutoMKV 0.97 public beta4 http://forum.doom9.org/showthread.php?t=140178 "
21:50:25 Final Muxed size: 2167579904 bytes
21:50:25 Encoding finished: 01:33:01 elapsed time
21:50:25 -----------------------------------------------------------------------
21:50:25 Script AutoCrop.log
21:50:25
21:50:25 Crop(0,0,1920,1080)
21:50:25 -----------------------------------------------------------------------
21:50:25 Script movie.avs
21:50:25
21:50:25 #loadpluginstart
21:50:25
21:50:25 #test1
21:50:25
21:50:25 #importstart
21:50:25
21:50:25 #test2
21:50:25
21:50:25 movie = AVCSource("D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.dga")
21:50:25 function getOrder(clip c) {
21:50:25 order = GetParity(c) ? 1 : 0
21:50:25 Return order }
21:50:25 #filter1start
21:50:25
21:50:25 #test3
21:50:25
21:50:25 last=movie.Crop(0,0,1920,1080)
21:50:25 fixed_aspect = 1.777778
21:50:25 out_width = 1280
21:50:25 #Aspect_Error = 0.000%
21:50:25 out_height = 720
21:50:25 #resizestart
21:50:25
21:50:25 #test4
21:50:25
21:50:25 LanczosResize(out_width,out_height)
21:50:25 #filter2start
21:50:25
21:50:25 #test5
21:50:25
21:50:25 RemoveGrain(mode=2)
21:50:25 -----------------------------------------------------------------------
21:50:25 Script mkvmaudio.avs
21:50:25
21:50:25 LoadPlugin("D:\Video\Utilities\AutoMKV\exe\filter\NicAudio.dll")
21:50:25 LoadPlugin("D:\Video\Utilities\AutoMKV\exe\filter\SoundOut.dll")
21:50:25 LoadPlugin("D:\Video\Utilities\AutoMKV\exe\BeSweet\BassAudio.dll")
21:50:25 LoadPlugin("D:\Video\Utilities\AutoMKV\exe\filter\FFmpegSource.dll")
21:50:25 NicAC3Source("D:\Video\#Blu-ray\MeetTheRobinsons\temp\movie.dga PID 1101 3_2ch 640Kbps DELAY 0ms.ac3")
21:50:25 #Applying STEREO downmixing routines
21:50:25 function stereo(clip a)
21:50:25 {
21:50:25 flr = GetChannel(a, 1, 2)
21:50:25 fcc = GetChannel(a, 3)
21:50:25 lfe = GetChannel(a, 4)
21:50:25 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
21:50:25 mix = MergeChannels(lfc, lfc)
21:50:25 lrc = MixAudio(flr, mix, 0.2929, 1.0)
21:50:25 blr = GetChannel(a, 5, 6)
21:50:25 Return MixAudio(lrc, blr, 1.0, 0.2929)
21:50:25 }
21:50:25 #
21:50:25 6==Audiochannels() ? stereo() : last
21:50:25 function addvideo(clip c) {
21:50:25 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
21:50:25 Return audiodub(last,c)
21:50:25 }
21:50:25 Normalize()
21:50:25
21:50:25
21:50:25 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
3rd October 2008, 08:29
@technoir1

the exe is named DivX264.exe NOT DivXX264.exe

also DON'T WORK FROM DESKTOP!
-threads 2 -br 29935 -aqo 0 -I 4 -ref 2 -bf 2 -i "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.avs" -o "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.264"
use a shorter path (like c:\rip)
you can also try from dos to launch
divx264.exe -threads 2 -br 29935 -aqo 0 -I 4 -ref 2 -bf 2 -i "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.avs" -o "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.264"

@kretin
do your self the movie.dga and check it versus dga done by automkv

BHH

ales.fila
3rd October 2008, 10:45
Hi, I have tried other profiles which come with 0.97 and the result is the same. X264 encoding is using only 30 % of CPU. So even I use 2pass balanced profile it runs at 190 fps first pass and 55-60 fps second pass - which is not bad but still using CPU only for 30-40 %. If I put old 0.96 exe to the 0.97 dir and do the same task, the CPU hurls up to 100 % and encoding speeds correspondingly. I am really unable to run x264 in cmd line faster. Or does any1 some clue ? Thank you.


i can only suggest to try a different profile.

the insane profile was build with the idea of taking the most slowing encoding options , and not all encoding options are so optimized in x264

try with the balanced profile, or better profile

last one: check the usage (cpu %) of automkv.exe during encoding, should stay idle or so

BHH

buzzqw
3rd October 2008, 17:29
new full package 0.97

changelog (versus 0.97 beta 4)

ADDED: In advanced settings possibility to show only forced subtitle (beta)
FIXED: Deinterlacer routines will run simultaneusly. Faster detect
FIXED: Low cpu usage on x264 encoding
CHANGED: Recked all x264 profiles
UPDATE: x264 0.65.999M cc51047,MKVmerge 2.3.0, added Anime Profile, added 2 pass fast profile , eac 2.65,dgAVCDec 1.0.2

BHH

Aylwin
3rd October 2008, 19:46
FIXED: Low cpu usage on x264 encoding

On my PC, I'm getting between 47-57% CPU usage. With beta 4, I get over 70%.

buzzqw
3rd October 2008, 20:27
Same profile and same movie ?

BHH

Aylwin
3rd October 2008, 20:38
This is just some new DVD I'm ripping but I've never seen CPU usage at 50% before on any job. I'll try to do a more scientific test later using the same movie and same settings between the latest version, the previous beta, and maybe also 0.96 or even 0.95.

buzzqw
3rd October 2008, 22:40
don't compare automkv version, but script used and encoding options used.

automkv is a gui not an encoder, the encoder is x264.exe

BHH

Aylwin
4th October 2008, 08:15
don't compare automkv version, but script used and encoding options used.
I always use the same options for all AutoMKV versions:
Audio: Original or Lame
Video: x264/MKV
- Resize = LanczosResize
- Filter = LEM(ff=...
- Width = Automatic or user defined
- Profile = Constant_Quality.xml
- All other settings default

In some cases, I will use Manual Crop and Resize. Or, I might use different CQ values (between 18-26). Otherwise, everything else is always the same.

automkv is a gui not an encoder, the encoder is x264.exe
Could I copy x264.exe from an older AutoMKV package and use it with version 0.97? Would that work?

buzzqw
4th October 2008, 08:57
maybe... i cannot guarantee.. but should work on most case... (or disable psy and aq)

BHH

Chengbin
4th October 2008, 17:11
What is 2 pass slug? What is its purpose? It is 2 pass sluggish? If that's right, does that mean it'll give even better quality encode than insane profile but at the cost of taking extremely long?

Chengbin
4th October 2008, 17:41
BTW, the insane profile for H.264 is now much faster, it uses all 4 of my CPU cores. What was wrong with the previous version that made it only use 1 core?

buzzqw
4th October 2008, 17:45
slug is the slowest possible profile, tuned for slowness (and pure maximum quality)

basically b-adapt 2 is very NOT optimizied on multicore, and it slow down all, the same for other options

BHH

Chengbin
4th October 2008, 23:31
Just curious, can you check what version of x264 is used in AutoMKV?

I see that in this version both of the process of determining field order and pattern came up. So there's no way to get neroaac and determining field order to work at the same time?

Does x264 support SSE4?

For some reason it won't encode files (source is 720p) to smaller (500MB) 720p files. It will encode the first few frames and then just stop. x264.exe doesn't close, but it just stops processing for some reason.


20:52:56 0.97 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:52:56 Selected Input file: D:\01.Pilot-001.mkv
20:52:56 Selected Output dir: C:\temp\
20:52:56 Selected Final Name: 01_Pilot-001
20:52:56 Selected Container type: MP4
20:52:56 Selected Encoder: X264
20:52:56 Selected Size: 500 / 1
20:52:56 Selected Profile: 2_Pass_Slug.xml
20:52:56 Selected Resizer: NONE / Original
20:52:56 Selected Filters: Undot()
20:52:56 Selected Deinterlacer: NONE
20:52:56 Selected Field Order: AUTO
20:52:56 Track Language 1: D:\01.Pilot-001.mkv
20:52:56 Audio Codec 1: Nero AAC
20:52:56 Audio Quality 1: 0.50
20:52:56 Audio Channel 1: Stereo
20:52:56 Track Language 2: NONE
20:52:56 Audio Codec 2: Nero AAC
20:52:56 Advanced Audio Settings DUMP Track 1
20:52:56 Nero Option Profiles: AUTO --- Encoding Mode: Quality
20:52:56 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:52:56 Lame Settings: ABR
20:52:56 Audio Normalization: 1
20:52:56 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
20:52:56
20:52:56 Encoding C:\temp\01.Pilot-001.mkv to NeroAAC with 0.50 quality
20:56:44 Encoded 1' Audio Track: 01.Pilot-001.mp4 56562636 bytes
20:56:45 Unable to determine movie properties , switched to DirectShowSource
20:57:54 Number of Frames: 61935
20:57:54 Framerate: 23.976044
20:57:54 Movie length in Seconds: 2584
20:57:54 Movie Width/Height: 1280/720
20:57:54 Number of Frames: 61935
20:57:54 Framerate: 23.976044
20:57:54 Movie length in Seconds: 2584
20:57:54 Movie Width/Height: 1280/720
20:57:54 Starting X264
20:57:54 Command Line 1' Pass X264: C:\AutoMKV0.97\exe\encoder\x264.exe --pass 1 --bitrate 1442 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me tesa --pre-scenecut --no-ssim --level 4.1 --merange 64 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 8 --aq-mode 2 --aq-strength 0.10 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "C:\temp\movie.avs"
20:57:54 Command Line 2' Pass X264: C:\AutoMKV0.97\exe\encoder\x264.exe --pass 2 --bitrate 1442 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me tesa --pre-scenecut --no-ssim --level 4.1 --merange 64 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 8 --aq-mode 2 --aq-strength 0.10 --psy-rd 1.0:1.0 --sar 1:1 --output "C:\temp\movie.264" "C:\temp\movie.avs"

x264 command line box saids

avis [info]: 1280x720 @ 23.98 fps <61936 frames>
x264 [info]: using SAR=1/1
x264 [warning]: DPB size <16 frames, 22118400 bytes> > level limit <9 frames, 12582912bytes>
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64.

Update:

For some reason it worked without encoding audio and deinterlace check.

I just tested it again. For some reason it does not like audio. If you encode audio, it won't encode. It will encode at a lower resolution (640x360 for example, which I tested), but not at the same resolution.

update again

Never mind, even without audio it will not encode. The first test without audio worked, maybe it worked, but I only let it encode 300 frames and then stopped it since the encodes that fail that stops after precisely 90 or 100 frames. When it stops encoding, the status line (frame, eta, etc) just disappears and it stops encoding (but still taking up 1.2GB of my RAM).

buzzqw
5th October 2008, 08:42
@Chengbin

could you provide a sample to donwload ? (PM me)

BHH

kretin
6th October 2008, 08:37
@kretin
do your self the movie.dga and check it versus dga done by automkv

Yes that worked, encoded the whole movie. Unfortunately the audio is still delayed towards the end. Have to figure that one out now...

botcherO
6th October 2008, 21:07
Hello @all.
I'm using AutoMKV for a while, and i think i found a little bug in 0.97 beta4.
I reencoded an old series (>100 Episodes) from divx to x264/mkv. I added 6-7 jobs to the List, and started it. But after the run (no errors, everything went fine) the "Add to Queue"-Button was still greyed out / disabled.
I checked the Joblist, but it was perfectly clean. (No left behind Job.ini's to see). Anyway i clicked on the "Clean Job List"-Button, and bang, "Add to Queue"-Button activated. :D

Just a minor glitch, keep up the great work!:thanks:

I still have one Question: Is it necessary, that AutoMKV opens another AutoMKV-Window in the Joblist-Mode? Why don't you hide it it? Why i ask? Because i once closed accidentally the false one...:rolleyes:

Dark Shikari
6th October 2008, 21:16
Does x264 support SSE4?Not until we find a place where its beneficial.

AGKnotUser
7th October 2008, 00:12
On "Advanced Settings" tab, Deinterlacer box, Checkbox "Allow Hybrid Order/Pattern" does not get saved in
"Load and Save Configuration".

Judt tried it in 0.97, still doesn't save.

buzzqw
7th October 2008, 08:32
@botcherO

First of all Welcome to the Forum!

.. yes.. i know.. automkv will pop-up another automkv..
i must fixed it.. and yes, after a full run of queue it's impossible to add new queue project.
Simply close automkv and relaunch it

@AGKnotUser

fixed in next update

BHH

buzzqw
7th October 2008, 14:19
Update 0.97.1

changelog

ADDED: "Specify AR Input" usefull when input isn't mpeg2. Use it for mkv/avi/ogm..
ADDED: "Only Forced Sub"
FIXED: "Allow Hybrid Order/Pattern" wasn't saved on "Load/Save Settings" (thanks to AGKnotUser)
FIXED: "--sar" is working for xvid/x264/divx
CHANGED: Force MOD16 now applies to crop and resize
CHANGED: Height is now MOD8 (less AR error)

BHH

flebber
7th October 2008, 17:38
Just a note because I have solved the problem. When encoding x264 in AutoMKV 0.97.1 the build of x264 in the download package errored when using the constant quality optimized profile.

It basically caused a "please report to microsoft" pop up when x264 tried to initialize.

I solved it by replacing the x264 build in the encoder folder with version999 from http://www.x264.nl/ . Not sure if this helps, if I can let me know :)

buzzqw
7th October 2008, 17:45
@flebber

sorry pal, here doesn't crash

could you give me some more debug ?

thanks!

BHH

flebber
8th October 2008, 00:26
This is really the only extra information 09:15:48 0.97.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:15:48 OS Version: Windows XP
09:15:48 Selected Input file: C:\Rip\Source Video\Evanescence - Lithium (Music Video).MPG
09:15:48 Selected Output dir: C:\Player\Video\temp\
09:15:48 Selected Final Name: Evanescence - Lithium (Music Video)
09:15:48 Selected Container type: MKV
09:15:48 Selected Encoder: X264
09:15:48 Selected Size: Don't care about size / 1
09:15:48 Selected Profile: Constant_Quality_CQ_Optimized.xml
09:15:48 Selected Resizer: Spline36Resize (neutral sharp) / Automatic
09:15:48 Selected Filters: RemoveGrain(mode=2).Convolution3D (preset="movieLQ").ColorYUV(autogain=true, levels=TV->PC)
09:15:48 Selected Deinterlacer: AUTO
09:15:48 Selected Field Order: AUTO
09:15:48 Enabled Constant Quality With Unlimited Size (Q 18)
09:15:48 Enabled CRF/CQ AutoRes at 19 value
09:15:48 Track Language 1: c0: MPA L2 2ch 44.1 224
09:15:48 Audio Codec 1: Nero AAC
09:15:48 Audio Quality 1: 0.80
09:15:48 Audio Channel 1: Stereo
09:15:48 Track Language 2: NONE
09:15:48 Audio Codec 2: Nero AAC
09:15:48 Advanced Audio Settings DUMP Track 1
09:15:48 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:15:48 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:15:48 Lame Settings: ABR
09:15:48 Audio Normalization: 1
09:15:48 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
09:15:48 Selected Unlimited media size
09:15:48 Dgindex CMD: C:\Rip\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[C:\Rip\Source Video\Evanescence - Lithium (Music Video).MPG] -OF=[C:\Player\Video\temp\movie] -exit -minimize
09:15:50 D2V file size: 26435 bytes
09:15:50 Audio 1: movie tc0 l2 2ch 44.1 224 delay 0ms.mp2
09:15:50 Pre Audio 1' Size: 6399999 bytes
09:15:50 Applying DelayAudio of 0 to audio file: movie tc0 l2 2ch 44.1 224 delay 0ms.mp2
09:15:50 Encoding C:\Player\Video\temp\movie tc0 l2 2ch 44.1 224 delay 0ms.mp2 to NeroAAC with 0.80 quality
09:16:28 Encoded 1' Audio Track: movie tc0 l2 2ch 44.1 224 delay 0ms.mp4 5392904 bytes

That is the very last line before the report to microsoft window pops up. I then have to close AutoMKV otherwise the pop up error just keeps happening.

I am happy though as x264 v999 works fine.

buzzqw
8th October 2008, 08:50
@flebber

ok, i will investigate
just don't use the ps3/xbox360 profile

BHH

buzzqw
8th October 2008, 15:55
update the 0.97.1 package to full

substitude skystryfe x264's build with bob0r

BHH

nekrosoft13
9th October 2008, 01:05
Update 0.97.1

changelog

ADDED: "Specify AR Input" usefull when input isn't mpeg2. Use it for mkv/avi/ogm..
ADDED: "Only Forced Sub"
FIXED: "Allow Hybrid Order/Pattern" wasn't saved on "Load/Save Settings" (thanks to AGKnotUser)
FIXED: "--sar" is working for xvid/x264/divx
CHANGED: Force MOD16 now applies to crop and resize
CHANGED: Height is now MOD8 (less AR error)

BHH

could you re-upload the file? i tried downloading twice, every time it tells me that the file is corrupt.

flebber
9th October 2008, 06:48
update the 0.97.1 package to full

substitude skystryfe x264's build with bob0r

BHH

I have downloaded file okay. This x264 and 0.97.1 works perfectly. Thanks for the update.

Fartingbob
10th October 2008, 19:23
Been using autoMKV for ages, however i recently upgraded from 32-bit XP to Vista64 (duel booting ATM).
I downloaded the 0.97.1 version (was using 0.95 in XP) and now it refuses to encode in x264.
I have a feeling its because im using a 64bit OS and something in the process doesnt like it. Using all the default settings.
NeroAAC wouldnt work, so i tried using original audio and then it just stalled on the video encoding part.
The log:
18:14:11 0.97.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:14:11 Selected Input file: E:\---TO RIP---\SUNSHINE\VIDEO_TS\VTS_01_1.VOB
18:14:11 Selected Output dir: E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\
18:14:11 Selected Final Name: VTS_01_1
18:14:11 Selected Container type: MKV
18:14:11 Selected Encoder: X264
18:14:11 Selected Size: 50 / 1
18:14:11 Selected Profile: 1_Pass_Fastest.xml
18:14:11 Selected Resizer: LanczosResize / 640
18:14:11 Selected Filters: RemoveGrain(mode=2)
18:14:11 Selected Deinterlacer: AUTO
18:14:11 Selected Field Order: AUTO
18:14:11 Track Language 1: 80: AC3 3/2 448
18:14:11 Audio Codec 1: Copy Original
18:14:11 Track Language 2: NONE
18:14:11 Audio Codec 2: Nero AAC
18:14:11
18:14:11 Dgindex CMD: C:\Program Files (x86)\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[E:\---TO RIP---\SUNSHINE\VIDEO_TS\VTS_01_1.VOB] -OF=[E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie] -exit -minimize
18:14:13 D2V file size: 28767 bytes
18:14:13 Audio 1: movie t80 3_2ch 448kbps delay -232ms.ac3
18:14:13 Pre Audio 1' Size: 12070912 bytes
18:14:13 Renamed file movie t80 3_2ch 448kbps delay -232ms.ac3 to movie t80 3_2ch 448kbps delay -232ms_.ac3
18:14:13 2 Pass encoding Audio 1 track: C:\Program Files (x86)\AutoMKV\exe\BeSweet\neroaacenc.exe -br 128000 -ignorelength -2pass -if audio.wav -of "movie t80 3_2ch 448kbps delay -232ms.mp4"
18:14:13 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay -232ms_.ac3 12070912 bytes
18:14:13 Unable to determine movie properties , switched to DirectShowSource
18:14:13 Unable to determine movie properties with DirectShowSource, switched to FFmpegSource
18:14:13 Unable to determine movie properties with FFmpegSource. Now analyzing with MediaInfo
18:14:14 Aspect ratio: 16:9
18:14:14 Number of Frames:
18:14:14 Framerate: 25.000
18:14:14 Movie length in Seconds: 1
18:14:14 Movie Width/Height: 720/576
18:14:14 DgIndex AR: 16:9
18:14:14 Number of Frames:
18:14:14 Framerate: 25.000
18:14:14 Movie length in Seconds: 1
18:14:14 Movie Width/Height: 720/576
18:14:14 DgIndex AR: 16:9
18:14:14 Number of Frames:
18:14:14 Framerate: 25.000
18:14:14 Movie length in Seconds: 1
18:14:14 Movie Width/Height: 720/576
18:14:14 DgIndex AR: 16:9
18:14:14 Source is hybrid bff and tff at 0 bff and 0 tff.
18:14:14 Advanced Deinterlace Routines Log
18:14:14 Analyzed 0 sections of five frames
18:14:14 Found Interlace Sections: 0 -1.#J%
18:14:14 Found Progressive Sections:0 -1.#J%
18:14:14 Found Telecined Sections: 0 -1.#J%
18:14:14 Found Zero Mov: -1.#J% 0
18:14:14 Found One Mov: -1.#J% 0
18:14:14 Found Two Mov: -1.#J% 0
18:14:14 Found Three Mov: -1.#J% 0
18:14:14 Found Four Mov: -1.#J% 0
18:14:14 Found Five Mov: -1.#J% 0
18:14:14 Starting X264
18:14:14 ABR encoding X264: C:\Program Files (x86)\AutoMKV\exe\encoder\x264.exe --bitrate 322540 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 2 --direct spatial --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 8 --nf --b-adapt 0 --no-chroma-me --threads auto --thread-input --sar 1:1 --output "E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie.264" "E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie.avs"
18:14:14 X264 Final ABR Encoding Stats:
18:14:14 Only Movie Size: 0 bytes
18:14:14 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
18:14:14 Switched to FFmpeg for Video Encoding!
18:14:14 Fished FFmpeg Encoding!
18:14:14 "C:\Program Files (x86)\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\VTS_01_1.mkv" --default-duration 0:25000/1000fps --track-name -1:"VTS_01_1" --aspect-ratio -1:1.000000 "E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie.264" --language -1:und --sync 0:-232 --default-track -1:yes "E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay -232ms_.ac3" --title "Done with AutoMKV 0.97.1 http://forum.doom9.org/showthread.php?t=140178 "
18:14:14 Final Muxed size: -1 bytes
18:14:14 Encoding finished: 00:00:00 elapsed time
18:14:14 -----------------------------------------------------------------------
18:14:14 Script movie.avs
18:14:14
18:14:14 #loadpluginstart
18:14:14
18:14:14 #test1
18:14:14
18:14:14 #importstart
18:14:14
18:14:14 #test2
18:14:14
18:14:14 movie = mpeg2source("E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie.d2v")
18:14:14 function getOrder(clip c) {
18:14:14 order = GetParity(c) ? 1 : 0
18:14:14 Return order }
18:14:14 #filter1start
18:14:14
18:14:14 #test3
18:14:14
18:14:14 last=movie
18:14:14 fixed_aspect = 1.000000
18:14:14 out_width = 640
18:14:14 out_height = 640
18:14:14 #resizestart
18:14:14
18:14:14 #test4
18:14:14
18:14:14 LanczosResize(out_width,out_height)
18:14:14 #filter2start
18:14:14
18:14:14 #test5
18:14:14
18:14:14 RemoveGrain(mode=2)
18:14:14 -----------------------------------------------------------------------
18:14:14 Script mkvmaudio.avs
18:14:14
18:14:14 LoadPlugin("C:\Program Files (x86)\AutoMKV\exe\filter\NicAudio.dll")
18:14:14 LoadPlugin("C:\Program Files (x86)\AutoMKV\exe\filter\SoundOut.dll")
18:14:14 LoadPlugin("C:\Program Files (x86)\AutoMKV\exe\BeSweet\BassAudio.dll")
18:14:14 LoadPlugin("C:\Program Files (x86)\AutoMKV\exe\filter\FFmpegSource.dll")
18:14:14 NicAC3Source("E:\---TO RIP---\SUNSHINE\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay -232ms.ac3")
18:14:14 #Applying STEREO downmixing routines
18:14:14 function stereo(clip a)
18:14:14 {
18:14:14 flr = GetChannel(a, 1, 2)
18:14:14 fcc = GetChannel(a, 3)
18:14:14 lfe = GetChannel(a, 4)
18:14:14 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
18:14:14 mix = MergeChannels(lfc, lfc)
18:14:14 lrc = MixAudio(flr, mix, 0.2929, 1.0)
18:14:14 blr = GetChannel(a, 5, 6)
18:14:14 Return MixAudio(lrc, blr, 1.0, 0.2929)
18:14:14 }
18:14:14 #
18:14:14 6==Audiochannels() ? stereo() : last
18:14:14 function addvideo(clip c) {
18:14:14 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
18:14:14 Return audiodub(last,c)
18:14:14 }
18:14:14
18:14:14
18:14:14 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
How have other people got it to work using vista64?

buzzqw
10th October 2008, 20:21
@Fartingbob

reinstall avisynth

BHH

Fartingbob
10th October 2008, 23:04
Didnt help. I used the avisynth linked in the first post, is that the right version to use?
I tried in both XP and Vista using the same files, same settings.
All seems fine in the logs up until the video encode starts. Suggests something with x264 encoder that it doesnt like maybe?

Log in Vista (relevent part only):
21:57:33 Starting X264
21:57:33 ABR encoding X264: C:\Program Files (x86)\AutoMKV\exe\encoder\x264.exe --bitrate 26707 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 2 --direct spatial --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 8 --nf --b-adapt 0 --no-chroma-me --threads auto --thread-input --sar 1:1 --output "E:\---TO RIP---\SUNSHINE\temp\movie.264" "E:\---TO RIP---\SUNSHINE\temp\movie.avs"
21:57:35 X264 Final ABR Encoding Stats:
21:57:35 Only Movie Size: 0 bytes
21:57:36 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
21:57:36 Switched to FFmpeg for Video Encoding!
21:57:36 Fished FFmpeg Encoding!
21:57:36 "C:\Program Files (x86)\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\---TO RIP---\SUNSHINE\temp\VTS_01_1.mkv" --default-duration 0:25000/1000fps --track-name -1:"VTS_01_1" --aspect-ratio -1:2.285714 "E:\---TO RIP---\SUNSHINE\temp\movie.264" --language -1:und --sync 0:-232 --default-track -1:yes "E:\---TO RIP---\SUNSHINE\temp\movie t80 3_2ch 448kbps delay -232ms_.ac3" --title "Done with AutoMKV 0.97.1 http://forum.doom9.org/showthread.php?t=140178 "
21:57:36 Final Muxed size: -1 bytes
21:57:36 Encoding finished: 00:00:03 elapsed time
21:57:36 -----------------------------------------------------------------------

And the exact same thing done in XP:
21:53:46 Starting X264
21:53:46 ABR encoding X264: V:\Program Files (x86)\AutoMKV\exe\encoder\x264.exe --bitrate 13128 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 2 --direct spatial --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 8 --nf --b-adapt 0 --no-chroma-me --threads auto --thread-input --sar 1:1 --output "G:\---TO RIP---\SUNSHINE\temp\movie.264" "G:\---TO RIP---\SUNSHINE\temp\movie.avs"
21:54:16 X264 Final ABR Encoding Stats:
21:54:16 Only Movie Size: 5488346 bytes
21:54:16 "V:\Program Files (x86)\AutoMKV\exe\matroska\mkvmerge.exe" -o "G:\---TO RIP---\SUNSHINE\temp\xp.mkv" --default-duration 0:25000/1000fps --track-name -1:"xp" --aspect-ratio -1:2.285714 "G:\---TO RIP---\SUNSHINE\temp\movie.264" --language -1:und --sync 0:-232 --default-track -1:yes "G:\---TO RIP---\SUNSHINE\temp\movie t80 3_2ch 448kbps delay -232ms_.ac3" --title "Done with AutoMKV 0.97.1 http://forum.doom9.org/showthread.php?t=140178 "
21:54:16 Final Muxed size: 17634448 bytes
21:54:16 Encoding finished: 00:00:30 elapsed time
21:54:16 -----------------------------------------------------------------------

Im at a loss. There are only a few programs holding me back from totally removing XP, unfortunately this is one of them. I dont really want to have to use another program if i can help it!

buzzqw
10th October 2008, 23:20
try opening movie.avs in virtualdub

what is the error ?

BHH

Fartingbob
10th October 2008, 23:34
When loading the movie.avs from the vista failed encode into VD i get this message:
http://i36.tinypic.com/j5ds0z.jpg

So do i need the warpsharp plugin?

I just downloaded the warpsharp dll's and put them in system32 folder and it appears to be working.
I guess i must have already had them in the system32 folder of the XP install. Thanks for your help!

:thanks:

paolo1983
11th October 2008, 11:57
Hi everyone...
I've some newbie questions, please help me!
I started another thread, but I've got no replies... I deleted that post and I moved here... Thank you in advance !

I'm Italian, sorry for my poor English!

1) Can I use different automkv installations in different folders I want to keep different versions of automkv?

2) Xvid encoding doesn't go over 50% cpu usage on my dual core, maybe there are a SMP version of xvid somewhere?

3) I need to "archive" movies from my dvds, I've too many things around in my room...
I think I should use avi-xvid to have compatibility with my standalone player, I think the size (compromise between quality and size) can be around 1/4 DVD ...

I tried this:


15:20:42 Selected Container type: AVI
15:20:42 Selected Encoder: XviD
15:20:42 Selected Size: 1/3 DVD-R / 1
15:20:42 Selected Profile: Constant_Quality.xml
15:20:42 Selected Resizer: NONE / Original
15:20:42 Selected Filters: RemoveGrain(mode=2)
15:20:42 Selected Deinterlacer: AUTO
15:20:42 Selected Field Order: AUTO
15:20:42 Enabled Constant Quality With Fixed Size (Q 2)
15:20:42 Activate PGC Ripping: 1
15:20:42 Using Matrix: Didees SixOfNine-HVS.cqm
15:20:42 Track Language 1: 81: Italiano (AC3 6ch, 0xBD 0x81) [0]
15:20:42 Audio Codec 1: Lame
15:20:42 Audio Quality 1: 112
15:20:42 Audio Channel 1: Stereo
15:20:42 Track Language 2: 80: English (AC3 6ch, 0xBD 0x80) [0]
15:20:42 Audio Codec 2: Lame
15:20:42 Audio Quality 2: 112
15:20:42 Audio Channel 2: Stereo
15:20:42 Advanced Audio Settings DUMP Track 1
15:20:42 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:20:42 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:20:42 Lame Settings: ABR
15:20:42 Audio Normalization: 1
15:20:42 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
15:20:42 Advanced Audio Settings DUMP Track 2
15:20:42 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:20:42 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:20:42 Lame Settings: ABR
15:20:42 Audio Normalization: 1
15:20:42 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
15:20:42 Selected 1' Sub tracks: Italiano 1 (0xBD 0x22) [0] wide
15:20:42 Selected 2' Sub tracks: English 0 (0xBD 0x20) [0] wide
15:20:42 Activate Anamorphic Encoding
15:20:42 Selected Hit Media Size



To go to about 1/4 DVD for a 2hr movie, should I use resizers...
If I use "NONE / Original" without anamorphic encoding, my avi has wrong screen ratio...
If I use "Auto" resizers, I have right screen ratio also without anamorphic encoding...
Can you explain me this?
Should I use resizers or not?
Should I use constant quality or 2pass ?
Maybe I can go down to 700mb or it's better to stay around 1/4 DVD?

I read many threads but I'm just more confused, please help me.. I just need to find a compromise to migrate my dvds to xvid with optimal settings...

I cannot simply try and try again, I have a Athlon 64x2 4200+ , it's a decent pc for home use, but it's not very fast doing cpu-intensive tasks...

Maybe you all gurus can tell me best settings to do this!!

Other test I've made, but with older versions...

18:52:30 Selected Container type: AVI
18:52:30 Selected Encoder: XviD
18:52:30 Selected Size: 1/4 DVD-R / 1
18:52:30 Selected Profile: 2_Pass_Balanced.xml
18:52:30 Selected Resizer: SimpleResize (neutral soft) / Automatic
18:52:30 Selected Filters: RemoveGrain(mode=2)

09:19:10 Selected Container type: AVI
09:19:10 Selected Encoder: XviD
09:19:10 Selected Size: 1/4 DVD-R / 1
09:19:10 Selected Profile: Constant_Quality.xml
09:19:10 Selected Resizer: NONE / Original
09:19:10 Selected Filters: RemoveGrain(mode=2)
09:19:10 Selected Deinterlacer: AUTO
09:19:10 Selected Field Order: AUTO
09:19:10 Enabled Constant Quality With Fixed Size (Q 2)

11:16:26 Selected Container type: AVI
11:16:26 Selected Encoder: XviD
11:16:26 Selected Size: 1/3 DVD-R / 1
11:16:26 Selected Profile: Constant_Quality.xml
11:16:26 Selected Resizer: NONE / Original
11:16:26 Selected Filters: RemoveGrain(mode=2)
11:16:26 Selected Deinterlacer: AUTO
11:16:26 Selected Field Order: AUTO
11:16:26 Enabled Constant Quality With Fixed Size (Q 2)

buzzqw
11th October 2008, 13:37
I'm Italian, sorry for my poor English!

no problem.. i am italian too :)

1) Can I use different automkv installations in different folders I want to keep different versions of automkv?

yes, without problem

2) Xvid encoding doesn't go over 50% cpu usage on my dual core, maybe there are a SMP version of xvid somewhere?

.. xvid is smp optimized and use all cores... BUT maybe avisynth script isn't too fast
if avisynth don't feed enough frames per seconds.. xvid will use only the needed cpu power.. not all cores

3) I need to "archive" movies from my dvds, I've too many things around in my room...
I think I should use avi-xvid to have compatibility with my standalone player, I think the size (compromise between quality and size) can be around 1/4 DVD ...

just stick with 2 pass sap profile, or use the constant quality profile at cq 3


15:20:42 Using Matrix: Didees SixOfNine-HVS.cqm
attention maybe not compatible with your player

To go to about 1/4 DVD for a 2hr movie, should I use resizers...
If I use "NONE / Original" without anamorphic encoding, my avi has wrong screen ratio...
without cropping and resize your movie is a 720/576 without a specified aspect...

If I use "Auto" resizers, I have right screen ratio also without anamorphic encoding...
auto mean crop, and with crop values automkv is able to determine the exact aspect ratio...

[quote]700mb or it's better to stay around 1/4 DVD?
I read many threads but I'm just more confused, please help me.. I just need to find a compromise to migrate my dvds to xvid with optimal settings.../quote]

only you can decide your optimal settings

BHH

paolo1983
11th October 2008, 18:19
just stick with 2 pass sap profile, or use the constant quality profile at cq 3


Ok, I will use avi - xvid - 2 pass sap


without cropping and resize your movie is a 720/576 without a specified aspect
...
auto mean crop, and with crop values automkv is able to determine the exact aspect ratio


So for newbies like me is better to leave default resizers unmodified...
I just need to open automkv, select avi - xvid - 2 pass sap , leave "as is" everything else, and select a file size...
AutoMKV will then automatically balance screen size , quality and file size??

I just need to select profile SAP and file size and start encoding without changes in other parameters ??

I know you cannot decide for me, but in your experience 700mb is sufficient or is better to use more size, like 1/4 DVD ?

Many thanks !!!

writersblock29
12th October 2008, 04:13
@buzzqw

How exactly does the forced subs option work in Automkv? I tested it with Black Hawk Down, which uses forced subs in the English subtitle folder. When I tested it, I selected the English subs, and checked the forced option under Advanced Settings. The result was all subs being hardcoded into the video stream. Do I need to select any subtitles manualy with the forced option checked, or does vobsub search all folders for these without my direction? Also, does the forced option only work if I'm not hardcoding into the video stream? I'm famous for overcomplicating the simple... so before I run another project, I wanted to clarify with you.

buzzqw
12th October 2008, 10:52
@paolo1983

AutoMKV will then automatically balance screen size , quality and file size??
not file size! based on file size automkv will balace screen size (and quality) .. so stick with 1/4dvd for good rip

@writersblock29
please post the log
when activating the only forced subs options , automkv will "change" the .idx and set force sub to on (this not work on external subs)
i haven't a good knowledge of subs... (never like).. sorry

BHH

Ramir Gonzales
12th October 2008, 15:36
When loading the movie.avs from the vista failed encode into VD i get this message:
http://i36.tinypic.com/j5ds0z.jpg

So do i need the warpsharp plugin?

I just downloaded the warpsharp dll's and put them in system32 folder and it appears to be working.
I guess i must have already had them in the system32 folder of the XP install. Thanks for your help!
:thanks:
It would be more "secure" to copy or move the plugin from your system32 folder to your AutoMKV plugin folder, to make sure that once AutoMKV updates some files, you get to use the latest plugin, otherwise there is a risk that a newer Avisynth installation will still use the older plugin in you sys32 folder, which is not recommended.

ales.fila
13th October 2008, 09:30
Hi @all, I am trying 0.97.1 Is any1 here using Slug or Insane Quality on Intel quad core processor ? Both profiles run very slow (for example AutoResize pass does 1,3 fps, 1st and 2nd passes around 9 fps), still not using all cores and in Insane quality profile x264 crashes during AutoResize pass. When I put old 0.96 exe to 0.97.1 dir and use it, everything is fine. I have tried different versions of x264 (all from latest 999 to 996) with no visible difference.
Many thanx for any answer.

buzzqw
13th October 2008, 09:38
When I put old 0.96 exe to 0.97.1 dir and use it, everything is fine. I have tried different versions of x264 (all from latest 999 to 996) with no visible difference.
Many thanx for any answer.

one time for all

check the encoding options of both (manually check every options in encoding .bat files)
if you find differences, these are the culprit

automkv is a gui, not an encoder, the encoder is x264.exe

BHH

delacroixp
13th October 2008, 10:43
3) I need to "archive" movies from my dvds, I've too many things around in my room...
I think I should use avi-xvid to have compatibility with my standalone player, I think the size (compromise between quality and size) can be around 1/4 DVD ...

I cannot simply try and try again, I have a Athlon 64x2 4200+ , it's a decent pc for home use, but it's not very fast doing cpu-intensive tasks...

just stick with 2 pass sap profile, or use the constant quality profile at cq 3

Quite right ... CQ may be optimal in light of your computing limitations !

You'll be looking for a movie filesize of roughly 1-2 GB.
A standard width of 720 should generally work just fine and wont complicate matters on your SAP.
That said, if your player supports DivX HD (http://www.divx.com/products/hw/browse.php?c=7) and you prefer greater quality then you could choose a fuller resolution closer to the original ... either by way of 864x480 [PAL] (resized) or 720x576 (anamorphic) [a little black matte cropping wouldn't hurt either eventhough space saving is minimal].

A 2nd route would be DivX connected (http://www.divx.com/products/hw/browse.php?c=20) which allows you to wirelessly play DivX/Xvid from your PC to your TV.
Quite frankly, any format can be streamed wirelessly from your PC (See Kamiwa (http://www.kamiwa.de/)) ... so you needn't be restricted to DivX/Xvid ... MP4 (H264) is pretty kewl (newer & more CPU intense).


It's all good !
:):devil::D
Pascal

ales.fila
13th October 2008, 11:44
one time for all

check the encoding options of both (manually check every options in encoding .bat files)
if you find differences, these are the culprit

automkv is a gui, not an encoder, the encoder is x264.exe

BHH

Here are encoding bat files from 0.97.1:

1st pass

"C:\Program Files\AutoMKV\exe\encoder\x264.exe" --pass 1 --bitrate 1403 --stats "E:\Temp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 8 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --pre-scenecut --no-ssim --level 4.1 --merange 32 --b-adapt 2 --b-pyramid --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "E:\Temp\temp\movie.avs"

2nd pass

"C:\Program Files\AutoMKV\exe\encoder\x264.exe" --pass 2 --bitrate 1403 --stats "E:\Temp\temp\.stats" --progress --keyint 250 --bframes 8 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 12 --filter -2,-1 --subme 8 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me tesa --pre-scenecut --no-ssim --level 4.1 --merange 32 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "E:\Temp\temp\movie.264" "E:\Temp\temp\movie.avs"

And here are from 0.96

1st pass

"c:\Program Files\AutoMKV096\exe\encoder\x264.exe" --pass 1 --bitrate 1403 --stats "E:\pokus\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 32 --b-pyramid --partitions none --threads auto --thread-input --sar 1:1 --output NUL "E:\pokus\temp\movie.avs"

2nd pass

"c:\Program Files\AutoMKV096\exe\encoder\x264.exe" --pass 2 --bitrate 1403 --stats "E:\pokus\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-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --merange 32 --weightb --b-pyramid --b-rdo --bime --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 1:1 --output "E:\pokus\temp\movie.264" "E:\pokus\temp\movie.avs"

Can bframes cause problems ? Or psy ?

buzzqw
13th October 2008, 13:15
check the ref frames...

BHH

ales.fila
13th October 2008, 14:50
check the ref frames...

BHH

Hi, changing ref frames alone didnt help, now I am trying to change only bframes. Just now running insane profile with only one difference in bframes. Setting bframes to 3 changed behavior of x264. Now it runs 1st pass at 55-60 fps and uses the CPU for 50-53%, 2nd pass runs at 2.49 - 2.53 fps, which is not the best result (half degradation in comparison with 0.96 and its insane profile) but better. I will drop a line if I find the reason why it behaves so strange.

Chengbin
13th October 2008, 15:12
Don't use slug. I'm not kidding, it took 80 hours (0.2fps) to do the first pass for an episode of Prison Break on a quad core! Insane is much faster. I don't think slug will produce a profile that look better than insane without looking hard for it. On insane, I'm getting 24fps on 0.97.1 and it is using 50% of my Q6600.

ales.fila
13th October 2008, 15:25
Don't use slug. I'm not kidding, it took 80 hours (0.2fps) to do the first pass for an episode of Prison Break on a quad core! Insane is much faster. I don't think slug will produce a profile that look better than insane without looking hard for it. On insane, I'm getting 24fps on 0.97.1 and it is using 50% of my Q6600.

I am not using Slug, I am long time user of Insane, but after 0.97 it behaves different. When you run Insane profile with 0.96 it uses all cores of my Q9300 for 100% and runs 30fps 2nd pass (of course depends on source). With 0.97.1 I cannot persuade it to fully use CPU. Just trying to find the reason, it seems its some of x264 new parameters.

paolo1983
13th October 2008, 20:17
A standard width of 720 should generally work just fine and wont complicate matters on your SAP.
...
either by way of 864x480 [PAL] (resized) or 720x576 (anamorphic) [a little black matte cropping wouldn't hurt either eventhough space
...


Yes...
But if I check AUTO resize , should I use anamorphic or not ??

technoir1
14th October 2008, 00:13
@ Buzzqw

Another issue That I have found is using the DivxX264 Encoder. I’ve copied the two files DivX264.exe and h264vout.001 into the “Encoder” folder I run Automkv
and the audio encodes fine then DivX264.exe opens for a split second, closes and then Automkv says “Lets Mux’ followed instantly by “Saving Log’ any ideas?

I will add that with the divX264 problem I have it on both WinXP home edition and also on vista home premium. I have tried it also on two vista PC’s. I just formatted
my
laptop last night and put a fresh copy of WinXP on it to test out this issue on an XP system before I posted and I can confirm same problem. I did not download the single
divxX264.exe
and h264vout.001 files by the way. I downloaded the installer, ran it and copied the 2 files into the “encoder” folder.



@technoir1

the exe is named DivX264.exe NOT DivXX264.exe

also DON'T WORK FROM DESKTOP!

use a shorter path (like c:\rip)
you can also try from dos to launch
divx264.exe -threads 2 -br 29935 -aqo 0 -I 4 -ref 2 -bf 2 -i "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.avs" -o "C:\Documents and Settings\James\Desktop\New Folder\temp\movie.264"

Thanks for the advice!
sorry, typo on divx264.exe but however I am now running from a shorter parth (C:\AutoMKV0971)

I have tried what you suggested with unfortunately no luck :(

When I loaded the command lines into the Divx264 encoder as per your advice I got the message "Error: Bitrate outside profile specification"

Is this mayby because I told AutoMKV that I "don't care about filesize" ?

I want to use CRF value with divx264 like X264...Is this possibile? I can not see anything in the log that refers to quality percentage or CRF Value, nor is their a CRF profile on the
main page using DivX264. File size is not a problem (I aim about 2-3 GB per standard PAL or NTSC movie) Mayby you might like to disable the ability to select "don't care about size"
if the divx264 cant handle it? I don't know though, i'm not an expert. I should add that whilst typing this I ran another test only this time with "Same as Source" it worked great. :confused:
one last question is: to get the same quality as a crf of say 17 or 18 on "constant Quality using DivX264 do I have to select 2 pass mode or is 1pass high performance suitable? sorry about
all the questions just Divx264 is obviously pretty new to your program and theres not much I can do If I don't know what my options or limitations :)

Here is my log of the fail
22:44:54 0.97.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:44:54 Selected Input file: M:\To Encode\MainMovie\A time to kill\VIDEO_TS\New Folder\divx.VOB
22:44:54 Selected Output dir: C:\Users\James\Desktop\New Folder (2)\temp\
22:44:54 Selected Final Name: divx
22:44:54 Selected Container type: MKV
22:44:54 Selected Encoder: DivXH264
22:44:54 Selected Size: Don't care about size / 1
22:44:54 Selected Profile: 1_Pass_Fastest.xml
22:44:54 Selected Resizer: NONE / Original
22:44:54 Selected Filters: RemoveGrain(mode=2)
22:44:54 Selected Deinterlacer: AUTO
22:44:54 Selected Field Order: AUTO
22:44:54 Using Matrix:
22:44:54 Track Language 1: 80: AC3 3/2 384
22:44:54 Audio Codec 1: Nero AAC
22:44:54 Audio Quality 1: 0.55
22:44:54 Audio Channel 1: Original
22:44:54 Track Language 2: NONE
22:44:54 Audio Codec 2: Nero AAC
22:44:54 Advanced Audio Settings DUMP Track 1
22:44:54 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:44:54 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:44:54 Lame Settings: ABR
22:44:54 Audio Normalization: 1
22:44:54 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
22:44:54
22:44:54 Dgindex CMD: C:\AutoMKV0971\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[M:\To Encode\MainMovie\A time to kill\VIDEO_TS\New Folder\divx.VOB] -OF=[C:\Users\James\Desktop\New Folder (2)\temp\movie] -exit -minimize
22:45:16 D2V file size: 151196 bytes
22:45:16 Audio 1: movie t80 3_2ch 384kbps delay -24ms.ac3
22:45:16 Pre Audio 1' Size: 62084732 bytes
22:45:16 Applying DelayAudio of -24 to audio file: movie t80 3_2ch 384kbps delay -24ms.ac3
22:45:16 Encoding C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.ac3 to NeroAAC with 0.55 quality
22:48:46 Encoded 1' Audio Track: movie t80 3_2ch 384kbps delay -24ms.mp4 78480168 bytes
22:48:49 Number of Frames: 32337
22:48:49 Framerate: 25.000000
22:48:49 Movie length in Seconds: 1294
22:48:49 Movie Width/Height: 720/576
22:48:49 DgIndex AR: 16:9
22:49:26 Source is declared tff by a margin of 12/17.
22:49:26 Advanced Deinterlace Routines Log
22:49:26 Analyzed 145 sections of five frames
22:49:26 Found Interlace Sections: 0 0.00%
22:49:26 Found Progressive Sections:145 100.00%
22:49:26 Found Telecined Sections: 0 0.00%
22:49:26 Found Zero Mov: 100.00% 145
22:49:26 Found One Mov: 0.00% 0
22:49:26 Found Two Mov: 0.00% 0
22:49:26 Found Three Mov: 0.00% 0
22:49:26 Found Four Mov: 0.00% 0
22:49:26 Found Five Mov: 0.00% 0
22:49:26 The Movie is declared to progressive
22:49:26 Starting DivX264
22:49:26 Encoding One Pass DivX264: -threads 3 -br 206749 -aqo 0 -I 4 -ref 1 -bf 0 -i "C:\Users\James\Desktop\New Folder (2)\temp\movie.avs" -o "C:\Users\James\Desktop\New Folder (2)\temp\movie.264"
22:49:27 Finished One Pass DivX264
22:49:28 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
22:49:28 Switched to FFmpeg for Video Encoding!
22:49:28 Fished FFmpeg Encoding!
22:49:28 "C:\AutoMKV0971\exe\matroska\mkvmerge.exe" -o "C:\Users\James\Desktop\New Folder (2)\temp\divx.mkv" --default-duration 0:25000/1000fps --track-name -1:"divx" --aspect-ratio -1:1.250000 "C:\Users\James\Desktop\New Folder (2)\temp\movie.264" --language -1:und --default-track -1:yes "C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.mp4" --title "Done with AutoMKV 0.97.1 http://forum.doom9.org/showthread.php?t=140178 "
22:49:28 Final Muxed size: -1 bytes
22:49:28 Encoding finished: 00:04:34 elapsed time
22:49:28 -----------------------------------------------------------------------
22:49:28 Script AutoCrop.log
22:49:28
22:49:28 Crop(12,82,704,428)
22:49:28 -----------------------------------------------------------------------
22:49:28 Script movie.avs
22:49:28
22:49:28 #loadpluginstart
22:49:28
22:49:28 #test1
22:49:28
22:49:28 #importstart
22:49:28
22:49:28 #test2
22:49:28
22:49:28 movie = mpeg2source("C:\Users\James\Desktop\New Folder (2)\temp\movie.d2v")
22:49:28 function getOrder(clip c) {
22:49:28 order = GetParity(c) ? 1 : 0
22:49:28 Return order }
22:49:28 #filter1start
22:49:28
22:49:28 #test3
22:49:28
22:49:28 last = movie
22:49:28 fixed_aspect = 2.339356
22:49:28 out_width = 720
22:49:28 #Aspect_Error = -1.227%
22:49:28 out_height = 576
22:49:28 #resizestart
22:49:28
22:49:28 #test4
22:49:28
22:49:28 #filter2start
22:49:28
22:49:28 #test5
22:49:28
22:49:28 RemoveGrain(mode=2)
22:49:28 -----------------------------------------------------------------------
22:49:28 Script mkvmaudio.avs
22:49:28
22:49:28 LoadPlugin("C:\AutoMKV0971\exe\filter\NicAudio.dll")
22:49:28 LoadPlugin("C:\AutoMKV0971\exe\filter\SoundOut.dll")
22:49:28 LoadPlugin("C:\AutoMKV0971\exe\BeSweet\BassAudio.dll")
22:49:28 LoadPlugin("C:\AutoMKV0971\exe\filter\FFmpegSource.dll")
22:49:28 NicAC3Source("C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.ac3")
22:49:28 DelayAudio(-0.0240)
22:49:28 #Applying ORIGINAL downmixing routines
22:49:28
22:49:28 function addvideo(clip c) {
22:49:28 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
22:49:28 Return audiodub(last,c)
22:49:28 }
22:49:28 Normalize()
22:49:28
22:49:28 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\AutoMKV0971\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.55 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
22:49:28
22:49:28 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

And Here is the log of the encode that worked fine with the same input file only this time the Disk settings were set to "Same as Source" (For the record I canceled the encode after a few mins of it running.)

00:28:03 0.97.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:28:03 Selected Input file: M:\To Encode\MainMovie\A time to kill\VIDEO_TS\New Folder\divx.VOB
00:28:03 Selected Output dir: C:\Users\James\Desktop\New Folder (2)\temp\
00:28:03 Selected Final Name: attempt2
00:28:03 Selected Container type: MKV
00:28:03 Selected Encoder: DivXH264
00:28:03 Selected Size: Same as Source / 1
00:28:03 Selected Profile: 1_Pass_Fastest.xml
00:28:03 Selected Resizer: NONE / Original
00:28:03 Selected Filters: RemoveGrain(mode=2)
00:28:03 Selected Deinterlacer: AUTO
00:28:03 Selected Field Order: AUTO
00:28:03 Using Matrix:
00:28:03 Track Language 1: 80: AC3 3/2 384
00:28:03 Audio Codec 1: Nero AAC
00:28:03 Audio Quality 1: 0.55
00:28:03 Audio Channel 1: Original
00:28:03 Track Language 2: NONE
00:28:03 Audio Codec 2: Nero AAC
00:28:03 Advanced Audio Settings DUMP Track 1
00:28:03 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:28:03 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:28:03 Lame Settings: ABR
00:28:03 Audio Normalization: 1
00:28:03 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
00:28:03
00:28:03 Dgindex CMD: C:\AutoMKV0971\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[M:\To Encode\MainMovie\A time to kill\VIDEO_TS\New Folder\divx.VOB] -OF=[C:\Users\James\Desktop\New Folder (2)\temp\movie] -exit -minimize
00:28:12 D2V file size: 151196 bytes
00:28:12 Audio 1: movie t80 3_2ch 384kbps delay -24ms.ac3
00:28:12 Pre Audio 1' Size: 62084732 bytes
00:28:12 Applying DelayAudio of -24 to audio file: movie t80 3_2ch 384kbps delay -24ms.ac3
00:28:12 Encoding C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.ac3 to NeroAAC with 0.55 quality
00:31:26 Encoded 1' Audio Track: movie t80 3_2ch 384kbps delay -24ms.mp4 78480168 bytes
00:31:28 Number of Frames: 32337
00:31:28 Framerate: 25.000000
00:31:28 Movie length in Seconds: 1294
00:31:28 Movie Width/Height: 720/576
00:31:28 DgIndex AR: 16:9
00:32:02 Source is declared tff by a margin of 12/17.
00:32:02 Advanced Deinterlace Routines Log
00:32:02 Analyzed 145 sections of five frames
00:32:02 Found Interlace Sections: 0 0.00%
00:32:02 Found Progressive Sections:145 100.00%
00:32:02 Found Telecined Sections: 0 0.00%
00:32:02 Found Zero Mov: 100.00% 145
00:32:02 Found One Mov: 0.00% 0
00:32:02 Found Two Mov: 0.00% 0
00:32:02 Found Three Mov: 0.00% 0
00:32:02 Found Four Mov: 0.00% 0
00:32:02 Found Five Mov: 0.00% 0
00:32:02 The Movie is declared to progressive
00:32:02 Starting DivX264
00:32:02 Encoding One Pass DivX264: -threads 3 -br 6142 -aqo 0 -I 4 -ref 1 -bf 0 -i "C:\Users\James\Desktop\New Folder (2)\temp\movie.avs" -o "C:\Users\James\Desktop\New Folder (2)\temp\movie.264"
00:40:08 Finished One Pass DivX264
00:40:08 Only Movie Size: 454569984 bytes
00:40:08 "C:\AutoMKV0971\exe\matroska\mkvmerge.exe" -o "C:\Users\James\Desktop\New Folder (2)\temp\attempt2.mkv" --default-duration 0:25000/1000fps --track-name -1:"attempt2" --aspect-ratio -1:1.777778 "C:\Users\James\Desktop\New Folder (2)\temp\movie.264" --language -1:und --default-track -1:yes "C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.mp4" --title "Done with AutoMKV 0.97.1 http://forum.doom9.org/showthread.php?t=140178 "
00:40:22 Final Muxed size: 115233392 bytes
00:40:22 Encoding finished: 00:12:19 elapsed time
00:40:22 -----------------------------------------------------------------------
00:40:22 Script AutoCrop.log
00:40:22
00:40:22 Crop(12,82,704,428)
00:40:22 -----------------------------------------------------------------------
00:40:22 Script movie.avs
00:40:22
00:40:22 #loadpluginstart
00:40:22
00:40:22 #test1
00:40:22
00:40:22 #importstart
00:40:22
00:40:22 #test2
00:40:22
00:40:22 movie = mpeg2source("C:\Users\James\Desktop\New Folder (2)\temp\movie.d2v")
00:40:22 function getOrder(clip c) {
00:40:22 order = GetParity(c) ? 1 : 0
00:40:22 Return order }
00:40:22 #filter1start
00:40:22
00:40:22 #test3
00:40:22
00:40:22 last = movie
00:40:22 fixed_aspect = 2.339356
00:40:22 out_width = 720
00:40:22 #Aspect_Error = -1.227%
00:40:22 out_height = 576
00:40:22 #resizestart
00:40:22
00:40:22 #test4
00:40:22
00:40:22 #filter2start
00:40:22
00:40:22 #test5
00:40:22
00:40:22 RemoveGrain(mode=2)
00:40:22 -----------------------------------------------------------------------
00:40:22 Script mkvmaudio.avs
00:40:22
00:40:22 LoadPlugin("C:\AutoMKV0971\exe\filter\NicAudio.dll")
00:40:22 LoadPlugin("C:\AutoMKV0971\exe\filter\SoundOut.dll")
00:40:22 LoadPlugin("C:\AutoMKV0971\exe\BeSweet\BassAudio.dll")
00:40:22 LoadPlugin("C:\AutoMKV0971\exe\filter\FFmpegSource.dll")
00:40:22 NicAC3Source("C:\Users\James\Desktop\New Folder (2)\temp\movie t80 3_2ch 384kbps delay -24ms.ac3")
00:40:22 DelayAudio(-0.0240)
00:40:22 #Applying ORIGINAL downmixing routines
00:40:22
00:40:22 function addvideo(clip c) {
00:40:22 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
00:40:22 Return audiodub(last,c)
00:40:22 }
00:40:22 Normalize()
00:40:22
00:40:22 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\AutoMKV0971\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.55 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
00:40:22
00:40:22 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -



By the Way AUTOMKV Rulez! I love what your doing. .. In my books The best GUI for encoding Ever! I'd love to donate but unfortunately Money is scarce in my life at the moment, but when my situation changes...


Cheers,

James

survivant001
14th October 2008, 02:09
@buzzwq

I find a bug in .097.1

I doesn't have Nero AAC in my folders. I choose mkv, PS3 profile, audio ac3. Add to queue.. start encoding

and got a popup.. Nero is not... click close.. and the encoding starts.

the popu should be there when it's not required.

thanks

Ajax_Undone
14th October 2008, 07:41
I think you are supposed to add it! Because it being a proprietary freeware program he can not legally include it as part of the package...

buzzqw
14th October 2008, 08:54
@paolo1983

But if I check AUTO resize , should I use anamorphic or not ??
no, when using auto don't use anamorphic. Use anamorphic only when NOT doing resize

@technoir1

thanks for your kind words :)

When I loaded the command lines into the Divx264 encoder as per your advice I got the message "Error: Bitrate outside profile specification"

divx264 is a little more picky then x264, since it's tuned for max 4.0 Annex level, the bitrate you used was out of range (206749 KB/S !!!, over 200MB/sec :p )

I want to use CRF value with divx264 like X264...Is this possibile? I can not see anything in the log that refers to quality percentage or CRF Value, nor is their a CRF profile on the
actually divx264 DON'T support crf encoding, that's way only 1 pass or 2 pass encoding

File size is not a problem (I aim about 2-3 GB per standard PAL or NTSC movie) Mayby you might like to disable the ability to select "don't care about size"
that's a good suggestion :) never use "Don't care about size" with divx264

to get the same quality as a crf of say 17 or 18 on "constant Quality using DivX264 do I have to select 2 pass mode or is 1pass high performance suitable? sorry about
1 pass high performace should give a good speed encoding and a very acceptable quality (i can only suggest: try it)

thanks for your test and feel free to suggest and point problem

BHH

survivant001
14th October 2008, 15:19
I think you are supposed to add it! Because it being a proprietary freeware program he can not legally include it as part of the package...

I know that.. but if I don't want to include it, it my choice.. but the problem is not there.. it's that there is a popup that block the encoding process, and it's not use for the settings that I choose.

Chengbin
14th October 2008, 16:31
How many cores can x264 support? The new Nahelem processor now supports 8 sessions. I hope it can use all 8 cores.

Dark Shikari
14th October 2008, 20:06
How many cores can x264 support?More than you have.

jkl6648
14th October 2008, 21:24
I'm going through my DVD collection, and converting movies over to MKV's using the popcorn hour profile. And a few of my movies do not properly encode. The DGIndex runs, and then the first few x264 windows run, but the final x264 encoding fails. upon examining the temp dir, a movie-FIXED.d2v file was created. If I delete the move.d2v, and rename the -FIXED.d2v to movie.d2v, I can run the x264 bat file, and then the muxing.bat file and it will work.. however the aspect ratio isn't always quite right.

What is producing this -FIXED file, and is there a way to get autoMKV to use it if it detects it?

Thanks
-Jeff

Chengbin
15th October 2008, 02:39
I think I found a bug.

For some reason now AutoMKV will burn the subtitles from the original file into the output when that option is checked off.

Chengbin
15th October 2008, 03:51
Also, I'm been noticing this very often now. For some reason the frame rate of the first minute is low. It felt like 10fps. It got back to normal after 1 minute into the video or so. But there is very noticeable lag (especially in panning). When I viewed the frames 1 by 1, some frames will be the same for 2-3 frames while the original video's frames has clearly moved in every single frame. It's kind of strange.

j6
15th October 2008, 05:28
Also, I'm been noticing this very often now. For some reason the frame rate of the first minute is low. It felt like 10fps. It got back to normal after 1 minute into the video or so. But there is very noticeable lag (especially in panning). When I viewed the frames 1 by 1, some frames will be the same for 2-3 frames while the original video's frames has clearly moved in every single frame. It's kind of strange.

I noticed this too and it happened 3 movies in a row so it's not a fluke.

paolo1983
15th October 2008, 19:32
Great!
I used settings you suggested, and everything have been very fast and good quality...
Maybe 2pass_SAP is faster than others, maybe when I tried other settings i had done something wrong, I don't know...
I still haven't tried this on my standalone player, but on pc it looks great!
I used this... Everything seems to be fine imho ...

This time my cpu was almost fully used by virtualdubmod and xvid , sometimes in the past xvid only used 50-55% , I don't know why, but this time is OK...



17:24:19 Selected Container type: AVI
17:24:19 Selected Encoder: XviD
17:24:19 Selected Size: 1/4 DVD-R / 1
17:24:19 Selected Profile: 2_Pass_SAP.xml
17:24:19 Selected Resizer: SimpleResize (neutral soft) / Automatic
17:24:19 Selected Filters: RemoveGrain(mode=2)
17:24:19 Selected Deinterlacer: AUTO
17:24:19 Selected Field Order: AUTO
17:24:19 Enabled CRF/CQ AutoRes at 2.5 value
17:24:19 Activate PGC Ripping: 1
17:24:19 Track Language 1: 81: Italiano (AC3 6ch, 0xBD 0x81) [0]
17:24:19 Audio Codec 1: Lame
17:24:19 Audio Quality 1: 112
17:24:19 Audio Channel 1: Stereo
17:24:19 Track Language 2: 80: English (AC3 6ch, 0xBD 0x80) [0]
17:24:19 Audio Codec 2: Lame
17:24:19 Audio Quality 2: 112
17:24:19 Audio Channel 2: Stereo
17:24:19 Advanced Audio Settings DUMP Track 1
17:24:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:24:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:24:19 Lame Settings: ABR
17:24:19 Audio Normalization: 1
17:24:19 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:24:19 Advanced Audio Settings DUMP Track 2
17:24:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:24:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:24:19 Lame Settings: ABR
17:24:19 Audio Normalization: 1
17:24:19 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:24:19 Selected 1' Sub tracks: Italiano 1 (0xBD 0x22) [0] wide
17:24:19 Selected 2' Sub tracks: English 0 (0xBD 0x20) [0] wide
17:24:19
17:24:19 Starting SubRipping
17:26:10 para.lst file:
...

buzzqw
15th October 2008, 20:29
@jkl6648

movie fixed are created by dgindex when found a "bad transition" in mpeg stream
could you upload a sample (where problem is repicable) to analyze ?

@Chengbin
For some reason now AutoMKV will burn the subtitles from the original file into the output when that option is checked off.
burn or mux ?

@Chengbin @j6

Also, I'm been noticing this very often now. For some reason the frame rate of the first minute is low. It felt like 10fps. It got back to normal after 1 minute into the video or so. But there is very noticeable lag (especially in panning). When I viewed the frames 1 by 1, some frames will be the same for 2-3 frames while the original video's frames has clearly moved in every single frame. It's kind of strange.

sorry pal.. not due to automkv.. are you using the full 0.97.1 with x264.exe from http://x264.nl ?

@paolo1983
glad you resolved ! :)

BHH

Chengbin
15th October 2008, 22:43
It will burn the subtitles into the video.

I'm using the full 0.971 package. I tried 0.95 and it doesn't have the low frame rate problem.

Chengbin
16th October 2008, 01:13
buzzqw (or dark shikari) please fix this frame rate problem because a LOAD of my encoding has just been flushed down the toilet because of this.

Dark Shikari
16th October 2008, 01:15
buzzqw (or dark shikari) please fix this frame rate problem because a LOAD of my encoding has just been flushed down the toilet because of this.Its not related to x264; x264 takes a frame in and puts a frame out. It has no concept of framerate.

Chengbin
16th October 2008, 04:30
How do you correctly encode a video in AutoMKV when it has a 16:9 aspect ratio? If I set a width in set width resolution, AutoMKV will choose a MOD16 height and encode it, stretching the image. How do I encode a video while maintaining correct aspect ratio?

BTW, what does anamorphic encoding do? It does strange things to the resolution. When I try to play it, it gave me a very strange resolution, like 3:5 (yes, it was vertical).

buzzqw
16th October 2008, 08:28
@Chengbin

about aspect error: open the movie.avs, here is written the ar error. you can reduce the error only by overcropping/downcropping and changing resolutio
about anamorphic try this build http://www.64k.it/andres/data/a/AutoMKV0972.exe (beta build)
about the slowdown: open the movie.avs in virtualdub and make a preview.. it's slow ?
if not the avs is ok.. and the problem turn on x264 OR player

BHH

delacroixp
16th October 2008, 08:43
How many cores can x264 support? The new Nahelem processor now supports 8 sessions. I hope it can use all 8 cores.
More than you have.
The more the merrier !


It's all good !
:):devil::D
Pascal

delacroixp
16th October 2008, 08:58
How do you correctly encode a video in AutoMKV when it has a 16:9 aspect ratio? If I set a width in set width resolution, AutoMKV will choose a MOD16 height and encode it, stretching the image. How do I encode a video while maintaining correct aspect ratio?

BTW, what does anamorphic encoding do? It does strange things to the resolution. When I try to play it, it gave me a very strange resolution, like 3:5 (yes, it was vertical).
MOD16 is your friend (optimal encoding figure for speed, quality and filesize).
The huge variety of movie formats and variations dictates that the autopilot will often fail ... hence manual operation (cropping, resizing, filters, etc).

Anamorphic encoding keeps the original MPEG-2 (SD or HD) pixel layout (ie 720x576 [PAL]) which morphs into 1024x576 (16:9) on playback. It's a carry-over from the days when standard 35mm film was used for widescreen movies.


It's all good.
:):devil::D
Pascal

paolo1983
16th October 2008, 10:50
I tried better movie I've just encoded and I found some problems:

xvid subtitles are not working.. You can find my log some posts above...
Not working in VLC, neither in my SAP...

Images are looking something like blurred, I don't know how to explain... I left default SimpleResize, maybe I should try Spline36Resize ?

Maybe is something wrong in the 2pass_sap profile??

I've chosen Italian as Audio 1 and English as audio2, but my .avi starts in English, and Italian is shown as track2 ...

buzzqw
16th October 2008, 12:38
@paolo1983

please post the FULL log

I've chosen Italian as Audio 1 and English as audio2, but my .avi starts in English, and Italian is shown as track2 .

i'll check it

BHH

Chengbin
16th October 2008, 13:15
I should have posted this a long time ago, but when you choose an input file, AutoMKV does not default to open that folder the next time you choose input again. It is kind of annoying. The default folder changes when you choose a file in the folder you wish AutoMKV to default, add it to quene, then edit that quene. AutoMKV will now default that folder. Can you make it default to open the last folder we went to?

Chengbin
16th October 2008, 13:22
And BTW, your latest build did not fix the low frame rate issue. Your older version (like the 0.95) does not have this frame rate problem.

paolo1983
16th October 2008, 13:28
EDIT: attachment needs to be approved?
I'm posting log as code in the post not as attachment...

Here's the full log of that encoding..
Please tell me why subtitles are not there (also avinaptic does not see them...) and why it's so blur ...

Another question: I don't know anything about filters, i will learn in the future...
For now, should I leave removegrain or I can go straight with NONE in filters selection ?
I'm starting from DVD, there shouldn't be any grain ...

FIrst encoding:

17:24:19 Selected Container type: AVI
17:24:19 Selected Encoder: XviD
17:24:19 Selected Size: 1/4 DVD-R / 1
17:24:19 Selected Profile: 2_Pass_SAP.xml
17:24:19 Selected Resizer: SimpleResize (neutral soft) / Automatic
17:24:19 Selected Filters: RemoveGrain(mode=2)
17:24:19 Selected Deinterlacer: AUTO
17:24:19 Selected Field Order: AUTO
17:24:19 Enabled CRF/CQ AutoRes at 2.5 value
17:24:19 Activate PGC Ripping: 1
17:24:19 Track Language 1: 81: Italiano (AC3 6ch, 0xBD 0x81) [0]
17:24:19 Audio Codec 1: Lame
17:24:19 Audio Quality 1: 112
17:24:19 Audio Channel 1: Stereo
17:24:19 Track Language 2: 80: English (AC3 6ch, 0xBD 0x80) [0]
17:24:19 Audio Codec 2: Lame
17:24:19 Audio Quality 2: 112
17:24:19 Audio Channel 2: Stereo
17:24:19 Advanced Audio Settings DUMP Track 1
17:24:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:24:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:24:19 Lame Settings: ABR
17:24:19 Audio Normalization: 1
17:24:19 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:24:19 Advanced Audio Settings DUMP Track 2
17:24:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:24:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:24:19 Lame Settings: ABR
17:24:19 Audio Normalization: 1
17:24:19 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:24:19 Selected 1' Sub tracks: Italiano 1 (0xBD 0x22) [0] wide
17:24:19 Selected 2' Sub tracks: English 0 (0xBD 0x20) [0] wide
17:24:19
17:24:19 Starting SubRipping
17:26:10 para.lst file:
17:26:10 D:\NOBACKUP\FullDisc\WOTW D1 ITALY\VIDEO_TS\VTS_02_0.IFO
17:26:10 D:\NOBACKUP\vid\temp\VTS
17:26:10 1
17:26:10 1
17:26:10 2 0 cc
17:26:10 CLOSE
17:26:10 Subtitle Size: 7987200 bytes
17:26:10 Finished SubRipping
17:26:10 Activate PGC processing: PGC 1 [1:51:46:08]
17:26:10 Dgindex CMD: C:\AutoMKV0971\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=81,80 -YR=2 -AIF=[D:\NOBACKUP\FullDisc\WOTW D1 ITALY\VIDEO_TS\VTS_02_1.vob] -OF=[D:\NOBACKUP\vid\temp\movie] -exit -minimize
17:29:44 D2V file size: 883465 bytes
17:29:44 Audio 2: movie t80 3_2ch 448kbps delay 0ms.ac3
17:29:44 Pre Audio 2' Size: 375556608 bytes
17:29:44 Audio 1: movie t81 3_2ch 448kbps delay 0ms.ac3
17:29:44 Pre Audio 1' Size: 375556608 bytes
17:29:46 Applying DelayAudio of 0 to audio file: movie t81 3_2ch 448kbps delay 0ms.ac3
17:29:46 Encoding D:\NOBACKUP\vid\temp\movie t81 3_2ch 448kbps delay 0ms.ac3 To Mp3 with 112 ABR Preset
17:48:40 Encoded 1' Audio Track: movie t81 3_2ch 448kbps delay 0ms.mp3 90498440 bytes
17:48:40 Encoding D:\NOBACKUP\vid\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 To Mp3 with 112 ABR Preset
18:07:34 Encoded 2' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp3 90059664 bytes
18:07:37 Number of Frames: 167658
18:07:37 Framerate: 25.000000
18:07:37 Movie length in Seconds: 6707
18:07:37 Movie Width/Height: 720/576
18:07:37 DgIndex AR: 16:9
18:11:16 Source is declared tff by a margin of 73/84.
18:11:16 Advanced Deinterlace Routines Log
18:11:16 Analyzed 954 sections of five frames
18:11:16 Found Interlace Sections: 0 0.00%
18:11:16 Found Progressive Sections:954 100.00%
18:11:16 Found Telecined Sections: 0 0.00%
18:11:16 Found Zero Mov: 100.00% 954
18:11:16 Found One Mov: 0.00% 0
18:11:16 Found Two Mov: 0.00% 0
18:11:16 Found Three Mov: 0.00% 0
18:11:16 Found Four Mov: 0.00% 0
18:11:16 Found Five Mov: 0.00% 0
18:11:16 The Movie is declared to progressive
18:11:16 Single Pass Encoding XviD: C:\AutoMKV0971\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vid\temp\resmovie.avs" -type 2 -avi "D:\NOBACKUP\vid\temp\resmovie.avi"
18:14:30 Finished Autosize procedure
18:14:30 Tested total movie: 5%
18:14:30 AutoResize movie size: 92710604 bytes
18:14:30 Movie Width suggested: 608 value based on sample size (84.44% of original width)
18:14:30 FIRST pass XviD: "C:\AutoMKV0971\exe\encoder\xvid_encraw.exe" -pass1 -bitrate 1168 -turbo -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vid\temp\movie.avs" -type 2 -avi "D:\NOBACKUP\vid\temp\movie.avi"
18:14:30 SECOND pass XviD: "C:\AutoMKV0971\exe\encoder\xvid_encraw.exe" -pass2 -bitrate 1168 -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vid\temp\movie.avs" -type 2 -avi "D:\NOBACKUP\vid\temp\movie.avi"
18:39:38 Starting Second Pass
19:15:58 Only Movie Size: 982974904 bytes
19:15:58 Using VirtualDubMod for Muxing!
19:16:52 Encoding finished: 00:37:14 elapsed time
19:16:52 -----------------------------------------------------------------------
19:16:52 Script AutoCrop.log
19:16:52
19:16:52 Crop(0,10,720,556)
19:16:52 -----------------------------------------------------------------------
19:16:52 Script Resmovie.avs
19:16:52
19:16:52 #loadpluginstart
19:16:52
19:16:52 #test1
19:16:52
19:16:52 #importstart
19:16:52
19:16:52 #test2
19:16:52
19:16:52 movie = mpeg2source("D:\NOBACKUP\vid\temp\movie.d2v")
19:16:52 function getOrder(clip c) {
19:16:52 order = GetParity(c) ? 1 : 0
19:16:52 Return order }
19:16:52 #filter1start
19:16:52
19:16:52 #test3
19:16:52
19:16:52 last=movie.Crop(0,10,720,556)
19:16:52 fixed_aspect = 1.841727
19:16:52 out_width = 704
19:16:52 #Aspect_Error = 0.458%
19:16:52 out_height = 384
19:16:52 #resizestart
19:16:52
19:16:52 #test4
19:16:52
19:16:52 SimpleResize(out_width,out_height)
19:16:52 #filter2start
19:16:52
19:16:52 #test5
19:16:52
19:16:52 RemoveGrain(mode=2)
19:16:52 function Comptest(clip c, float percent)
19:16:52 {
19:16:52 frange=floor(14./(percent/100.))
19:16:52 Return SelectRangeEvery(c, frange, 14)
19:16:52 }
19:16:52 Comptest(last,5)
19:16:52 -----------------------------------------------------------------------
19:16:52 Script movie.avs
19:16:52
19:16:52 #loadpluginstart
19:16:52
19:16:52 #test1
19:16:52
19:16:52 #importstart
19:16:52
19:16:52 #test2
19:16:52
19:16:52 movie = mpeg2source("D:\NOBACKUP\vid\temp\movie.d2v")
19:16:52 function getOrder(clip c) {
19:16:52 order = GetParity(c) ? 1 : 0
19:16:52 Return order }
19:16:52 #filter1start
19:16:52
19:16:52 #test3
19:16:52
19:16:52 last=movie.Crop(0,10,720,556)
19:16:52 fixed_aspect = 1.841727
19:16:52 out_width = 608
19:16:52 #Aspect_Error = -0.644%
19:16:52 out_height = 328
19:16:52 #resizestart
19:16:52
19:16:52 #test4
19:16:52
19:16:52 SimpleResize(out_width,out_height)
19:16:52 #filter2start
19:16:52
19:16:52 #test5
19:16:52
19:16:52 RemoveGrain(mode=2)
19:16:52 -----------------------------------------------------------------------
19:16:52 Script mkvmaudio.avs
19:16:52
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\filter\NicAudio.dll")
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\filter\SoundOut.dll")
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\BeSweet\BassAudio.dll")
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\filter\FFmpegSource.dll")
19:16:52 NicAC3Source("D:\NOBACKUP\vid\temp\movie t81 3_2ch 448kbps delay 0ms.ac3")
19:16:52 DelayAudio(0.0000)
19:16:52 #Applying STEREO downmixing routines
19:16:52 function stereo(clip a)
19:16:52 {
19:16:52 flr = GetChannel(a, 1, 2)
19:16:52 fcc = GetChannel(a, 3)
19:16:52 lfe = GetChannel(a, 4)
19:16:52 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
19:16:52 mix = MergeChannels(lfc, lfc)
19:16:52 lrc = MixAudio(flr, mix, 0.2929, 1.0)
19:16:52 blr = GetChannel(a, 5, 6)
19:16:52 Return MixAudio(lrc, blr, 1.0, 0.2929)
19:16:52 }
19:16:52 #
19:16:52 6==Audiochannels() ? stereo() : last
19:16:52 function addvideo(clip c) {
19:16:52 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
19:16:52 Return audiodub(last,c)
19:16:52 }
19:16:52 Normalize()
19:16:52
19:16:52 Soundout(output="mp3",type=0,format=0,autoclose=true,mode=1,abrrate=112,showoutput=false,filename="audio.mp3")
19:16:52 -----------------------------------------------------------------------
19:16:52 Script mkvmaudio2.avs
19:16:52
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\filter\NicAudio.dll")
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\filter\SoundOut.dll")
19:16:52 LoadPlugin("C:\AutoMKV0971\exe\BeSweet\BassAudio.dll")
19:16:52 NicAC3Source("D:\NOBACKUP\vid\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
19:16:52 DelayAudio(0.0000)
19:16:52 #Applying STEREO downmixing routines
19:16:52 function stereo(clip a)
19:16:52 {
19:16:52 flr = GetChannel(a, 1, 2)
19:16:52 fcc = GetChannel(a, 3)
19:16:52 lfe = GetChannel(a, 4)
19:16:52 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
19:16:52 mix = MergeChannels(lfc, lfc)
19:16:52 lrc = MixAudio(flr, mix, 0.2929, 1.0)
19:16:52 blr = GetChannel(a, 5, 6)
19:16:52 Return MixAudio(lrc, blr, 1.0, 0.2929)
19:16:52 }
19:16:52 #
19:16:52 6==Audiochannels() ? stereo() : last
19:16:52 function addvideo(clip c) {
19:16:52 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
19:16:52 Return audiodub(last,c)
19:16:52 }
19:16:52 Normalize()
19:16:52 Soundout(output="mp3",type=0,format=0,autoclose=true,mode=1,abrrate=112,showoutput=false,filename="audio.mp3")
19:16:52 -----------------------------------------------------------------------
19:16:52 Script VirtualDubMod.vcf
19:16:52
19:16:52 VirtualDub.Open("D:\\NOBACKUP\\vid\\temp\\movie.avi",0,0);
19:16:52 VirtualDub.RemoveInputStreams();
19:16:52 VirtualDub.stream[0].SetSource("D:\\NOBACKUP\\vid\\temp\\movie t80 3_2ch 448kbps delay 0ms.mp3",0x00000202,1);
19:16:52 VirtualDub.stream[0].DeleteComments(1);
19:16:52 VirtualDub.stream[0].AdjustChapters(1);
19:16:52 VirtualDub.stream[0].SetMode(0);
19:16:52 VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
19:16:52 VirtualDub.stream[0].SetClipMode(1,1);
19:16:52 VirtualDub.stream[0].SetConversion(0,0,0,0,0);
19:16:52 VirtualDub.stream[0].SetVolume();
19:16:52 VirtualDub.stream[0].SetCompression();
19:16:52 VirtualDub.stream[0].EnableFilterGraph(0);
19:16:52 VirtualDub.stream[0].filters.Clear();
19:16:52 VirtualDub.stream[1].SetSource("D:\\NOBACKUP\\vid\\temp\\movie t81 3_2ch 448kbps delay 0ms.mp3",0x00000202,1);
19:16:52 VirtualDub.stream[1].DeleteComments(1);
19:16:52 VirtualDub.stream[1].AdjustChapters(1);
19:16:52 VirtualDub.stream[1].SetMode(0);
19:16:52 VirtualDub.stream[1].SetInterleave(1,500,1,0,0);
19:16:52 VirtualDub.stream[1].SetClipMode(1,1);
19:16:52 VirtualDub.stream[1].SetConversion(0,0,0,0,0);
19:16:52 VirtualDub.stream[1].SetVolume();
19:16:52 VirtualDub.stream[1].SetCompression();
19:16:52 VirtualDub.stream[1].EnableFilterGraph(0);
19:16:52 VirtualDub.stream[1].filters.Clear();
19:16:52 VirtualDub.video.DeleteComments(1);
19:16:52 VirtualDub.video.AddComment(0x00000005,"ISFT","Done with AutoMKV! 0.97.1 http://forum.doom9.org/showthread.php?t=140178");
19:16:52 VirtualDub.video.AdjustChapters(1);
19:16:52 VirtualDub.video.SetDepth(24,24);
19:16:52 VirtualDub.video.SetMode(0);
19:16:52 VirtualDub.video.SetFrameRate(0,1);
19:16:52 VirtualDub.video.SetIVTC(0,0,-1,0);
19:16:52 VirtualDub.video.SetCompression();
19:16:52 VirtualDub.video.filters.Clear();
19:16:52 VirtualDub.SaveAVI("D:\\NOBACKUP\\vid\\WOTW D1 ITALY.avi");
19:16:52 VirtualDub.Close();
19:16:52
19:16:52 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -






I've done another encoding, using these settings:
11:35:04 Selected Container type: AVI
11:35:04 Selected Encoder: XviD
11:35:04 Selected Size: 1/4 DVD-R / 1
11:35:04 Selected Profile: 2_Pass_SAP.xml
11:35:04 Selected Resizer: Spline36Resize (neutral sharp) / Automatic
11:35:04 Selected Filters: NONE

and another like this second, but with removegrain 2 ...

buzzqw
16th October 2008, 14:04
@Chengbin

have your read what i wrote ?

BHH

Chengbin
16th October 2008, 16:14
I couldn't get movie.avs to open. Now I know how. I'm in school right now, I'll try when I get home.

paolo1983
16th October 2008, 19:35
I've added my full log some posts above.. I don't know why I can't get subtitles..
Maybe my philips dvp3142 doesn't support xvid subtitles ? (it seems strange, I cannot see them neither in vlc or avinaptic)
thank you in advance...

buzzqw
16th October 2008, 20:27
@paolo1983

about subs: automkv has extracted it, but in avi container you cannot mux it
you can "encrust" , burn on video (permanently) but not add to avi

the encoding with removegrain should be better (you can analyze with avinaptic and get the drf)

about blur: the move is 608x328... are you watching on your monitor or tv ?
and.. at full screen ?

BHH

Chengbin
16th October 2008, 22:23
OK, I got it movie.avs to open in virtualdub 1.8.3. When I press play, the video played with a low frame rate as well, like the video I got after encoding. So does that mean it is virtualdub's fault?

paolo1983
17th October 2008, 08:34
about subs: automkv has extracted it, but in avi container you cannot mux it
you can "encrust" , burn on video (permanently) but not add to avi


This is a general limitation or only automkv limitation?
My SAP support .srt files, there is a way to create them with AutoMKV?


the encoding with removegrain should be better (you can analyze with avinaptic and get the drf)
about blur: the move is 608x328... are you watching on your monitor or tv ?
and.. at full screen ?


Yes, I tried and is better with removegrain, I don't understand why but it's good!!

Using spline36resize and not simpleresize it seems less blurred..
But maybe this is something related to THIS movie, maybe scenes with a lot of light, not a problem...

spline36resize is generally better than simpleresize?

Bye

buzzqw
17th October 2008, 09:21
@Chengbin
not vbdub fault.. but maybe movie.avs fault
please post it
also.. one test.. try encoding with xvid.. do you have the same problem ?

@paolo1983

automkv can extract .idx/.sub , that are graphical subtitles. This kind of subtitles can be muxed in mkv but not in avi
srt is text subtitles.. so you must ocr (with subrip) the graphical one to text

removegrain is a denoiser.. and so the image will be more "clean" and compressibility will gain point. Splineresize is for upscaling or very high bitrate (at least double then your)
for "simply" encoding simpliresize OR lanczos are ok

BHH

Chengbin
17th October 2008, 13:18
I couldn't get xvid_encraw to open. AutoMKV used FFmpeg to encode. I did not have this problem encoding with xvid.

I'm assuming that you want me to post movie.avs.

LoadPlugin("C:\AutoMKV 0.971\exe\filter\AddGrain.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\autocrop.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\blockbuster.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\cnr2.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\Convolution3D.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\corrector.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\DctFilter.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\Decomb.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\Deen.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\degrainmedian.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\DGAVCDecode.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\DGDecode.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\DirectShowSource.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\EEDI2.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\FFMpegSource.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\FFT3DFilter.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\frfun7.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\gradfun2db.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\hqdn3d.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\MaskTools.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\medianblur.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\MipSmooth.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\MSharpen.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\mt_masktools-25.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\mvtools.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\NicAudio.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\RemoveDirtS.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\RemoveGrainS.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\RepairS.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\SangNom.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\SimpleResize.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\SoundOut.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TBilateral.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TCPDeliver.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TDeint.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TIVTC.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\UnDot.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\UnFilter.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\VSFilter.dll")
LoadPlugin("C:\AutoMKV 0.971\exe\filter\warpsharp.dll")
#loadpluginstart

#test1

Import("C:\AutoMKV 0.971\exe\filter\BlindDeHalo3_mt2.avsi")
Import("C:\AutoMKV 0.971\exe\filter\colors_rgb.avsi")
Import("C:\AutoMKV 0.971\exe\filter\Deblock_QED_MT2.avsi")
Import("C:\AutoMKV 0.971\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("C:\AutoMKV 0.971\exe\filter\HybridFuPP.avsi")
Import("C:\AutoMKV 0.971\exe\filter\LanczosPlus.avsi")
Import("C:\AutoMKV 0.971\exe\filter\Lem.avsi")
Import("C:\AutoMKV 0.971\exe\filter\LimitedSharpenFaster.avsi")
Import("C:\AutoMKV 0.971\exe\filter\MCBob_v03c.avsi")
Import("C:\AutoMKV 0.971\exe\filter\MCTemporalDenoise.v1.0beta2.avsi")
Import("C:\AutoMKV 0.971\exe\filter\mvbob.avsi")
Import("C:\AutoMKV 0.971\exe\filter\QMlib.avsi")
Import("C:\AutoMKV 0.971\exe\filter\seesaw.avsi")
Import("C:\AutoMKV 0.971\exe\filter\spresso.avsi")
#importstart

#test2

movie = directshowsource("C:\Users\Administrator\Desktop\[越狱.第二季].[YYeTs][Prison.Break][S02E22][CN][720P.HDTV][1280X720][H264]-002-001.mkv",fps=23.976044,convertfps=true,audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

last = movie
crop(0,0,-0,-0)
fixed_aspect = 1.777778
#Aspect_Error = -1.#IO%
#resizestart

#test4

SimpleResize(640,360)
#filter2start

#test5

RemoveGrain(mode=2)

buzzqw
17th October 2008, 13:39
@Chengbin

not a automkv fault or x264

you are using directshowsource, so the fail is within DSS (try ffmpegsource)
also.. edit instantly the source name AND not use chinese character..
since automkv rely on dos for many automation.. maybe it could cause problem

BHH

paolo1983
17th October 2008, 13:40
automkv can extract .idx/.sub , that are graphical subtitles. This kind of subtitles can be muxed in mkv but not in avi
srt is text subtitles.. so you must ocr (with subrip) the graphical one to text

Sorry I'm a real newbie.. What happens if I do another xvid with the same settings but an mp4 container instead of avi?
In the meanwhile, I will look for subrip..

for "simply" encoding simpliresize OR lanczos are ok

Ok, I thought blur was done by simplyresize so I tried spline, listed as "sharp" ...I'll try lanczos next encoding...

But use of spline for THIS movie had been "bad" or just "not optimal" ??

Many thanks again, you're very nice helping people!!!

buzzqw
17th October 2008, 14:03
@paolo1983
on mp4 container .idx/sub can be muxed

sharp resizers are tuned for keeping maximun detail without "blurring" then image while resizing
you can use spline.. that for sure.. but try with a disk settings of 1/3 dvd

BHH

Chengbin
17th October 2008, 14:10
I don't have DSS on. Do I have to check No DSS to take it off?

Does encoding with FFmpeg or x264 make a difference?

Checking use FFmpegsource does not fix this problem. Checking no DSS does not fix the problem as well.

buzzqw
17th October 2008, 14:31
@Chengbin

Does encoding with FFmpeg or x264 make a difference
yes, of course. the difference are on both decoding and encoding

Checking use FFmpegsource does not fix this problem
update your ffdshow build

and ... moreover i cannot help on dubious source file.

BHH

paolo1983
17th October 2008, 15:50
Just another question , maybe a little OT but I try :D

Use MP4 - xvid would be better than avi-xvid ??
My SAP can read also MP4, not only avi, I've chosen AVI but it's not compulsory for my needs...

BTW: I'm saving all your suggestions in a txt file, maybe in the future I'll write down a couple of pages, like a small guide, for other total-newbies like me...

buzzqw
17th October 2008, 15:57
Use MP4 - xvid would be better than avi-xvid ??
no, absolutly equal

BTW: I'm saving all your suggestions in a txt file, maybe in the future I'll write down a couple of pages, like a small guide, for other total-newbies like me...
most welcome!

BHH

Chengbin
18th October 2008, 02:31
@Chengbin


yes, of course. the difference are on both decoding and encoding


update your ffdshow build

and ... moreover i cannot help on dubious source file.

BHH

So should I just use AutoMKV 0.95 to encode since it doesn't have this problem?

buzzqw
18th October 2008, 09:20
check script difference between 0.95 and 0.97.1

BHH

paolo1983
18th October 2008, 10:19
Sorry.. If MP4 is not worse than AVI but can embed subtitles, may I just use MP4 instead of AVI and get subtitles, without worrying about subrip and all that things?

buzzqw
18th October 2008, 11:53
@paolo1983

.. in simple words.. yes :)

BHH

paolo1983
18th October 2008, 13:07
EDIT:
i'm looking now I wrongly selected an already existing temp directory, maybe some old files had done wrong things..
i'm trying again same settings in a new dir..
in the meanwhile, I leave this

----
Something is wrong with my mp4 encoding...
It seems to be finished, but I cannot obtain a mp4 file...

Manually running muxing.bat I obtain
Error importing D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx#3: Bad Parameter

I've only ONE idx file, log talks about #1 and #3

10:56:56 0.97.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:56:56 OS Version: Windows XP
10:56:56 Selected Input file: E:\dvd full\WOTW\WOTW D1 ITALY\VIDEO_TS\VTS_02_0.IFO
10:56:56 Selected Output dir: D:\NOBACKUP\vidmp4\temp\
10:56:56 Selected Final Name: WOTW D1 ITALY
10:56:56 Selected Container type: MP4
10:56:56 Selected Encoder: XviD
10:56:56 Selected Size: 1/4 DVD-R / 1
10:56:56 Selected Profile: 2_Pass_SAP.xml
10:56:56 Selected Resizer: LanczosResize / Automatic
10:56:56 Selected Filters: RemoveGrain(mode=2)
10:56:56 Selected Deinterlacer: AUTO
10:56:56 Selected Field Order: AUTO
10:56:56 Enabled CRF/CQ AutoRes at 2.5 value
10:56:56 Activate PGC Ripping: 1
10:56:56 Track Language 1: 81: Italiano (AC3 6ch, 0xBD 0x81) [0]
10:56:56 Audio Codec 1: Nero AAC
10:56:56 Audio Quality 1: 0.35
10:56:56 Audio Channel 1: Stereo
10:56:56 Track Language 2: 80: English (AC3 6ch, 0xBD 0x80) [0]
10:56:56 Audio Codec 2: Nero AAC
10:56:56 Audio Quality 2: 0.35
10:56:56 Audio Channel 2: Stereo
10:56:56 Advanced Audio Settings DUMP Track 1
10:56:56 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:56:56 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:56:56 Lame Settings: ABR
10:56:56 Audio Normalization: 1
10:56:56 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
10:56:56 Advanced Audio Settings DUMP Track 2
10:56:56 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:56:56 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:56:56 Lame Settings: ABR
10:56:56 Audio Normalization: 1
10:56:56 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
10:56:56 Selected 1' Sub tracks: Italiano 1 (0xBD 0x22) [0] wide
10:56:56 Selected 2' Sub tracks: English 0 (0xBD 0x20) [0] wide
10:56:56
10:56:56 Starting SubRipping
10:59:17 para.lst file:
10:59:17 E:\dvd full\WOTW\WOTW D1 ITALY\VIDEO_TS\VTS_02_0.IFO
10:59:17 D:\NOBACKUP\vidmp4\temp\VTS
10:59:17 1
10:59:17 1
10:59:17 2 0 cc
10:59:17 CLOSE
10:59:17 Subtitle Size: 7987200 bytes
10:59:17 Finished SubRipping
10:59:17 Activate PGC processing: PGC 1 [1:51:46:08]
10:59:17 Dgindex CMD: C:\AutoMKV0971\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=81,80 -YR=2 -AIF=[E:\dvd full\WOTW\WOTW D1 ITALY\VIDEO_TS\VTS_02_1.vob] -OF=[D:\NOBACKUP\vidmp4\temp\movie] -exit -minimize
11:04:18 D2V file size: 883437 bytes
11:04:18 Audio 2: movie t80 3_2ch 448kbps delay 0ms.ac3
11:04:18 Pre Audio 2' Size: 375556608 bytes
11:04:18 Audio 1: movie t81 3_2ch 448kbps delay 0ms.ac3
11:04:18 Pre Audio 1' Size: 375556608 bytes
11:04:18 Applying DelayAudio of 0 to audio file: movie t81 3_2ch 448kbps delay 0ms.ac3
11:04:18 Encoding D:\NOBACKUP\vidmp4\temp\movie t81 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with 0.35 quality
11:18:21 Encoded 1' Audio Track: movie t81 3_2ch 448kbps delay 0ms.mp4 72484424 bytes
11:18:21 Encoding D:\NOBACKUP\vidmp4\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with 0.35 quality
11:32:18 Encoded 2' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 73594992 bytes
11:32:21 Number of Frames: 167658
11:32:21 Framerate: 25.000000
11:32:21 Movie length in Seconds: 6707
11:32:21 Movie Width/Height: 720/576
11:32:21 DgIndex AR: 16:9
11:36:04 Source is declared tff by a margin of 73/84.
11:36:04 Advanced Deinterlace Routines Log
11:36:04 Analyzed 954 sections of five frames
11:36:04 Found Interlace Sections: 0 0.00%
11:36:04 Found Progressive Sections:954 100.00%
11:36:04 Found Telecined Sections: 0 0.00%
11:36:04 Found Zero Mov: 100.00% 954
11:36:04 Found One Mov: 0.00% 0
11:36:04 Found Two Mov: 0.00% 0
11:36:04 Found Three Mov: 0.00% 0
11:36:04 Found Four Mov: 0.00% 0
11:36:04 Found Five Mov: 0.00% 0
11:36:04 The Movie is declared to progressive
11:36:05 Single Pass Encoding XviD: C:\AutoMKV0971\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vidmp4\temp\resmovie.avs" -type 2 -o "D:\NOBACKUP\vidmp4\temp\resmovie.m4v"
11:39:41 Finished Autosize procedure
11:39:41 Tested total movie: 5%
11:39:41 AutoResize movie size: 101233243 bytes
11:39:41 Movie Width suggested: 576 value based on sample size (80.00% of original width)
11:39:41 FIRST pass XviD: "C:\AutoMKV0971\exe\encoder\xvid_encraw.exe" -pass1 -bitrate 1210 -turbo -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vidmp4\temp\movie.avs" -type 2 -o "D:\NOBACKUP\vidmp4\temp\movie.m4v"
11:39:41 SECOND pass XviD: "C:\AutoMKV0971\exe\encoder\xvid_encraw.exe" -pass2 -bitrate 1210 -progress -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -lumimasking -i "D:\NOBACKUP\vidmp4\temp\movie.avs" -type 2 -o "D:\NOBACKUP\vidmp4\temp\movie.m4v"
12:11:06 Starting Second Pass
12:48:47 Only Movie Size: 1014085856 bytes
12:48:47 "C:\AutoMKV0971\exe\matroska\MP4Box.exe" -add "D:\NOBACKUP\vidmp4\temp\movie.m4v":par=1.846154 -chap "C:\AutoMKV0971\exe\chapters.txt" -add "D:\NOBACKUP\vidmp4\temp\movie t81 3_2ch 448kbps delay 0ms.mp4:lang=ita" -add "D:\NOBACKUP\vidmp4\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -add "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx#3" -add "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx#1" -fps 25.0000 -new "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.mp4"
12:49:57 Final Muxed size: -1 bytes
12:49:57 Encoding finished: 00:38:51 elapsed time

buzzqw
18th October 2008, 13:44
@paolo1983
open the muxing.bat with notepad

and change to this

"C:\AutoMKV0971\exe\matroska\MP4Box.exe" -add "D:\NOBACKUP\vidmp4\temp\movie.m4v":par=1.846154 -chap "C:\AutoMKV0971\exe\chapters.txt" -add "D:\NOBACKUP\vidmp4\temp\movie t81 3_2ch 448kbps delay 0ms.mp4:lang=ita" -add "D:\NOBACKUP\vidmp4\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -add "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx -fps 25.0000 -new "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.mp4"

the difference are in -add "-add "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx" (without #)

and it's correct that is present only one idx/sub

launch the muxing bat and check the resulting mp4

BHH

paolo1983
18th October 2008, 14:55
Yes, I had already done that, I figured out that could be the problem, but I had the same error (bad parameter), and I had no mp4 created
I deleted all and I restarted from scratch, maybe folder problems or old temp files left around, who knows..
Same error, tried as you said but no way out:
(newlines are from dos box, i copied from there...


D:\NOBACKUP\vidmp4\temp>"C:\AutoMKV0971\exe\matroska\MP4Box.exe" -add "D:\NOBACK
UP\vidmp4\temp\movie.m4v":par=1.846154 -chap "C:\AutoMKV0971\exe\chapters.txt"
-add "D:\NOBACKUP\vidmp4\temp\movie t81 3_2ch 448kbps delay 0ms.mp4:lang=ita" -
add "D:\NOBACKUP\vidmp4\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -a
dd "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx" -fps 25.0000 -new "D:\NOBACKUP\v
idmp4\temp\WOTW D1 ITALY.mp4"
Error importing D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.idx: Bad Parameter


Same error changing to a .idx name without spaces.. (I wondered that spaces in filenames could gave errors)

Error is in subs, if I remove that -add options it's all OK:
D:\NOBACKUP\vidmp4\temp>"C:\AutoMKV0971\exe\matroska\MP4Box.exe" -add "D:\NOBACK
UP\vidmp4\temp\movie.m4v":par=1.846154 -chap "C:\AutoMKV0971\exe\chapters.txt"
-add "D:\NOBACKUP\vidmp4\temp\movie t81 3_2ch 448kbps delay 0ms.mp4:lang=ita" -
add "D:\NOBACKUP\vidmp4\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -fp
s 25.0000 -new "D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.mp4"
Saving D:\NOBACKUP\vidmp4\temp\WOTW D1 ITALY.mp4: 0.500 secs Interleaving


By the way, with neroaac audio it seems to be louder than with lame, and the overall movie seems to be better, please help me with subs..

EDIT: it seems that my SAP cannot read this mp4 file ; maybe it cannot read any mp4 file, but it seems quite strange, it's a dvp3142, specs say divx and xvid, this is xvid, even if in a mp4 container.. sigh..

parallax7d
18th October 2008, 20:12
I have a bunch of VOBs that were ripped a little funky, and there is a 180ms gap in the audio at the beginning.

I'm going to pass them through automkv to convert them into avc mp4's. I was wondering what the easiest way to lop off 180ms from the audio of these VOBs would be? I really don't feel like manually demuxing them all by hand etc.. and was hoping AutoMKV could handle it.

By the way, I'm not that advanced, so if you could elaborate on exactly what to do it would be very appreciated.

buzzqw
18th October 2008, 23:36
@paolo1983

i'll try to find out the problem

@parallax7d
First of all Welcome to the Forum!

.. isn't so easy.. but in advanced audio option (the don't touch button) there is a free line where add any custom fuction to audio encoding
in your case it's audiodelay(180)

BHH

parallax7d
19th October 2008, 01:36
@parallax7d
First of all Welcome to the Forum!

.. isn't so easy.. but in advanced audio option (the don't touch button) there is a free line where add any custom fuction to audio encoding
in your case it's audiodelay(180)

BHH

Hi buzzqw, I found the !!! "Advanced Options for Audio Encoding DONT TOUCH" button, and pressed it. It brings up a window with "Track Language" "Track Name" "Nero Options" "CCT Options", "Lame Options", "Global Audio Options".

At the end of the global audio options there is an unlabeled blank text field. I put in audiodelay(180) and it caused the audio to not encode. Is that the correct spot to type audiodelay(180)?

j6
19th October 2008, 02:45
Checking use FFmpegsource does not fix this problem.

Checking Use FFmpegsource DOES fix the problem (slow playback at the beginning of the movie) for me so the problem might be related to directshow. I do see an error during encoding when I use FFmpegsource though, something like "cannot paralelize deblocking type 1...". The strange thing is that this problem never happened on AutoMKV .95 or .96 and I never used FFmpegsource then. I should also mention that the problem occurs when I use a .mkv movie as the source but does not occur when I use a DVD as source.

Chengbin
19th October 2008, 19:58
Checking Use FFmpegsource DOES fix the problem (slow playback at the beginning of the movie) for me so the problem might be related to directshow. I do see an error during encoding when I use FFmpegsource though, something like "cannot paralelize deblocking type 1...". The strange thing is that this problem never happened on AutoMKV .95 or .96 and I never used FFmpegsource then. I should also mention that the problem occurs when I use a .mkv movie as the source but does not occur when I use a DVD as source.

I'll try again when I finish the videos I'm encoding right now using quene.

It is GONE now! Finally. Thanks a lot for the tip.

I'm just curious, sometimes when I choose an input file, the internet explorer window pops up and goes to this thread. What does that mean?

Also, I found that you can't use "use FPmpegsource" when you're encoding VOB files, is that normal?

parallax7d
22nd October 2008, 04:08
if anyone could explain buzzq's suggestion for my problem, I would love to hear it, I got a bunch of vobs just sitting around waiting to be encoded. I tried delayaudio(180) and audiodelay(180) a few times and I'm not sure where to even put that.

thanks!

evergreen97
22nd October 2008, 07:27
I recently upgraded from older version of AutoMKV to 0.97.1 and found that WMASTD is no longer an option for audio when encoding to Windows Media format.

I used to be able to force WMASTD (instead of WMAPRO) by clicking the !!! button within Audio Track 1 box on Basic Settings tab. Also, looking at the profile editor I see the xml has changed and is much more techie / cryptic so I am unable to interpret what to change - I used to be able to force WMASTD as the codec and save as a new profile.

I still use a v1 media center extender and must have WMA9, not WMA Professional.

Can anyone provide guidance on how to create a custom WMV9 profile which would use the WMA9 (not WMA Professional) in AutoMKV?

buzzqw
22nd October 2008, 08:47
@Chengbin

ffmpegsource will be update to 2.00b3 in next release (will be a full release)
this will allow a better handle of mkv source

and .. ffmpegsource don't work actually with mpeg, and isn't to use with mpeg2

@parallax7d
i analyzed better your problem, and.. sorry the suggestin i give would not resolve.
BUT there is a solution!
manually extrat the ac3 and rename it simulate a delay of 180 (ex. "test T01 3_2ch 448Kbps DELAY 180ms.ac3 or -180)
then add it as external audio source
audomkv will automatically detect the delay and correct it

@evergreen97
First of all Welcome to the Forum

sorry but wmv support is quite limited, and till Microsoft will not create a command line encoder that handle both audio and video (and all options..) automkv will have a very bad support for wmv, sorry

BHH

valnar
22nd October 2008, 16:28
Just got back into AutoMKV again - I've been using 0.96 beta12 for awhile now. I see that x264 has some new options and removed others, like --bime and brdo.

I tested it on an hour episode of Buffy that I did previously with 0.96b12. Same essential parameters, using constant quality (CRF 20). I know this may be more of a question on x264, but I hope it's an easy answer.

My previous encode of this episode created a 496MB .mkv file. AutoMKV 0.97.1 makes it 778MB.

Is this considered normal now?

buzzqw
22nd October 2008, 16:58
short answer: yes
use a crf of 22 , should give the same quality/space

you can try the crf optimized profile

BHH

valnar
22nd October 2008, 17:11
short answer: yes
use a crf of 22 , should give the same quality/space

you can try the crf optimized profile

BHH

Thanks buzzqw. It's nice to be back into this again.

Is it preferred to use psy-rd and AQ mode now? I did not do that for the encode above, but did try it and the size changed only slightly - still in the 770MB range.

Taddeusz
22nd October 2008, 17:14
Thanks buzzqw. It's nice to be back into this again.

Is it preferred to use psy-rd and AQ mode now? I did not do that for the encode above, but did try it and the size changed only slightly - still in the 770MB range.

It is definitely preferred now. The quality difference between the old and new x264 is amazing!

parallax7d
22nd October 2008, 17:28
thanks for your suggestion buzzq. I'm surprised automkv doesn't provide any option for automatically fixing an audio sync issue though, maybe a future release. It's still a great tool.

by the way, is there any way to keep the dgindex window from popping up for each video in the que? It used to be hidden, but now it pops up for a few seconds for each video in the queue, and is quite annoying.

buzzqw
22nd October 2008, 17:31
thanks for your suggestion buzzq. I'm surprised automkv doesn't provide any option for automatically fixing an audio sync issue though, maybe a future release.

automkv already automagically fix the delay as written on file name..

another matter is if delay isn't the one reported on file name.. (due to bad rip)


about dgindex... i will look at this :)

thanks

BHH

evergreen97
23rd October 2008, 06:22
@evergreen97
First of all Welcome to the Forum

sorry but wmv support is quite limited, and till Microsoft will not create a command line encoder that handle both audio and video (and all options..) automkv will have a very bad support for wmv, sorry

BHH

Thank you for the welcome and quick response buzzqw!

Was just hoping for a way to modify the profile to spec WMASTD (WMA9) in new version .97.1 as it was previously a capability in .95c(?) and worked for the v1 extender.

I guess now I just need to decide whether to go back to prior version of AutoMKV and stick with WMV9 or bail on the extender, put another HTPC upstairs too (I have the parts) and go with alternate codecs (btw, DivX seems by far fastest encode on my machine - get about 26 min encode on a 1:04 hour show std def).

stenews
23rd October 2008, 17:13
Hi I'm using Automkv 0.97.1 with large size dpi (120)
I can't read properly many parts of the interface.
Is there any kind solution for that?

P.S.
when I pass the mouse over the combo boxes or text boxes, it appears an handy pop up that give to me some explanations. But suddenly it wick disappear, is it possible to make that time last longer?

Chengbin
23rd October 2008, 23:34
buzzqw, is it possible to encode a widescreen video in 640x480 but have black bars on the bottom and top? I want to encode videos to a portable video player and the limit is 720x576. Since for 16:9 the closest MOD16 is 768x432, it won't play. I don't even know the MOD16 of 2.35.1 is. So can I encode a video at 640x480 with black bars instead of stretching the image?

Chengbin
25th October 2008, 23:46
BUMP

Nobody can help me?

buzzqw
26th October 2008, 08:46
@stenews

First of all Welcome to the Forum

i will check dpi issue, thanks
about tooltip.. yes is a know old problem.. but not so easy to resolv :( sorry

@Chengbin
actualy automkv cannot ADD border, BUT you can use "Last AVS .." to write something like
addborders(100,100,100,100) for example

BHH

Chengbin
26th October 2008, 15:29
Could to clarify on how to add borders? Does 100 mean 100 pixels? Which one controls top and bottom?

BTW, does image quality suffer if I add black borders to make it MOD16?

buzzqw
26th October 2008, 16:19
addborders http://avisynth.org/AddBorders
quality suffer ? NO, mod16 could help compression too

BHH

Dark Shikari
26th October 2008, 16:37
BTW, does image quality suffer if I add black borders to make it MOD16?Yes, most definitely. Avoid borders whenever possible.quality suffer ? NO, mod16 could help compression tooPlease stop spreading misinformation. Black borders not aligned to macroblock boundaries are a great way to waste enormous amounts of bits.

buzzqw
26th October 2008, 16:47
thanks for the info Dark Shikari

BHH

stenews
26th October 2008, 17:35
Hi, thanks a lot for your reply.
I'll stay in touch to read about you.
Congratulation, you did a really smart program!http://forum.doom9.org/images/smilies/smile.gif
:)

Stefano.

Chengbin
26th October 2008, 19:04
So maybe I should just stick with MOD8?

stenews
26th October 2008, 23:51
Hi, does anyone to know where I can download DivX264.exe and h264vout.001 to use with Automkv?
buzzqw in his first post wrote that for encoding with DivX H.264 we need to put into \exe\encoder both DivX264.exe and h264vout.001.
Right, I checked for that codec in http://labs.divx.com/ProjectRemoulade but even after registered as new member I couldn't find a right URL for the download.

Hope someone will want to help me,
Stefano.

Chengbin
27th October 2008, 00:11
buzzqw, I see that you have made the deinterlace process to be run simultaneously. This is great for people with multiple cores. Can you make AutoMKV encode audio and run deinterlace process simultaneously? This could save a lot of time for people with quad core processors like me. Thanks.

Also, how come the deinterlace process takes much longer when you specify AR input?

flebber
27th October 2008, 07:49
Hi, does anyone to know where I can download DivX264.exe and h264vout.001 to use with Automkv?
buzzqw in his first post wrote that for encoding with DivX H.264 we need to put into \exe\encoder both DivX264.exe and h264vout.001.
Right, I checked for that codec in http://labs.divx.com/ProjectRemoulade but even after registered as new member I couldn't find a right URL for the download.

Hope someone will want to help me,
Stefano.

Once you register you need to follow the directions and write a short peice about yourself and send in. They may then give you extra privilege to download.

AMED
27th October 2008, 08:54
Hi Buzzqw,

I was wondering if there is anyway of suppressing the cmd boxes that appear while AutoMKV goes through the encoding process. e.g. interlace checking, compression test, encoding and muxing. It makes AutoMKV rather annoying to use because it's throwing boxes up which interrupt watching a movie in full screen.

Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?

buzzqw
27th October 2008, 10:25
@Chengbin

no, actually isn't possible to run deinterlacer AND audio simultaniusly
Also, how come the deinterlace process takes much longer when you specify AR input?
i haven't idea ... :confused:

@AMED
i will start minimized only when i will be sure of all process going fine. Don't worry is on todo list
Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?
well that's not fair.. :p but i fully understud your doubt

BHH

Chengbin
27th October 2008, 12:40
Hi Buzzqw,

I was wondering if there is anyway of suppressing the cmd boxes that appear while AutoMKV goes through the encoding process. e.g. interlace checking, compression test, encoding and muxing. It makes AutoMKV rather annoying to use because it's throwing boxes up which interrupt watching a movie in full screen.

Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?

I completely agree, it is very annoying, especially when you're playing games and a window pop up and you die because you lost control of the game.

buzzqw, how come it is not possible to encode audio and deinterlace at the same time? Do they share the same program or something?

Chengbin
31st October 2008, 00:56
Encoding audio with neroaac is messed up. When it downmix 5.1 track to 2 channel is messed up. The center channel is sometime mixed only on the right channel or the left channel. For some reason it works perfectly with family guy 5.1 tracks. The prison break 5.1 track is downmixed wrong. The first season has DTS 5.1, the second season has AC3 5.1. Any reason for this?

valnar
31st October 2008, 01:06
So far in my testing, I don't like the new x264 at all compared to the one in the older 0.96 beta 12. I don't think it's AutoMKV related because I've tried all kinds of settings to compare, but when I use the equivalent settings (except CRF20 vs CRF22 in the new one, to keep file sizes similar), I get strobing blue in the skies. Even with psy-rd and AQ off, I think the new encoder is fighting with the grain, because it appears to alternate between keeping the grain and smoothing the blue, causing the flashing.

The older x264/AutoMKV combo did not have this problem. So far, I can't seem to pinpoint why, other than x264 with new settings after October 7.

Edit: New 0.98 fixed whatever the problem was.

AMED
31st October 2008, 05:21
Maybe you should report it in the MPEG-4 AVC / H.264 section?

Wizecat
31st October 2008, 07:54
Was just hoping for a way to modify the profile to spec WMASTD (WMA9) in new version .97.1 as it was previously a capability in .95c(?) and worked for the v1 extender.

WMA9 can be used easy in Windows Media Encoder.

Chengbin
1st November 2008, 02:46
buzzqw, can you make a feature for AutoMKV that automatically (or make an option to) deletes the temporary files after encoding? I just freed up like 10GB of my HDD because of this. Thanks.

AMED
1st November 2008, 04:04
it's already there,

Advanced Tab, global options, del temp file

reverett
1st November 2008, 13:43
Hi I'm brand new to the board, but have been using 0.97.1 with great success for the last couple of weeks. However, the Advanced Audio Options do not work for me. The tab opens, I edit the Track Language and add a Track Title, click OK!, but the options do not stick, because when I reopen Advanced Audio Options again, everything is reset to default. How can I remedy this proplem?

As well, is there a way to select DTS as an audio encoding option?

Thanks very much for this program, I'm very appreciative of it.

[r]

buzzqw
1st November 2008, 13:55
@reverett

Hi reverett and Welcome to the Forum!

the "don't stick" of advanced options is a well know NO BUG :)

automkv will remember your choice (i can assure) BUT if you reopen the advanced audio options all settings will be resetted to defaults.

so.. don't open it again

DTS as encoder ? no, i don't know a freeware command line DTS encoder

BHH

Chengbin
1st November 2008, 16:43
AutoMKV can't encode audio. When I encode audio, all it comes out is some irritating noise. I think it doesn't have a decoder to decode the audio because it happened to every audio format AutoMKV is able to encode. But I have the latest CCCP and ffdshow. Checking use ffmpegsource encodes audio incorrectly (downmix incorrectly). For some reason it can encode the AC3 track from a VOB without using ffmpegsource.

Also, if ffmpegsource downmix 5.1 to 2.0 incorrectly, and I need it to prevent slow frame rate, that puts me in a strange position.

Also, I can encode audio perfectly (without using ffmpegsource) on another computer. Encoding with ffmpegsource on the other computer results the same thing (downmix incorrectly).

buzzqw
1st November 2008, 17:17
automkv can't remap channel or doing a better works if using directshowsource

... wait some days, next build will be able to extract audio from mkv/avi and should able to decode NOT using directshow filters

BHH

Chengbin
1st November 2008, 17:41
So you're saying that I can use FFmpegsource and encode audio separately with using FFmpegsource?

BTW, I hope some days means in the next 1-2 weeks.

buzzqw
1st November 2008, 17:56
i mean that on mkv/avi source audio will be demuxed and processed with nicaudio.. (as vob files)

BHH

Chengbin
1st November 2008, 21:35
i mean that on mkv/avi source audio will be demuxed and processed with nicaudio.. (as vob files)

BHH

Fantastic, I'll be looking forward to that release. Will you add x264 rev 1000 to that build as well?

eidolen
1st November 2008, 22:05
Hi,
Tried asking for help in the subtitles forum on this, but no joy so far. After mucho reading I'm hoping I can get done what I want using this program and hoped someone could help me with a few of the settings.

Target playback on PS3

Here is a typical Source I use:
(All are anime sources and most will be HD. Have maybe 3 movies at 1080, but the bulk will be 720p)

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 10 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 42mn
Bit rate : 3 070 Kbps
Nominal bit rate : 4 732 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.214
Writing library : x264 core 59 r851M e11ef38
Encoding settings : cabac=1 / ref=10 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / fgo=2 / bframes=10 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4732 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=8 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=15000 / vbv_bufsize=12000 / ip_ratio=1.40 / pb_ratio=1.24 / aq=2:0.90
Language : Japanese

Audio
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 42mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Title : Japanese DTS 5.1, 1.5 mbit
Language : Japanese

Text
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : English styled subtitles
Language : English


I have successfully followed the guide here for playback on PS3 and the video looks astounding. The hitch is the subtitles. There is no good way yet to convert .ass subs to .sup without major problems. Even when you overcome those, you still lose all styling, custom fonts, colors, etc. Since I never intend to watch these without the subtitles I would like to hard code them into the video.

If possible I would also like to set it up where it changes as little as possible but encodes the subtitles to the video resulting in a new .mkv that I can process through tsMuxerGUI to make it BluRay/AVCHD/PS3 compatible.

Any help here would be most appreciated, even if it's pointing me in an entirely different direction.

Many Thanks,
Eidolen

buzzqw
3rd November 2008, 15:30
update 0.98

changelog

FIXED: Muxing in avi with virtualdub don't keep correct audio order (thanks to paolo1983)
FIXED: Chapter button don't load already present chapters's file (thanks to madforweb)
FIXED: Anamorphic encoding (very beta)
FIXED: Preview will not report exact AR (thanks to madforweb)
FIXED: When accepting the preview automkv will set also the AR input as selected in preview
CHANGED: No more need of h264to (now using ffmpeg.exe)
CHANGED: FFmpegSource no more handle audio
CHANGED: Recked all x264 profiles (suggest to try the new 2 pass balanced and cq optimized profiles)
CHANGED: When input is avi/mkv/mp4/flv automkv will now scan for audio tracks without extracting it. Automkv will dinamically extract and encode it when needed. This allow copy audio track or encoding specific one's
UPDATE: eac3to 2.73, mkvmerge 04/10/2008, x264 rev 1016 (x264.nl), FFmpegSource 2.03beta,FFmpeg (Sherpya) r15666, MCTemporalDenoise.v1.0beta4

BHH

Chengbin
3rd November 2008, 22:15
Audio does not encode for some reason. The audio conversion dislog doesn't even pop up. It's like AutoMKV just skipped that process. Audio is not even recognized when the source is DTS or mp3.

Audio does encode when the source is a VOB

BTW, how do you change the profile (balanced) so that it uses main profile?

Also, the slow frame rate issue is now gone, even without ffmpegsource.

buzzqw
4th November 2008, 08:11
don't use ffmpegsource is source is mpeg2

use ffmpegsource only if source is avi/mkv/ogm/mp4....

BHH

Chengbin
4th November 2008, 13:08
ffmpegsource was not used in any of my encodings in 0.98

Even using ffmpegsource audio encoding process is skipped.

The audio is not recognized in the beginning when you select an input file.

buzzqw
4th November 2008, 13:28
PLEASE POST A LOG

and next time post more info about source and options used, otherwise no help is possible

BHH

Chengbin
4th November 2008, 13:55
After further testing, if source audio is mp3, the audio is extracted and encoded.

This is the log without using ffmpegsource. The source is a clip from Prison Break encoded with H.264 and AC3.

07:49:38 0.97.2 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:49:38 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:49:38 Selected Final Name: sample
07:49:38 Selected Container type: MP4
07:49:38 Selected Encoder: X264
07:49:38 Selected Size: 15 / 1
07:49:38 Selected Profile: 1_Pass_Fastest.xml
07:49:38 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:49:38 Selected Filters: RemoveGrain(mode=2)
07:49:38 Selected Deinterlacer: NONE
07:49:38 Selected Field Order: AUTO
07:49:38 Manual Crop&Resize Enabled
07:49:38 Left Crop: 0
07:49:38 Top Crop: 0
07:49:38 Right Crop: 0
07:49:38 Botton Crop: 0
07:49:38 Manual Width: 640
07:49:38 Manual Height: 360
07:49:38 Enabled CRF/CQ AutoRes at 19 value
07:49:38 Enabled FFmpegSource
07:49:38 Track Language 1: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Audio Codec 1: Nero AAC
07:49:38 Audio Quality 1: 0.50
07:49:38 Audio Channel 1: Stereo
07:49:38 Track Language 2: NONE
07:49:38 Audio Codec 2: Nero AAC
07:49:38 Enabled Use DirectShowSource for AUDIO
07:49:38 Advanced Audio Settings DUMP Track 1
07:49:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:49:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:49:38 Lame Settings: ABR
07:49:38 Audio Normalization: 1
07:49:38 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:49:38
07:49:38 Encoding C:\Users\Administrator\Desktop\temp\sample.mkv to NeroAAC with 0.50 quality
07:52:57 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:52:57 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:52:57 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:52:57 Selected Final Name: sample
07:52:57 Selected Container type: MP4
07:52:57 Selected Encoder: X264
07:52:57 Selected Size: 15 / 1
07:52:57 Selected Profile: 2_Pass_Balanced.xml
07:52:57 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:52:57 Selected Filters: RemoveGrain(mode=2)
07:52:57 Selected Deinterlacer: AUTO
07:52:57 Selected Field Order: AUTO
07:52:57 Manual Crop&Resize Enabled
07:52:57 Left Crop: 0
07:52:57 Top Crop: 0
07:52:57 Right Crop: 0
07:52:57 Botton Crop: 0
07:52:57 Manual Width: 640
07:52:57 Manual Height: 360
07:52:57 Enabled CRF/CQ AutoRes at 20 value
07:52:57 Track Language 1: Stream #0.1(eng): Audio: ac3
07:52:57 Audio Codec 1: Nero AAC
07:52:57 Audio Quality 1: 0.50
07:52:57 Audio Channel 1: Stereo
07:52:57 Track Language 2: NONE
07:52:57 Audio Codec 2: Nero AAC
07:52:57 Advanced Audio Settings DUMP Track 1
07:52:57 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:52:57 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:52:57 Lame Settings: ABR
07:52:57 Audio Normalization: 1
07:52:57 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:52:57
07:52:57 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:52:57 Unable to determine movie properties , switched to DirectShowSource
07:53:06 Unable to determine movie properties with DirectShowSource, switched to FFVideoSource
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:40 Source is declared bff by a margin of 1/0.
07:53:40 Advanced Deinterlace Routines Log
07:53:40 Analyzed 226 sections of five frames
07:53:40 Found Interlace Sections: 0 0.00%
07:53:40 Found Progressive Sections:226 100.00%
07:53:40 Found Telecined Sections: 0 0.00%
07:53:40 Found Zero Mov: 100.00% 226
07:53:40 Found One Mov: 0.00% 0
07:53:40 Found Two Mov: 0.00% 0
07:53:40 Found Three Mov: 0.00% 0
07:53:40 Found Four Mov: 0.00% 0
07:53:40 Found Five Mov: 0.00% 0
07:53:40 The Movie is declared to progressive
07:53:40 Starting X264
07:53:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:53:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:54:07 Finished 1' Pass X264
07:54:45 Only Movie Size: 15539561 bytes
07:54:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:54:46 Final Muxed size: 15557016 bytes
07:54:46 Encoding finished: 00:00:39 elapsed time
07:54:46 -----------------------------------------------------------------------
07:54:46 Script movie.avs
07:54:46
07:54:46 #loadpluginstart
07:54:46
07:54:46 #test1
07:54:46
07:54:46 #importstart
07:54:46
07:54:46 #test2
07:54:46
07:54:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:54:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = AssumeFPS(movie,24000,1001)
07:54:46 function getOrder(clip c) {
07:54:46 order = GetParity(c) ? 1 : 0
07:54:46 Return order }
07:54:46 #filter1start
07:54:46
07:54:46 #test3
07:54:46
07:54:46 last = movie
07:54:46 crop(0,0,-0,-0)
07:54:46 fixed_aspect = 1.777778
07:54:46 #Aspect_Error = -1.#IO%
07:54:46 #resizestart
07:54:46
07:54:46 #test4
07:54:46
07:54:46 SimpleResize(640,360)
07:54:46 #filter2start
07:54:46
07:54:46 #test5
07:54:46
07:54:46 RemoveGrain(mode=2)
07:54:46
07:54:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Chengbin
4th November 2008, 14:01
This is the log file for the same file encoded with ffmpegsource


07:49:38 0.97.2 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:49:38 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:49:38 Selected Final Name: sample
07:49:38 Selected Container type: MP4
07:49:38 Selected Encoder: X264
07:49:38 Selected Size: 15 / 1
07:49:38 Selected Profile: 1_Pass_Fastest.xml
07:49:38 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:49:38 Selected Filters: RemoveGrain(mode=2)
07:49:38 Selected Deinterlacer: NONE
07:49:38 Selected Field Order: AUTO
07:49:38 Manual Crop&Resize Enabled
07:49:38 Left Crop: 0
07:49:38 Top Crop: 0
07:49:38 Right Crop: 0
07:49:38 Botton Crop: 0
07:49:38 Manual Width: 640
07:49:38 Manual Height: 360
07:49:38 Enabled CRF/CQ AutoRes at 19 value
07:49:38 Enabled FFmpegSource
07:49:38 Track Language 1: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Audio Codec 1: Nero AAC
07:49:38 Audio Quality 1: 0.50
07:49:38 Audio Channel 1: Stereo
07:49:38 Track Language 2: NONE
07:49:38 Audio Codec 2: Nero AAC
07:49:38 Enabled Use DirectShowSource for AUDIO
07:49:38 Advanced Audio Settings DUMP Track 1
07:49:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:49:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:49:38 Lame Settings: ABR
07:49:38 Audio Normalization: 1
07:49:38 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:49:38
07:49:38 Encoding C:\Users\Administrator\Desktop\temp\sample.mkv to NeroAAC with 0.50 quality
07:52:57 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:52:57 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:52:57 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:52:57 Selected Final Name: sample
07:52:57 Selected Container type: MP4
07:52:57 Selected Encoder: X264
07:52:57 Selected Size: 15 / 1
07:52:57 Selected Profile: 2_Pass_Balanced.xml
07:52:57 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:52:57 Selected Filters: RemoveGrain(mode=2)
07:52:57 Selected Deinterlacer: AUTO
07:52:57 Selected Field Order: AUTO
07:52:57 Manual Crop&Resize Enabled
07:52:57 Left Crop: 0
07:52:57 Top Crop: 0
07:52:57 Right Crop: 0
07:52:57 Botton Crop: 0
07:52:57 Manual Width: 640
07:52:57 Manual Height: 360
07:52:57 Enabled CRF/CQ AutoRes at 20 value
07:52:57 Track Language 1: Stream #0.1(eng): Audio: ac3
07:52:57 Audio Codec 1: Nero AAC
07:52:57 Audio Quality 1: 0.50
07:52:57 Audio Channel 1: Stereo
07:52:57 Track Language 2: NONE
07:52:57 Audio Codec 2: Nero AAC
07:52:57 Advanced Audio Settings DUMP Track 1
07:52:57 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:52:57 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:52:57 Lame Settings: ABR
07:52:57 Audio Normalization: 1
07:52:57 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:52:57
07:52:57 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:52:57 Unable to determine movie properties , switched to DirectShowSource
07:53:06 Unable to determine movie properties with DirectShowSource, switched to FFVideoSource
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:40 Source is declared bff by a margin of 1/0.
07:53:40 Advanced Deinterlace Routines Log
07:53:40 Analyzed 226 sections of five frames
07:53:40 Found Interlace Sections: 0 0.00%
07:53:40 Found Progressive Sections:226 100.00%
07:53:40 Found Telecined Sections: 0 0.00%
07:53:40 Found Zero Mov: 100.00% 226
07:53:40 Found One Mov: 0.00% 0
07:53:40 Found Two Mov: 0.00% 0
07:53:40 Found Three Mov: 0.00% 0
07:53:40 Found Four Mov: 0.00% 0
07:53:40 Found Five Mov: 0.00% 0
07:53:40 The Movie is declared to progressive
07:53:40 Starting X264
07:53:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:53:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:54:07 Finished 1' Pass X264
07:54:45 Only Movie Size: 15539561 bytes
07:54:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:54:46 Final Muxed size: 15557016 bytes
07:54:46 Encoding finished: 00:00:39 elapsed time
07:54:46 -----------------------------------------------------------------------
07:54:46 Script movie.avs
07:54:46
07:54:46 #loadpluginstart
07:54:46
07:54:46 #test1
07:54:46
07:54:46 #importstart
07:54:46
07:54:46 #test2
07:54:46
07:54:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:54:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = AssumeFPS(movie,24000,1001)
07:54:46 function getOrder(clip c) {
07:54:46 order = GetParity(c) ? 1 : 0
07:54:46 Return order }
07:54:46 #filter1start
07:54:46
07:54:46 #test3
07:54:46
07:54:46 last = movie
07:54:46 crop(0,0,-0,-0)
07:54:46 fixed_aspect = 1.777778
07:54:46 #Aspect_Error = -1.#IO%
07:54:46 #resizestart
07:54:46
07:54:46 #test4
07:54:46
07:54:46 SimpleResize(640,360)
07:54:46 #filter2start
07:54:46
07:54:46 #test5
07:54:46
07:54:46 RemoveGrain(mode=2)
07:54:46
07:54:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
07:58:12 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:58:12 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:58:12 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:58:12 Selected Final Name: sample
07:58:12 Selected Container type: MP4
07:58:12 Selected Encoder: X264
07:58:12 Selected Size: 15 / 1
07:58:12 Selected Profile: 2_Pass_Balanced.xml
07:58:12 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:58:12 Selected Filters: RemoveGrain(mode=2)
07:58:12 Selected Deinterlacer: AUTO
07:58:12 Selected Field Order: AUTO
07:58:12 Manual Crop&Resize Enabled
07:58:12 Left Crop: 0
07:58:12 Top Crop: 0
07:58:12 Right Crop: 0
07:58:12 Botton Crop: 0
07:58:12 Manual Width: 640
07:58:12 Manual Height: 360
07:58:12 Enabled CRF/CQ AutoRes at 20 value
07:58:12 Enabled FFVideoSource
07:58:12 Track Language 1: Stream #0.1(eng): Audio: ac3
07:58:12 Audio Codec 1: Nero AAC
07:58:12 Audio Quality 1: 0.50
07:58:12 Audio Channel 1: Stereo
07:58:12 Track Language 2: NONE
07:58:12 Audio Codec 2: Nero AAC
07:58:12 Advanced Audio Settings DUMP Track 1
07:58:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:58:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:58:12 Lame Settings: ABR
07:58:12 Audio Normalization: 1
07:58:12 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:58:12
07:58:12 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:58:12 Number of Frames: 1523
07:58:12 Framerate: 23.976215
07:58:12 Movie length in Seconds: 64
07:58:12 Movie Width/Height: 1280/720
07:58:40 Source is declared bff by a margin of 1/0.
07:58:40 Advanced Deinterlace Routines Log
07:58:40 Analyzed 226 sections of five frames
07:58:40 Found Interlace Sections: 0 0.00%
07:58:40 Found Progressive Sections:226 100.00%
07:58:40 Found Telecined Sections: 0 0.00%
07:58:40 Found Zero Mov: 100.00% 226
07:58:40 Found One Mov: 0.00% 0
07:58:40 Found Two Mov: 0.00% 0
07:58:40 Found Three Mov: 0.00% 0
07:58:40 Found Four Mov: 0.00% 0
07:58:40 Found Five Mov: 0.00% 0
07:58:40 The Movie is declared to progressive
07:58:40 Starting X264
07:58:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:58:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:59:07 Finished 1' Pass X264
07:59:45 Only Movie Size: 15539071 bytes
07:59:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:59:46 Final Muxed size: 15556526 bytes
07:59:46 Encoding finished: 00:00:39 elapsed time
07:59:46 -----------------------------------------------------------------------
07:59:46 Script movie.avs
07:59:46
07:59:46 #loadpluginstart
07:59:46
07:59:46 #test1
07:59:46
07:59:46 #importstart
07:59:46
07:59:46 #test2
07:59:46
07:59:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:59:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:59:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:59:46 movie = AssumeFPS(movie,24000,1001)
07:59:46 function getOrder(clip c) {
07:59:46 order = GetParity(c) ? 1 : 0
07:59:46 Return order }
07:59:46 #filter1start
07:59:46
07:59:46 #test3
07:59:46
07:59:46 last = movie
07:59:46 crop(0,0,-0,-0)
07:59:46 fixed_aspect = 1.777778
07:59:46 #Aspect_Error = -1.#IO%
07:59:46 #resizestart
07:59:46
07:59:46 #test4
07:59:46
07:59:46 SimpleResize(640,360)
07:59:46 #filter2start
07:59:46
07:59:46 #test5
07:59:46
07:59:46 RemoveGrain(mode=2)
07:59:46
07:59:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
4th November 2008, 14:59
try this build http://www.64k.it/andres/data/a/AutoMKV0981.exe

fixed: use of ffmpegsource and directshowsource
fixed: extracting ac3 audio from mkv


BHH

Chengbin
4th November 2008, 22:10
The new build works, but when you input a file, it does not recognize the audio tracks. But when you input the video a second time, it recognizes it.

EDIT, never mind, now it recognize the audio tracks on the the first try.

valnar
5th November 2008, 00:57
Buzzqw,

This new build sets the "Set Width Resolution" to Autocrop only when it used to set to "Original" on a DVD import, and anamorphic encode. I have to fight with AutoMKV to set it correctly to Original.

Chengbin
5th November 2008, 02:25
When AutoMKV tries to encode a DTS source audio to AAC, the command line kept giving me errors saying error, non monotone timestamps. What does that mean?

That process takes really long to complete. More than 5 minutes. After trying with a smaller file, it encodes, and encodes it perfectly. But this is a huge waste of time when you have a batch of files to encode.

buzzqw
5th November 2008, 08:48
@valnar
Anamorphic encoding should now work correctly, but only when not autocropping

please try as is now, and reports, my anamorphic knowledge is quite limited

@Chengbin
audio is extracted with ffmpeg and with some kind of audio type (and mkv container) , ffmpeg has some problem.
The non monotone is written by ffmpeg while extracting audio.

with this one implementation automkv is able to process single audio track present in container, and is able to encode it with soundout/nicaudio, for sure a better way than directshowsource

BHH

Chengbin
5th November 2008, 14:33
I thought virtualdubmod extracts the audio before encoding. That's why there is a long wait before it actually encodes. Am I wrong? If I'm wrong, what is virtualdubmod doing before encoding?

What do you change in the profile that changes it from encoding high profile to main profile?

valnar
5th November 2008, 14:50
@valnar
Anamorphic encoding should now work correctly, but only when not autocropping


No, anamorphic encoding still works fine, but the default of how the cropping changes to "autocrop only" seems to be different. Perhaps it doesn't have anything to do with the anamorphic setting. It just seems like every change I make resets the width back to "autocrop only" when it did not do that before. I have to keep checking that before I start an encode to make sure it did not change on me. :)

sapsa
6th November 2008, 16:32
first of all: buzzqw great JOB !!! i started using your autoMKV and i love it !:)
i used 0.95c and till yestarday all was great

i tried 0.95. 0.95c, 0.97.1 all same result
I rip VHS movies on my AverMedia Tuner in MPEG2
All of them had size from 3-5Gb and all was fine on same settings - i was making mkv file with x264 video, and vobis audio...
Encoding time was abaout 10-12h (dont know why)
I got e2180@3.0Ghz 2Gb Ram, 8800Gt.
The last (bigest) file that got about 4Gb encoded fine but...
movie is desynchronized, not from begining but more video, more delays.
and my question:
1) why only this one get this problem
2) how i can fix it ?
3) how to prevent it ?
I tried better_quality and other profiles for x264, and i tried Xvid too, with same result.

// sorry for my poor english

valnar
6th November 2008, 16:34
The last (bigest) file that got about 4Gb encoded fine but...
movie is desynchronized, not from begining but more video, more delays.

Is the original MPEG2 synchronized from start to finish?

sapsa
6th November 2008, 16:42
Is the original MPEG2 synchronized from start to finish?

Yes it is. The original MPEG2 is OK, no problem with it at all

valnar
6th November 2008, 17:00
Yes it is. The original MPEG2 is OK, no problem with it at all

If all the other files you've done with AutoMKV are fine, then there must be something wrong with that file.

Try a different program like MeGUI and see what happens.

sapsa
6th November 2008, 17:13
If all the other files you've done with AutoMKV are fine, then there must be something wrong with that file.

Try a different program like MeGUI and see what happens.
its quite imposible cuz i made those file with same program, on same hardware, with same settings... and no program detect any errors in files mpeg2

buzzqw
6th November 2008, 17:14
i can guess you cut some commercials.. and so the stream can be somehow corrupted

try fixing it with http://www.videohelp.com/tools/Mpg2Cut2

simply load and resave

also.. POST THE LOG :)

BHH

sapsa
6th November 2008, 17:24
i can guess you cut some commercials.. and so the stream can be somehow corrupted

try fixing it with http://www.videohelp.com/tools/Mpg2Cut2

simply load and resave

also.. POST THE LOG :)

BHH

nah, sorry to say, but i was recording video from vhs connected to tv tuner, no cut no editing

edit: is it bad i dont see preview on mpg2cut2?

buzzqw
6th November 2008, 17:28
post the log, and please try "fixing" anyway

thanks

BHH

spotter
6th November 2008, 17:30
I just installed 0.9.81 and am doing a 2 pass extreme quality encode test.

2 things I'm noticing

1) we know get a cmd prompt window instead of the gui (I assume that's on purpose)

2) it doesn't seem to saturate (cpu time wise) my quad core anymore. While before (0.95c) it would peg my cpu at near 100% on both passes, right now in the first pass it's sitting in the mid 30s.

Did some option change that hurts x264's multithreading ability?

buzzqw
6th November 2008, 17:37
as i wrote in changelog (and i am self asking why i continue to write something ignored by near all users)

1) i removed the encoding gui because it will cause a little slowdown in encoding
2) i suggest the 2 pass balanced. The slowing is due to easy settings in x264 It has the right saturating power and deliver a very good quality (maybe even more then the slower)


BHH

sapsa
6th November 2008, 17:43
Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:16:34
FPS: 119.52
Info:


File changed his size:
orginal: 5 036 544 000
fixed: 5 036 537 974

spotter
6th November 2008, 17:45
as i wrote in changelog (and i am self asking why i continue to write something ignored by near all users)

1) i removed the encoding gui because it will cause a little slowdown in encoding
2) i suggest the 2 pass balanced. The slowing is due to easy settings in x264 It has the right saturating power and deliver a very good quality (maybe even more then the slower)


BHH

sorry, I don't see the changelog anywhere (At least on the wiki), I assume its somewhere in the thread, but perhaps should be stored in initial post as well with the downloads?

spotter
6th November 2008, 17:52
just tried base, and it only in the 50% range on first pass.

buzzqw
6th November 2008, 17:53
it's within the package you download

but no problem, sorry , i don't want to be rude :)

also.. the log...

BHH

spotter
6th November 2008, 17:57
it's within the package you download

but no problem, sorry , i don't want to be rude :)

also.. the log...

BHH

don't have a full log, as I quickly cancelled it when I saw it wasn't really using my quad core, so this is all I have.

11:47:33 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:47:33 Selected Input file: E:\The Great Debaters\VIDEO_TS\VTS_01_0.IFO
11:47:33 Selected Output dir: E:\The Great Debaters\temp\
11:47:33 Selected Final Name: The Great Debaters
11:47:33 Selected Container type: MKV
11:47:33 Selected Encoder: X264
11:47:33 Selected Size: 1408 / 1
11:47:33 Selected Profile: 2_Pass_Balanced.xml
11:47:33 Selected Resizer: NONE / Original
11:47:33 Selected Filters: RemoveGrain(mode=2)
11:47:33 Selected Deinterlacer: AUTO
11:47:33 Selected Field Order: AUTO
11:47:33 Activate PGC Ripping: 1
11:47:33 Working by Command Line: queue1.ini
11:47:33 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
11:47:33 Audio Codec 1: Copy Original
11:47:33 Track Language 2: NONE
11:47:33 Audio Codec 2: Nero AAC
11:47:33 Activate Anamorphic Encoding
11:47:33
11:47:33 Activate PGC processing: PGC 1 [2:06:45:27]
11:47:33 Dgindex CMD: D:\AutoMKV-New\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[E:\The Great Debaters\VIDEO_TS\VTS_01_1.vob] -OF=[E:\The Great Debaters\temp\movie] -exit -minimize
11:48:30 D2V file size: 955695 bytes
11:48:30 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
11:48:30 Pre Audio 1' Size: 426354432 bytes
11:48:30 Renamed file movie t80 3_2ch 448kbps delay 0ms.ac3 to movie t80 3_2ch 448kbps delay 0ms_.ac3
11:48:30 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms_.ac3 426354432 bytes
11:48:30 D2V Film Detected: 99.900002% FILM found
11:48:32 Number of Frames: 228177
11:48:32 Framerate: 29.970030
11:48:32 Movie length in Seconds: 7614
11:48:32 Movie Width/Height: 720/480
11:48:32 DgIndex AR: 16:9
11:51:08 Source is declared tff by a margin of 148/5.
11:51:08 Advanced Deinterlace Routines Log
11:51:08 Analyzed 480 sections of five frames
11:51:08 Found Interlace Sections: 2 0.42%
11:51:08 Found Progressive Sections:67 13.96%
11:51:08 Found Telecined Sections: 411 85.63%
11:51:08 Found Zero Mov: 13.96% 67
11:51:08 Found One Mov: 0.42% 2
11:51:08 Found Two Mov: 85.63% 411
11:51:08 Found Three Mov: 0.00% 0
11:51:08 Found Four Mov: 0.00% 0
11:51:08 Found Five Mov: 0.00% 0
11:51:08 The Movie is declared to telecined
11:51:08 Starting X264
11:51:08 Command Line 1' Pass X264: D:\AutoMKV-New\exe\encoder\x264.exe --pass 1 --bitrate 1096 --stats "E:\The Great Debaters\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --sar 8248320:6998400 --output NUL "E:\The Great Debaters\temp\movie.avs"
11:51:08 Command Line 2' Pass X264: D:\AutoMKV-New\exe\encoder\x264.exe --pass 2 --bitrate 1096 --stats "E:\The Great Debaters\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --sar 8248320:6998400 --output "E:\The Great Debaters\temp\movie.264" "E:\The Great Debaters\temp\movie.avs"

spotter
6th November 2008, 17:59
this cmd line

D:\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 1096 --stats "E:\The Great Debaters\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --filter -2,-1 --subme 2 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-pyramid --analyse none --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 11851852:10000000 --output NUL "E:\The Great Debaters\temp\movie.avs"

is seeming to do much better (old 0.95c)

buzzqw
6th November 2008, 18:05
the command line seems very similar , are you sure that even the avs were identical ?

try launching the command line you wrote, it that's faster ?

the difference are
+b-adapt 2
+aq-strenght 1
+psy-rd
-b-pyramid

BHH

spotter
6th November 2008, 18:15
well, I didn't play any games in setting up the avs file.

all I do is select no crop and anamorphic, did copy for audio and base/extreme (in 0.98.1) (log is from base run) and an extreme run in 0.95c (which is 70-80% cpu usage and 100+ fps)

here are the 2 generated avs files

0.95c

LoadPlugin("D:\AutoMKV\exe\filter\AddGrain.dll")
LoadPlugin("D:\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("D:\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("D:\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("D:\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("D:\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("D:\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("D:\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("D:\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("D:\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("D:\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("D:\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("D:\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("D:\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("D:\AutoMKV\exe\filter\FFMpegSource.dll")
LoadPlugin("D:\AutoMKV\exe\filter\FFT3DFilter.dll")
LoadPlugin("D:\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("D:\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("D:\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("D:\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("D:\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("D:\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("D:\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("D:\AutoMKV\exe\filter\MSharpen.dll")
LoadPlugin("D:\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("D:\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("D:\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("D:\AutoMKV\exe\filter\RemoveGrainS.dll")
LoadPlugin("D:\AutoMKV\exe\filter\RepairS.dll")
LoadPlugin("D:\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("D:\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("D:\AutoMKV\exe\filter\SoundOut.dll")
LoadPlugin("D:\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("D:\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("D:\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("D:\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("D:\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("D:\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("D:\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("D:\AutoMKV\exe\filter\VSFilter.dll")
LoadPlugin("D:\AutoMKV\exe\filter\warpsharp.dll")
#loadpluginstart

#test1

Import("D:\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
Import("D:\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
Import("D:\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("D:\AutoMKV\exe\filter\HybridFuPP.avsi")
Import("D:\AutoMKV\exe\filter\LanczosPlus.avsi")
Import("D:\AutoMKV\exe\filter\Lem.avsi")
Import("D:\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
Import("D:\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("D:\AutoMKV\exe\filter\mvbob.avsi")
Import("D:\AutoMKV\exe\filter\QMlib.avsi")
Import("D:\AutoMKV\exe\filter\seesaw.avsi")
Import("D:\AutoMKV\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\The Great Debaters\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

movie = tfm(movie,d2v="E:\The Great Debaters\temp\movie.d2v").tdecimate()
last = movie
fixed_aspect = 1.988889
out_width = 720
#Aspect_Error = 1.654%
out_height = 480
#resizestart

#test4

#filter2start

#test5

RemoveGrain(mode=2)


and 0.98.1

LoadPlugin("D:\AutoMKV-New\exe\filter\AddGrain.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\autocrop.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\blockbuster.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\cnr2.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\ColorMatrix.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\Convolution3D.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\corrector.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\DctFilter.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\Decomb.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\Deen.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\degrainmedian.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\DGAVCDecode.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\DGDecode.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\DirectShowSource.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\EEDI2.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\FFMS2.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\FFT3DFilter.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\FluxSmooth.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\frfun7.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\gradfun2db.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\hqdn3d.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\LeakKernelDeint.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\MaskTools.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\medianblur.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\MipSmooth.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\MSharpen.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\mt_masktools-25.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\mvtools.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\NicAudio.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\RemoveDirtS.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\RemoveGrainS.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\RepairS.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\SangNom.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\SimpleResize.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\SoundOut.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TBilateral.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TCPDeliver.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TDeint.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TIVTC.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TomsMoComp.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\TTempSmooth.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\UnDot.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\UnFilter.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\VSFilter.dll")
LoadPlugin("D:\AutoMKV-New\exe\filter\warpsharp.dll")
#loadpluginstart

#test1

Import("D:\AutoMKV-New\exe\filter\BlindDeHalo3_mt2.avsi")
Import("D:\AutoMKV-New\exe\filter\colors_rgb.avsi")
Import("D:\AutoMKV-New\exe\filter\Deblock_QED_MT2.avsi")
Import("D:\AutoMKV-New\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("D:\AutoMKV-New\exe\filter\HybridFuPP.avsi")
Import("D:\AutoMKV-New\exe\filter\LanczosPlus.avsi")
Import("D:\AutoMKV-New\exe\filter\Lem.avsi")
Import("D:\AutoMKV-New\exe\filter\LimitedSharpenFaster.avsi")
Import("D:\AutoMKV-New\exe\filter\MCBob_v03c.avsi")
Import("D:\AutoMKV-New\exe\filter\MCTemporalDenoise.v1.0beta4.avsi")
Import("D:\AutoMKV-New\exe\filter\mvbob.avsi")
Import("D:\AutoMKV-New\exe\filter\QMlib.avsi")
Import("D:\AutoMKV-New\exe\filter\seesaw.avsi")
Import("D:\AutoMKV-New\exe\filter\spresso.avsi")
#importstart

#test2

movie = mpeg2source("E:\The Great Debaters\VIDEO_TS\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3

movie = tfm(movie,d2v="E:\The Great Debaters\VIDEO_TS\temp\movie.d2v").tdecimate()
last=movie.Crop(2,60,716,360)
fixed_aspect = 1.988889
out_width = 716
out_width = 720
#Aspect_Error = -0.556%
out_height = 360
out_height = 480
#resizestart

#test4

#filter2start

#test5

RemoveGrain(mode=2)


obviously not exactly the same, but unsure how to tell if any diff matters.

edit: seems some cropping difference, but I selected none for both

12:09:50 Selected Resizer: NONE / AutoCrop Only (from the 0.98.1 log)

Taddeusz
6th November 2008, 18:24
What happens if you specify the number of threads to be 4 rather than "auto"?

spotter
6th November 2008, 18:55
What happens if you specify the number of threads to be 4 rather than "auto"?

didnt seem to make a difference

sapsa
7th November 2008, 00:14
i fixed my main (original) movei with mpg2cut2
use autoMKV 0.98.1 and i still get desynchro video with audio, smaller then early but still, in half movie its 1-2 sec, and at ending (1h 15min ) about 4sec dealy in sound.

this is my log

Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:15:36
FPS: 127.66
Info:
20:57:51 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:57:51 Selected Input file: D:\#ftp\dragon.MPG
20:57:51 Selected Output dir: D:\#ftp\temp\
20:57:51 Selected Final Name: dragon
20:57:51 Selected Container type: MKV
20:57:51 Selected Encoder: X264
20:57:51 Selected Size: 1/3 DVD-R / 1
20:57:51 Selected Profile: 2_Pass_Anime_Toons.xml
20:57:51 Selected Resizer: SimpleResize (neutral soft) / Automatic
20:57:51 Selected Filters: RemoveGrain(mode=2)
20:57:51 Selected Deinterlacer: AUTO
20:57:51 Selected Field Order: AUTO
20:57:51 Enabled CRF/CQ AutoRes at 20 value
20:57:51 Track Language 1: c0: MPA L2 2ch 48 224
20:57:51 Audio Codec 1: Ogg Vorbis
20:57:51 Audio Quality 1: 5
20:57:51 Audio Channel 1: Stereo
20:57:51 Track Language 2: NONE
20:57:51 Audio Codec 2: Nero AAC
20:57:51 Advanced Audio Settings DUMP Track 1
20:57:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
20:57:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:57:51 Lame Settings: ABR
20:57:51 Audio Normalization: 1
20:57:51 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
20:57:51
20:57:51 Dgindex CMD: C:\Program Files (x86)\#Video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[D:\#ftp\dragon.MPG] -OF=[D:\#ftp\temp\movie] -exit -minimize
20:59:06 D2V file size: 554832 bytes
20:59:06 Audio 1: movie tc0 l2 2ch 48 224 delay 74ms.mp2
20:59:06 Pre Audio 1' Size: 131750304 bytes
20:59:06 Applying DelayAudio of 74 to audio file: movie tc0 l2 2ch 48 224 delay 74ms.mp2
20:59:06 Encoding D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2 to Ogg with 5 quality
21:03:30 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 74ms.ogg 85580640 bytes
21:03:33 Number of Frames: 117523
21:03:33 Framerate: 25.000000
21:03:33 Movie length in Seconds: 4701
21:03:33 Movie Width/Height: 720/576
21:03:33 DgIndex AR: 4:3
21:06:20 Source is declared tff by a margin of 41/17.
21:06:20 Advanced Deinterlace Routines Log
21:06:20 Analyzed 705 sections of five frames
21:06:20 Found Interlace Sections: 0 0.00%
21:06:20 Found Progressive Sections:705 100.00%
21:06:20 Found Telecined Sections: 0 0.00%
21:06:20 Found Zero Mov: 100.00% 705
21:06:20 Found One Mov: 0.00% 0
21:06:20 Found Two Mov: 0.00% 0
21:06:20 Found Three Mov: 0.00% 0
21:06:20 Found Four Mov: 0.00% 0
21:06:20 Found Five Mov: 0.00% 0
21:06:20 The Movie is declared to progressive
21:06:20 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1557135360 bytes
21:06:20 CRF encoding X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\resmovie.mp4" "D:\#ftp\temp\resmovie.avs"
21:15:45 Finished Autosize procedure
21:15:45 Tested total movie: 5%
21:15:45 AutoResize movie size: 127878824 bytes
21:15:45 Movie Width suggested: 656 value based on sample size (91.11% of original width)
21:15:45 Starting X264
21:15:45 Command Line 1' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 2497 --stats "D:\#ftp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter 1,1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "D:\#ftp\temp\movie.avs"
21:15:45 Command Line 2' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 2497 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\movie.264" "D:\#ftp\temp\movie.avs"
21:44:04 Finished 1' Pass X264
00:05:41 Only Movie Size: 1467406464 bytes
00:05:42 "C:\Program Files (x86)\#Video\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\#ftp\temp\dragon.mkv" --default-duration 0:25000/1000fps --track-name -1:"dragon" --aspect-ratio -1:1.281250 "D:\#ftp\temp\movie.264" --language -1:und --default-track -1:yes "D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.ogg" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
00:06:35 Final Muxed size: 1554278784 bytes
00:06:35 Encoding finished: 02:22:31 elapsed time
00:06:35 -----------------------------------------------------------------------
00:06:35 Script AutoCrop.log
00:06:35
00:06:35 Crop(14,0,696,576)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script Resmovie.avs
00:06:35
00:06:35 #loadpluginstart
00:06:35
00:06:35 #test1
00:06:35
00:06:35 #importstart
00:06:35
00:06:35 #test2
00:06:35
00:06:35 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
00:06:35 function getOrder(clip c) {
00:06:35 order = GetParity(c) ? 1 : 0
00:06:35 Return order }
00:06:35 #filter1start
00:06:35
00:06:35 #test3
00:06:35
00:06:35 last=movie.Crop(14,0,696,576)
00:06:35 fixed_aspect = 1.288889
00:06:35 out_width = 688
00:06:35 #Aspect_Error = 0.413%
00:06:35 out_height = 536
00:06:35 #resizestart
00:06:35
00:06:35 #test4
00:06:35
00:06:35 SimpleResize(out_width,out_height)
00:06:35 #filter2start
00:06:35
00:06:35 #test5
00:06:35
00:06:35 RemoveGrain(mode=2)
00:06:35 function Comptest(clip c, float percent)
00:06:35 {
00:06:35 frange=floor(14./(percent/100.))
00:06:35 Return SelectRangeEvery(c, frange, 14)
00:06:35 }
00:06:35 Comptest(last,5)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script movie.avs
00:06:35
00:06:35 #loadpluginstart
00:06:35
00:06:35 #test1
00:06:35
00:06:35 #importstart
00:06:35
00:06:35 #test2
00:06:35
00:06:35 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
00:06:35 function getOrder(clip c) {
00:06:35 order = GetParity(c) ? 1 : 0
00:06:35 Return order }
00:06:35 #filter1start
00:06:35
00:06:35 #test3
00:06:35
00:06:35 last=movie.Crop(14,0,696,576)
00:06:35 fixed_aspect = 1.288889
00:06:35 out_width = 656
00:06:35 #Aspect_Error = 0.596%
00:06:35 out_height = 512
00:06:35 #resizestart
00:06:35
00:06:35 #test4
00:06:35
00:06:35 SimpleResize(out_width,out_height)
00:06:35 #filter2start
00:06:35
00:06:35 #test5
00:06:35
00:06:35 RemoveGrain(mode=2)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script mkvmaudio.avs
00:06:35
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\NicAudio.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\SoundOut.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\BeSweet\BassAudio.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\FFMS2.dll")
00:06:35 NicMPG123Source("D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2")
00:06:35 DelayAudio(0.0740)
00:06:35 #Applying STEREO downmixing routines
00:06:35 function stereo(clip a)
00:06:35 {
00:06:35 flr = GetChannel(a, 1, 2)
00:06:35 fcc = GetChannel(a, 3)
00:06:35 lfe = GetChannel(a, 4)
00:06:35 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
00:06:35 mix = MergeChannels(lfc, lfc)
00:06:35 lrc = MixAudio(flr, mix, 0.2929, 1.0)
00:06:35 blr = GetChannel(a, 5, 6)
00:06:35 Return MixAudio(lrc, blr, 1.0, 0.2929)
00:06:35 }
00:06:35 #
00:06:35 6==Audiochannels() ? stereo() : last
00:06:35 function addvideo(clip c) {
00:06:35 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
00:06:35 Return audiodub(last,c)
00:06:35 }
00:06:35 Normalize()
00:06:35
00:06:35 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\Program Files (x86)\#Video\AutoMKV\exe\besweet\oggenc2.exe",prefilename=" -q 5 - -o audio.ogg",postfilename="",nofilename=true,showoutput=false)
00:06:35
00:06:35 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


Any help?

sapsa
7th November 2008, 00:16
i use 0.98.1 on fixed file and still get delay 4sec on ends and 1-2s delay in half of movie

Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:15:36
FPS: 127.66
Info:
20:57:51 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:57:51 Selected Input file: D:\#ftp\dragon.MPG
20:57:51 Selected Output dir: D:\#ftp\temp\
20:57:51 Selected Final Name: dragon
20:57:51 Selected Container type: MKV
20:57:51 Selected Encoder: X264
20:57:51 Selected Size: 1/3 DVD-R / 1
20:57:51 Selected Profile: 2_Pass_Anime_Toons.xml
20:57:51 Selected Resizer: SimpleResize (neutral soft) / Automatic
20:57:51 Selected Filters: RemoveGrain(mode=2)
20:57:51 Selected Deinterlacer: AUTO
20:57:51 Selected Field Order: AUTO
20:57:51 Enabled CRF/CQ AutoRes at 20 value
20:57:51 Track Language 1: c0: MPA L2 2ch 48 224
20:57:51 Audio Codec 1: Ogg Vorbis
20:57:51 Audio Quality 1: 5
20:57:51 Audio Channel 1: Stereo
20:57:51 Track Language 2: NONE
20:57:51 Audio Codec 2: Nero AAC
20:57:51 Advanced Audio Settings DUMP Track 1
20:57:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
20:57:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:57:51 Lame Settings: ABR
20:57:51 Audio Normalization: 1
20:57:51 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
20:57:51
20:57:51 Dgindex CMD: C:\Program Files (x86)\#Video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[D:\#ftp\dragon.MPG] -OF=[D:\#ftp\temp\movie] -exit -minimize
20:59:06 D2V file size: 554832 bytes
20:59:06 Audio 1: movie tc0 l2 2ch 48 224 delay 74ms.mp2
20:59:06 Pre Audio 1' Size: 131750304 bytes
20:59:06 Applying DelayAudio of 74 to audio file: movie tc0 l2 2ch 48 224 delay 74ms.mp2
20:59:06 Encoding D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2 to Ogg with 5 quality
21:03:30 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 74ms.ogg 85580640 bytes
21:03:33 Number of Frames: 117523
21:03:33 Framerate: 25.000000
21:03:33 Movie length in Seconds: 4701
21:03:33 Movie Width/Height: 720/576
21:03:33 DgIndex AR: 4:3
21:06:20 Source is declared tff by a margin of 41/17.
21:06:20 Advanced Deinterlace Routines Log
21:06:20 Analyzed 705 sections of five frames
21:06:20 Found Interlace Sections: 0 0.00%
21:06:20 Found Progressive Sections:705 100.00%
21:06:20 Found Telecined Sections: 0 0.00%
21:06:20 Found Zero Mov: 100.00% 705
21:06:20 Found One Mov: 0.00% 0
21:06:20 Found Two Mov: 0.00% 0
21:06:20 Found Three Mov: 0.00% 0
21:06:20 Found Four Mov: 0.00% 0
21:06:20 Found Five Mov: 0.00% 0
21:06:20 The Movie is declared to progressive
21:06:20 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1557135360 bytes
21:06:20 CRF encoding X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\resmovie.mp4" "D:\#ftp\temp\resmovie.avs"
21:15:45 Finished Autosize procedure
21:15:45 Tested total movie: 5%
21:15:45 AutoResize movie size: 127878824 bytes
21:15:45 Movie Width suggested: 656 value based on sample size (91.11% of original width)
21:15:45 Starting X264
21:15:45 Command Line 1' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 2497 --stats "D:\#ftp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter 1,1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "D:\#ftp\temp\movie.avs"
21:15:45 Command Line 2' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 2497 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\movie.264" "D:\#ftp\temp\movie.avs"
21:44:04 Finished 1' Pass X264
00:05:41 Only Movie Size: 1467406464 bytes
00:05:42 "C:\Program Files (x86)\#Video\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\#ftp\temp\dragon.mkv" --default-duration 0:25000/1000fps --track-name -1:"dragon" --aspect-ratio -1:1.281250 "D:\#ftp\temp\movie.264" --language -1:und --default-track -1:yes "D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.ogg" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
00:06:35 Final Muxed size: 1554278784 bytes
00:06:35 Encoding finished: 02:22:31 elapsed time
00:06:35 -----------------------------------------------------------------------
00:06:35 Script AutoCrop.log
00:06:35
00:06:35 Crop(14,0,696,576)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script Resmovie.avs
00:06:35
00:06:35 #loadpluginstart
00:06:35
00:06:35 #test1
00:06:35
00:06:35 #importstart
00:06:35
00:06:35 #test2
00:06:35
00:06:35 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
00:06:35 function getOrder(clip c) {
00:06:35 order = GetParity(c) ? 1 : 0
00:06:35 Return order }
00:06:35 #filter1start
00:06:35
00:06:35 #test3
00:06:35
00:06:35 last=movie.Crop(14,0,696,576)
00:06:35 fixed_aspect = 1.288889
00:06:35 out_width = 688
00:06:35 #Aspect_Error = 0.413%
00:06:35 out_height = 536
00:06:35 #resizestart
00:06:35
00:06:35 #test4
00:06:35
00:06:35 SimpleResize(out_width,out_height)
00:06:35 #filter2start
00:06:35
00:06:35 #test5
00:06:35
00:06:35 RemoveGrain(mode=2)
00:06:35 function Comptest(clip c, float percent)
00:06:35 {
00:06:35 frange=floor(14./(percent/100.))
00:06:35 Return SelectRangeEvery(c, frange, 14)
00:06:35 }
00:06:35 Comptest(last,5)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script movie.avs
00:06:35
00:06:35 #loadpluginstart
00:06:35
00:06:35 #test1
00:06:35
00:06:35 #importstart
00:06:35
00:06:35 #test2
00:06:35
00:06:35 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
00:06:35 function getOrder(clip c) {
00:06:35 order = GetParity(c) ? 1 : 0
00:06:35 Return order }
00:06:35 #filter1start
00:06:35
00:06:35 #test3
00:06:35
00:06:35 last=movie.Crop(14,0,696,576)
00:06:35 fixed_aspect = 1.288889
00:06:35 out_width = 656
00:06:35 #Aspect_Error = 0.596%
00:06:35 out_height = 512
00:06:35 #resizestart
00:06:35
00:06:35 #test4
00:06:35
00:06:35 SimpleResize(out_width,out_height)
00:06:35 #filter2start
00:06:35
00:06:35 #test5
00:06:35
00:06:35 RemoveGrain(mode=2)
00:06:35 -----------------------------------------------------------------------
00:06:35 Script mkvmaudio.avs
00:06:35
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\NicAudio.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\SoundOut.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\BeSweet\BassAudio.dll")
00:06:35 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\FFMS2.dll")
00:06:35 NicMPG123Source("D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2")
00:06:35 DelayAudio(0.0740)
00:06:35 #Applying STEREO downmixing routines
00:06:35 function stereo(clip a)
00:06:35 {
00:06:35 flr = GetChannel(a, 1, 2)
00:06:35 fcc = GetChannel(a, 3)
00:06:35 lfe = GetChannel(a, 4)
00:06:35 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
00:06:35 mix = MergeChannels(lfc, lfc)
00:06:35 lrc = MixAudio(flr, mix, 0.2929, 1.0)
00:06:35 blr = GetChannel(a, 5, 6)
00:06:35 Return MixAudio(lrc, blr, 1.0, 0.2929)
00:06:35 }
00:06:35 #
00:06:35 6==Audiochannels() ? stereo() : last
00:06:35 function addvideo(clip c) {
00:06:35 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
00:06:35 Return audiodub(last,c)
00:06:35 }
00:06:35 Normalize()
00:06:35
00:06:35 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\Program Files (x86)\#Video\AutoMKV\exe\besweet\oggenc2.exe",prefilename=" -q 5 - -o audio.ogg",postfilename="",nofilename=true,showoutput=false)
00:06:35
00:06:35 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
7th November 2008, 15:49
could you try using another codec audio ? (lame/aac)

could you please also try with "Copy Original" audio ?

maybe a "codec" bug :confused:

thanks!

BHH

Ekin
8th November 2008, 04:28
buzzqw: Just a suggestion...

I think it would be helpful if AutoMKV calculate "The Automatic Resolution/Bitrate" just like ASXGui. It's really useful when users have a lot of files to encode. Users would just open the file input and it would just calculate the output filesize base on resolution and bitrate.

From ASXGui:

-The Automatic Resolution/Bitrate is calculated using an equation that produces similar bitrates/resolutions as Nero Recode's Auto Resize feature.

buzzqw
8th November 2008, 06:55
@Ekin


the automatic resolution of automkv is very similar to one of autogk: given the bitrate avaiable automkv will compute (with a compression test) the better resize

BHH

Dark Eiri
8th November 2008, 14:05
I'm having a little problem trying to encode to WVC1: the encoded video will output 25fps no matter what. Tried everything already, no matter what is the input fps, the output is always 25fps. My source is MPEG-2 720p 59.94fps, encodes fine with everything, except WVC1.

Audio is being encoded as 24bit, and tagged as Italian is that a problem?

Ekin
8th November 2008, 22:01
@Ekin


the automatic resolution of automkv is very similar to one of autogk: given the bitrate avaiable automkv will compute (with a compression test) the better resize

BHH


buzzqw: So what do I select from the Disk Settings of the Output File so that my output file size would be whatever AutoMKV automatic calculted??

Chengbin
9th November 2008, 04:58
For some reason some AC3 files won't encode. The virtualdubmod dialog box appears, but the process was finished in a second. The audio only encodes if I put DSS audio on.

buzzqw
9th November 2008, 07:45
@Dark Eiri

language tag isn't the problem... it's wmv encoder application that's fault

i am seeking a better wmv encoder

@Ekin
automkv will respect wth width and size you specified
BUT if you leave width as automatic, automkv will compute the width according to disk size (more size more width, less size less width)

@Chengbin
for the last time: post the log

BHH

Chengbin
9th November 2008, 15:59
09:11:11 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:11:11 Selected Input file: D:\[越狱.第二季].[YYeTs][Prison.Break][S02E05][CN][720P.HDTV][1280X720][XVID]-002.mkv
09:11:11 Selected Output dir: C:\Users\Administrator\Desktop\temp\
09:11:11 Selected Final Name: [越狱_第二季]_[YYeTs][Prison_Break][S02E05][CN][720P_HDTV][1280X720][XVID]-002
09:11:11 Selected Container type: MP4
09:11:11 Selected Encoder: X264
09:11:11 Selected Size: 500 / 1
09:11:11 Selected Profile: 2_Pass_Balanced.xml
09:11:11 Selected Resizer: SimpleResize (neutral soft) / Automatic
09:11:11 Selected Filters: RemoveGrain(mode=2)
09:11:11 Selected Deinterlacer: AUTO
09:11:11 Selected Field Order: AUTO
09:11:11 Manual Crop&Resize Enabled
09:11:11 Left Crop: 0
09:11:11 Top Crop: 0
09:11:11 Right Crop: 0
09:11:11 Botton Crop: 0
09:11:11 Manual Width: 640
09:11:11 Manual Height: 360
09:11:11 Enabled CRF/CQ AutoRes at 20 value
09:11:11 Track Language 1: Stream #0.2: Audio: ac3
09:11:11 Audio Codec 1: Nero AAC
09:11:11 Audio Quality 1: 0.50
09:11:11 Audio Channel 1: Stereo
09:11:11 Track Language 2: NONE
09:11:11 Audio Codec 2: Nero AAC
09:11:11 Advanced Audio Settings DUMP Track 1
09:11:11 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:11:11 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:11:11 Lame Settings: ABR
09:11:11 Audio Normalization: 1
09:11:11 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
09:11:11
09:11:11 Extracting audio track 1 Stream #0.2: Audio: ac3 with ffmpeg
09:11:12 Encoding C:\Users\Administrator\Desktop\temp\audio1_ff.ac3 to NeroAAC with 0.50 quality
09:11:22 Unable to determine movie properties , switched to DirectShowSource
09:11:25 Number of Frames: 60626
09:11:25 Framerate: 23.976044
09:11:25 Movie length in Seconds: 2529
09:11:25 Movie Width/Height: 1280/720
09:11:25 Number of Frames: 60626
09:11:25 Framerate: 23.976044
09:11:25 Movie length in Seconds: 2529
09:11:25 Movie Width/Height: 1280/720
09:20:44 Source is declared tff by a margin of 22/30.
09:20:44 Advanced Deinterlace Routines Log
09:20:44 Analyzed 291 sections of five frames
09:20:44 Found Interlace Sections: 0 0.00%
09:20:44 Found Progressive Sections:291 100.00%
09:20:44 Found Telecined Sections: 0 0.00%
09:20:44 Found Zero Mov: 100.00% 291
09:20:44 Found One Mov: 0.00% 0
09:20:44 Found Two Mov: 0.00% 0
09:20:44 Found Three Mov: 0.00% 0
09:20:44 Found Four Mov: 0.00% 0
09:20:44 Found Five Mov: 0.00% 0
09:20:44 The Movie is declared to progressive
09:20:44 Starting X264
09:20:44 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1652 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 4 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions none --threads 8 --aq-mode 2 --aq-strength 0.10 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
09:20:44 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1652 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 4 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 6 --filter -1,-1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i8x8 --threads 8 --aq-mode 2 --aq-strength 0.10 --psy-rd 1.0:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
09:32:54 Finished 1' Pass X264
09:57:42 Only Movie Size: 522166624 bytes
09:57:42 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -add "C:\Users\Administrator\Desktop\temp\audio1.mp4" -fps 23.9760 -new "C:\Users\Administrator\Desktop\temp\[越狱_第二季]_[YYeTs][Prison_Break][S02E05][CN][720P_HDTV][1280X720][XVID]-002_full.mp4"
09:58:42 Final Muxed size: 522820160 bytes
09:58:42 Encoding finished: 00:25:48 elapsed time
09:58:42 -----------------------------------------------------------------------
09:58:42 Script movie.avs
09:58:42
09:58:42 #loadpluginstart
09:58:42
09:58:42 #test1
09:58:42
09:58:42 #importstart
09:58:42
09:58:42 #test2
09:58:42
09:58:42 movie = directshowsource("D:\[越狱.第二季].[YYeTs][Prison.Break][S02E05][CN][720P.HDTV][1280X720][XVID]-002.mkv",fps=23.976044,convertfps=true,audio=false)
09:58:42 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
09:58:42 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
09:58:42 function getOrder(clip c) {
09:58:42 order = GetParity(c) ? 1 : 0
09:58:42 Return order }
09:58:42 #filter1start
09:58:42
09:58:42 #test3
09:58:42
09:58:42 last = movie
09:58:42 crop(0,0,-0,-0)
09:58:42 fixed_aspect = 1.777778
09:58:42 #Aspect_Error = -1.#IO%
09:58:42 #resizestart
09:58:42
09:58:42 #test4
09:58:42
09:58:42 SimpleResize(640,360)
09:58:42 #filter2start
09:58:42
09:58:42 #test5
09:58:42
09:58:42 RemoveGrain(mode=2)
09:58:42 -----------------------------------------------------------------------
09:58:42 Script mkvmaudio.avs
09:58:42
09:58:42 LoadPlugin("C:\AutoMKV098\exe\filter\NicAudio.dll")
09:58:42 LoadPlugin("C:\AutoMKV098\exe\filter\SoundOut.dll")
09:58:42 LoadPlugin("C:\AutoMKV098\exe\BeSweet\BassAudio.dll")
09:58:42 NicAC3Source("C:\Users\Administrator\Desktop\temp\audio1_ff.ac3")
09:58:42 function addvideo(clip c) {
09:58:42 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
09:58:42 Return audiodub(last,c)
09:58:42 }
09:58:42 Normalize()
09:58:42 ConvertAudioTo16bit()
09:58:42 #Applying STEREO downmixing routines
09:58:42 function stereo(clip a)
09:58:42 {
09:58:42 flr = GetChannel(a, 1, 2)
09:58:42 fcc = GetChannel(a, 3)
09:58:42 lfe = GetChannel(a, 4)
09:58:42 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
09:58:42 mix = MergeChannels(lfc, lfc)
09:58:42 lrc = MixAudio(flr, mix, 0.2929, 1.0)
09:58:42 blr = GetChannel(a, 5, 6)
09:58:42 Return MixAudio(lrc, blr, 1.0, 0.2929)
09:58:42 }
09:58:42 #
09:58:42 6==Audiochannels() ? stereo() : last
09:58:42 Soundout(output="cmd",type=1,autoclose=true,executable="C:\AutoMKV098\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.50 -if - -of audio1.mp4",postfilename="",nofilename=true,showoutput=false)
09:58:42 -----------------------------------------------------------------------
09:58:42 Script mkvmaudio.bat
09:58:42
09:58:42 "C:\AutoMKV098\exe\matroska\\VirtualDubMod\VirtualDubMod.exe" "C:\Users\Administrator\Desktop\temp\mkvmaudio.avs" /x
09:58:42
09:58:42 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
9th November 2008, 16:27
just a guess.. i doubt that ffmpeg (as many and more dos program) support chinese character... try with a "simplier" path

BHH

Chengbin
9th November 2008, 17:31
I don't think the Chinese characters are the problem because most of my other episodes work. The only change in their file name is the episode number. Out of 22 episodes, 4 didn't work and required DSS audio.

buzzqw
9th November 2008, 17:47
Chengin.. you have a PM

BHH

Ekin
9th November 2008, 18:48
@Ekin
automkv will respect wth width and size you specified
BUT if you leave width as automatic, automkv will compute the width according to disk size (more size more width, less size less width)

BHH

@buzzqw
I think I know what you're talking about. But what if I have a .vob music videos file about 130 mb. And I want to convert to .mkv using the automatic filesize...my result filesize came out to be bigger than my input .vob. That's when I use 1/4 CD Disk Settings.

I don't want to write my custom filesize because I don't know what would be the best output filesize that is smaller than the input filesize with the best quality comparing to filesize. Is there a way to do that?

Thanks!!

buzzqw
9th November 2008, 20:22
I don't want to write my custom filesize because I don't know what would be the best output filesize that is smaller than the input filesize with the best quality comparing to filesize. Is there a way to do that?

yes, use a Constant Quality profile (CRF) at 20 value

in that way you will have a very good quality ad the "right" (but ignored) file size

BHH

Ekin
10th November 2008, 02:06
yes, use a Constant Quality profile (CRF) at 20 value

in that way you will have a very good quality ad the "right" (but ignored) file size

BHH

Yes, that would do..thanks for the info. But here are a few questions that I have just to clear things up for myself.

1. When you said the profile "Constant Quality" you are NOT talking about the Constant Quality Optimized to achieve what I am trying to do right??

2. Is there a way for me to load the queue without selecting each input file??

3. I noticed that I can click and drag files into the Input File text box. But sometimes when I do that automkv does not scan the file. I did not see DGIndex pops up to scan the file. There were no audio tracks show. What happend??

Thank you!!

buzzqw
10th November 2008, 14:47
1. When you said the profile "Constant Quality" you are NOT talking about the Constant Quality Optimized to achieve what I am trying to do right??

both are valid, just try one or other

Is there a way for me to load the queue without selecting each input file??
no, you must queue every files

3) drag&drop is .. experimental.. and never publicized... so.. don't use it
anyway dgindex is lanched only when mpeg2 file are found (not for avi/mkv...)

BHH

sapsa
12th November 2008, 15:00
could you try using another codec audio ? (lame/aac)

could you please also try with "Copy Original" audio ?

maybe a "codec" bug :confused:

thanks!

BHH

I made one with "copy orginal audio"

Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:15:34
FPS: 127.66
Info:
10:52:05 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:52:05 Selected Input file: D:\#ftp\dragon.MPG
10:52:05 Selected Output dir: D:\#ftp\temp\
10:52:05 Selected Final Name: dragon
10:52:05 Selected Container type: MKV
10:52:05 Selected Encoder: X264
10:52:05 Selected Size: 1/3 DVD-R / 1
10:52:05 Selected Profile: 2_Pass_Anime_Toons.xml
10:52:05 Selected Resizer: SimpleResize (neutral soft) / Automatic
10:52:05 Selected Filters: RemoveGrain(mode=2)
10:52:05 Selected Deinterlacer: AUTO
10:52:05 Selected Field Order: AUTO
10:52:05 Enabled CRF/CQ AutoRes at 20 value
10:52:05 Working by Command Line: queue1.ini
10:52:05 Track Language 1: c0: MPA L2 2ch 48 224
10:52:05 Audio Codec 1: Copy Original
10:52:05 Track Language 2: NONE
10:52:05 Audio Codec 2: Nero AAC
10:52:05
10:52:05 Dgindex CMD: C:\Program Files (x86)\#Video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[D:\#ftp\dragon.MPG] -OF=[D:\#ftp\temp\movie] -exit -minimize
10:53:26 D2V file size: 554832 bytes
10:53:26 Audio 1: movie tc0 l2 2ch 48 224 delay 74ms.mp2
10:53:26 Pre Audio 1' Size: 131750304 bytes
10:53:26 Renamed file movie tc0 l2 2ch 48 224 delay 74ms.mp2 to movie tc0 l2 2ch 48 224 delay 74ms_.mp2
10:53:26 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 74ms_.mp2 131750304 bytes
10:53:30 Number of Frames: 117523
10:53:30 Framerate: 25.000000
10:53:30 Movie length in Seconds: 4701
10:53:30 Movie Width/Height: 720/576
10:53:30 DgIndex AR: 4:3
10:56:03 Source is declared tff by a margin of 41/17.
10:56:03 Advanced Deinterlace Routines Log
10:56:03 Analyzed 705 sections of five frames
10:56:03 Found Interlace Sections: 0 0.00%
10:56:03 Found Progressive Sections:705 100.00%
10:56:03 Found Telecined Sections: 0 0.00%
10:56:03 Found Zero Mov: 100.00% 705
10:56:03 Found One Mov: 0.00% 0
10:56:04 Found Two Mov: 0.00% 0
10:56:04 Found Three Mov: 0.00% 0
10:56:04 Found Four Mov: 0.00% 0
10:56:04 Found Five Mov: 0.00% 0
10:56:04 The Movie is declared to progressive
10:56:04 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1557135360 bytes
10:56:04 CRF encoding X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\resmovie.mp4" "D:\#ftp\temp\resmovie.avs"
11:05:26 Finished Autosize procedure
11:05:26 Tested total movie: 5%
11:05:26 AutoResize movie size: 127878824 bytes
11:05:26 Movie Width suggested: 688 value based on sample size (95.56% of original width)
11:05:26 Starting X264
11:05:26 Command Line 1' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 2642 --stats "D:\#ftp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter 1,1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "D:\#ftp\temp\movie.avs"
11:05:26 Command Line 2' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 2642 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\movie.264" "D:\#ftp\temp\movie.avs"
11:36:20 Finished 1' Pass X264
14:13:16 Only Movie Size: 1552623872 bytes
14:13:16 "C:\Program Files (x86)\#Video\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\#ftp\temp\dragon.mkv" --default-duration 0:25000/1000fps --track-name -1:"dragon" --aspect-ratio -1:1.283582 "D:\#ftp\temp\movie.264" --language -1:und --sync 0:74 --default-track -1:yes "D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms_.mp2" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
14:14:13 Final Muxed size: 1686327552 bytes
14:14:13 Encoding finished: 02:37:53 elapsed time
14:14:13 -----------------------------------------------------------------------
14:14:13 Script AutoCrop.log
14:14:13
14:14:13 Crop(14,0,696,576)
14:14:13 -----------------------------------------------------------------------
14:14:13 Script Resmovie.avs
14:14:13
14:14:13 #loadpluginstart
14:14:13
14:14:13 #test1
14:14:13
14:14:13 #importstart
14:14:13
14:14:13 #test2
14:14:13
14:14:13 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
14:14:13 function getOrder(clip c) {
14:14:13 order = GetParity(c) ? 1 : 0
14:14:13 Return order }
14:14:13 #filter1start
14:14:13
14:14:13 #test3
14:14:13
14:14:13 last=movie.Crop(14,0,696,576)
14:14:13 fixed_aspect = 1.288889
14:14:13 out_width = 688
14:14:13 #Aspect_Error = 0.413%
14:14:13 out_height = 536
14:14:13 #resizestart
14:14:13
14:14:13 #test4
14:14:13
14:14:13 SimpleResize(out_width,out_height)
14:14:13 #filter2start
14:14:13
14:14:13 #test5
14:14:13
14:14:13 RemoveGrain(mode=2)
14:14:13 function Comptest(clip c, float percent)
14:14:13 {
14:14:13 frange=floor(14./(percent/100.))
14:14:13 Return SelectRangeEvery(c, frange, 14)
14:14:13 }
14:14:13 Comptest(last,5)
14:14:13 -----------------------------------------------------------------------
14:14:13 Script movie.avs
14:14:13
14:14:13 #loadpluginstart
14:14:13
14:14:13 #test1
14:14:13
14:14:13 #importstart
14:14:13
14:14:13 #test2
14:14:13
14:14:13 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
14:14:13 function getOrder(clip c) {
14:14:13 order = GetParity(c) ? 1 : 0
14:14:13 Return order }
14:14:13 #filter1start
14:14:13
14:14:13 #test3
14:14:13
14:14:13 last=movie.Crop(14,0,696,576)
14:14:13 fixed_aspect = 1.288889
14:14:13 out_width = 688
14:14:13 #Aspect_Error = 0.413%
14:14:13 out_height = 536
14:14:13 #resizestart
14:14:13
14:14:13 #test4
14:14:13
14:14:13 SimpleResize(out_width,out_height)
14:14:13 #filter2start
14:14:13
14:14:13 #test5
14:14:13
14:14:13 RemoveGrain(mode=2)
14:14:13 -----------------------------------------------------------------------
14:14:13 Script mkvmaudio.avs
14:14:13
14:14:13 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\NicAudio.dll")
14:14:13 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\SoundOut.dll")
14:14:13 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\BeSweet\BassAudio.dll")
14:14:13 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\FFMS2.dll")
14:14:13 NicMPG123Source("D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2")
14:14:13 #Applying STEREO downmixing routines
14:14:13 function stereo(clip a)
14:14:13 {
14:14:13 flr = GetChannel(a, 1, 2)
14:14:13 fcc = GetChannel(a, 3)
14:14:13 lfe = GetChannel(a, 4)
14:14:13 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
14:14:13 mix = MergeChannels(lfc, lfc)
14:14:13 lrc = MixAudio(flr, mix, 0.2929, 1.0)
14:14:13 blr = GetChannel(a, 5, 6)
14:14:13 Return MixAudio(lrc, blr, 1.0, 0.2929)
14:14:13 }
14:14:13 #
14:14:13 6==Audiochannels() ? stereo() : last
14:14:13 function addvideo(clip c) {
14:14:13 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
14:14:13 Return audiodub(last,c)
14:14:13 }
14:14:13 Normalize()
14:14:13
14:14:13
14:14:13 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


Result: audio is still delay
I can say only that diffrent between this movie and others i made is that this one is cartoon ripped from vhs, other was home made videos ripped from vhs.

Any sugestion ?

I tryed MeGUI and I didnt have sound even when i didnt touch anything there like guide told me to.

buzzqw
12th November 2008, 16:52
try this..

in advanced settings check "Use DSS x A"

i haven't clue..you could also try to use the "analyze delay" in dgindex

please report back!

thanks

BHH

sapsa
12th November 2008, 22:36
try this..

in advanced settings check "Use DSS x A"

i haven't clue..you could also try to use the "analyze delay" in dgindex

please report back!

thanks

BHH

Ok, i will try DSS X A + copy orginal audio
Handle Delay is defaul on: DealyAudio in SoundOut? i dont have clue what this can do, there is option: fix in mux ? mayby that will help or not?

I tryed my movie in MeGUI, same results.
What profile i should use? or it dosnt matter?

Mayby its something with FPS ? mayby something is 25+ or other? i dont know its my loud thinking ... i will post results in less than 12 hours

sapsa
13th November 2008, 02:25
Like i promisted:
DSS X A + copy orginal
Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:15:15
FPS: 127.66
Info:
22:36:02 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:36:02 Selected Input file: D:\#ftp\dragon.MPG
22:36:02 Selected Output dir: D:\#ftp\temp\
22:36:02 Selected Final Name: dragon
22:36:02 Selected Container type: MKV
22:36:02 Selected Encoder: X264
22:36:02 Selected Size: 1/3 DVD-R / 1
22:36:02 Selected Profile: 2_Pass_Anime_Toons.xml
22:36:02 Selected Resizer: SimpleResize (neutral soft) / Automatic
22:36:02 Selected Filters: RemoveGrain(mode=2)
22:36:02 Selected Deinterlacer: AUTO
22:36:02 Selected Field Order: AUTO
22:36:02 Enabled CRF/CQ AutoRes at 20 value
22:36:02 Track Language 1: c0: MPA L2 2ch 48 224
22:36:02 Audio Codec 1: Copy Original
22:36:02 Track Language 2: NONE
22:36:02 Audio Codec 2: Nero AAC
22:36:02 Enabled Use DirectShowSource for AUDIO
22:36:02
22:36:02 Dgindex CMD: C:\Program Files (x86)\#Video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[D:\#ftp\dragon.MPG] -OF=[D:\#ftp\temp\movie] -exit -minimize
22:37:36 D2V file size: 554832 bytes
22:37:36 Audio 1: movie tc0 l2 2ch 48 224 delay 74ms.mp2
22:37:36 Pre Audio 1' Size: 131750304 bytes
22:37:36 Renamed file movie tc0 l2 2ch 48 224 delay 74ms.mp2 to movie tc0 l2 2ch 48 224 delay 74ms_.mp2
22:37:36 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 74ms_.mp2 131750304 bytes
22:37:43 Number of Frames: 117523
22:37:43 Framerate: 25.000000
22:37:43 Movie length in Seconds: 4701
22:37:43 Movie Width/Height: 720/576
22:37:43 DgIndex AR: 4:3
22:40:28 Source is declared tff by a margin of 41/17.
22:40:28 Advanced Deinterlace Routines Log
22:40:28 Analyzed 705 sections of five frames
22:40:28 Found Interlace Sections: 0 0.00%
22:40:28 Found Progressive Sections:705 100.00%
22:40:28 Found Telecined Sections: 0 0.00%
22:40:28 Found Zero Mov: 100.00% 705
22:40:28 Found One Mov: 0.00% 0
22:40:28 Found Two Mov: 0.00% 0
22:40:28 Found Three Mov: 0.00% 0
22:40:28 Found Four Mov: 0.00% 0
22:40:28 Found Five Mov: 0.00% 0
22:40:28 The Movie is declared to progressive
22:40:28 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1557135360 bytes
22:40:28 CRF encoding X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\resmovie.mp4" "D:\#ftp\temp\resmovie.avs"
22:51:17 Finished Autosize procedure
22:51:17 Tested total movie: 5%
22:51:17 AutoResize movie size: 127878824 bytes
22:51:17 Movie Width suggested: 688 value based on sample size (95.56% of original width)
22:51:17 Starting X264
22:51:17 Command Line 1' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 2642 --stats "D:\#ftp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter 1,1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output NUL "D:\#ftp\temp\movie.avs"
22:51:17 Command Line 2' Pass X264: C:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 2642 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 16 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 1 --ref 5 --filter 1,1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --b-adapt 1 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0 --sar 1:1 --output "D:\#ftp\temp\movie.264" "D:\#ftp\temp\movie.avs"
23:24:19 Finished 1' Pass X264
02:02:44 Only Movie Size: 1552624768 bytes
02:02:44 "C:\Program Files (x86)\#Video\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\#ftp\temp\dragon.mkv" --default-duration 0:25000/1000fps --track-name -1:"dragon" --aspect-ratio -1:1.283582 "D:\#ftp\temp\movie.264" --language -1:und --sync 0:74 --default-track -1:yes "D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms_.mp2" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
02:03:41 Final Muxed size: 1686328576 bytes
02:03:41 Encoding finished: 02:39:22 elapsed time
02:03:41 -----------------------------------------------------------------------
02:03:41 Script AutoCrop.log
02:03:41
02:03:41 Crop(14,0,696,576)
02:03:41 -----------------------------------------------------------------------
02:03:41 Script Resmovie.avs
02:03:41
02:03:41 #loadpluginstart
02:03:41
02:03:41 #test1
02:03:41
02:03:41 #importstart
02:03:41
02:03:41 #test2
02:03:41
02:03:41 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
02:03:41 function getOrder(clip c) {
02:03:41 order = GetParity(c) ? 1 : 0
02:03:41 Return order }
02:03:41 #filter1start
02:03:41
02:03:41 #test3
02:03:41
02:03:41 last=movie.Crop(14,0,696,576)
02:03:41 fixed_aspect = 1.288889
02:03:41 out_width = 688
02:03:41 #Aspect_Error = 0.413%
02:03:41 out_height = 536
02:03:41 #resizestart
02:03:41
02:03:41 #test4
02:03:41
02:03:41 SimpleResize(out_width,out_height)
02:03:41 #filter2start
02:03:41
02:03:41 #test5
02:03:41
02:03:41 RemoveGrain(mode=2)
02:03:41 function Comptest(clip c, float percent)
02:03:41 {
02:03:41 frange=floor(14./(percent/100.))
02:03:41 Return SelectRangeEvery(c, frange, 14)
02:03:41 }
02:03:41 Comptest(last,5)
02:03:41 -----------------------------------------------------------------------
02:03:41 Script movie.avs
02:03:41
02:03:41 #loadpluginstart
02:03:41
02:03:41 #test1
02:03:41
02:03:41 #importstart
02:03:41
02:03:41 #test2
02:03:41
02:03:41 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
02:03:41 function getOrder(clip c) {
02:03:41 order = GetParity(c) ? 1 : 0
02:03:41 Return order }
02:03:41 #filter1start
02:03:41
02:03:41 #test3
02:03:41
02:03:41 last=movie.Crop(14,0,696,576)
02:03:41 fixed_aspect = 1.288889
02:03:41 out_width = 688
02:03:41 #Aspect_Error = 0.413%
02:03:41 out_height = 536
02:03:41 #resizestart
02:03:41
02:03:41 #test4
02:03:41
02:03:41 SimpleResize(out_width,out_height)
02:03:41 #filter2start
02:03:41
02:03:41 #test5
02:03:41
02:03:41 RemoveGrain(mode=2)
02:03:41 -----------------------------------------------------------------------
02:03:41 Script mkvmaudio.avs
02:03:41
02:03:41 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\NicAudio.dll")
02:03:41 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\SoundOut.dll")
02:03:41 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\BeSweet\BassAudio.dll")
02:03:41 LoadPlugin("C:\Program Files (x86)\#Video\AutoMKV\exe\filter\FFMS2.dll")
02:03:41 DirectShowSource("D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2")
02:03:41 #Applying STEREO downmixing routines
02:03:41 function stereo(clip a)
02:03:41 {
02:03:41 flr = GetChannel(a, 1, 2)
02:03:41 fcc = GetChannel(a, 3)
02:03:41 lfe = GetChannel(a, 4)
02:03:41 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
02:03:41 mix = MergeChannels(lfc, lfc)
02:03:41 lrc = MixAudio(flr, mix, 0.2929, 1.0)
02:03:41 blr = GetChannel(a, 5, 6)
02:03:41 Return MixAudio(lrc, blr, 1.0, 0.2929)
02:03:41 }
02:03:41 #
02:03:41 6==Audiochannels() ? stereo() : last
02:03:41 function addvideo(clip c) {
02:03:41 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
02:03:41 Return audiodub(last,c)
02:03:41 }
02:03:41 Normalize()
02:03:41
02:03:41
02:03:41 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


And the bad news is, same delay as always...
mayby i can try othere program to encode my video ? i dont know whats wrong..
(hope you will read my early post with some ideas on page 24)

buzzqw
13th November 2008, 08:35
Handle Delay is defaul on: DealyAudio in SoundOut? i dont have clue what this can do, there is option: fix in mux ? mayby that will help or not?

using directshow source for audio will not check how delay is handled (it's dss that take care of it)

BHH

sapsa
13th November 2008, 17:47
Any new idea what can i do with this delays/desynch ?

buzzqw
13th November 2008, 20:31
so you got delay even with direct show source ?

also.. try playing the source file with media player classic or vlc.. is the dalay present or not ?

BHH

sapsa
14th November 2008, 01:15
Source dont have delay (vlc, mpc)
Im beginner in this video-audio encoding stuff so i only know what i did try, and post log about it before.
How can I check is there delay when direct show source?

edit: DSS X A - still delay
So im thinking you are talking about DSS X a/v? or Dss x v?

Ekin
14th November 2008, 16:16
Does anybody has this problem on Vista Ultimate?

I input a .vob file to convert to .mkv. Everytime I click the Start Encode, automkv opens another window of automkv and start encoding with the log showing. The first window that I open to input my file has no log. And after all the processes completes, the second automkv window closes. I am using the latest version 0.98

I test with the same input file on automkv 0.95. It works fine, no second automkv window opens. Why??

Thanks

buzzqw
14th November 2008, 16:19
@sapsa
i mean "dss x A"
last hope is to try "dss x a/v" ... maybe there is some problem in video.. and not audio

try with dss x a/v, will be the last try, sorry

@Ekin

this behavior is normal if you use queue

BHH

paolo1983
16th November 2008, 14:07
1) I've done 4 encoding with settings of 1/4 DVD , and the resulting 4 files are 72MB exceeding DVD size (Imgburn latest, Verbatim DVD+R, Samsung SH-S203P, XP sp3 )
Maybe those settings should be a bit more conservative?
Or there is a problem with MY encodings??

2) In a DVD source I have 3 audio: AC3 English numbered 0x80 , AC3 Italian numbered 0x83 , DTS Italian numbered 0x89...
Automkv 0.98.1 displays them "not in order" in the audio list, 80 then 89 then 83...

buzzqw
16th November 2008, 15:56
posting log could help...

BHH

paolo1983
17th November 2008, 19:17
Sorry I don't have that log anymore :-(

However, just want to be sure of this:
1) In your experience, 4 files done with 1/4 DVD settings always fit really on a dvd?

2) About audio listing, not a big problem, just curious about why tracks are not listed "in order"

Next time I'll keep the log...

sapsa
17th November 2008, 21:51
Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x576
Display Size: 720x576
Aspect Ratio: 4:3 [2]
Frame Rate: 25.000000 fps
Video Type: PAL
Frame Type: Progressive
Coding Type: P
Colorimetry: BT.470-2 B,G
Frame Structure: Frame
Field Order: Top
Coded Number: 99
Playback Number: 99
Frame Repeats: 0
Field Repeats: 0
VOB ID:
Cell ID:
Bitrate: 8.198 Mbps
Bitrate (Avg): 8.196 Mbps
Bitrate (Max): 8.198 Mbps
Audio Stream: c0: MPA L2 2ch 48 224
Timestamp: 0:00:04
Elapsed: 0:00:00
Remain: 0:16:15
FPS: 127.66
Info:
15:32:46 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:32:46 Selected Input file: D:\#ftp\dragon.MPG
15:32:46 Selected Output dir: D:\#ftp\temp\
15:32:46 Selected Final Name: dragon
15:32:46 Selected Container type: MKV
15:32:46 Selected Encoder: X264
15:32:46 Selected Size: 1/3 DVD-R / 1
15:32:46 Selected Profile: 2_Pass_Balanced.xml
15:32:46 Selected Resizer: SimpleResize (neutral soft) / Automatic
15:32:46 Selected Filters: RemoveGrain(mode=2)
15:32:46 Selected Deinterlacer: AUTO
15:32:46 Selected Field Order: AUTO
15:32:46 Enabled CRF/CQ AutoRes at 20 value
15:32:46 Working by Command Line: queue1.ini
15:32:46 Track Language 1: c0: MPA L2 2ch 48 224
15:32:46 Audio Codec 1: Nero AAC
15:32:46 Audio Quality 1: 0.35
15:32:46 Audio Channel 1: Stereo
15:32:46 Track Language 2: NONE
15:32:46 Audio Codec 2: Nero AAC
15:32:46 Enabled Use DirectShowSource for AUDIO
15:32:46 Advanced Audio Settings DUMP Track 1
15:32:46 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:32:46 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:32:46 Lame Settings: ABR
15:32:46 Audio Normalization: 1
15:32:46 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
15:32:46
15:32:46 Dgindex CMD: c:\Program Files (x86)\#Video\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[D:\#ftp\dragon.MPG] -OF=[D:\#ftp\temp\movie] -exit -minimize
15:37:23 D2V file size: 554832 bytes
15:37:23 Audio 1: movie tc0 l2 2ch 48 224 delay 74ms.mp2
15:37:23 Pre Audio 1' Size: 131750304 bytes
15:37:23 Applying DelayAudio of 74 to audio file: movie tc0 l2 2ch 48 224 delay 74ms.mp2
15:37:23 Encoding D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2 to NeroAAC with 0.35 quality
15:40:30 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 74ms.mp4 72034216 bytes
15:40:34 Number of Frames: 117523
15:40:34 Framerate: 25.000000
15:40:34 Movie length in Seconds: 4701
15:40:34 Movie Width/Height: 720/576
15:40:34 DgIndex AR: 4:3
15:43:10 Source is declared tff by a margin of 41/17.
15:43:10 Advanced Deinterlace Routines Log
15:43:10 Analyzed 705 sections of five frames
15:43:10 Found Interlace Sections: 0 0.00%
15:43:10 Found Progressive Sections:705 100.00%
15:43:10 Found Telecined Sections: 0 0.00%
15:43:10 Found Zero Mov: 100.00% 705
15:43:10 Found One Mov: 0.00% 0
15:43:10 Found Two Mov: 0.00% 0
15:43:10 Found Three Mov: 0.00% 0
15:43:10 Found Four Mov: 0.00% 0
15:43:10 Found Five Mov: 0.00% 0
15:43:10 The Movie is declared to progressive
15:43:10 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1557135360 bytes
15:43:11 CRF encoding X264: c:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 20 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --sar 1:1 --output "D:\#ftp\temp\resmovie.mp4" "D:\#ftp\temp\resmovie.avs"
15:50:49 Finished Autosize procedure
15:50:49 Tested total movie: 5%
15:50:49 AutoResize movie size: 86286952 bytes
15:50:49 Movie Width suggested: 976 value based on sample size (135.56% of original width)
15:50:49 Starting X264
15:50:49 Command Line 1' Pass X264: c:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 2520 --stats "D:\#ftp\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "D:\#ftp\temp\movie.avs"
15:50:49 Command Line 2' Pass X264: c:\Program Files (x86)\#Video\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 2520 --stats "D:\#ftp\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0 --sar 1:1 --output "D:\#ftp\temp\movie.264" "D:\#ftp\temp\movie.avs"
16:33:24 Finished 1' Pass X264
18:49:03 Only Movie Size: 1480672768 bytes
18:49:03 "c:\Program Files (x86)\#Video\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\#ftp\temp\dragon.mkv" --default-duration 0:25000/1000fps --track-name -1:"dragon" --aspect-ratio -1:1.294118 "D:\#ftp\temp\movie.264" --language -1:und --default-track -1:yes "D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp4" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
18:50:03 Final Muxed size: 1554006144 bytes
18:50:03 Encoding finished: 02:16:39 elapsed time
18:50:03 -----------------------------------------------------------------------
18:50:03 Script AutoCrop.log
18:50:03
18:50:03 Crop(14,0,696,576)
18:50:03 -----------------------------------------------------------------------
18:50:03 Script Resmovie.avs
18:50:03
18:50:03 #loadpluginstart
18:50:03
18:50:03 #test1
18:50:03
18:50:03 #importstart
18:50:03
18:50:03 #test2
18:50:03
18:50:03 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
18:50:03 function getOrder(clip c) {
18:50:03 order = GetParity(c) ? 1 : 0
18:50:03 Return order }
18:50:03 #filter1start
18:50:03
18:50:03 #test3
18:50:03
18:50:03 last=movie.Crop(14,0,696,576)
18:50:03 fixed_aspect = 1.288889
18:50:03 out_width = 688
18:50:03 #Aspect_Error = 0.413%
18:50:03 out_height = 536
18:50:03 #resizestart
18:50:03
18:50:03 #test4
18:50:03
18:50:03 SimpleResize(out_width,out_height)
18:50:03 #filter2start
18:50:03
18:50:03 #test5
18:50:03
18:50:03 RemoveGrain(mode=2)
18:50:03 function Comptest(clip c, float percent)
18:50:03 {
18:50:03 frange=floor(14./(percent/100.))
18:50:03 Return SelectRangeEvery(c, frange, 14)
18:50:03 }
18:50:03 Comptest(last,5)
18:50:03 -----------------------------------------------------------------------
18:50:03 Script movie.avs
18:50:03
18:50:03 #loadpluginstart
18:50:03
18:50:03 #test1
18:50:03
18:50:03 #importstart
18:50:03
18:50:03 #test2
18:50:03
18:50:03 movie = mpeg2source("D:\#ftp\temp\movie.d2v")
18:50:03 function getOrder(clip c) {
18:50:03 order = GetParity(c) ? 1 : 0
18:50:03 Return order }
18:50:03 #filter1start
18:50:03
18:50:03 #test3
18:50:03
18:50:03 last=movie.Crop(14,0,696,576)
18:50:03 fixed_aspect = 1.288889
18:50:03 out_width = 704
18:50:03 #Aspect_Error = -0.404%
18:50:03 out_height = 544
18:50:03 #resizestart
18:50:03
18:50:03 #test4
18:50:03
18:50:03 SimpleResize(out_width,out_height)
18:50:03 #filter2start
18:50:03
18:50:03 #test5
18:50:03
18:50:03 RemoveGrain(mode=2)
18:50:03 -----------------------------------------------------------------------
18:50:03 Script mkvmaudio.avs
18:50:03
18:50:03 LoadPlugin("c:\Program Files (x86)\#Video\AutoMKV\exe\filter\NicAudio.dll")
18:50:03 LoadPlugin("c:\Program Files (x86)\#Video\AutoMKV\exe\filter\SoundOut.dll")
18:50:03 LoadPlugin("c:\Program Files (x86)\#Video\AutoMKV\exe\BeSweet\BassAudio.dll")
18:50:03 LoadPlugin("c:\Program Files (x86)\#Video\AutoMKV\exe\filter\FFMS2.dll")
18:50:03 DirectShowSource("D:\#ftp\temp\movie tc0 l2 2ch 48 224 delay 74ms.mp2")
18:50:03 DelayAudio(0.0740)
18:50:03 #Applying STEREO downmixing routines
18:50:03 function stereo(clip a)
18:50:03 {
18:50:03 flr = GetChannel(a, 1, 2)
18:50:03 fcc = GetChannel(a, 3)
18:50:03 lfe = GetChannel(a, 4)
18:50:03 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
18:50:03 mix = MergeChannels(lfc, lfc)
18:50:03 lrc = MixAudio(flr, mix, 0.2929, 1.0)
18:50:03 blr = GetChannel(a, 5, 6)
18:50:03 Return MixAudio(lrc, blr, 1.0, 0.2929)
18:50:03 }
18:50:03 #
18:50:03 6==Audiochannels() ? stereo() : last
18:50:03 function addvideo(clip c) {
18:50:03 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
18:50:03 Return audiodub(last,c)
18:50:03 }
18:50:03 Normalize()
18:50:03
18:50:03 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="c:\Program Files (x86)\#Video\AutoMKV\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
18:50:03
18:50:03 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


failed once again... i just dont know what i need to do... this is frustrating.

Mdoodm1000
18th November 2008, 02:24
Okay, so I just downloaded AutoMKV, and I really like the program. I am having a few problems, though. I am having trouble creating a profile with the following settings.

Video - resolution: 320x240 bit rate: 350kbps frame rate: 29.97 codec: Windows Media Video 9
Audio - bit rate: 64kbps frequency: 44100kHz mode: stereo (A/V) 1-pass constant bit rate. codec: Windows Media Audio 9.2

If someone could guide me through the process of creating this profile, or create me one, that would be greatly appreciated.

Random007
19th November 2008, 02:14
May be known minor buglet but...

After either queuing or converting a DVD (.IFO file) then opening another file for conversion (of any type, eg AVI or MPEG) , the 'Select PGC' selection box persists and shows the time(s) for the previous DVD conversion, which, of course, isn't relevant to the file being converted.

Ekin
20th November 2008, 05:04
I have a quick question...

If my setting in automkv I select normalize audio. Does it matter if my ffdshow audio setting set as normalize or not??

Thanks!!

survivant001
21st November 2008, 17:23
@buzzqw

with 098.1 when I click SAVE settings, the resize filters are not saved. I choose NONE and it always return to SimpleResize

LigH
23rd November 2008, 15:06
Is it a known issue to you that VirtualDubMod "stalls" while calling the final multiplexing step under Vista (reported for 32b Busi and 64b Ulti), when the energy saving kicks in, until you stop the screensaver (e.g. by pushing the mouse a little) -- even if it only powers down the monitor, nothing else?

Thread in the german doom9/Gleitz board (http://forum.gleitz.info/showthread.php?t=38829)

Chengbin
23rd November 2008, 20:11
So there is no way to fix the DTS audio issue? It takes about 1 hour to extract (45-50 minute used to extract it) and encode a DTS audio compared to 10-15 minutes with AC3 audio for a movie.

buzzqw
24th November 2008, 08:35
@Mdoodm1000

i can suggest to create your profile using wm tools. Sorry but support for wmv encoding in automkv is a no go (due to limit of MS encoder)

@Random007
... i'll check, thanks

@Ekin
automkv will normalize at encoding time.. ffdshow will "renormalize" (so with very little difference) at playing..
i suggest to leave both on (encoding and playing)

@survivant001
argh... i hate these errors... maybe some options are overlapping others...

@LigH

sorry pal.. never ear of this

@Chengbin
.. try disabling normalizing

BHH

mikeathome
26th November 2008, 03:09
Bugreport:

Please see X264 cmdline:

(...) --aq-mode --aq-strength (...)

w/o parameter, x264 does not like this and aborts. Need to put a zero for disabled aq-mode.

thx
mike

19:33:21 0.98.1 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:33:21 OS Version: Windows XP
19:33:21 Selected Input file: D:\DVD\UNITS1E8\VIDEO_TS\VTS_01_1.vob
19:33:21 Selected Output dir: H:\capture\temp\
19:33:21 Selected Final Name: UNITS1E8
19:33:21 Selected Container type: MKV
19:33:21 Selected Encoder: X264
19:33:21 Selected Size: 1/2 CD / 1
19:33:21 Selected Profile: Archos605.xml
19:33:21 Selected Resizer: LanczosResize / AutoCrop Only
19:33:21 Selected Filters: RemoveGrain(mode=2)
19:33:21 Selected Deinterlacer: AUTO
19:33:21 Selected Field Order: AUTO
19:33:21 Activate PGC Ripping: 1
19:33:21 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
19:33:21 Audio Codec 1: Nero AAC
19:33:21 Audio Quality 1: 0.35
19:33:21 Audio Channel 1: Stereo
19:33:21 Track Language 2: NONE
19:33:21 Audio Codec 2: Nero AAC
19:33:21 Advanced Audio Settings DUMP Track 1
19:33:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:33:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:33:21 Lame Settings: ABR
19:33:21 Audio Normalization: 1
19:33:21 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
19:33:21 Selected 1' Sub tracks: English 0 (0xBD 0x20) [0] wide
19:33:21
19:33:21 Starting SubRipping
19:34:26 para.lst file:
19:34:26 D:\DVD\UNITS1E8\VIDEO_TS\VTS_01_0.IFO
19:34:26 H:\capture\temp\VTS
19:34:26 1
19:34:26 1
19:34:26 0 cc
19:34:26 CLOSE
19:34:26 Subtitle Size: 1933312 bytes
19:34:26 Finished SubRipping
19:34:26 Activate PGC processing: PGC 1 [0:44:19:20]
19:34:26 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[D:\DVD\UNITS1E8
\VIDEO_TS\VTS_01_1.vob] -OF=[H:\capture\temp\movie] -exit -minimize
19:35:33 D2V file size: 341994 bytes
19:35:33 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
19:35:33 Pre Audio 1' Size: 149063936 bytes
19:35:33 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
19:35:33 Encoding H:\capture\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with 0.35 quality
19:42:29 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 32373148 bytes
19:42:30 D2V Film Detected: 100.000000% FILM found
19:42:34 Number of Frames: 79776
19:42:34 Framerate: 29.970030
19:42:34 Movie length in Seconds: 2662
19:42:34 Movie Width/Height: 720/480
19:42:34 DgIndex AR: 16:9
19:44:43 Source is declared tff by a margin of 61/0.
19:44:43 Advanced Deinterlace Routines Log
19:44:43 Analyzed 369 sections of five frames
19:44:43 Found Interlace Sections: 18 4.88%
19:44:43 Found Progressive Sections:4 1.08%
19:44:43 Found Telecined Sections: 347 94.04%
19:44:43 Found Zero Mov: 1.08% 4
19:44:43 Found One Mov: 4.34% 16
19:44:43 Found Two Mov: 94.04% 347
19:44:43 Found Three Mov: 0.54% 2
19:44:43 Found Four Mov: 0.00% 0
19:44:43 Found Five Mov: 0.00% 0
19:44:43 The Movie is declared to telecined
19:44:43 Starting X264
19:44:43 Command Line 1' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 996 --stats "H:\capture
\temp\.stats" --ref 1 --progress --keyint 250 --bframes 0 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 2 --direct none --vbv-
maxrate 5000 --me dia --pre-scenecut --level 3.0 --no-cabac --b-adapt 1 --partitions none --threads auto --thread-input --aq-mode
--aq-strength --sar 1:1 --output NUL "H:\capture\temp\movie.avs"
19:44:44 Command Line 2' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 996 --stats "H:\capture
\temp\.stats" --progress --keyint 250 --bframes 0 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --ref 1 --filter 0,0 --direct none --vbv-
maxrate 5000 --me umh --pre-scenecut --level 3.0 --no-cabac --b-adapt 1 --partitions p8x8,b8x8,i4x4,i8x8 --threads auto --thread-input
--aq-mode --aq-strength --sar 1:1 --output "H:\capture\temp\movie.264" "H:\capture\temp\movie.avs"
19:44:44 Finished 1' Pass X264
19:44:44 "C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "H:\capture\temp\UNITS1E8.mkv" --default-duration 0:24000/1001fps
--track-name -1:"UNITS1E8" --aspect-ratio -1:1.764706 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "H:\capture
\temp\movie.264" --language -1:eng --default-track -1:yes "H:\capture\temp\movie t80 3_2ch 448kbps delay 0ms.mp4" "H:\capture
\temp\UNITS1E8.idx" --title "Done with AutoMKV 0.98.1 http://forum.doom9.org/showthread.php?t=140178 "
19:44:44 Final Muxed size: -1 bytes
19:44:44 Encoding finished: 00:00:00 elapsed time
19:44:44 -----------------------------------------------------------------------
19:44:44 Script AutoCrop.log
19:44:44
19:44:44 Crop(0,0,720,480)
19:44:44 -----------------------------------------------------------------------
19:44:44 Script movie.avs
19:44:44
19:44:44 #loadpluginstart
19:44:44
19:44:44 #test1
19:44:44
19:44:44 #importstart
19:44:45
19:44:45 #test2
19:44:45
19:44:45 movie = mpeg2source("H:\capture\temp\movie.d2v")
19:44:45 function getOrder(clip c) {
19:44:45 order = GetParity(c) ? 1 : 0
19:44:45 Return order }
19:44:45 #filter1start
19:44:45
19:44:45 #test3
19:44:45
19:44:45 movie = tfm(movie,d2v="H:\capture\temp\movie.d2v").tdecimate()
19:44:45 last=movie.Crop(0,0,720,480)
19:44:45 fixed_aspect = 1.777778
19:44:45 out_width = 720
19:44:45 #Aspect_Error = 0.741%
19:44:45 out_height = 408
19:44:45 #resizestart
19:44:45
19:44:45 #test4
19:44:45
19:44:45 LanczosResize(out_width,out_height)
19:44:45 #filter2start
19:44:45
19:44:45 #test5
19:44:45
19:44:45 RemoveGrain(mode=2)
19:44:45 -----------------------------------------------------------------------
19:44:45 Script mkvmaudio.avs
19:44:45
19:44:45 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
19:44:45 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
19:44:45 LoadPlugin("C:\Program Files\AutoMKV\exe\BeSweet\BassAudio.dll")
19:44:45 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFMS2.dll")
19:44:45 NicAC3Source("H:\capture\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
19:44:45 DelayAudio(0.0000)
19:44:45 #Applying STEREO downmixing routines
19:44:45 function stereo(clip a)
19:44:45 {
19:44:45 flr = GetChannel(a, 1, 2)
19:44:45 fcc = GetChannel(a, 3)
19:44:45 lfe = GetChannel(a, 4)
19:44:45 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
19:44:45 mix = MergeChannels(lfc, lfc)
19:44:45 lrc = MixAudio(flr, mix, 0.2929, 1.0)
19:44:45 blr = GetChannel(a, 5, 6)
19:44:45 Return MixAudio(lrc, blr, 1.0, 0.2929)
19:44:45 }
19:44:45 #
19:44:45 6==Audiochannels() ? stereo() : last
19:44:45 function addvideo(clip c) {
19:44:45 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
19:44:45 Return audiodub(last,c)
19:44:45 }
19:44:45 Normalize()
19:44:45
19:44:45 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\Program Files\AutoMKV\exe\besweet
\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
19:44:45
19:44:45 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
26th November 2008, 08:35
@mikeathome

thanks, it is a problem in profile.
Will be fixed in next update.

in meantime you can open the Archos605.xml and add
<aq-mode>1</aq-mode>
<aq-strength>1</aq-strength>
at end of file

BHH