Handbrake CLI

This is a simple YAMLized queue runner for the HandBrake Command Line Interface

For detailed (and up to date) configuration information for HandBrakeCLI run ‘HandBrakeCLI –help`

Installation

$ sudo gem install hb-queue

Usage

$ hb-runner PATH OPTIONS_FILE_NAME QUEUE_FILE_NAME

  The path sets the base path for both files.
  Both the OPTIONS and QUEUE files are expected in that path.
  Also, the HandBrakeCLI executable should be in your path.

Example Configuration File

video:
  format:     mp4
  vb:         1500
  maxHeight:  480
  maxWidth:   640
  ipod-atom:  true
  markers:    true
  two-pass:   true
  turbo:      true

  encoder:    x264

  x264opts:
    me:         umh
    ref:        2
    mixed_refs: 1
    direct:     auto
    analyse:    all
    level:      30
    cabac:      0
    fast_pskip: 0

audio:
  ab:    160
  drc:   2.5
  audio: "1"
  arate: "48"
  mixdown: "stereo"

Example Queue File

- input:    input
  longest:  true
  output:   output.m4v

Dependancies

Disclaimer: Every time you use handbrake to steal a movie, a kitten into a wood chipper.