[Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)

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

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version - now it should work. :-)
Btw: To check the tags you can also add the argument --test to check the filenames without renaming the files.

Al
arman
Posts: 13
Joined: Wed Sep 25, 2013 2:20 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by arman »

Thank you Al, now it is working and it is great!
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

Hi

I'm all new to HB and have found your script which seems nice. I have one problem though. When I try to run the following command I get an error:

Code: Select all

kalle@server:/usr/local/bin/handbrake$ ruby hb.rb --input /media/Iomega/film/ICE_AGE_4.ISO --output /media/Iomega/film/#source_basename#.mkv --autocrop --lang dan --main --skip-commentaries
hb.rb Copyright (C) 2013 AlBundy
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt.
This is free software, and you are welcome to redistribute it under certain conditions.

For questions, feature-requests etc. visit: https://forum.handbrake.fr/viewtopic.php?f=10&t=26163

/usr/local/bin/handbrake/lib/hb_lib.rb:376:in `match': invalid byte sequence in UTF-8 (ArgumentError)
        from /usr/local/bin/handbrake/lib/hb_lib.rb:376:in `match'
        from /usr/local/bin/handbrake/lib/hb_lib.rb:376:in `block in readInfo'
        from /usr/local/bin/handbrake/lib/hb_lib.rb:373:in `each_line'
        from /usr/local/bin/handbrake/lib/hb_lib.rb:373:in `readInfo'
        from /usr/local/bin/handbrake/lib/hb_lib.rb:521:in `convert'
        from hb.rb:79:in `block (2 levels) in <main>'
        from hb.rb:72:in `each'
        from hb.rb:72:in `block in <main>'
        from hb.rb:60:in `each'
        from hb.rb:60:in `<main>'
Can anyone help me solve this? I also tried replace #source_basename# with the string Ice_Age_4 and just the --input and --check - all gives the same result :(
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version but I think you'll get the same error.
In that case please add

Code: Select all

--testdata test.txt
to your commandline and post the content of test.txt

Al
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

Edit: Running as sudo changed things a bit. Now test.txt is created...

Code: Select all

[20:09:30] hb_init: starting libhb thread
HandBrake rev0 (2013051899) - Linux i686 - http://handbrake.fr
1 CPU detected
Opening /media/Iomega/film/ICE_AGE_4.ISO...
[20:09:30] hb_scan: path=/media/Iomega/film/ICE_AGE_4.ISO, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /media/Iomega/film/ICE_AGE_4.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /media/Iomega/film/ICE_AGE_4.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/media/Iomega/film/ICE_AGE_4.ISO) failed (0xb5c00490)
[20:09:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: ICE_AGE_4
libdvdnav: DVD Serial Number: 416198150021AD1F
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/kalle/.dvdnav/ICE_AGE_4.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[20:09:30] scan: DVD has 1 title(s)
[20:09:30] scan: scanning title 1
[20:09:30] scan: opening IFO for VTS 1
[20:09:30] scan: duration is 01:27:39 (5259100 ms)
[20:09:30] pgc_id: 1, pgn: 1: pgc: 0xb5c09b70
[20:09:30] scan: vts=1, ttn=1, cells=0->24, blocks=0->2206645, 2206646 blocks
[20:09:30] scan: checking audio 1
[20:09:30] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[20:09:30] scan: checking audio 2
[20:09:30] scan: id=0x81bd, lang=Dansk (AC3), 3cc=dan ext=0
[20:09:30] scan: checking subtitle 1
[20:09:30] scan: id=0x20bd, lang=English, 3cc=eng ext=0
[20:09:30] scan: checking subtitle 2
[20:09:30] scan: id=0x21bd, lang=Dansk, 3cc=dan ext=0
[20:09:30] scan: title 1 has 25 chapters
[20:09:30] scan: chap 1 c=0->0, b=0->86219 (86220), 205480 ms
[20:09:30] scan: chap 2 c=1->1, b=86220->129506 (43287), 102559 ms
[20:09:30] scan: chap 3 c=2->2, b=129507->241218 (111712), 265731 ms
[20:09:30] scan: chap 4 c=3->3, b=241219->331612 (90394), 214788 ms
[20:09:30] scan: chap 5 c=4->4, b=331613->401376 (69764), 165707 ms
[20:09:30] scan: chap 6 c=5->5, b=401377->463234 (61858), 146662 ms
[20:09:30] scan: chap 7 c=6->6, b=463235->564442 (101208), 240672 ms
[20:09:30] scan: chap 8 c=7->7, b=564443->653397 (88955), 211781 ms
[20:09:30] scan: chap 9 c=8->8, b=653398->737490 (84093), 200755 ms
[20:09:30] scan: chap 10 c=9->9, b=737491->830066 (92576), 218621 ms
[20:09:30] scan: chap 11 c=10->10, b=830067->912400 (82334), 195743 ms
[20:09:30] scan: chap 12 c=11->11, b=912401->974243 (61843), 146662 ms
[20:09:30] scan: chap 13 c=12->12, b=974244->1103298 (129055), 306827 ms
[20:09:30] scan: chap 14 c=13->13, b=1103299->1145256 (41958), 99552 ms
[20:09:30] scan: chap 15 c=14->14, b=1145257->1250094 (104838), 248867 ms
[20:09:30] scan: chap 16 c=15->15, b=1250095->1354972 (104878), 249693 ms
[20:09:30] scan: chap 17 c=16->16, b=1354973->1444558 (89586), 212783 ms
[20:09:30] scan: chap 18 c=17->17, b=1444559->1573913 (129355), 307829 ms
[20:09:30] scan: chap 19 c=18->18, b=1573914->1715608 (141695), 337040 ms
[20:09:30] scan: chap 20 c=19->19, b=1715609->1792256 (76648), 181710 ms
[20:09:30] scan: chap 21 c=20->20, b=1792257->1844165 (51909), 123431 ms
[20:09:30] scan: chap 22 c=21->21, b=1844166->1935940 (91775), 217795 ms
[20:09:30] scan: chap 23 c=22->22, b=1935941->1998634 (62694), 149669 ms
[20:09:30] scan: chap 24 c=23->23, b=1998635->2205683 (207049), 500435 ms
[20:09:30] scan: chap 25 c=24->24, b=2205684->2206645 (962), 8295 ms
[20:09:30] scan: aspect = 1.77778
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 

*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 

*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 

*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
[20:09:30] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
[20:09:30] scan: title angle(s) 1

*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[20:09:30] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[20:09:30] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 Dansk (AC3) (5.1 ch)

*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


Scanning title 1 of 1, preview 7, 85.00 %
*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:162 ***
*** for (pci->hli.hl_gi.btn_ns != 0 && pci->hli.hl_gi.btngr_ns != 0) || (pci->hli.hl_gi.btn_ns == 0 && pci->hli.hl_gi.btngr_ns == 0) ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

[20:09:30] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[20:09:30] scan: 10 previews, 720x480, 23.976 fps, autocrop = 62/62/0/0, aspect 1.78:1, PAR 853:720
[20:09:30] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->24 (2206646 blocks)
  + duration: 01:27:39
  + size: 720x480, pixel aspect: 853/720, display aspect: 1.78, 23.976 fps
  + autocrop: 62/62/0/0
  + chapters:
    + 1: cells 0->0, 86220 blocks, duration 00:03:25
    + 2: cells 1->1, 43287 blocks, duration 00:01:43
    + 3: cells 2->2, 111712 blocks, duration 00:04:26
    + 4: cells 3->3, 90394 blocks, duration 00:03:35
    + 5: cells 4->4, 69764 blocks, duration 00:02:46
    + 6: cells 5->5, 61858 blocks, duration 00:02:27
    + 7: cells 6->6, 101208 blocks, duration 00:04:01
    + 8: cells 7->7, 88955 blocks, duration 00:03:32
    + 9: cells 8->8, 84093 blocks, duration 00:03:21
    + 10: cells 9->9, 92576 blocks, duration 00:03:39
    + 11: cells 10->10, 82334 blocks, duration 00:03:16
    + 12: cells 11->11, 61843 blocks, duration 00:02:27
    + 13: cells 12->12, 129055 blocks, duration 00:05:07
    + 14: cells 13->13, 41958 blocks, duration 00:01:40
    + 15: cells 14->14, 104838 blocks, duration 00:04:09
    + 16: cells 15->15, 104878 blocks, duration 00:04:10
    + 17: cells 16->16, 89586 blocks, duration 00:03:33
    + 18: cells 17->17, 129355 blocks, duration 00:05:08
    + 19: cells 18->18, 141695 blocks, duration 00:05:37
    + 20: cells 19->19, 76648 blocks, duration 00:03:02
    + 21: cells 20->20, 51909 blocks, duration 00:02:03
    + 22: cells 21->21, 91775 blocks, duration 00:03:38
    + 23: cells 22->22, 62694 blocks, duration 00:02:30
    + 24: cells 23->23, 207049 blocks, duration 00:08:20
    + 25: cells 24->24, 962 blocks, duration 00:00:08
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Dansk (AC3) (5.1 ch) (iso639-2: dan), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Dansk (iso639-2: dan) (Bitmap)(VOBSUB)
HandBrake has exited.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

This seemst to be a problem of the output.
I think this line is the problem:

Code: Select all

libdvdnav: Language 'en' not found, using 'ÿÿ' instead
.

What is your default encoding?

Unfortunately I can not reproduce the problem locally - maybe you can send me the test.txt via a file-uploader.

I've uploaded a new version - please check if it works now (warning should be printed).

Al
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

Hi

Sorry for the late reply. I haven't had the time to look into this earlier :(

The output of echo "$LANG" is da_DK.UTF-8

I tried running my command with *.iso instead and the first movie in the directory started just fine so it might be a problem specifik to some of my iso files.

My new test.txt can be found at http://txtup.co/FvHHI
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

No problem - please try your original command with the latest version of my script.

It should work now (at least I hope so).
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

The test.txt I posted as a link is the one from my original command. The *.iso command was just a note to let you note that it is not all my iso files that doesn't work
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

Do you still get the error with this file?
If so, I'll need the console output too.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

Additionally I need a downloadable version of text.txt to ensure that the encoding is preserved.
ajcowell
Posts: 1
Joined: Sun Oct 27, 2013 9:52 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by ajcowell »

Hi, this was working great prior to upgrading to Mavericks. Here is the error now:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- iconv (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/thecowells/Downloads/handbrake/lib/hb_lib.rb:3:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from ./hb.rb:4:in `<main>'

