2009-02-04, 17:48 | Link #802 |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
No, reread my previous post. If the two videos are encoded with different settings, you can either reencode both or you can find out (using one of several easily available analysis tools) what settings one of them was encoded with, and reencode the other to match the first one's settings.
__________________
|
2009-02-05, 09:22 | Link #807 | |
Senior Member
Join Date: Jun 2007
|
Quote:
Spoiler for intended target:
This is from one of my own encodes Spoiler for my encode:
By poking around the x264 configurator, I was able to change most of the settings that were different between the two. Except for these few: Spoiler for differences:
But even after adjusting the settings, I still get the warning that the private data lengths is different at 37 and 170. Am I even looking at the right place in the files for information? If not, how else can I find it? |
|
2009-02-05, 10:13 | Link #808 |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Yes, those are the settings you're looking for. You're pretty much always going to get the warning though, the question is if it plays back correctly or not. You don't need to worry about the VBV settings, those are encoder-side only and do not affect decoding.
As for the other ones: decimate=0 means --no-dct-decimate is enabled ("Disables coefficient thresholding on P-frames"). b_adapt is adaptive b-frames decision mode. You get "pre" after scenecut if you use more than one encoding thread, but it's an encoder-side only setting too so you don't need to worry about that either.
__________________
|
2009-02-06, 05:51 | Link #812 |
Senior Member
Join Date: Jun 2007
|
I haven't gotten around to looking for the CQM with avinaptic yet. So, I just add "sps-id 1" to the custom command line?
Another thing, how do I input a custom quantization matrix into the x264 encoder? That option seems to be disabled there. |
2009-02-06, 23:32 | Link #814 |
Junior Member
Join Date: Feb 2009
|
x264 and tesa, and some other stuff
Hi guys. I've been lurking a lot over here, but today a question arised, so I decided to give it a try and register to ask it.
I've been wondering if tesa is really worth the lot of time it requires to encode. I haven't even tried exhaustive -me for like a year. Also, I have some questions about megui and the min/max quantizers description. It says that these are disregarded when encoding in CRF or QP mode. But it turns out that letting them at defaults (10/51) made x264 output a CRF 18 encode at 170 mbs, it looked really crappy. Then I've set max quantizer to 18, and now that made x264 output a 206 mbs file that looked much better. Now, my question about it is: Is the description in MeGUI about these quantizers wrong, or I AM the one doing something really wrong? My source is Shikabane Hime AKA DVD 01, my script (after IVTCing with AnimeIVTC) is: Code:
Import("C:\yatta_6-129\PLUGINS\FastLineDarken.avs") function Preset0(clip c) { #Name: Filtering 1 c dfttest(sigma=0.2).toon(0.2).addborders(2,2,2,2).awarpsharp(4,1,0.5,1).crop(2,2,-2,-2).gradfun2dbmod(thr=1.1,mode=2,chroma=false,str=0,temp=50,adapt=64,mask=true,radius=3,range=3,show=false) crop(4,2,-4,-0).spline16resize(704,480) return last } function Preset1(clip c) { #Name: Filtering 2 (heavy grain parts) c toon(0.2).addborders(2,2,2,2).awarpsharp(4,1,0.5,1).crop(2,2,-2,-2)#.gradfun2dbmod(thr=1.1,mode=2,chroma=false,str=0,temp=50,adapt=64,mask=true,radius=3,range=3,show=false) crop(4,2,-4,-0).spline16resize(704,480) return last } DSS2("lossless.mp4") PresetClip0=Preset0() PresetClip1=Preset1() PresetClip0.Trim(0,29338)+PresetClip1.Trim(29339,29369)+PresetClip0.Trim(29370,34065) #Trim(2165,33691) #trim(33692,34065) These are my x264 settings (copied from MeGUI's command window): Code:
program --crf 18 --ref 16 --mixed-refs --no-fast-pskip --bframes 4 --b-adapt 2 --b-pyramid --deblock -1:-1 --subme 9 --trellis 2 --partitions all --8x8dct --qpmax 18 --me umh --merange 32 --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "output" "input" Help with improving settings to visibly improve output's image would be very appreciated I don't know what else to tweak. Maybe adding more b-frames? Bye TGBatman |
2009-02-07, 04:02 | Link #815 | |||
x264 Developer
Join Date: Feb 2008
|
Quote:
Quote:
Quote:
Why would you need VBV? And 3-pass is totally pointless. |
|||
2009-02-07, 04:40 | Link #816 |
Junior Member
Join Date: Feb 2009
|
Thanks for the suggestions Dark Shikari . Would 1:1 be a good deblocking setting? Or more would be safe without killing detail? That's my fear when using deblocking, detail killing.
And yeah, I want to keep the dithering caused by gradfun2dbmod. Bye TGBatman |
2009-02-08, 06:09 | Link #820 |
Part 8
IT Support
|
gradfun2db plus:
Code:
# Border processing fix for GrandFun by MugFunky and Alain2 # Edit by Soulhunter: Changed strength from int -> float Function GradFunkMirror( clip c, float "strength" ) { strength = default( strength, 1.2 ) w = c.width() h = c.height() vflip = c.FlipVertical() hflip = c.FlipHorizontal() stackhorizontal( hflip.crop( w-16, 0, 16, h ).addborders( 0, 16, 0, 16 ), \ stackvertical( vflip.crop( 0, h-16, w, 16 ), c, vflip.crop( 0, 0, w, 16 ) ), \ hflip.crop( 0, 0, 16, h ).addborders( 0, 16, 0, 16 ) ) gradfun2db( strength ) crop( 16, 16, -16, -16 ) Return last } |
|
|