video_converter 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module VideoConverter
13
13
  self.log = '/dev/null'
14
14
  self.paral = true
15
15
 
16
- self.chunks_command = '%{ffmpeg_bin} -i %{local_path} -vcodec libx264 -acodec copy -f mpegts pipe:1 2>>/dev/null | %{bin} %{segment_seconds} %{chunks_dir} %{chunk_prefix} %{encoding_profile} 1>>%{log} 2>&1'
16
+ self.chunks_command = '%{ffmpeg_bin} -f mp4 -i %{local_path} -vcodec libx264 -acodec copy -f mpegts -bsf h264_mp4toannexb pipe:1 2>>/dev/null | %{bin} %{segment_seconds} %{chunks_dir} %{chunk_prefix} %{encoding_profile} 1>>%{log} 2>&1'
17
17
 
18
18
  attr_accessor :paral, :chunk_prefix, :encoding_profile, :log, :output_array
19
19
 
@@ -1,3 +1,3 @@
1
1
  module VideoConverter
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
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.2.11
4
+ version: 0.2.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -136,7 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: 1493043906485886155
139
+ hash: -4126236101983248385
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  none: false
142
142
  requirements:
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: 1493043906485886155
148
+ hash: -4126236101983248385
149
149
  requirements:
150
150
  - ffmpeg, version 1.2 or greated configured with libx264 and libfaac
151
151
  - live_segmenter to convert to hls