[x264-devel] [libx264] About per-macroblock encoding
Fiona Glaser
fiona at x264.com
Tue Jul 15 20:51:03 CEST 2014
On Sun, Jul 6, 2014 at 6:28 AM, Wei Miao <miaowei at umich.edu> wrote:
>
> Hello:
>
> My name is Wei and I am now a master student at University of Michigan. I am now using libx264 under Linux to do some projects. In one of these projects, I need to encode a frame into 2different QP : some specified macroblock to a higher QP, the other to a lower one. I tried to modified the file encoder/macroblock.c but it seems to be unstable and it will screw up the image. My question is: is there any way to specified QP for each macroblock? If i need to modify the code in x264, which part of code should I try?
x264 can do this already; see the quant_offsets feature in the API (in x264.h).
Fiona
More information about the x264-devel
mailing list