av 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d0cb65953c7ade46986b3f4293fa629dfe7ff4f
4
- data.tar.gz: e038bf43ca37acea1da8464de77742a5e8c9f8d0
3
+ metadata.gz: 02a8d5886f7c922a01dc8d1d538ab8a75e4274be
4
+ data.tar.gz: c031b97183954b5479abbeb6d299d3ac42833ffa
5
5
  SHA512:
6
- metadata.gz: ad0cc91c2e38d27fb2d1bd29dce7b7080e5378420aee943eefa2ccbe74f4cf802f8860da3a5f6b6db22c018684a310e01a29f3a616785576db88c774ff586b6a
7
- data.tar.gz: 681263a9f592944a57fbe43d7ec215c3e5426d168d7f89488128219f227aab8de7a85ef372bf7c74dd2538c91be76d6027861592bba7589e549b47eecc9806ca
6
+ metadata.gz: 0902d27b5fd194c2d72a8330ded686a9c345ea98a566e86b7f181b21a69838c944af63c2f113e5f682970c03d46c580c5a35da039ecef6f8f6aba4a46d303240
7
+ data.tar.gz: c71158fbf8b4dfba328fd045badbd4b0781d799ee957c9504c88f4390f8916f64015ddf71108e1ce9da67384b951794e9cee32b9854946d96af78e26250c78c4
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # AV
2
2
 
3
- A Ruby Programmable interface for
3
+ A Ruby Programmable interface for FFmpeg and Libav.
4
4
 
5
5
  ## Status
6
6
 
@@ -30,4 +30,4 @@ module Av
30
30
  end
31
31
  end
32
32
  end
33
- end
33
+ end
@@ -128,19 +128,19 @@ module Av
128
128
 
129
129
  def output_format format
130
130
  @output_format = format
131
- case format.to_sym
132
- when :jpg, :jpeg, :png, :gif # Images
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 :webm # WebM
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 :ogv # Ogg Theora
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 :mp4
143
+ when /mp4$/
144
144
  add_output_param 'acodec', 'aac'
145
145
  add_output_param 'strict', 'experimental'
146
146
  end
@@ -1,3 +1,3 @@
1
1
  module Av
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -18,11 +18,10 @@ describe Av do
18
18
  before do
19
19
  subject.add_source source
20
20
  subject.add_destination destination
21
- subject.output_format :mp4
22
21
  subject.run
23
22
  end
24
23
 
25
24
  it { expect(File.exists?(destination)).to eq true }
26
25
  end
27
26
  end
28
- end
27
+ end
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.7.1
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: 2014-10-07 00:00:00.000000000 Z
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.0.3
134
+ rubygems_version: 2.4.5
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Programmable Ruby interface for FFMPEG/Libav