lsdvd is a console application that displays the content of a dvd. It provides output about the types of video and audio tracks, subtitles etc... output is available in a number of formats including human readable, perl, ruby or xml.