enigmamachine 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +11 -12
  2. data/VERSION +1 -1
  3. data/enigmamachine.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -1,10 +1,11 @@
1
1
  = enigmamachine
2
2
 
3
- Enigmamachine is a video processor which queues and encodes videos according
4
- to target profiles that you define. Videos must be on a locally mounted
5
- filesystem. The processor takes the path to the video, and executes
6
- one or more ffmpeg commands on the video. There is a handy web interface for
7
- defining encoding tasks, and a restful web service which takes encoding commands.
3
+ Enigmamachine is a RESTful web-based video processor which queues and encodes
4
+ videos according to target profiles that you define. Videos must be on a
5
+ locally mounted filesystem. The processor takes the path to the video, and
6
+ executes one or more ffmpeg commands on the video. There is a handy web
7
+ interface for defining encoding tasks, and a restful web service which takes
8
+ encoding commands.
8
9
 
9
10
  Enigmamachine is written using Sinatra, Thin, and Eventmachine.
10
11
 
@@ -51,19 +52,17 @@ receive the video. When the upload is complete, make an HTTP call something like
51
52
 
52
53
  with the params:
53
54
 
54
- params["video"] # the full path to a file on your local filesystem
55
- params["encoder_id"] # the id of an encoder defined in your database
55
+ "video=/foo/bar/blah.mp4" # the full path to a file on your local filesystem
56
+ "encoder_id=1" # the id of an encoder defined in your enigmamachine database
56
57
 
57
- The enigmamachine will run all encoding tasks on the video, while your web application will be free to continue serving requests happily. If a second video
58
+ The enigmamachine will run all encoding tasks on the video, while your web
59
+ application will be free to continue serving requests happily. If a second video
58
60
  is uploaded while the first one is still encoding, it will be placed in a queue.
59
61
  Videos are encoded sequentially as they arrive.
60
62
 
61
63
  All requests, whether they come from your browser or from your code, are
62
64
  protected by HTTP basic auth. By default, the username is
63
- <i>admin</i> and the password is <i>admin</i>. If you're accessing your
64
- Enigmamachine programatically, the server expects a Base64 encoded hash
65
- of the username and password, separated by a colon (":"), in a parameter
66
- called "HTTP_AUTHORIZATION".
65
+ <i>admin</i> and the password is <i>admin</i>. You can
67
66
 
68
67
  Programmatic requests in Ruby might look something like this:
69
68
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{enigmamachine}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["dave"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enigmamachine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - dave