paperclip-ffmpeg 0.10.2 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,6 +129,14 @@ module Paperclip
129
129
  @convert_options[:input][:ss] = @time
130
130
  @convert_options[:output][:vframes] = 1
131
131
  @convert_options[:output][:f] = 'image2'
132
+ when 'webm' # WebM
133
+ @convert_options[:output][:acodec] = 'libvorbis'
134
+ @convert_options[:output][:vcodec] = 'libvpx'
135
+ @convert_options[:output][:f] = 'webm'
136
+ when 'ogv' # Ogg Theora
137
+ @convert_options[:output][:acodec] = 'libvorbis'
138
+ @convert_options[:output][:vcodec] = 'libtheora'
139
+ @convert_options[:output][:f] = 'ogg'
132
140
  end
133
141
 
134
142
  Ffmpeg.log("Adding Source") if @whiny
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "paperclip-ffmpeg"
6
- s.version = '0.10.2'
6
+ s.version = '0.11.0'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Omar Abdel-Wahab"]
9
9
  s.email = ["owahab@gmail.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-28 00:00:00.000000000 Z
12
+ date: 2013-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: paperclip
@@ -54,21 +54,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  - - ! '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
- segments:
58
- - 0
59
- hash: -2442852603242548850
60
57
  required_rubygems_version: !ruby/object:Gem::Requirement
61
58
  none: false
62
59
  requirements:
63
60
  - - ! '>='
64
61
  - !ruby/object:Gem::Version
65
62
  version: '0'
66
- segments:
67
- - 0
68
- hash: -2442852603242548850
69
63
  requirements: []
70
64
  rubyforge_project: paperclip-ffmpeg
71
- rubygems_version: 1.8.24
65
+ rubygems_version: 1.8.23
72
66
  signing_key:
73
67
  specification_version: 3
74
68
  summary: Process your attachments with FFMPEG