summaryrefslogtreecommitdiff
path: root/get.pl
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-22 17:48:03 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-22 17:48:03 +0200
commitc62cc5a45a1a80d47b97f6945e02dc10869d2113 (patch)
treed0b60dbc9774f593f5100d173d46589f088511e6 /get.pl
parent1d0d0c1bd2a9c43397d5c8ac20887d4e357d0ca7 (diff)
dont output more than 15k frames
Diffstat (limited to 'get.pl')
-rwxr-xr-xget.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/get.pl b/get.pl
index 56510d0..958e9a6 100755
--- a/get.pl
+++ b/get.pl
@@ -74,7 +74,7 @@ if ($video_fn) {
system('mv', $video_fn, $new_fn);
print "new video filename: $video_fn\n";
mkdir($tag);
- system('ffmpeg', '-i', $new_fn, "-filter:v", "scale=1024x512", $tag . '/frame_%05d.png');
+ system('ffmpeg', '-i', $new_fn, "-filter:v", "scale=1024x512", "-vframes", 15000, $tag . '/frame_%05d.png');
print "created dataset: $tag\n";
}