diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 17:48:03 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 17:48:03 +0200 |
| commit | c62cc5a45a1a80d47b97f6945e02dc10869d2113 (patch) | |
| tree | d0b60dbc9774f593f5100d173d46589f088511e6 /get.pl | |
| parent | 1d0d0c1bd2a9c43397d5c8ac20887d4e357d0ca7 (diff) | |
dont output more than 15k frames
Diffstat (limited to 'get.pl')
| -rwxr-xr-x | get.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } |
