voyeur 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -12
- data/Voyeur.gemspec +1 -1
- data/lib/Voyeur/version.rb +1 -1
- metadata +60 -43
data/README.md
CHANGED
@@ -8,25 +8,22 @@ The gem is easily installed by including the following line in your
|
|
8
8
|
Gemfile (if you role that way)
|
9
9
|
|
10
10
|
gem 'voyeur'
|
11
|
-
|
12
|
-
or on the command line
|
13
|
-
|
11
|
+
|
12
|
+
or on the command line
|
13
|
+
|
14
14
|
gem install voyeur
|
15
15
|
require 'voyeur'
|
16
|
-
|
16
|
+
|
17
17
|
## Setup
|
18
18
|
This gem requires ffmpeg to be installed. If you require assistance
|
19
|
-
there is a basic guide included in the [wiki page](https://github.com/devthenet/Voyeur/wiki/Installing-ffmpeg-%28Ubuntu%29). Feel free to add more!
|
19
|
+
there is a basic guide included in the [wiki page](https://github.com/devthenet/Voyeur/wiki/Installing-ffmpeg-%28Ubuntu%29). Feel free to add more!
|
20
20
|
You can also try out automated [setup scripts](https://github.com/devthenet/ffmpeg_setup) (at the moment we only have for ubuntu):
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
22
|
## Usage
|
26
23
|
Simple conversions may be done by simply:
|
27
24
|
|
28
25
|
Voyeur::Video.new( filename: path_to_file ).convert( to: :mp4 )
|
29
|
-
|
26
|
+
|
30
27
|
This will convert the video into Mp4 and save it in the same directory
|
31
28
|
as the original video.
|
32
29
|
|
@@ -84,14 +81,26 @@ at once.
|
|
84
81
|
options
|
85
82
|
|
86
83
|
## Authors
|
87
|
-
#### Peter Garbers
|
88
|
-
* https://github.com/petergarbers
|
84
|
+
#### Peter Garbers
|
85
|
+
* https://github.com/petergarbers
|
89
86
|
* http://twitter.com/petergarbers
|
90
87
|
|
91
88
|
#### Hendrik Louw
|
92
|
-
* https://github.com/HendrikLouw
|
89
|
+
* https://github.com/HendrikLouw
|
93
90
|
* http://twitter.com/hendrik_louw
|
94
91
|
|
92
|
+
## License
|
93
|
+
License
|
94
|
+
|
95
|
+
Copyright © 2011 Peter Garbers and Hendrik Louw
|
96
|
+
|
97
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
98
|
+
|
99
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
100
|
+
|
101
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
102
|
+
|
103
|
+
|
95
104
|
## Sources
|
96
105
|
|
97
106
|
### Links
|
data/Voyeur.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = Voyeur::VERSION
|
8
8
|
s.authors = ["Peter Garbers", "Hendrik F. Louw"]
|
9
9
|
s.email = ["peter.garbers@gmail.com", "hflouw@gmail.com"]
|
10
|
-
s.homepage = "http://devthenet.github.com/"
|
10
|
+
s.homepage = "http://devthenet.github.com/voyeur"
|
11
11
|
s.summary = %q{Ruby library to convert common video formats to HTML5 formats}
|
12
12
|
s.description = %q{A ruby library to convert videos into common html5 formats}
|
13
13
|
|
data/lib/Voyeur/version.rb
CHANGED
metadata
CHANGED
@@ -1,47 +1,58 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: voyeur
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Peter Garbers
|
9
13
|
- Hendrik F. Louw
|
10
14
|
autorequire:
|
11
15
|
bindir: bin
|
12
16
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
17
|
+
|
18
|
+
date: 2011-11-27 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: rspec
|
17
|
-
requirement: &70172804487660 !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ! '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0'
|
23
|
-
type: :development
|
24
23
|
prerelease: false
|
25
|
-
|
26
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :development
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
27
34
|
name: open4
|
28
|
-
requirement: &70172804487240 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
42
|
+
version: "0"
|
43
|
+
type: :runtime
|
44
|
+
version_requirements: *id002
|
37
45
|
description: A ruby library to convert videos into common html5 formats
|
38
|
-
email:
|
46
|
+
email:
|
39
47
|
- peter.garbers@gmail.com
|
40
48
|
- hflouw@gmail.com
|
41
49
|
executables: []
|
50
|
+
|
42
51
|
extensions: []
|
52
|
+
|
43
53
|
extra_rdoc_files: []
|
44
|
-
|
54
|
+
|
55
|
+
files:
|
45
56
|
- .gitignore
|
46
57
|
- Gemfile
|
47
58
|
- README.md
|
@@ -65,31 +76,37 @@ files:
|
|
65
76
|
- spec/spec_helper.rb
|
66
77
|
- spec/spec_helpers/video_file_spec_helper.rb
|
67
78
|
- spec/video_spec.rb
|
68
|
-
|
79
|
+
has_rdoc: true
|
80
|
+
homepage: http://devthenet.github.com/voyeur
|
69
81
|
licenses: []
|
82
|
+
|
70
83
|
post_install_message:
|
71
84
|
rdoc_options: []
|
72
|
-
|
85
|
+
|
86
|
+
require_paths:
|
73
87
|
- lib
|
74
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
version: "0"
|
86
102
|
requirements: []
|
103
|
+
|
87
104
|
rubyforge_project: Voyeur
|
88
|
-
rubygems_version: 1.
|
105
|
+
rubygems_version: 1.3.6
|
89
106
|
signing_key:
|
90
107
|
specification_version: 3
|
91
108
|
summary: Ruby library to convert common video formats to HTML5 formats
|
92
|
-
test_files:
|
109
|
+
test_files:
|
93
110
|
- spec/converter_spec.rb
|
94
111
|
- spec/converters/mp4_spec.rb
|
95
112
|
- spec/converters/ogv_spec.rb
|