[DVDnav-discuss] Trying to get volume id of dvd. But not sure how?

Steve Dibb beandog at gentoo.org
Mon Apr 14 17:41:49 CEST 2014


On 04/11/2014 11:25 PM, Steve Dibb wrote:
>> There's a couple of ways to get unique identifiers from a DVD, but I'm
> going
>> to assume you mean the title, which is a 32-character string.
>
> Derp, actually it's 16 characters.  I was thinking of provider ID.
>
> Here's another old C program that used to ship with libdvdread that does the
> same thing:
> https://github.com/hilbix/libdvdread-samples/blob/master/disc_id.c
>

Bah, to correct myself *again*, the UDF filesystem allows for 32 
characters total, and the ISO one allows for 33.

You can get the UDF one from libdvdread using UDFGetVolumeIdentifier in 
dvd_udf.h

You can get the same title from libdvdnav using dvdnav_get_title_string 
in dvdnav.h.

Steve


More information about the DVDnav-discuss mailing list