kelredd-pruview 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kelredd-pruview might be problematic. Click here for more details.
- data/lib/pruview/version.rb +1 -1
- data/lib/pruview/video_image.rb +1 -1
- metadata +3 -3
data/lib/pruview/version.rb
CHANGED
data/lib/pruview/video_image.rb
CHANGED
@@ -8,7 +8,7 @@ module Pruview
|
|
8
8
|
raise Pruview::Exceptions::InvalidError, "Invalid target directory: #{target_dir.to_s}" if !File.directory?(target_dir)
|
9
9
|
raise Pruview::Exceptions::InvalidError, "Video not supported - file extension: " + file_extension(source) if !format_supported?(source)
|
10
10
|
target = File.join(target_dir, name.to_s + '.jpg')
|
11
|
-
run(build_command(source, '-ss 00:00:00
|
11
|
+
run(build_command(source, '-ss 00:00:01.00', 'mjpeg', target), "Unable to get preview image for #{target}")
|
12
12
|
# TODO: analyze image - create better
|
13
13
|
return target
|
14
14
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 7
|
9
|
+
version: 0.1.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kelly Redding
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-22 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|