Page 9 of 14

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

Posted: Wed Jul 30, 2014 6:17 pm
by AlBundy
I've uploaded my last version - not sure about the changes.

Directly converting blurays with my script works really good - with enabled qsv I need only 20-30min to convert the main-feature from a BD.
--> I've added all necessary links to my first post.

Al

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

Posted: Wed Jul 30, 2014 8:45 pm
by Atasco
Hi,

first thanks for this script. It's amazing!

Sadly it doesn't work for bluray iso's - for me. (DVD iso's work fine - tested with a movie not a series)

Thats the Output:

Code: Select all

ruby hb.rb --input "D:\SOMEFOLDER\SOMEISO_S1_D1.iso" --output "D:\SOMEFOLDER\encode\SOMEISO-S01E#pos#.mkv" --episodes --bluray

hb.rb Copyright (C) 2014 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

[2014-07-30, 22:24:08]  WARN -- hb.rb: overview
[2014-07-30, 22:24:08]  WARN -- hb.rb: input: D:/SOMEFOLDER/SOMEISO_S1_D1.iso (43.91 GB)
[2014-07-30, 22:24:08]  WARN -- hb.rb:   no Outputs
Copying the disc to the filesystem doesn't change a thing.
The iso is playing back fine in VLC.

Where is my mistake?

Thanks!

p.s.: used the new Version you posted recently.

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

Posted: Wed Jul 30, 2014 9:35 pm
by AlBundy
I. didn't try to convert a bluray-iso - I'm converting directly from disc to hdd.

You could try - - verbose - tthis should give some more info.
If this doesn't work try HandbrakeCLI - - input "D:\SOMEFOLDER\SOMEISO_S1_D1.iso" - - scan - t 0

Maybe you data is still encrypted?

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

Posted: Fri Aug 01, 2014 8:58 pm
by Atasco
Hi,

no my data is not encypted....

Here is the verbose ouput of two different tries.

Code: Select all

D:\Tools\handbrake>ruby hb.rb --input G: --output D:\SOMEFOLDER\encode\Series - S01E#pos#.mkv --min-length 00:40:00 --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --bluray --verbose
hb.rb Copyright (C) 2014 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

[2014-08-01, 21:21:21]  WARN -- hb.rb: processing G:/ (title=, title_alt=, name=SERIES_S1_D2)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 01: 00:00:14, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:14 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 02: 00:00:33, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:33 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 03: 00:04:05, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 35, audio-tracks: eng,
titles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:04:05 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 04: 00:00:15, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:15 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 06: 00:00:14, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:14 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 07: 00:04:19, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 38, audio-tracks: eng,
titles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:04:19 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 17: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,fra
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 18: 00:00:42, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:42 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 19: 00:00:42, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:42 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 20: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 21: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 22: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 23: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 24: 00:00:46, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:46 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 25: 00:00:41, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:41 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 26: 00:00:42, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:42 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 27: 00:01:32, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:32 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 28: 00:01:32, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:32 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 29: 00:01:31, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:31 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 30: 00:01:31, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:31 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 31: 00:01:32, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:32 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 32: 00:01:30, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:30 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 33: 00:01:32, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:32 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 34: 00:01:32, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:32 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 35: 00:02:01, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:01 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 36: 00:02:46, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:46 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 37: 00:02:44, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:44 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 38: 00:02:58, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:58 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 39: 00:04:50, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:04:50 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 40: 00:02:50, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:50 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 41: 00:02:08, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:08 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 42: 00:02:30, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:30 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 43: 00:03:27, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:27 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 44: 00:03:03, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:03 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 45: 00:02:10, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:10 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 46: 00:01:59, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:59 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 47: 00:03:43, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:43 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 48: 00:02:33, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:33 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 49: 00:02:43, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:43 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 50: 00:01:45, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:01:45 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 51: 00:03:21, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:21 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 52: 00:02:40, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:40 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 53: 00:02:56, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:56 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 54: 00:03:11, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:11 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 55: 00:02:39, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:39 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 56: 00:02:52, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:52 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 57: 00:03:01, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:01 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 58: 00:02:58, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:58 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 59: 00:03:07, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:03:07 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 60: 00:02:52, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:52 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 61: 00:02:46, 1920x1080, 23.976 fps, main-feature: false, blocks: -1, chapters: 2, audio-tracks: eng,
itles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:02:46 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 62: 00:00:13, 1920x1080, 29.970 fps, main-feature: false, blocks: -1, chapters: 1, audio-tracks: eng,
itles:
[2014-08-01, 21:21:21]  INFO -- hb.rb: skipping title because it's duration is too short (00:40:00 <= 00:00:13 <= -1:59:59)
[2014-08-01, 21:21:21]  INFO -- hb.rb: checking title 63: 00:57:14, 1920x1080, 23.976 fps, main-feature: true, blocks: -1, chapters: 10, audio-tracks: eng,e
eu,deu,eng, subtitles: eng,deu
[2014-08-01, 21:21:21]  INFO -- hb.rb: converting title 63: 00:57:14, 1920x1080, 23.976 fps, main-feature: true, blocks: -1, chapters: 10, audio-tracks: eng
,deu,deu,eng, subtitles: eng,deu
D:/Tools/handbrake/lib/hb_lib.rb:897:in `block in convert': error unsupported extension  (RuntimeError)
        from D:/Tools/handbrake/lib/hb_lib.rb:823:in `each'
        from D:/Tools/handbrake/lib/hb_lib.rb:823:in `convert'
        from hb.rb:67:in `block (2 levels) in <main>'
        from hb.rb:60:in `each'
        from hb.rb:60:in `block in <main>'
        from hb.rb:48:in `each'
        from hb.rb:48:in `<main>'

		
		
D:\Tools\handbrake>ruby hb.rb --input D:\SOMEFOLDER\SERIES_S1_D2.iso --output D:\SOMEFOLDER\encode\Series - S01E#pos#.mkv --min-length 00:40:00 --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --bluray --verbose
hb.rb Copyright (C) 2014 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

[2014-08-01, 21:18:31]  INFO -- hb.rb: D:/SOMEFOLDER/Series_S1_D2.iso contains no titles
waiting for D:/Tools/handbrake/of...
CTRL-C detected - stopping conversion
[2014-08-01, 21:18:56]  WARN -- hb.rb: overview
[2014-08-01, 21:18:56]  WARN -- hb.rb: input: D:/SOMEFOLDER/Series_S1_D2.iso (44.60 GB)
[2014-08-01, 21:18:56]  WARN -- hb.rb:   no Outputs
Intresteing thing is, that mounting the iso actually lets HB read the titles..... if iso only not... :shock:

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

Posted: Fri Aug 01, 2014 9:45 pm
by AlBundy
The error on the first try come because you haven't put the output in quotes

Code: Select all

ruby hb.rb --input G: --output "D:\SOMEFOLDER\encode\Series - S01E#pos#.mkv" --min-length 00:40:00 --audio deu,eng --subtitles deu,eng --audio-copy --skip-commentaries --bluray --verbose
As written in verbose output all titles are skipped because they are to short.
You've set a minimum duration of 40 minutes but all titles are shorter than 5 minutes.

I think the problem of the second try can be solved by putting the input in quotes too...

Al

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

Posted: Sat Aug 02, 2014 12:47 am
by vid.user
HandBrake doesn't support Blu-ray ISO directly as input, just DVD ISO.

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

Posted: Sat Aug 02, 2014 2:55 am
by Deleted User 11865
vid.user wrote:HandBrake doesn't support Blu-ray ISO directly as input, just DVD ISO.
That is correct.

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

Posted: Sat Aug 02, 2014 7:08 pm
by Atasco
Thanks AlBundy will try it.

@vid.user: So is the BD-Filesystem supported?

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

Posted: Sat Aug 02, 2014 7:34 pm
by AlBundy
Mounting the ISO should work because I convert most of my movies directly from BD.

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

Posted: Sat Aug 02, 2014 7:54 pm
by Deleted User 11865
AlBundy wrote:Mounting the ISO should work because I convert most of my movies directly from BD.
Yep, if you have a Blu-ray ISO it's just a matter of mounting it with whatever appropriate software is available for your operating system.

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

Posted: Sun Aug 17, 2014 7:35 pm
by Atasco
Hi....

I'm trying to do a recursive convert of a dir that contains only dvd's ..... all i get is this:

Code: Select all

D:\Tools\handbrake>hb.rb --input "E:\**\VIDEO_TS" --output "E:\encode\#title#_#pos#.mkv" --default --min-length 00:30:00 --verbose
hb.rb Copyright (C) 2014 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

waiting for E:/Some Movie/VIDEO_TS...

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

Posted: Sun Aug 17, 2014 7:54 pm
by AlBundy
I have not tested my script with recursive conversion of directories - with files (e. g. iso) it should work.

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

Posted: Sun Aug 17, 2014 8:13 pm
by Atasco
Still waiting.... im trying a singe DVD strucutre now.

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

Posted: Sun Aug 17, 2014 8:42 pm
by Atasco
hmmm....

this should work... shoudln't it?

Code: Select all

D:\Tools\handbrake>hb.rb --input "E:\test\Movie\VIDEO_TS" --output "E:\encode\#title#_#pos#.mkv"
hb.rb Copyright (C) 2014 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

waiting for E:/test/Movie/VIDEO_TS...

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

Posted: Sun Aug 17, 2014 8:46 pm
by AlBundy
Try

D:\Tools\handbrake>hb.rb --input "E:\test\Movie" --output "E:\encode\#title#_#pos#.mkv"

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

Posted: Sun Aug 17, 2014 8:55 pm
by Atasco
Unoftrunatley it doesn't work....

Code: Select all

D:\Tools\handbrake>hb.rb --input "E:\test\Movie" --output "E:\encode\#title#_#pos#.mkv"
hb.rb Copyright (C) 2014 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

waiting for E:/test/Movie...

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

Posted: Sun Aug 17, 2014 10:53 pm
by AlBundy
I'll check this in the next days - I'm pretty sure that I've tested a local DVD-Folder-structure.

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

Posted: Mon Aug 18, 2014 6:19 pm
by Atasco
Many thanks in advance!

Maybe i'm doing something wrong... but i only start the script via the Parameters i mentioned....
Strange....

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

Posted: Mon Aug 18, 2014 7:13 pm
by AlBundy
I've successfully tested recursive and standard converting of local dvd-folders.

Do you use latest version of my script?

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

Posted: Tue Aug 19, 2014 3:29 pm
by Atasco
Excluded the specific folder from the dir... and hey it works...
Strabge thing is that the handbrake GUI can encode the Movie.... :shock:

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

Posted: Tue Aug 19, 2014 5:31 pm
by AlBundy
What dir?

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

Posted: Sun Aug 24, 2014 12:40 pm
by AlBundy
I've uploaded a new version with minor windows-related changes to avoid "no disk" popups.

@Atasco: Can you please explain what your problem was and how you could fix it?

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

Posted: Thu Sep 18, 2014 7:03 pm
by Dapsol
Hi, thanks for this script, i'm wondering, does --burnin-forced only burn in forced subtitles, and if so how do i burn in a subtitle that isn't forced ?

Code: Select all

--burnin-forced              Burn in the first forced subtitle

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

Posted: Thu Sep 18, 2014 8:15 pm
by AlBundy
The arguments tries to detect the first forced subtitle for your first language.
If you want to burn in a subtitle you can use - - xtra to pass through an argument to handbrake.

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

Posted: Fri Sep 19, 2014 8:31 am
by Dapsol
okay thanks i will do that!

Maybe a nice feature to implement sometime, something like "--burn eng" or "--burn ger" :)


PS. have you considered putting this code on https://github.com/ ? Then we could easily update to the latest code when you make updates by executing a simple git pull.