Send data from a video stream
已完成PSDK provides the function DjiPayloadCamera_SendVideoStream() for sending video stream to the mobile control. This function sends the stream frame by frame. For a video file, it's simple to read the frame/packet info using ffmpeg. Then extract the frames and feed them to DjiPayloadCamera_SendVideoStream(). However, I could not figure out a way to extract the frames from a live stream (not a fixed file). Anybody has any idea how this can be done? Thanks.
请先登录再写评论。
评论
3 条评论