video_converter 0.6.9 → 0.6.10

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.
@@ -23,6 +23,11 @@ module VideoConverter
23
23
  if File.extname(filename) == '.m3u8'
24
24
  self.ffmpeg_output = chunks_dir + '.ts'
25
25
  params[:format] = 'mpegts'
26
+ elsif File.extname(filename) == '.f4m'
27
+ self.ffmpeg_output = chunks_dir = '.mp4'
28
+ params[:format] = 'mp4'
29
+ else
30
+ raise "Invalid filename for type segmented"
26
31
  end
27
32
  else
28
33
  self.ffmpeg_output = File.join(work_dir, filename)
@@ -1,3 +1,3 @@
1
1
  module VideoConverter
2
- VERSION = "0.6.9"
2
+ VERSION = "0.6.10"
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.6.9
4
+ version: 0.6.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  segments:
142
142
  - 0
143
- hash: 2899064939320433339
143
+ hash: 1606847744820249000
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  none: false
146
146
  requirements:
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  segments:
151
151
  - 0
152
- hash: 2899064939320433339
152
+ hash: 1606847744820249000
153
153
  requirements:
154
154
  - ffmpeg, version 1.2 or greated configured with libx264 and libfaac
155
155
  - live_segmenter to convert to hls