I want to encode some videos in H264 and H265, and I would like to ask for help in order to chose the adequate options in x264/x265.
I'm aware of the option -tune fastdecode in both x264 and x265. But apparently the quality gets a bit worse using it.
For x264:
-tune fastdecode is equivalent to --no-cabac --no-deblock --no-weightb --weightp 0 (My source is x264 --fullhelp)
Which options preserve quality ?
For x265:
-tune fastdecode is equivalent to --no-deblock --no-sao --no-weightp --no-weightb --no-b-intra (according to x265 doc)
Again, which options preserve quality ?
I tried to read some documentation on these options, but I'm afraid I'm too stupid to understand if they preserve quality or not.
To explain further what I mean by "preserving quality":
I don't understand what the cabac option does exactly. But let's say for example that it adds some extra lossless compression, resulting in a smaller video file, but the decoding machine would need to do extra work to decompress the file
In that case, the
--no-cabacoption would skip that extra compression, resulting in no loss of quality, with a bigger file size, and the decoding machine would not need to decompress the extra compression, saving CPU work on the decoding sideIn this scenario, I would like to add the
--no-cabacoption, as it speeds up decoding, while preserving quality.
I hope I could get my point across
Can anyone help me pick the right options ?
Thanks in advance
For x264 (I've not looked at x265):
-tune fastdecode is equivalent to --no-cabac --no-deblock --no-weightb --weightp 0(My source is x264 --fullhelp)
--no-cabac has no quality effect.In my case, I want --no-cabac but --no-weightb --weightp 0 effected quality and I still want deblocking. I think --no-cabac is the only lossless performance gain option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With