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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 55d80eb003766e4e31bbc4749f8690518386b4242a95f678aa7894f4e2c1cbd8
|
4
|
+
data.tar.gz: 941d1ae32764a671fd784e9234e9afd45dc84d2f9a35c69e5f7534069e882381
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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.
|
112
|
+
rubygems_version: 2.7.6
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: CarrierWave Audio Conversion
|