YUV Overlay

2013-07-23 Thread tmurray
I'm working on a project involving decoding h.264 video frames with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me in the

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

Re: YUV Overlay

2013-08-05 Thread tmurray
Well, that's a bug. I'll have to update that script with the right module name. Thanks for letting me know. That script only dumps the video to a file without displaying it. The script 'uav_video_display', released with version 0.5, is the important one here. I ended up solving my