lsdvd

"Written" by Chris Phillips (acid_kewpie)
Current version - 0.16 - I hate James Blunt
About
Lsdvd is a c application for reading the contents of a DVD and printing the contents to your terminal. I wrote it as I was unable to find anything out there that was straight forward enough to do what this does. And i needed this in order to make my AcidRip program, please have a look... Before I decided to write this code I was using two tools that come with the libdvdread package, title_info and ifo_dump, until while being annoyed that they weren't too hot, I read the source and realised they did next to nothing, in next to no lines, simply accessing a datatype provided by libdvdread. So i thought i could do that and do it better... Information is provided by lsdvd about a whole bunch of things:
Requirements
Lsdvd uses libdvdread, the most popular dvd reading library for *nix. libdvdcss is not required, so there's no gray areas about the legality of lsdvd.
Screenshot
Well... kind of...
[chris@trevor chris]$ lsdvd -t 27 -a -s -O h
libdvdcss debug: GetASF not authenticated (ASF=0)
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using variant 0
libdvdcss debug: host authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: fully authenticated, success
Disc Title: OBROTHER
Title: 27, Length: 01:28:25 Chapters: 33, Cells: 36, Audio streams: 04, Subpictures: 07
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48kHz, Channels: 6
        Audio: 2, Language: de - Deutsch, Format: ac3, Frequency: 48kHz, Channels: 6
        Audio: 3, Language: en - English, Format: dts, Frequency: 48kHz, Channels: 6
        Audio: 4, Language: en - English, Format: ac3, Frequency: 48kHz, Channels: 2
        Subtitle: 01, Language: en - English
        Subtitle: 02, Language: de - Deutsch
        Subtitle: 03, Language: fr - Francais
        Subtitle: 04, Language: it - Italiano
        Subtitle: 05, Language: es - Espanol
        Subtitle: 06, Language: en - English
        Subtitle: 07, Language: de - Deutsch
Download
Please use the Sourceforge project page for downloads, that way I can track downloads easier.
Documentation
There's really very little to say, just run it! it will default to try to use /dev/dvd for the dvd drive. if it's not there, either a) Create it with a sylink to the right place, or b) Provide the device name on the command line.
lsdvd also converts iso639 language codes to their real name, taken from this list
To do
Basically there's nothing on my TODO for this, the only thing i'm aware that it doesn't do yet is angles, and that's because i've not ever used any dvd's with angles in them anyway so i'm not bothered as yet. But if you don't ask you don't get, so on the off chance that someone does want it, i'll gladly accept a patch to include it... Same goes for anything else you can't do with it that is relevant to it's purpose, maybe you want to restrict its output as well... i dunno...
Contact
ANY feedback is gratefully received, as long as you're not l33t. mail me
Sourceforge
Project information for lsdvd and AcidRip is hosted on sourceforge... go there.

SourceForge Logo