View Full Version : Problem encoding Blu ray videos
Chengbin
10th November 2008, 00:37
I'm trying to encode a part of Cars from Bluray into a smaller file. I tried using AutoMKV and MeGUI, and both could not encode it. I figured that it is x264 that crapped out. I'm encoding it at 1920x1080, two pass, 4 bframes, and 16 ref frames (AutoMKV's insane profile). Every time x264 would crap out at the middle of the encoding, shutting down by itself. For some reason it encodes with CRF encoding. What is wrong?
BTW, how does CRF encoding compare to 2 pass encoding?
linyx
10th November 2008, 02:27
BTW, how does CRF encoding compare to 2 pass encoding?
I have very limited knowledge on x264 encoding so maybe Dark Shikari will explain it better, but AFAIK 2 pass is more for hitting an exact size while CRF is a "constant rate flow" where it will try to keep the quality the same through the movie. CRF is by far my favorite encoding method for quality.
Ajax_Undone
10th November 2008, 02:56
BTW, how does CRF encoding compare to 2 pass encoding?
Apples and Oranges Bro... 2 pass is 2 pass CRF is CRF...
2 pass is good if you want a set bitrate CRF is good if you want Consistent quality...
Chengbin
10th November 2008, 03:08
What if I want maximum quality, which one should I use?
RunningSkittle
10th November 2008, 03:19
use CRF, unless you are trying to hit a certain target size.
Sharktooth
11th November 2008, 03:28
but actually, CRF doesnt ensure VBV compliancy.
so if you're concerned about blu-ray playback, then use 2 passes.
your crash could be either due to a system instability or a borked build.
Chengbin
11th November 2008, 13:26
I turned on virtual memory on top of my 3GB RAM to make sure I had enough RAM. I have a Q6600 doing this.
pelle412
11th November 2008, 18:02
The two most likely causes for aborted encodes with x264 would be AviSynth or system instability. I've never had x264 stop encoding in the middle before.
Post your avisynth script. Is your system overclocked? Check your RAM with memtest86 or prime95 (multithreaded) for a few hours. I used to have 2 sticks of Crucial Ballistix and they created alot of problems for me before I figured out it was the RAM.
Chengbin
11th November 2008, 22:22
My system is not overclocked (I can't). I'm pretty sure it is stable because I've run Prime95 before.
This is my avs script
LoadPlugin("C:\AutoMKV098\exe\filter\AddGrain.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\autocrop.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("C:\AutoMKV098\exe\filter\blockbuster.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\cnr2.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\Convolution3D.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\corrector.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\DctFilter.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\Decomb.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\Deen.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\degrainmedian.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\DGAVCDecode.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\DGDecode.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\DirectShowSource.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\EEDI2.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\FFMS2.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\FFT3DFilter.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\frfun7.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\gradfun2db.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\hqdn3d.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\MaskTools.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\medianblur.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\MipSmooth.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\MSharpen.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\mt_masktools-25.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\mvtools.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\NicAudio.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\RemoveDirtS.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\RemoveGrainS.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\RepairS.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\SangNom.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\SimpleResize.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\SoundOut.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TBilateral.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TCPDeliver.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TDeint.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TIVTC.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\UnDot.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\UnFilter.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\VSFilter.dll")
LoadPlugin("C:\AutoMKV098\exe\filter\warpsharp.dll")
#loadpluginstart
#test1
Import("C:\AutoMKV098\exe\filter\BlindDeHalo3_mt2.avsi")
Import("C:\AutoMKV098\exe\filter\colors_rgb.avsi")
Import("C:\AutoMKV098\exe\filter\Deblock_QED_MT2.avsi")
Import("C:\AutoMKV098\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
Import("C:\AutoMKV098\exe\filter\HybridFuPP.avsi")
Import("C:\AutoMKV098\exe\filter\LanczosPlus.avsi")
Import("C:\AutoMKV098\exe\filter\Lem.avsi")
Import("C:\AutoMKV098\exe\filter\LimitedSharpenFaster.avsi")
Import("C:\AutoMKV098\exe\filter\MCBob_v03c.avsi")
Import("C:\AutoMKV098\exe\filter\MCTemporalDenoise.v1.0beta4.avsi")
Import("C:\AutoMKV098\exe\filter\mvbob.avsi")
Import("C:\AutoMKV098\exe\filter\QMlib.avsi")
Import("C:\AutoMKV098\exe\filter\seesaw.avsi")
Import("C:\AutoMKV098\exe\filter\spresso.avsi")
#importstart
#test2
movie = AVCSource("C:\temp\movie.dga")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
last = movie
fixed_aspect = 2.400000
out_width = Original
#Aspect_Error = -1.#IO%
#resizestart
#test4
SimpleResize(out_width,out_height)
#filter2start
#test5
Undot()
Sharktooth
12th November 2008, 01:18
clean up your avisynth script. keep only the needed filters (undot and dgavcdecode) and delete the unneded function (getOrder)
rack04
12th November 2008, 04:45
You're script doesn't make sense. Try this one:
LoadPlugin("C:\AutoMKV098\exe\filter\DGAVCDecode.dll")
AVCSource("C:\temp\movie.dga")
undot()
Chengbin
13th November 2008, 03:50
You're script doesn't make sense. Try this one:
LoadPlugin("C:\AutoMKV098\exe\filter\DGAVCDecode.dll")
AVCSource("C:\temp\movie.dga")
undot()
This is the script created by AutoMKV. I'll try later, but thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.