QtlMovie 1.12 (A specialized FFmpeg front-end)
QtsDvdProgramCell Class Reference

A class describing a cell inside a DVD program. More...

Public Member Functions

 QtsDvdProgramCell (int id=0)
 Constructor. More...
 
int angleId () const
 Get the angle id for the content of this cell. More...
 
int cellId () const
 Get the cell id in the DVD program. More...
 
int durationInSeconds () const
 Get the cell playback duration in seconds. More...
 
int originalCellId () const
 Get the original cell id inside the original input files, before DVD production. More...
 
int originalVobId () const
 Get the original VOB id inside the original input files, before DVD production. More...
 
QtlRangeList sectors () const
 Get the list of sectors for this cell. More...
 

Private Attributes

int _angleId
 Angle id for the cell content, zero for common content. More...
 
const int _cellId
 Cell id within program chain (PGC). More...
 
int _duration
 Duration in seconds. More...
 
int _originalCellId
 Original cell id inside the original input files. More...
 
int _originalVobId
 Original VOB id inside the original input files. More...
 
QtlRangeList _sectors
 List of sectors for this cell. More...
 

Friends

class QtsDvdProgramChain
 

Detailed Description

A class describing a cell inside a DVD program.

Constructor & Destructor Documentation

◆ QtsDvdProgramCell()

QtsDvdProgramCell::QtsDvdProgramCell ( int  id = 0)
explicit

Constructor.

Parameters
idCell id within program chain (PGC).

Member Function Documentation

◆ cellId()

int QtsDvdProgramCell::cellId ( ) const
inline

Get the cell id in the DVD program.

Returns
The cell id in the DVD program.

◆ angleId()

int QtsDvdProgramCell::angleId ( ) const
inline

Get the angle id for the content of this cell.

Returns
The angle id for the content of this cell or zero if this cell holds common content, for all angles.

◆ originalVobId()

int QtsDvdProgramCell::originalVobId ( ) const
inline

Get the original VOB id inside the original input files, before DVD production.

This is has no relation with the numbers of the VOB files on DVD.

Returns
The original VOB id inside the original input files.

◆ originalCellId()

int QtsDvdProgramCell::originalCellId ( ) const
inline

Get the original cell id inside the original input files, before DVD production.

This is has no relation with the cell id's in the VOB files on DVD.

Returns
The original cell id inside the original input files.

◆ durationInSeconds()

int QtsDvdProgramCell::durationInSeconds ( ) const
inline

Get the cell playback duration in seconds.

Returns
The cell playback duration in seconds.

◆ sectors()

QtlRangeList QtsDvdProgramCell::sectors ( ) const
inline

Get the list of sectors for this cell.

This is a list of ranges of sectors on DVD. The sectors are sequentially numbered from zero, starting at the first sector of the corresponding VTS_nn_1.VOB. Note that not all of these sectors are used, check the original VOB id and original cell id in the navigation packs in order to verify if a VOBU actually belongs to the cell (a VOBU is made of a navigation pack and all subsequent packs up to, but not including, the next navigation pack).

Returns
The list of sectors for this cell.

Friends And Related Function Documentation

◆ QtsDvdProgramChain

friend class QtsDvdProgramChain
friend

Member Data Documentation

◆ _cellId

const int QtsDvdProgramCell::_cellId
private

Cell id within program chain (PGC).

◆ _angleId

int QtsDvdProgramCell::_angleId
private

Angle id for the cell content, zero for common content.

◆ _originalVobId

int QtsDvdProgramCell::_originalVobId
private

Original VOB id inside the original input files.

◆ _originalCellId

int QtsDvdProgramCell::_originalCellId
private

Original cell id inside the original input files.

◆ _duration

int QtsDvdProgramCell::_duration
private

Duration in seconds.

◆ _sectors

QtlRangeList QtsDvdProgramCell::_sectors
private

List of sectors for this cell.


The documentation for this class was generated from the following files: