gst-video-player.pl - Video player made in Perl
gst-video-player.pl video
Where video is the path to a video file or an URI to a video.
Play a video that's available locally:
perl gst-video-player.pl film.ogv
Stream a video from a website:
perl gst-video-player.pl http://anon.nasa-global.edgesuite.net/qt.nasa-global/ksc/ksc_071509_sts127_launch_480i.mov
This program shows how to create a video player using Gtk2 and GStreamer. This player can handle all video formats supported by GStreamer.
The original Vala code from http://live.gnome.org/Vala/GStreamerSample was ported to Perl and adjusted to play arbitrary video files.
To install GStreamer::Interfaces, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GStreamer::Interfaces
CPAN shell
perl -MCPAN -e shell install GStreamer::Interfaces
For more information on module installation, please visit the detailed CPAN module installation guide.