video_converter 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,7 +113,7 @@ module VideoConverter
113
113
  self.class.second_pass_command
114
114
  else
115
115
  output.options[:passlogfile] = File.join(output.work_dir, "group#{group_index}_#{output_index}.log")
116
- output.options[:force_key_frames] = (input.metadata[:duration_in_ms] / 1000 / Output.keyframe_interval_in_seconds).times.to_a.map { |t| t * Output.keyframe_interval_in_seconds }.join(',')
116
+ output.options[:force_key_frames] = (input.metadata[:duration_in_ms] / 1000.0 / Output.keyframe_interval_in_seconds).ceil.times.to_a.map { |t| t * Output.keyframe_interval_in_seconds }.join(',')
117
117
  Command.chain(self.class.first_pass_command, self.class.second_pass_command)
118
118
  end
119
119
 
@@ -1,3 +1,3 @@
1
1
  module VideoConverter
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
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: 2014-09-02 00:00:00.000000000 Z
12
+ date: 2014-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: video_screenshoter
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  segments:
143
143
  - 0
144
- hash: -2820722095430321320
144
+ hash: 3466758185986790975
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  none: false
147
147
  requirements:
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  segments:
152
152
  - 0
153
- hash: -2820722095430321320
153
+ hash: 3466758185986790975
154
154
  requirements:
155
155
  - ffmpeg, version 1.2 or greated configured with libx264 and libfaac
156
156
  - live_segmenter to convert to hls