Re: YUV Overlay

2013-07-24 Thread Tobias Leich
Hi, can you paste a complete example please? Maybe with a link to a test video file. What I would try first is SDL's latest release, which is 2.540 or so. Cheers, FROGGS Am 23.07.2013 23:44, schrieb tmur...@wumpus-cave.net: I'm working on a project involving decoding h.264 video frames with

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

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, tmur...@wumpus-cave.net wrote: Short on time at the moment, but I have the complete code on a github repo: https://github.com/frezik/UAV-**Pilothttps://github.com/frezik/UAV-Pilot The relevant code is in

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

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