Bus error when using "-t 0 -L"

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
iJoel
Enlightened
Posts: 124
Joined: Sat Dec 20, 2008 7:25 am

Bus error when using "-t 0 -L"

Post by iJoel »

This is not a huge deal, and I'm sure I'm not formatting my CLI commands correctly,
but nonetheless it still kind of bugs me that I'm doing it wrong.

So I was wondering why I get a "Bus error" when I use *drum role*:

Code: Select all

iMac:~ Joel$ /Applications/CLI/HandBrakeCLI -i /Volumes/LaCie/Eternal  -t 0 -L
Here's the log, I searched around the forums for "bus error" but couldn't find any in relation to my problem ;P.
Note: This happens on every single dvd I use "-L -t 0" options with.
It's not a huge deal, as Handbrake still spits out all the data I need, but I digress.

Code: Select all

HandBrake 0.9.3 (2008112300) - http://handbrake.fr/
2 CPUs detected
Opening /Volumes/LaCie/Changed  Since Jan 10/Movies/BatchRip/Eternal...
libdvdread: Invalid IFO for title 10 (VTS_10_0.BUP).
ERROR: scan: ifoOpen failed
libdvdread: Invalid IFO for title 10 (VTS_10_0.BUP).
ERROR: scan: ifoOpen failed
Scanning title 1 of 11...
Scanning title 1 of 11...
Scanning title 1 of 11...
Scanning title 1 of 11...
Scanning title 1 of 11...
Scanning title 2 of 11...
Scanning title 3 of 11...
Scanning title 3 of 11...
Scanning title 4 of 11...
Scanning title 4 of 11...
Scanning title 5 of 11...
Scanning title 5 of 11...
Scanning title 6 of 11...
Scanning title 6 of 11...
Scanning title 7 of 11...
Scanning title 8 of 11...
Scanning title 9 of 11...
Searching for longest title...
 + Title (0) index 1 has length 6461sec
 + Title (1) index 2 has length 354sec
 + Title (2) index 3 has length 693sec
 + Title (3) index 4 has length 936sec
 + Title (4) index 5 has length 423sec
 + Title (5) index 6 has length 183sec
 + Title (6) index 7 has length 37sec
 + Title (7) index 8 has length 20sec
 + Title (8) index 9 has length 24sec
Found longest title, setting title to 1
+ title 1:
  + vts 1, ttn 1, cells 0->21 (3315693 blocks)
  + duration: 01:47:41
  + size: 720x480, aspect: 1.78, 23.976 fps
  + autocrop: 6/14/0/0
  + chapters:
    + 1: cells 0->0, 122470 blocks, duration 00:03:41
    + 2: cells 1->1, 224077 blocks, duration 00:06:48
    + 3: cells 2->2, 93024 blocks, duration 00:02:54
    + 4: cells 3->3, 132108 blocks, duration 00:04:11
    + 5: cells 4->4, 64232 blocks, duration 00:01:57
    + 6: cells 5->5, 174946 blocks, duration 00:05:36
    + 7: cells 6->6, 91159 blocks, duration 00:02:48
    + 8: cells 7->7, 233133 blocks, duration 00:07:08
    + 9: cells 8->8, 248372 blocks, duration 00:07:58
    + 10: cells 9->9, 196150 blocks, duration 00:06:22
    + 11: cells 10->10, 85895 blocks, duration 00:02:44
    + 12: cells 11->11, 228240 blocks, duration 00:07:10
    + 13: cells 12->12, 116047 blocks, duration 00:03:28
    + 14: cells 13->14, 395425 blocks, duration 00:12:57
    + 15: cells 15->15, 167486 blocks, duration 00:05:37
    + 16: cells 16->16, 84667 blocks, duration 00:02:54
    + 17: cells 17->17, 223006 blocks, duration 00:07:23
    + 18: cells 18->18, 123780 blocks, duration 00:04:07
    + 19: cells 19->19, 239858 blocks, duration 00:08:13
    + 20: cells 20->20, 71613 blocks, duration 00:03:41
    + 21: cells 21->21, 5 blocks, duration 00:00:01
  + audio tracks:
    + 1, English (AC3) (5.1 ch), 48000Hz, 448000bps
    + 2, English (DTS) (5.1 ch), 48000Hz, 768000bps
    + 3, Francais (AC3) (5.1 ch), 48000Hz, 384000bps
    + 4, English (AC3) (Director's Commentary 1) (Dolby Surround), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
    + 2, Espanol (iso639-2: spa)
    + 3, Francais (iso639-2: fra)
Bus error
Last edited by iJoel on Tue Feb 03, 2009 5:15 pm, edited 1 time in total.
jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Bus error when using "-L -t 0"

Post by jbrjake »

Longest title and scan? Huh? That doesn't even make sense.
iJoel
Enlightened
Posts: 124
Joined: Sat Dec 20, 2008 7:25 am

Re: Bus error when using "-L -t 0"

Post by iJoel »

jbrjake wrote:Longest title and scan? Huh? That doesn't even make sense.
Haha, I understand your rational.
It obviously needs to scan ALL the titles to figure out what the longest title is.


But I wanted handbrake to ONLY *display* the longest titles data (regardless of what it scanned) so I could analyze it (as it would most likely be the main_feature). That's why I did it like that (as I figured it would function as such), and in fact it works as I expected (if you look at the log, it does exactly what I wanted it to). But errors out in the end after, apparently, wanting to display the rest, but being told not to ha. I just thought I'd mention it. My rationale was that -t 0 was for the end user, to display data, so that if I only wanted it to *display* the longest title I could use -L in conjunction with it, and only have to read though the data in the only title I need to encode (and as mentioned, it does work ;)).
I tried just "-L" but then it wants to encode the file, and "-t 0" will display them all, I just wanted it to display 1 title (specifically the longest) ;P.

In any case, it's not a big deal, as I just switched my dvdRead function to lsdvd (which I like a little better ;) using handbrake's "-t 0" as a backup (which works just as well).
Post Reply