carrierwave-ffmpeg-audio 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a68717a0a6899d9a74dda9d21ad37c31325da81a
4
- data.tar.gz: 5f669a1691876d3d1563d0232e4467bd1159eb18
2
+ SHA256:
3
+ metadata.gz: 55d80eb003766e4e31bbc4749f8690518386b4242a95f678aa7894f4e2c1cbd8
4
+ data.tar.gz: 941d1ae32764a671fd784e9234e9afd45dc84d2f9a35c69e5f7534069e882381
5
5
  SHA512:
6
- metadata.gz: 5370d6e83424fa645d648f1597c8e6f3330c7100b814a8613945a9f9e7669f8ea0c032c4f877a6411237b1412b1a9b6c2bd29dd3b9d9c87e292f93a225d52fcb
7
- data.tar.gz: 9c8c0739e3eac48551badfab6a887587b52edcd9188d85668bff724cff26b9771c14c7a00a41dbf8869e840b59807d79f7955aa54882888bac6da465ce9be9b9
6
+ metadata.gz: cbbfde90f7c6881bf78ff26f1248c3e2eed57137bcf8afaecc4a25f5c1fe124845c596ea376cc9322b3c9fe70d0015f70bd7a353e3f35dc4555e30806dd1cdc1
7
+ data.tar.gz: 5296c651ca61cfa055445e4b507880a4c121853d56ba5546db089c364c4a8d1f7e0cbbe0f1346d904b57d9676a425b34804427b8bb50ad8a88f0dbce304bbdd4
@@ -17,7 +17,7 @@ module CarrierWave
17
17
  def convert(source, options)
18
18
  options = DefaultOptions.merge(options)
19
19
  final_filename = tmp_filename(source: source, format: "mp3")
20
- system "ffmpeg -i #{source} -c:a libmp3lame -ab #{options[:bit_rate]} -ar #{options[:sample_rate]} #{final_filename}"
20
+ system "ffmpeg -loglevel fatal -i #{source} -c:a libmp3lame -ab #{options[:bit_rate]} -ar #{options[:sample_rate]} #{final_filename}"
21
21
  final_filename
22
22
  end
23
23
 
@@ -29,7 +29,7 @@ module CarrierWave
29
29
  raise RuntimeError.new("Watermark file '#{watermark_file_path}' not found.") unless File.exist?(watermark_file_path)
30
30
 
31
31
  final_filename = tmp_filename(source: source, format: "mp3", prefix: "wtmk")
32
- system "ffmpeg -i #{source} -i #{watermark_file_path} -filter_complex amerge -c:a libmp3lame -ab #{options[:bit_rate]} -ar #{options[:sample_rate]} #{final_filename}"
32
+ system "ffmpeg -loglevel fatal -i #{source} -i #{watermark_file_path} -filter_complex amerge -c:a libmp3lame -ab #{options[:bit_rate]} -ar #{options[:sample_rate]} #{final_filename}"
33
33
 
34
34
  final_filename
35
35
  end
@@ -1,7 +1,7 @@
1
1
  module CarrierWave
2
2
  module Ffmpeg
3
3
  module Audio
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-ffmpeg-audio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Reeves
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-24 00:00:00.000000000 Z
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.5.1
112
+ rubygems_version: 2.7.6
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: CarrierWave Audio Conversion