Probably a simple fix but my Ruby Kung Fu is weak, grasshopper. Anyone have a hint?

Thanks.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version which should work with older and newer ruby-versions.

Al
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

First of all, I'm terribly sorry for the extremely late reply. I'm still having the issue, even with the newest version of your script :(

The console output is here: http://www.filedropper.com/output and the test.txt is here: http://www.filedropper.com/test_13

The console output has been copy/pasted from putty to my windows machine and then inserted into at txt file. As the output.txt shows I could not get access to write to any file in the directory (even with sudo)... I don't hope this ruins any encoding that you wanted...
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

The output looks fine - there are only two warning.
The first says, that the module iconv will become deprecated in future - this is OK, my script can handle older and newer versions of Ruby.

The second warning comes (multiple times) from parsing handbrake output - some characters are not well encoded.
[2013-11-04, 20:05:36] WARN -- hb.rb: error reading line: libdvdnav: Language 'en' not found, using 'â–’â–’' instead
But this is no problem because the script ignores illegal characters.

So if you remove the test-parameter from your command line the encoding process should start.

Al
Kalle
Posts: 6
Joined: Sat Oct 12, 2013 6:00 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Kalle »

But why doesn't it find 'en' language? The dvd should contain english (maybe also danish) sound. Anyway 'â–’â–’' is a weird fallback, if anything I would expect it to use 'da' or 'dan' if danish was the only language available :)
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

This line
[2013-11-04, 20:05:36] WARN -- hb.rb: error reading line: libdvdnav: Language 'en' not found, using 'â–’â–’' instead
cames from HandbrakeCLI while scanning the DVD - this is no problem.

This output comes from my script

Code: Select all

[2013-11-04, 20:05:36]  WARN -- hb.rb: /media/Iomega/film/ICE_AGE_4.ISO (title=ICE_AGE_4, title_alt=, serial=416198150021AD1F, name=ICE_AGE_4)
[2013-11-04, 20:05:36]  WARN -- hb.rb: input title 1 (main-feature) 01:27:39 720x480 (blocks: 2206646)
[2013-11-04, 20:05:36]  WARN -- hb.rb:   audio-tracks
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 1: English (AC3) (5.1 ch)
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 2: Dansk (AC3) (5.1 ch)
[2013-11-04, 20:05:36]  WARN -- hb.rb:   subtitles
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 1: English
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 2: Dansk
[2013-11-04, 20:05:36]  WARN -- hb.rb:   == converting to ==
[2013-11-04, 20:05:36]  WARN -- hb.rb:   audio-tracks
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 1: English (AC3) (5.1 ch)
[2013-11-04, 20:05:36]  WARN -- hb.rb:   subtitles
[2013-11-04, 20:05:36]  WARN -- hb.rb:     - track 2: Dansk
which means that the resulting file will have an english audio-track and danish subtitles.

Al
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version, that supports "presets" for hb.rb
simply create a file hb.presets in the same folder as hb.rb for example with this content

Code: Select all

[movie]
--movie
--output
#source_dirname#/#title#.m4v
--lang
deu,eng
This defines a preset "movie" that uses --move --output "#source_dirname#/#title#.m4v" --lang deu,eng as arguments for hb.rb

With this you can call

Code: Select all

./hb.rb --hbpreset movie --input "~/mymovie.mkv"
- all other arguments will come from preset.

[move] defines the start of a new preset named "move" followed by one line for each argument.
You can define as much presets as you want.
NeechBear
Posts: 1
Joined: Thu Nov 14, 2013 11:32 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by NeechBear »

First of all, kudos to AlBundy for saving us all so much time and effort by writing such a useful little script. :-)

