Skip to content

Latest commit

 

History

History
89 lines (74 loc) · 1.8 KB

README.md

File metadata and controls

89 lines (74 loc) · 1.8 KB

Immersion -- "wonderful immersive language directory"

The GitHubs

  git clone https://github.com/admc/wild

The Jitsu

  > npm install -g jitsu
  > cd wild
  > cp package.json.dev package.json
  > edit package.json to have a different subdomain
  > jitsu users confirm username SOMESECRETCODE
  > jitsu login
  > git co -b jitsu
  > jitsu deploy

Transloadit

  • Get an S3 account: http://aws.amazon.com/s3

  • Then create a bucket to store your stuff.

  • Create a template called ‘clips’ as so (replacing with your S3 keys):

    {
      "steps": {
        "import": {
          "robot": "/http/import",
          "url": "${fields.url}"
        },
        "encode_clip":{
          "robot": "/audio/encode",
          "preset": "mp3",
          "ffmpeg": {
            "ss": "${fields.ss}",
            "t": 5
          }
        },
        "export": {
          "robot": "/s3/store",
          "key": "YOUR KEY HERE",
          "secret": "YOUR SECRET HERE",
          "bucket": "YOUR BUCKET NAME"
        }
      }
    }
  • And another called ‘wild’:
    {
    "steps": {
      "webm_video": {
        "robot": "/video/encode",
        "preset": "webm",
        "width": 640,
        "height": 360
      },
      "export": {
        "robot": "/s3/store",
        "key": "YOUR KEY HERE",
        "secret": "YOUR SECRET HERE",
        "bucket": "YOUR BUCKET HERE"
      }
    }
    }

Iris Couches

  > cd wild
  > vim app.js //edit the couchdb url to point to your instance