libs: encoder: add target-percentage property