I've done a quick video showing how I use the Handbrake GUI to encode my DVDs with my preferred settings which I'd like to replicate in an automated manner: https://www.youtube.com/watch?v=8kx0CW3O6bQ#t=60

Points of note that I'm trying to achieve are:
  • - High Profile preset. (DONE with --preset flag)
    - MKV rather than MP4. (DONE with --xtra flag)
    - Always make audio track 0 an AAC (CoreAudio) version of the first (English if available) audio track for better device compatibility. (TODO)
    - Audio track 1 and higher should be as-is Auto Passthru copies of ALL audio tracks (including a pasthru copy of the track we converted in to AAC). (DONE as default hb.rb behaviour)
    - The first subtitle track should be a foreign audio search for forced only subtitles. (TODO)
    - Include ALL subtitle tracks. No subtitles should be burned in. (DONE as default hb.rb behaviour)
I've dumped loads of DVD images directly to disk, and have cobbled together the following simple shell wrapper to hb.rb:

Code: Select all

#!/bin/bash

SOURCE_DIR="/Volumes/eSATADisk1/___TO_BE_ENCODED___"
OUTPUT_DIR="/Volumes/Scratch/___RECENTLY_ENCODED___"

function encode_loop() {
        dir="$1"; shift
        options="$*"

        for src in $(find "$SOURCE_DIR/$dir" -type d -name '*.dvdmedia')
        do
                output="$(basename $src | sed 's/.dvdmedia//')_#pos#.mkv"

                CMD="hb --input \"$src\" --output \"$OUTPUT_DIR/$dir/$output\" "
                CMD="$CMD --preset 'High Profile' --audio-copy --xtra '-f mkv' --skip-duplicates "
                CMD="$CMD $options"

                echo $CMD
                eval $CMD
        done
}

