av 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/av/cli.rb +1 -1
- data/lib/av/commands/base.rb +5 -5
- data/lib/av/version.rb +1 -1
- data/spec/av/av_spec.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02a8d5886f7c922a01dc8d1d538ab8a75e4274be
|
4
|
+
data.tar.gz: c031b97183954b5479abbeb6d299d3ac42833ffa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0902d27b5fd194c2d72a8330ded686a9c345ea98a566e86b7f181b21a69838c944af63c2f113e5f682970c03d46c580c5a35da039ecef6f8f6aba4a46d303240
|
7
|
+
data.tar.gz: c71158fbf8b4dfba328fd045badbd4b0781d799ee957c9504c88f4390f8916f64015ddf71108e1ce9da67384b951794e9cee32b9854946d96af78e26250c78c4
|
data/README.md
CHANGED
data/lib/av/cli.rb
CHANGED
data/lib/av/commands/base.rb
CHANGED
@@ -128,19 +128,19 @@ module Av
|
|
128
128
|
|
129
129
|
def output_format format
|
130
130
|
@output_format = format
|
131
|
-
case format.
|
132
|
-
when
|
131
|
+
case format.to_s
|
132
|
+
when /jpg$/, /jpeg$/, /png$/, /gif$/ # Images
|
133
133
|
add_output_param 'f', 'image2'
|
134
134
|
add_output_param 'vframes', '1'
|
135
|
-
when
|
135
|
+
when /webm$/ # WebM
|
136
136
|
add_output_param 'f', 'webm'
|
137
137
|
add_output_param 'acodec', 'libvorbis'
|
138
138
|
add_output_param 'vcodec', 'libvpx'
|
139
|
-
when
|
139
|
+
when /ogv$/ # Ogg Theora
|
140
140
|
add_output_param 'f', 'ogg'
|
141
141
|
add_output_param 'acodec', 'libvorbis'
|
142
142
|
add_output_param 'vcodec', 'libtheora'
|
143
|
-
when
|
143
|
+
when /mp4$/
|
144
144
|
add_output_param 'acodec', 'aac'
|
145
145
|
add_output_param 'strict', 'experimental'
|
146
146
|
end
|
data/lib/av/version.rb
CHANGED
data/spec/av/av_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: av
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Abdel-Wahab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.4.5
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Programmable Ruby interface for FFMPEG/Libav
|