small feature-request: dump dvd-label

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

small feature-request: dump dvd-label

Post by AlBundy »

I've currently no option to get the dvd-label (os-independent).
--> Necessary for: viewtopic.php?f=10&t=26163

It would be nice if HandbrakeCLI would simply output the dvd-label somewhere.

Thanks

Al
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: small feature-request: dump dvd-label

Post by JohnAStebbins »

HandBrakeCLI -t 0 --scan ...

Code: Select all

...
libdvdnav: DVD Title: ALIEN
libdvdnav: DVD Serial Number: 269C30D3
libdvdnav: DVD Title (Alternative): ALIEN
...
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: small feature-request: dump dvd-label

Post by AlBundy »

I've never seen such an output.

Here is an example of my last try

Code: Select all

[02:27:00] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071800) - Darwin x86_64 - http://handbrake.fr
4 CPUs detected
Opening /dev/disk1...
[02:27:00] hb_scan: path=/dev/disk1, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /dev/disk1/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/dev/disk1) failed (0x102027400)
[02:27:00] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.11 for DVD access

*** libdvdread: CHECK_VALUE failed in ifo_read.c:528 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:529 ***
*** for vmgi_mat->vmgi_last_sector * 2 <= vmgi_mat->vmg_last_sector ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:542 ***
*** for vmgi_mat->vmgm_vobs == 0 || (vmgi_mat->vmgm_vobs > vmgi_mat->vmgi_last_sector && vmgi_mat->vmgm_vobs < vmgi_mat->vmg_last_sector) ***

NAME OPEN FAILED
libdvdnav: Unable to find map file '/Users/albundy/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: small feature-request: dump dvd-label

Post by JohnAStebbins »

Code: Select all

NAME OPEN FAILED
Try using /dev/rdisk1 instead of /dev/disk1. It looks like dvdnav isn't smart enough to substitute the raw disk name whereas libdvdread knows it needs to do this in order to read on osx.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: small feature-request: dump dvd-label

Post by AlBundy »

I'll try this after my current encoding job is done.

I have'nt use the device - I used the mount-point as input for handbrake.

Btw.: I have the same issue on my windows-pc.

[edit]
If I use /dev/rdisk1 I also get the DVD-Title.
[/edit]
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: small feature-request: dump dvd-label

Post by AlBundy »

I've tried some DVDs on Windows and get on all NAME OPEN FAILED.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: small feature-request: dump dvd-label

Post by AlBundy »

Is there anything I can do to get the dvd title also in windows?

Al
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: small feature-request: dump dvd-label

Post by s55 »

You could call an OS command like "Vol d:" to get it
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: small feature-request: dump dvd-label

Post by AlBundy »

This works on Windows but I need a way that works on linux and osx too.
I need this for my script: viewtopic.php?f=10&t=26163&sid=7509397a ... 43d7404878

Al
Post Reply