Skip to content

DVD playback

DVD Playback overview

The DVD playback requires the Cyberlink Video decoder that is installed by PowerDVD or PowerCinema, or by some codec packs like the K-Lite codec pack (standard or higher).

It works a similar way the normal playback does. Most of the player features can be used.

E.g. to start playing the default DVD:

VideoGrabber.PlayerFileName = ""

VideoGrabber.OpenDVD ()

E.g to playing a DVD at a specified location, pass the Video_TS folder path, e.g.:

VideoGrabber.PlayerFileName = "E:VIDEO_TS"

VideoGrabber.OpenDVD ()

DVD Titles

If DVDTitle = 0, the DVD menu appears when opening the DVD playback.

To start directly the playback of a DVD title, set DVDTitle with the number of the title.

E.g.:

VideoGrabber.PlayerFileName = "E:VIDEO_TS"

VideoGrabber.DVDTitle = 1

VideoGrabber.OpenDVD ()

will start playing directly the 1st title.

DVD info

It is possible to get information about the DVD (total duration, number of titles, duration of each title) by invoking the DVDInfo function.

See DVDInfo .

E.g. to get:

  • the total duration of the DVD:

TotalDuration = Videograbber.Dvdinfo ("e:_ts", dvd_TotalDuration, 0)

  • the number of titles in the DVD:

NumberOfTitles = Videograbber.Dvdinfo ("e:_ts", dvd_NumberOfTitles, 0)

  • the duration of the 1st title:

TitleDuration = Videograbber.Dvdinfo ("e:_ts", dvd_TitleDuration, 1)

  • the number of frames of the 1st title:

NumberOfTitles = Videograbber.Dvdinfo ("e:_ts", dvd_TitleFrameCount, 1)

  • the frame rate of the 1st title:

NumberOfTitles = Videograbber.Dvdinfo ("e:_ts", dvd_TitleFrameRate, 1)

  • the width of the video resolution of the 1st title:

NumberOfTitles = Videograbber.Dvdinfo ("e:_ts", dvd_SourceResolutionX, 1)

  • the height of the video resolution of the 1st title:

NumberOfTitles = Videograbber.Dvdinfo ("e:_ts", dvd_SourceResolutionY, 1)