flatiron-video-uploader 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flatiron-video-uploader/runner.rb +1 -1
- data/lib/flatiron-video-uploader/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06e78408e267656c4018dd3fe1755f5002d2712e
|
4
|
+
data.tar.gz: ab26889226af0ade4d9274239f3669a35f55dce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6081cb727d48ec193a14405c75230742a7a90f2b0980e688440735f21a77a75bd871334a5fac8edeb20be33bba7362677b1a59c3a64de670b1d70aa79ddd7513
|
7
|
+
data.tar.gz: e851c8d86abeccfb419550e56398a327f79ef0b7a1ec9bcf21198b72dee4a0ae3c4adaf28539280cefb7e5f4a14586e5b8d71024cd72b8282b8823335ee3a0b8
|
@@ -70,7 +70,7 @@ module FlatironVideoUploader
|
|
70
70
|
progress_mutex = Mutex.new
|
71
71
|
print_progress = false
|
72
72
|
movie_transcode_thread = Thread.new do
|
73
|
-
Transcoder.timeout=90
|
73
|
+
FFMPEG::Transcoder.timeout=90
|
74
74
|
movie = FFMPEG::Movie.new(file)
|
75
75
|
movie.transcode("/tmp/transcoded.mp4","-vf 'scale=-2:720:flags=lanczos' -vcodec libx264 -profile:v main -level 3.1 -preset veryfast -crf 31 -x264-params ref=4 -acodec copy -movflags +faststart") do |prog|
|
76
76
|
progress_mutex.synchronize do
|