Sha256: 8cf344690872f2fc4596b8de6e39ad8177862c5fc588b544f177ba6256f9f524

Contents?: true

Size: 1003 Bytes

Versions: 4

Compression:

Stored size: 1003 Bytes

Contents

# Using config file (YAML)

To make VTools parse config file it should be given to it with -c option:

  $ vtools start -- -c config.json


## Format


    #system
    :ffmpeg_binary:     'ffmpeg'
    :thumb_binary:      'ffmpegthumbnailer'
    :library:           ['lib.rb']

    #harvester
    :max_jobs:          5
    :harvester_timer:   3  # timeout between job requests
    :temp_dir:          "/tmp"

    #converter
    :validate_duration: false
    :video_storage:     "/home/projects/video_storage"

    #thumbnailer
    :thumb_storage:     "/home/projects/thumb_storage"

    #predefined video qualities
    :video_set:
        # SET_NAME    -vcodec     -acodec    -s WDTxHGT      -vb       -ab    -ar      -ac  EXT    POSTFIX   [-vpre]
        :x264_180p: [ 'libx264',  'libfaac',  '240x180',    '96k',    '64k',  22050,    2,  'mp4', '_180',   'normal'   ]

    # predefined thumbnailer setup
    :thumb_set:
        # SET_NAME   -s   -q count start%
        :w120s:   [  120, 10,  5,   0 ]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vtools-1.0.1 doc/CONFIG.md
vtools-1.0.0 doc/CONFIG.md
vtools-0.1.1 doc/CONFIG.md
vtools-0.1.0 doc/CONFIG.md