DVD::Read::Title - Fetch information from DVD video.
use DVD::Read::Title; my $title = DVD::Read::Title->new('/dev/cdrom', 1); print $title->video_format_txt . "\n";
Fetch information from DVD video title.
Return a new DVD::Read::Title object for $dvd and title number $title.
$dvd can be either a string for IFO location, or a DVD::Read object.
Return the first sector for chapter number $chapter
Return the last sector for chapter number $chapter
Return the chapter offset from the start of title in millisecond
The length in millisecond of this title.
Return the chapters count for this title
Return the real title number physically on dvd.
Copy video data for the wall title into $out where:
$out is either a file path or an open file handle
$progress, if set, is a function reference accepting four args: the current cells count read and total cells count to read, the current block read for the cell, the total block for current cell. This allow you to show the current read progress.
Copy video data for chapter $chapter into $out where:
$chapter either the chapter number to extract or an array of chapters to extract.
$progress, if set, is a function reference acception four args: the current chapter count read, the count of chapter to read, the current block count read in for current chapter, the count of block to read for the current chapter. This allow you to give a progression status.
All functions from DVD::Read::Dvd::IFO module starting by 'vts_' are available (without 'vts_' prefix).
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.