Log in

View Full Version : Configuring x265 encoder


a_nAvika
3rd July 2015, 10:30
Hi All,

I am trying to configure x265 encoder for Random access reference structure with 7 B frame GOP (Hierarchical). But it looks like it is not possible to force a particular referencing structure in x265. Any idea how it can be done?

x265_Project
3rd July 2015, 17:36
See http://x265.readthedocs.org/en/default/cli.html#slice-decision-options

--b-adapt 0 --bframes 7

a_nAvika
9th July 2015, 06:21
Thank You.

I needed to set custom referencing structure for each frame in the GOP. Anyway I checked the code and figured out that it is not possible through CLI.

Regards.

Jamaika
1st August 2015, 15:18
I would like to ask about the function of the pass 1/2.
I thought that encoder X265 cuts preset for pass = 1 and always is 'medium'.
However, recently draw conclusions that the pass = 1 and preset = slow / slower has other data in 'stats{log}'.
It doesn't understandable for me is the action codec.
X265 --pass 1/2 --preset slow --aq-streanch 1.0 --y4m --input-depth 10 --input-csp i422 --input-res 1920x1080 --output-depth 10 --fps 30000/1001 --bitrate 4500 --vbv-maxrate 10000 --vbv-bufsize 10000 {the figure is banding on his face}.
X265 --pass 1/2 --preset slower --aq-streanch 1.0 --y4m --input-depth 10 --input-csp i422 --input-res 1920x1080 --output-depth 10 --fps 30000/1001 --bitrate 4500 --vbv-maxrate 10000 --vbv-bufsize 10000 {the figure is lower banding on his face (in another place)}.

X265 --pass 1 --preset slower --aq-streanch 1.0 --y4m --input-depth 10 --input-csp i422 --input-res 1920x1080 --output-depth 10 --fps 30000/1001 --bitrate 4500 --vbv-maxrate 10000 --vbv-bufsize 10000
X265 --pass 2 --preset slow --aq-streanch 1.0 --y4m --input-depth 10 --input-csp i422 --input-res 1920x1080 --output-depth 10 --fps 30000/1001 --bitrate 4500 --vbv-maxrate 10000 --vbv-bufsize 10000 {banding almost disappears}

How to properly inscribe the 'preset' function?

sneaker_ger
1st August 2015, 15:31
https://x265.readthedocs.org/en/default/cli.html#cmdoption--slow-firstpass

Jamaika
1st August 2015, 15:57
I read. I don't learned a lot. Can the function pass = 1 be any preset. The program 'Hybrid' propose preset 'medium'.

sneaker_ger
1st August 2015, 16:08
Choose the same preset for both passes, e.g.:
x265 INPUT -o OUTPUT.265 --preset slower --pass 1
x265 INPUT -o OUTPUT.265 --preset slower --pass 2

Jamaika
1st August 2015, 16:14
Hmmm... This result isn't satisfactory for me and conversion takes too little. Thanks