General WDTV Groups > Audio and Video Conversion

X264 - Encoding profiles

(1/2) > >>

3dxr:
I will add some information to WIKI
about encoding and options with x264

http://wiki.wdtv.org/doku.php?id=wdtv_x264_encoding_page

buzzqw:
Hi

don't want to spam or seems "teacher", but x264 profiles could be optimized easily

here some profile i created for HDConvertToX (mutuated from my automkv and ripbot/megui)


--- Code: ---X264;1;Ultra Fast;--keyint 250 --bframes 1 --trellis 0 --ref 1 --filter 0,0 --subme 2 --direct spatial --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --no-ssim --merange 8 --b-adapt 0 --no-chroma-me --aud

X264;2;Very Fast;--keyint 250 --bframes 2 --trellis 0 --ref 2 --filter 0,0 --subme 3 --direct spatial --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --no-ssim --merange 10 --b-adapt 0 --no-chroma-me --aud

X264;3;Fast;--keyint 250 --bframes 3 --trellis 0 --ref 3 --filter -1,-1 --subme 4 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me hex --no-ssim --merange 12 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,i8x8 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.0:0.0

X264;4;High Performance;--keyint 250 --bframes 3 --trellis 0 --ref 3 --filter -1,-1 --subme 5 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --merange 14 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,i8x8 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.0:0.0

X264;5;Balanced;--keyint 250 --bframes 3 --trellis 0 --ref 3 --filter -1,-1 --subme 5 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --weightb --b-adapt 1 --partitions p8x8,b8x8,i8x8 --8x8dct --aud --aq-mode 0 --aq-strength 0

X264;6;Better Quality;--keyint 250 --bframes 5 --mixed-refs --trellis 1 --ref 4 --filter -1,-1 --subme 6 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i8x8 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.0:0.0

X264;7;Extreme Quality;--keyint 250 --bframes 4 --mixed-refs --trellis 0 --ref 4 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-adapt 2 --no-chroma-me --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:0.0

X264;8;Insane Quality;--keyint 250 --bframes 6 --mixed-refs --trellis 2 --ref 6 --filter -1,-1 --subme 7 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --merange 20 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.0:1.0

X264;9;Slug;--keyint 250 --bframes 8 --mixed-refs --trellis 2 --ref 8 --filter -2,-1 --subme 8 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me esa --no-ssim --merange 24 --weightb --b-adapt 2 --b-pyramid --partitions p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0

X264;10;Infinite Time;--keyint 250 --bframes 16 --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me tesa --no-ssim --merange 32 --weightb --b-adapt 2 --b-pyramid --partitions all --8x8dct --aud --aq-mode 1 --aq-strength 1 --psy-rd 1.1:1.0
--- End code ---

these are the basis, then.. when i encode for NMT i will change:
max ref to 3
b-pyramid is out, since it raise the total vbv
max b-frames to 6

some more notes:
b-adapt and merange are the most cpu intensive when encoding, expecially when using an high number of b-frames
partitions give very small advantage, and this advantage in quality decrease with increase of resolution
subme is the best quality/speed key. Since with high subme the quality rise more then speed decrease
8x8dct is a must
trellis isn't very valuable

all it imho (and information is gathered from varius forum/irc)

best regards

BHH

RaggedDog:
You might want to give media encoder a go ... I have a Nvidia 8600gt and recently tried it and if you use the cuda based encoder it is massively faster than CPU based encoding. I think on my system it worked out at 5x faster, but it still lacks the final 10% or so in quality. I have no connec with author (freeware@present).
If this is the sort of speed increase we can expect, then for a first try this is pretty impressive.
I don't normally encode to x264 (FU2.0) as it simply takes too long, but this is a massive improvement.

Fishbowls:
RaggedDog
give us a link to
--- Quote ---media encoder
--- End quote ---
please ;)

3dxr:
he mean probably latest mediacoder + cuda support

Navigation

[0] Message Index

[#] Next page

Go to full version