| Top |  |  |  |  | 
gboolean ogmdvd_title_open (OGMDvdTitle *title,GError **error);
Opens title
, opening the disc if needed.
| title | An OGMDvdTitle | |
| error | Location to store the error occuring, or NULL to ignore errors. | 
gboolean
ogmdvd_title_is_open (OGMDvdTitle *title);
Returns whether the title is open or not.
void
ogmdvd_title_ref (OGMDvdTitle *title);
Increments the reference count of an OGMDvdTitle.
void
ogmdvd_title_unref (OGMDvdTitle *title);
Decrements the reference count of an OGMDvdTitle.
gboolean
ogmdvd_title_analyze (OGMDvdTitle *title);
Performs a depper analysis of the title to get more information about it and its audio and subtitle streams. This function should be called multiple times until the analysis is complete.
OGMDvdDisc *
ogmdvd_title_get_disc (OGMDvdTitle *title);
Returns the disc the OGMDvdTitle was open from.
gint64
ogmdvd_title_get_vts_size (OGMDvdTitle *title);
Returns the size of the video title set in bytes.
gint
ogmdvd_title_get_ts_nr (OGMDvdTitle *title);
Returns the titleset number.
gdouble ogmdvd_title_get_length (OGMDvdTitle *title,OGMDvdTime *length);
Returns the title length in seconds. If length
 is not NULL, the data
structure will be filled with the length in hours, minutes seconds and
frames.
gdouble ogmdvd_title_get_chapters_length (OGMDvdTitle *title,guint start,gint end,OGMDvdTime *length);
Returns the length in seconds between start and end chapters. If length
 is
not NULL, the data structure will be filled with the length in hours, minutes
seconds and frames.
| title | An OGMDvdTitle | |
| start | The start chapter | |
| end | The end chapter | |
| length | A pointer to set the OGMDvdTime, or NULL | 
void ogmdvd_title_get_framerate (OGMDvdTitle *title,guint *numerator,guint *denominator);
Gets the framerate of the DVD title in the form of a fraction.
| title | An OGMDvdTitle | |
| numerator | A pointer to set the framerate numerator, or NULL | |
| denominator | A pointer to set the framerate denominator, or NULL | 
void ogmdvd_title_get_size (OGMDvdTitle *title,guint *width,guint *height);
Gets the size of the picture.
| title | An OGMDvdTitle | |
| width | A pointer to set the width of the picture, or NULL | |
| height | A pointer to set the height of the picture, or NULL | 
gint
ogmdvd_title_get_video_format (OGMDvdTitle *title);
Returns the video format of the movie.
gint
ogmdvd_title_get_display_aspect (OGMDvdTitle *title);
Returns the display aspect of the movie.
gint
ogmdvd_title_get_display_format (OGMDvdTitle *title);
Returns the display format of the movie.
const guint *
ogmdvd_title_get_palette (OGMDvdTitle *title);
Returns the palette of the movie.
gint
ogmdvd_title_get_n_angles (OGMDvdTitle *title);
Returns the number of angles of the video title.
gint
ogmdvd_title_get_n_chapters (OGMDvdTitle *title);
Returns the number of chapters of the video title.
gint
ogmdvd_title_get_n_audio_streams (OGMDvdTitle *title);
Returns the number of audio streams of the video title.
OGMDvdAudioStream * ogmdvd_title_get_nth_audio_stream (OGMDvdTitle *title,guint nr);
Returns the audio stream at position nr. The first nr is 0.
GSList *
ogmdvd_title_get_audio_streams (OGMDvdTitle *title);
Returns a list of audio stream.
gint
ogmdvd_title_get_n_subp_streams (OGMDvdTitle *title);
Returns the number of subtitles streams of the video title.
OGMDvdSubpStream * ogmdvd_title_get_nth_subp_stream (OGMDvdTitle *title,guint nr);
Returns the subtitles stream at position nr. The first nr is 0.
GSList *
ogmdvd_title_get_subp_streams (OGMDvdTitle *title);
Returns a list of subp stream.
void ogmdvd_title_get_aspect_ratio (OGMDvdTitle *title,guint *numerator,guint *denominator);
Gets the aspect ratio of the DVD title in the form of a fraction.
| title | An OGMDvdTitle | |
| numerator | A pointer to set the aspect ratio numerator, or NULL | |
| denominator | A pointer to set the aspect ratio denominator, or NULL | 
OGMDvdAudioStream * ogmdvd_title_find_audio_stream (OGMDvdTitle *title,GCompareFunc func,gpointer data);
Searches for an audio stream with custom criteria.
OGMDvdSubpStream * ogmdvd_title_find_subp_stream (OGMDvdTitle *title,GCompareFunc func,gpointer data);
Searches for a subp stream with custom criteria.