UAV::Pilot::Video::FileDump
open( my $vid_out, '>', 'video.h264' ) or die $!; my $file_dump = UAV::Pilot::Video::FileDump->new({ fh => $vid_out, }); my $video = UAV::Pilot::Driver::ARDrone::Video->new({ handler => $file_dump, ... });
Writes the h264 video frames to a file. Afterwords, you should be able to play this file with mplayer or other video players that support h264 without being inside a container format.
To install UAV::Pilot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UAV::Pilot
CPAN shell
perl -MCPAN -e shell install UAV::Pilot
For more information on module installation, please visit the detailed CPAN module installation guide.