<div dir="ltr">Hello,<div><br></div><div>Can someone help me to find the value of each pixel on a given frame, please.</div><div>I use frame.data[] and frame.linesize[].</div><div>Then I do this :</div><div><br></div><div>for(int i = 0; i< height; i++)</div><div>{</div><div><br></div><div>          for(int j=0 ;j<width; j++)</div><div>         { </div><div>               xy = height*stride + width</div><div>                  int pix_i,j = frame.data[xy][frame.linesize[xy]].  </div><div>          }</div><div>}</div><div>where width and height are the dimension of the frame.</div><div><br></div><div>I don't know if what I do is right</div><div><br></div><div>Regards</div></div>