DVD::Read::Dvd::File - DVD file access using libdvdread
use DVD::Read::Dvd; my $dvd = DVD::Read::Dvd->new('/dev/cdrom'); my file = DVD::Read::Dvd::File->new($dvd, 1, "VOB");
This module allow to get information from Video DVD using by using the dvdread library.
Return the logical DVD block size
Open a file from the DVD.
Return the file size in blocks
Read a $count block(s) from the file at block offset $offset.
In scalar context, return the read data.
In array context return the count of blocks read and read data.
Most of C code come from mplayer and transcode (tcprobe).
Thanks authors of these modules to provide it as free software.
As this software are under another license, and this module reuse code from it, the Perl license is maybe not appropriate.
Just mail me if this is a problem.
Olivier Thauvin <nanardon@nanardon.zarb.org>
Copyright (C) 2008 by Olivier Thauvin
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
The libdvdread is under the GPL Licence.
To install DVD::Read, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DVD::Read
CPAN shell
perl -MCPAN -e shell install DVD::Read
For more information on module installation, please visit the detailed CPAN module installation guide.