GStreamer How to extract video frame from the flow?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is python code for capturing streaming video from server. but I need to write a function to extract one frame from the flow. It will be a button. On click it will show current frame. I have no ideas. Can anyone help me with this??? self.player = gst.Pipeline("player") self.source = gst.element_factory_make("uridecodebin", "video-source") #self.source = gst.element_factory_make("playbin2", "video-source") sink = gst.element_factory_make("xvimagesink", "video-output") colorspace = gst.element_factory_make("ffmpegcolorspace") scale = gst