NAME

DVD::Read::Dvd::Ifo::Pgc - Access to DVD IFO file using libdvdread

SYNOPSIS

use DVD::Read::Dvd;
use DVD::Read::Dvd::Ifo;
my $dvd = DVD::Read::Dvd->new('/dev/cdrom');
my $vmg = DVD::Read::Dvd::Ifo->new($dvd, 0);
...

DESCRIPTION

This module provide a low level access DVD IFO files using libdvdread.

The PGC is part of video program from DVD.

EXPLANATIONS

Title contains severals programs, each programs contains a set of ptr to cells, each cells point to video sector:

TITLE (VIDEO_01_VTS.IFO) :
  |- PGC ID1 [.... $pgc_num ..]            <= track number
  |             |       |
  |             `cell1  ` cell3...
  |
  |- PGC ID2 [.... $pgc_num ......]        <= track number
               |       |        |
               `cell1  `cell2   `cell3

This module handle one PGC from a title.

FUNCTIONS

id

Return the id for this pgc.

cells_count

Return the count of cells inside this pgn.

cell_number($pgc_num)

Return the number of the cell for pgn $pgc_num.

cell($cell_number)

Return the DVD::Read::Dvd::Ifo::Cell number $cell_number.

CAVEAT

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.

SEE ALSO

DVD::Read::Dvd =item DVD::Read::Dvd::Vmg =item DVD::Read::Dvd::Vts

AUTHOR

Olivier Thauvin <nanardon@nanardon.zarb.org>

COPYRIGHT AND LICENSE

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.