encode_loop Childrens_Episodes "--min-length 00:02:00 --max-length 02:00:00"
encode_loop Episodes "--min-length 00:10:00 --max-length 01:05:00"
encode_loop Movies "--main"
encode_loop MiscellaneousBonus "--min-length 00:02:00 --max-length 02:00:00"
If anybody can offer any help or advice on how to get the last two points working for the first audio track and first subtitle track then I'd be very grateful.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

- MKV rather than MP4. (DONE with --xtra flag)
there's no need of the xtra flag - simply set mkv as extension in "--output"

- Always make audio track 0 an AAC (CoreAudio) version of the first (English if available) audio track for better device compatibility. (TODO)
- Audio track 1 and higher should be as-is Auto Passthru copies of ALL audio tracks (including a pasthru copy of the track we converted in to AAC). (DONE as default hb.rb behaviour)

Currently this audio-handling is implemented:
--audio-copy (default) = all languages (depending on options) passed trough
--audio-mixdown adds a mixdown track for each selected language

mixdown-track for only one language and passtrough for all languages is currently not possible.
I've implemented the script to work handle all tracks in the same way.

- The first subtitle track should be a foreign audio search for forced only subtitles. (TODO)
Because I haven't needed the foreign audio search it is not implemented.
If you specify languages, the subtitles (also audio-tracks) will be in the ordering of the specified.

