Re: YUV Overlay

2013-08-05 Thread Tobias Leich
Hi, I installed UAV-Pilot right now, but it explodes like: $ bin/uav_video_dump Can't locate UAV/Pilot/Control/ARDrone/Video/FileDump.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14

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

Re: YUV Overlay

2013-08-05 Thread Tobias Leich
Hi, I am unable tun run that script either: $ perl bin/uav_video_display perl: symbol lookup error: /usr/local/lib/perl/5.14.2/auto/UAV/Pilot/Video/H264Decoder/H264Decoder.so: undefined symbol: av_init_packet Do you have an example of your line-drawing problem somewhere? Am 05.08.2013 15:58,

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