Azizachom
Azizachom

Reputation: 43

Ardrone Video Stream decoding in Android

I'm working on an image processing project for the Parrot AR.drone, using opencv4Android, i'm so new to the whole thing! , does anyone have an idea about how to read in video streams from the ARDrone using OpenCV, the samples shows how to get video input from a webcam only

the video is encoded in H.264 format,and the drone adds a proprietary header (called PaVE) to every video frame, apparently that's why Android fails to load the video stream..

thanks

Upvotes: 2

Views: 2728

Answers (1)

John Wiseman
John Wiseman

Reputation: 3137

You need a PaVE parser that will strip the PaVE headers off the H.264 frames before you can decode them and feed them to OpenCV.

There are some PaVE parsers around. Maybe you can use one as-is, or adapt it for your use.

Upvotes: 1

Related Questions