App::VideoMixer - a simple video mixer using OpenGL
#!/usr/bin/perl -w use strict; use App::VideoMixer; my $app = App::VideoMixer->new(); my $base = 'videos/; my $movie = $base . 'camel.avi'; $app->add_source( $movie ); $app->set_output( filename => 'camel2.mpg', width => 640, height => 480); $app->run();
This module implements a small application that allows you to display video and to manipulate the video using GLSL filters.
->new
Creates a new video mixer instance, complete with window and keybindings. To start playing a video, see the ->run() method.
->run()
->tick
Called whenever the next video frame can be rendered
->run
Starts the GLUT playback loop. This will loop until you press ESC.
ESC
Max Maischein (corion@cpan.org)
This module is released under the same terms as Perl itself.
To install App::VideoMixer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::VideoMixer
CPAN shell
perl -MCPAN -e shell install App::VideoMixer
For more information on module installation, please visit the detailed CPAN module installation guide.