X264 quality success. A story of sheer obsession

vankedisiTV

New Member
Finally i have done it!

X264 supremacy is here with my cheap knock off cap card from China



I would like to thank the people who have gone great depths to enhance their x264 encoding quality. And thank you Lisa Su if not for you i would not be able to build my streaming pc! 2700x was damn affordable

Anyways for those who wonder i will share my fine tailored settings here.

And for those with much superior cpu may push things further!

Here is a sample clip if anyone wonders.
Oh btw: i know most people watch twitch on their phones or pcs but have you ever watched twitch streams on a 4K TV? Those devices have a good 4k upscale technology. Almost never looks pixelated.


Well most TV channels are still 480p and some are 720p so.. And my 2k display shows twitch streams very low quality because it doesn't upscale like TVs do due to input lag stuff.


Anyways interesting observation. If you happen to Own a TV try watching twitch or similar streams with limited bitrate /res.
 
What TV do you have?
Watching twitch on my LG C9 65" is for most channels unbearable because the quality is so trashy, but I also watch no TV, so my quality standards are different to most users I guess. If you just look for pixels and ignore if the image gets a smeary mess, well, you are lucky that you can enjoy that, I can't.
 
What TV do you have?
Watching twitch on my LG C9 65" is for most channels unbearable because the quality is so trashy, but I also watch no TV, so my quality standards are different to most users I guess. If you just look for pixels and ignore if the image gets a smeary mess, well, you are lucky that you can enjoy that, I can't.
Sony X75 48" ips i believe. But it can't run twitch smooth (even tho Netflix 4k is painless id why) so i use ps5 to watch twitch.

I'm just amazed how good TV have become upscaling stuff.
If you are in game mode or similar mode where TV doesn't use extensive upscaling but switches to nearest neighbour algorithms like pc Displays to lower input lag etc.

This isn't even a high end tv

But 65 inch may be why stuff looks bad at some point 4k becomes not sufficient enough.
 
Please do share the fine-tuned settings!

Output 1280x720
Preset Slow
Bitrate: 6000kbps
60fps
Partial /601
Tune:none
Profile: high
Advanced settings, process priority set as highest
X264 flags
threads=16 rc-lookahead=80 trellis=2 direct-pred=temporal aq-mode=3 me=umh subme=7 analyse=all patitions=all

If this causes encoding lag skipped frames etc : increase threads to 18. If it doesn't work 20 etc etc. I realised if you increase thread count quality of stream looks bad and (this is a wild guess) that may be why gpu encoding doesn't look good because it has many cores/CUs.

But I'm may be in the wrong since x264 utilise cpu instructions not in gpu architecture.

So i can't do 936p with the settings above because of threads probably because i can do normal slow 936p 60fps 6000kbits.

Now what could be improved (my cpu and upload speed doesn't allow me)
1664x936p
8000kbits
threads=16 rc-lookahead=80 trellis=2 direct-pred=temporal aq-mode=3 me=tesa subme=10 analyse=all patitions=all

This would need lots of cpu power idk if its doable but doesn't look impossible with 5900x or 12900k. (is it worth it? Idk)
 
Back
Top