Video::Xine 0.02
Sponsored Links
Video::Xine 0.02 Ranking & Summary
File size:
0.63 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1235
Date added:
2006-07-21
Publisher:
Stephen Nelson
Video::Xine 0.02 description
Video::Xine is a Perl interface to libxine.
SYNOPSIS
use Video::Xine;
# Create and initialize the Xine object
my $xine = Video::Xine->new(
config_file => "$ENV{HOME}/.xine/config",
);
# Load a video driver
my $video_driver = Video::Xine::Driver::Video->new($xine,"auto",1,$x11_visual);
# Create a new stream (put your video driver under $DRIVER)
my $stream = $xine->stream_new(undef,$DRIVER);
# Open a file on the stream
$stream->open(file://my/movie/file.avi)
or die "Couldnt open stream: ", $stream->get_error();
# Get the current position (0 .. 65535), position in time, and length
# of stream in milliseconds
my ($pos, $pos_time, $length_time) = $stream->get_pos_length();
# Start the stream playing
$stream->play()
or die "Couldnt play stream: ", $xine->get_error();
# Play the stream to the end
while ( $stream->get_status() == XINE_STATUS_PLAY ) {
sleep(1);
}
A perl interface to Xine, the Linux movie player. More properly, an interface to libxine, the development library. Requires installation of libxine.
Xine by itself does not provide a user interface, and neither does this interface. Instead, you must set up the window using your own windowing code, and pass the window information to Xine.
SYNOPSIS
use Video::Xine;
# Create and initialize the Xine object
my $xine = Video::Xine->new(
config_file => "$ENV{HOME}/.xine/config",
);
# Load a video driver
my $video_driver = Video::Xine::Driver::Video->new($xine,"auto",1,$x11_visual);
# Create a new stream (put your video driver under $DRIVER)
my $stream = $xine->stream_new(undef,$DRIVER);
# Open a file on the stream
$stream->open(file://my/movie/file.avi)
or die "Couldnt open stream: ", $stream->get_error();
# Get the current position (0 .. 65535), position in time, and length
# of stream in milliseconds
my ($pos, $pos_time, $length_time) = $stream->get_pos_length();
# Start the stream playing
$stream->play()
or die "Couldnt play stream: ", $xine->get_error();
# Play the stream to the end
while ( $stream->get_status() == XINE_STATUS_PLAY ) {
sleep(1);
}
A perl interface to Xine, the Linux movie player. More properly, an interface to libxine, the development library. Requires installation of libxine.
Xine by itself does not provide a user interface, and neither does this interface. Instead, you must set up the window using your own windowing code, and pass the window information to Xine.
Video::Xine 0.02 Screenshot
Video::Xine 0.02 Keywords
Xine 0.02
interface to
Perl Interface
interface
stream
Xine
libxine
Perl
driver
Video::Xine
VideoXine
Video::Xine 0.02
Libraries
Programming
Bookmark Video::Xine 0.02
Video::Xine 0.02 Copyright
WareSeeker periodically updates pricing and software information of Video::Xine 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Video::Xine 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
ViewMTN project provides a Web interface to the Monotone distributed version control system. Free Download
oxine is a purely OSD-based xine frontend. Free Download
Codeine is a very simple xine-based media player. Free Download
VideoCut project is an open source desktop application specialized for creating compositions of screenshots from video files. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
Audio::ESD is a Perl extension for talking to the Enlightened Sound Daemon. Free Download
gxine is a GUI for xine free multimedia player. Free Download
GConf-FS script allows you to view a gconf tree as a file system. Free Download
Latest Software
Popular Software
Favourite Software