Log in

View Full Version : question on --tune animation preset


djesteban
16th December 2009, 23:35
Hi,

So I was looking at the different options for the --tune animation preset in the --fullhelp of x264; it goes out like this:
- animation:
--bframes {+2} --deblock 1:1
--psy-rd 0.4:<unset> --aq-strength 0.6
--ref {Double if >1 else 1}

- What are the curly brackets supposed to mean around the bframes value?
- I am not sure I understand the ref value means. Since it is suppose to be set by this preset, why is it represented as a condition?

Thanks in advance!

Dark Shikari
16th December 2009, 23:35
It means it raises the preset bframe value by 2.
- I am not sure I understand the ref value means. Since it is suppose to be set by this preset, why is it represented as a condition?It's not a preset, it's a tune. It modifies the existing preset.

djesteban
16th December 2009, 23:42
It means it raises the preset bframe value by 2.
It's not a preset, it's a tune. It modifies the existing preset.

ouch >_<
I should of thought about it... ghaaa... thanks, sorry for this stupid question

cogman
17th December 2009, 07:39
So would
x264 --preset slow --ref 4 --tune animation
result in 8, 10, or 4 reference frames?

kemuri-_9
17th December 2009, 07:45
So would
x264 --preset slow --ref 4 --tune animation
result in 8, 10, or 4 reference frames?

presets are applied first, then tunes, then other options.
since you specified ref 4 it will be ref 4.
if you hadn't specified ref 4, it would've been slow's ref 5 + animation's 2x, which would've resulted in 10.