Re: YUV Overlay

2013-07-24 Thread tmurray
Short on time at the moment, but I have the complete code on a github repo: https://github.com/frezik/UAV-Pilot The relevant code is in UAV::Pilot::SDL::Video, and the decoding happens in the xs file for UAV::Pilot::Video::H264Decoder. The test t/160_video_decode.t should run the decoding en

Re: YUV Overlay

2013-07-24 Thread Kartik Thakore
Can we run this with out needing ARDdrone? On Wed, Jul 24, 2013 at 8:22 AM, wrote: > Short on time at the moment, but I have the complete code on a github repo: > > https://github.com/frezik/UAV-**Pilot > > The relevant code is in UAV::Pilot::SDL::Video, and

Re: YUV Overlay

2013-07-24 Thread tmurray
Yes. For my own testing purposes, it's not always convenient to connect to the ARDrone, so I overrode much of the behavior in Mock classes. For decoding the video stream to a file, you can do: $ uav_video_dump --in t_data/ardrone_video_stream_dump.bin --out /tmp/ardrone_video_stream_dump.h26

Re: YUV Overlay

2013-07-24 Thread tmurray
I've made a simplified, standalone example: http://pastebin.com/dPPNc8VL The big array at the top is a single YUV420P frame. Expected behavior is to display that frame in a window for 5 seconds, and then quit. If I comment out the overlay handling, it displays a green background. I've veri