I need to get the youtube movie while it's played frame by frame, as they are drawn to the screen. Is there a way using v4l2 / /dev/ion or something else, to get the frames as they are displayed?
I know, there is the new screenrecord binary. But I don't want to record the screen, just get the movie frames ( best in full res ) while they are displayed - independent of the displayed movie size. Detecting rebuffering is important too. No frame should be returned during a freezing, not a rotating circle. Thanks a lot for any hints!