Log in

View Full Version : [x264]Good video profile to encode .avi from Fraps ?


Eno / Omni
23rd January 2007, 17:37
Hello guys, i'm looking for a good video profile to encode my .avi from Fraps into x264 ( using Megui ) ?
Do you know anyone good profiles to encode from capture's game ?

I use this :
--pass 2 --bitrate 2000 --stats ".stats" --ref 10 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 2 --analyse all --8x8dct --vbv-maxrate 2500 --me umh --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "C:\xxxx.mp4" "C:\xxxx.avs"

Sharktooth
24th January 2007, 04:55
--vbv-maxrate 2500 is useless... remove it.
you may also want to remove --no-dct-decimate and rise the bitrate (depending on resolution) or use a single pass CRF mode.
you can play a bit with the deazone settings (not yet supported by megui but you can add them in the custom commandline textbox) lowering the defaults a bit to retain more fine details at higher bitrates.
--deadzone-inter <int> Set the size of the inter luma quantization deadzone [21]
--deadzone-intra <int> Set the size of the intra luma quantization deadzone [11]
The numbers inside the brackets are the codec defaults.

Eno / Omni
24th January 2007, 11:52
I don't know on things, i use this script into Megui :
BilinearResize(800,500)
ConvertToYV12()
Native resolution of my movie is 1280x720 and next encoding ( 800x500 ) ratio isn't same between native and final encode :x
16:9 Native and 8:5 for final :[
What's wrong ?
Thanks Shark for helping =)

nm
24th January 2007, 12:39
Well, you got what you asked for, so what's the problem? Instead of 800x500, just resize to a mod 16 resolution that is ~ 16:9, such as 800x448. For exactly correct aspect ratio, you would want to use 800x450, but 450 mod 16 != 0 (450 / 16 is not an integer), so encoding quality would suffer slightly and there might be problems with some other filters applied after resizing if you ever decide to use them.

Sharktooth
24th January 2007, 14:40
800x448 seems to me the best option. However bilinear resize will kill the crosshair (if you're encoding a FPS movie) and maybe some other objects on the HUD. In that case try LanczosResise (an maybe a higher bitrate).

Eno / Omni
24th January 2007, 19:47
Ok, i'll use it =) brb trying this ^^