video_to_ascii 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/video_to_ascii/version.rb +1 -1
- data/lib/video_to_ascii.rb +4 -8
- metadata +1 -1
data/lib/video_to_ascii.rb
CHANGED
@@ -33,16 +33,12 @@ class VideoToAscii
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def capture_video
|
36
|
-
|
37
36
|
@video_length = ask("How long would you like the video to be?", Integer)
|
37
|
+
path = File.expand_path('../bin/wacaw', File.dirname(__FILE__))
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
else
|
43
|
-
puts "Recording Video for 15s ..."
|
44
|
-
`./bin/wacaw --video videos/video`
|
45
|
-
end
|
39
|
+
puts "Recording Video for #{@video_length} seconds ..."
|
40
|
+
|
41
|
+
`#{path} --video --duration #{@video_length} videos/video`
|
46
42
|
end
|
47
43
|
|
48
44
|
def screenshots_from_video(video)
|