Search found 370 matches

by AlBundy
Thu Mar 19, 2015 7:18 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

i've uploaded a new version.
Some users reported that encoding with hb_rb did not start - reason was that the modification time of the file was in future.
Therefore a warning is now logged, if my script waits for a "future-file". :-)
by AlBundy
Sun Jan 25, 2015 7:39 pm
Forum: Command Line Interface And Scripting
Topic: What are previews used for?
Replies: 6
Views: 966

Re: What are previews used for?

Are there any sideeffects if I disable autocrop and turn down the previews?

Al
by AlBundy
Sat Jan 24, 2015 7:36 pm
Forum: Command Line Interface And Scripting
Topic: What are previews used for?
Replies: 6
Views: 966

Re: What are previews used for?

Is this really necessary because sometimes it takes really long to create the previews?
In my case I've disabled autocropping.

Al
by AlBundy
Sat Jan 24, 2015 7:34 pm
Forum: Command Line Interface And Scripting
Topic: Using quick sync encoder when not supported
Replies: 13
Views: 1180

Re: Using quick sync encoder when not supported

I'm using CLI to get the list of available encoders. :-)
by AlBundy
Sat Jan 24, 2015 12:41 pm
Forum: Command Line Interface And Scripting
Topic: Using quick sync encoder when not supported
Replies: 13
Views: 1180

Re: Using quick sync encoder when not supported

That's simple.
Default encoder is h264 if --qsv is specified, the script checks if qsv_h264 is available and activates it.

Al
by AlBundy
Fri Jan 23, 2015 10:37 pm
Forum: Command Line Interface And Scripting
Topic: Using quick sync encoder when not supported
Replies: 13
Views: 1180

Re: Using quick sync encoder when not supported

qsv_h264 of course - thats why I've named the argument simply --qsv in my script. :-)
by AlBundy
Fri Jan 23, 2015 10:13 pm
Forum: Command Line Interface And Scripting
Topic: Using quick sync encoder when not supported
Replies: 13
Views: 1180

Re: Using quick sync encoder when not supported

With my script you can define --qsv that uses qsv_x264 as encoder and falls back to x264 if qsv is not available.
viewtopic.php?f=10&t=26163

Al
by AlBundy
Sun Jan 18, 2015 5:21 pm
Forum: Command Line Interface And Scripting
Topic: Creating multiple audio tracks from a single source
Replies: 1
Views: 383

Re: Creating multiple audio tracks from a single source

You should check your activity log and maybe recheck the used arguments.

Al
by AlBundy
Sun Jan 18, 2015 5:11 pm
Forum: Windows
Topic: No QuickSync Option
Replies: 5
Views: 663

Re: No QuickSync Option

Have a look at the end of the first post of viewtopic.php?f=10&t=26163 or at this pdf https://github.com/AlBundy33/hb_rb/blob ... 20card.pdf

Al
by AlBundy
Sun Jan 18, 2015 5:06 pm
Forum: Windows
Topic: How to preset for my needs
Replies: 3
Views: 649

Re: How to preset for my needs

Maybe have a look at my script: viewtopic.php?f=10&t=26163

Al
by AlBundy
Sun Jan 18, 2015 4:58 pm
Forum: Windows
Topic: Copy DVD for TV screen size displaying
Replies: 3
Views: 453

Re: Copy DVD for TV screen size displaying

In my case disabling autocrop solved the issue.

Al
by AlBundy
Wed Jan 07, 2015 10:19 pm
Forum: Bugs
Topic: Won't rip entire DVD
Replies: 7
Views: 648

Re: Won't rip entire DVD

The dvd is copy protected

Code: Select all

....
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: No such file or directory
libdvdread: Can't open E:\ for reading
libdvdread: Device E:\ inaccessible, CSS authentication not available.
... 
So you have to rip it before converting...
by AlBundy
Fri Jan 02, 2015 8:51 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

I've updated my files - I've removed the break-statement and changed t.descr to t.to_s to match tracks.
If you run with --verbose you'll set the output of to_s in the audio-track-listing.
by AlBundy
Thu Jan 01, 2015 12:59 am
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

commentary=true and check for Commentaty is the same because commentary is only true if the description contains Commentary. :-) Glad to hear that it works now. TO DO for me: remove the break and match against to_s The script is for "default szenarios" and tries to provide as much information as pos...
by AlBundy
Wed Dec 31, 2014 11:43 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

You can try this
Search in lib/hb_lib.rb for the string
t.descr.match(s["track"])
and replace it with
t.to_s.match(s["track"])
by AlBundy
Wed Dec 31, 2014 11:39 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

I've rechecked - the pattern must match the description def descr(remove_codec = false, remove_channels = false) d = @descr.dup d.gsub!(/\s*[(]?#{codec}[)]?/, "") if remove_codec d.gsub!(/\s*[(]?#{channels}[)]?/, "") if remove_channels d.strip! return d end Maybe I'll change this in the next version.
by AlBundy
Wed Dec 31, 2014 8:48 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

The regex is tested against the audio tracks description

Code: Select all

    def to_s
      "#{pos}. #{descr} (codec=#{codec}, channels=#{channels}, lang=#{lang}, comment=#{comment}, rate=#{rate}, bitrate=#{bitrate}, commentary=#{commentary?()})"
    end
by AlBundy
Wed Dec 31, 2014 8:43 pm
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

You could try this (untested) [anim-com] --audio eng --subtitles eng --audio-track encoder=auto --audio-settings track=*,encoder=copy --audio-settings track=(Commentary|Stereo) ,encoder=av_aac,mixdown=stereo,bitrate=96 --min-length 00:10:00 --max-length 00:50:00 Means: if no specific setting found, ...
by AlBundy
Wed Dec 31, 2014 1:07 am
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

You can do the same in the preset as hb.rb can do - the advantage is "only" that you don't have to remeber all arguments. :-) In the presetfile each argument and each value has to be on it's own line (thats making parsing easier for me) Works not --min-length 00:10:00 --max-length 00:50:00 Works --m...
by AlBundy
Wed Dec 31, 2014 12:20 am
Forum: Command Line Interface And Scripting
Topic: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)
Replies: 310
Views: 79251

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

Btw you can also add the length arguments to your preset and build presets hierarchicaly (see my sample).