e.g. if you specifiy --lang deu,eng
audio- and subtitle-tracks will be in the order first german tracks and after that the english ones.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version with refactored audio-handling.
I've removed the options audio-mixdown, audio-mixdown-encoder, audio-mixdown-bitrate

Therefore I've added the option "--audio-track" that takes multiple options.
e.g. --audio-track "encoder=copy" simply copies all tracks (depedinding on your selected languages)
--audio-track "encoder=ca_aac,mixdown=dpl2" adds a mixed down track

Both together --lang deu,eng --audio-track "encoder=copy" --audio-track "encoder=ca_aac,mixdown=dpl2" add at first the copied german track, after that the mixeddown german track and after that the same for the english tracks.

--audio-copy and --audio-mixdown will now be replaced by --audio-track (see help for more information)

I a usecase is missed, that worked in previous version from hb.rb please inform me.

@NeechBear: For your usecase
- Always make audio track 0 an AAC (CoreAudio) version of the first (English if available) audio track for better device compatibility. (TODO)
- Audio track 1 and higher should be as-is Auto Passthru copies of ALL audio tracks (including a pasthru copy of the track we converted in to AAC). (DONE as default hb.rb behaviour)

simply use --audio-track "encoder=ca_aac,mixdown=auto,language=eng" --audio-track "encoder=copy"
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

@all: has anyone an idea how to integrate handling for bluray pgs-subtitles?
at now the only option is to use mkv as output without resizing the video-stream.

I'm looking for an automated way (windows, linux, osx) to handle pgs-subtitles.
mkv with downsized video would be enough for now (currently pgs-subtitles are to big on downsized videos).
a solution for mp4/m4v would be nice too.

Al
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

I've uploaded a new version.
With a new DVD I also had an encoding issue - this should now be fixed.

I've also added the possibility to reencode the audio-streams.
Just have a look at the help text or ask. :-)

I still have no idea how to handle bluray pgs-subtitles. :-(
User avatar
Rodeo
HandBrake Team
Posts: 12571
Joined: Tue Mar 03, 2009 8:55 pm

Re: [Script] rip all episodes or only main-feature from DVD

Post by Rodeo »

AlBundy wrote:I still have no idea how to handle bluray pgs-subtitles. :-(
Since the likeliness of a PGS encoder in HandBrake is very low, you should troll player developers (VLC, MPlayer, etc.), so that they implement subtitle scaling, which they can do somewhere between decoding and rendering without needing an encoder.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: [Script] rip all episodes or only main-feature from DVD

Post by AlBundy »

The question about handling pgs-subtitles was not specific for handbrake.
It was just a question to the user if they have an idea, how to handle them.

Because currently I cannot not use subtitles if target-format is mp4, and I cannot downscale the movie because the subtitles will not be resized.
Current "workaround" is to exclude subtitles. :-(
Post Reply