I would like to extract a pixel's rgb value in every frame that is decoded using ffmpeg. I looked into ffplay source code
get_video_frame
video_refresh
queue_picture
I tried the above three methods to hook on to the frame but I do not understand how to get a pixel's rgb value. Could anyone kindly give some pointer into this
Thats the source and this is the conversion source I used and it works as expected. Hope this helps someone