Linux: Screen desktop video capture over network, and VNC framerate

You should get a badge for such a long well though out question. 😉 In answer to your primary question, VNC uses the RFB protocol which is a remote frame buffer protocol (thus the acronym) not a streaming video protocol. The VNC client sends a FrameBufferUpdateRequest message to the server which contains a viewport region … Read more

Getting timestamp of each frame in a video

You want cv2.CAP_PROP_POS_MSEC. See all the different capture properties here. Edit: Actually, as Dan MaÅ¡ek pointed out to me, when you grab that property, it looks like OpenCV is exactly doing that calculation (at least assuming you’re using FFMPEG): case CV_FFMPEG_CAP_PROP_POS_MSEC: return 1000.0*(double)frame_number/get_fps(); So it seems you’re always going to rely on a constant frame … Read more