Hello,
Can someone help me to find the value of each pixel on a given frame,
please.
I use frame.data[] and frame.linesize[].
Then I do this :
for(int i = 0; i< height; i++)
{
for(int j=0 ;j<width; j++)
{
xy = height*stride + width
int pix_i,j = frame.data[xy][frame.linesize[xy]].
}
}
where width and height are the dimension of the frame.
I don't know if what I do is right
Regards
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".