streamio-ffmpeg 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.8.4 2011-11-30
2
+
3
+ * Duration now one decimal more accurate (thanks to Russel Brooks)
4
+ * Added encoding option seek_time (thanks to Misty De Meo)
5
+
1
6
  == 0.8.3 2011-09-01
2
7
 
3
8
  * Parameters now come in the order of codecs, presets, others so that we can override the presets
@@ -135,6 +135,10 @@ module FFMPEG
135
135
  def convert_keyframe_interval(value)
136
136
  "-g #{value}"
137
137
  end
138
+
139
+ def convert_seek_time(value)
140
+ "-ss #{value}"
141
+ end
138
142
 
139
143
  def convert_custom(value)
140
144
  value
data/lib/ffmpeg/movie.rb CHANGED
@@ -14,7 +14,7 @@ module FFMPEG
14
14
 
15
15
  fix_encoding(output)
16
16
 
17
- output[/Duration: (\d{2}):(\d{2}):(\d{2}\.\d{1})/]
17
+ output[/Duration: (\d{2}):(\d{2}):(\d{2}\.\d{2})/]
18
18
  @duration = ($1.to_i*60*60) + ($2.to_i*60) + $3.to_f
19
19
 
20
20
  output[/start: (\d*\.\d*)/]
@@ -1,3 +1,3 @@
1
1
  module FFMPEG
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamio-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-12 00:00:00.000000000Z
12
+ date: 2011-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2160926780 !ruby/object:Gem::Requirement
16
+ requirement: &70109521076240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.6.0
21
+ version: '2.7'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2160926780
24
+ version_requirements: *70109521076240
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70109521075560 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.2
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70109521075560
25
36
  description: Simple yet powerful wrapper around ffmpeg to get metadata from movies
26
37
  and do transcoding.
27
38
  email:
@@ -52,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
63
  version: '0'
53
64
  segments:
54
65
  - 0
55
- hash: -1357797066708853074
66
+ hash: -2761617016111549392
56
67
  required_rubygems_version: !ruby/object:Gem::Requirement
57
68
  none: false
58
69
  requirements:
@@ -61,10 +72,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
72
  version: '0'
62
73
  segments:
63
74
  - 0
64
- hash: -1357797066708853074
75
+ hash: -2761617016111549392
65
76
  requirements: []
66
77
  rubyforge_project:
67
- rubygems_version: 1.8.6
78
+ rubygems_version: 1.8.10
68
79
  signing_key:
69
80
  specification_version: 3
70
81
  summary: Reads metadata and transcodes movies.