<div dir="ltr">Looks like you want to encode ROI: region of interest like in IP cameras that detect motion and encode motion area with better quality.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Jul 6, 2014 at 3:28 PM, Wei Miao <span dir="ltr"><<a href="mailto:miaowei@umich.edu" target="_blank">miaowei@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello:<div><br></div><div>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?</div>
<div><br></div><div>Thank you very much.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Wei Miao</div>
</font></span><br>_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x264-devel" target="_blank">https://mailman.videolan.org/listinfo/x264-devel</a><br>
<br></blockquote></div><br></div>