Send data from a video stream
CompletedPSDK 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.
Please sign in to leave a comment.
Comments
3 comments