DVD::Read::Dvd::Ifo::Vmg - Access to DVD VMG file using libdvdread
use DVD::Read::Dvd; use DVD::Read::Dvd::Ifo::Vmg; my $dvd = DVD::Read::Dvd->new('/dev/cdrom'); my $vmg = DVD::Read::Dvd::Ifo::Vmg->new($dvd); ...
This module provide a low level access DVD IFO files using libdvdread for the Vmg information.
This module allow you to get video titles informations step by step like it is done by libdvdread.
Notice functions provided by module are really basics, then you really need to understand the dvd information to use it.
Return a new DVD::Read::Dvd::Ifo::Vmg from $dvd.
$dvd should be DVD::Read::Dvd object.
Return the vmg_identifier
Return the count of titles on the DVD
Get the angle count for title number $title
Return the count of chapters for title number $title
Return the internal title id for title number $title.
The VGM provide the ordered list of title on DVD, which is usually different of the physical order.
Here a real example to get title 1:
my $vgm = DVD::Read::Dvd::Ifo($dvd, 0); my $titlenr = $vgm->title_nr(1); $chapter_count = $vgm->title_chapters_count($titlenr); my vts = DVD::Read::Dvd::Ifo($dvd, $titlenr); ...
Return the title track number for title number $title.
Eg: the video number inside the video number 'title_nr'.
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 <firstname.lastname@example.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.