Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAL
Distant Visualization
Commits
d6ab82c8
Commit
d6ab82c8
authored
Nov 10, 2018
by
Schopieray, Scott
Browse files
1fps file
parent
518d5c35
Changes
1
Hide whitespace changes
Inline
Side-by-side
batch_1fps.sh
0 → 100644
View file @
d6ab82c8
#!/bin/bash
# this script generates a set of images from any video file in the directory it sits at 1fps
# Script written by College of Arts and Letters at Michigan State University http://edtech.cal.msu.edu/
find
.
-maxdepth
1
-name
\*
.mp4
-print0
| xargs
-0
-i
sh
-c
'mkdir "images/{}"; nice -n 10 ffmpeg -i "{}" -threads 0 -r 1 "images/{}/image-%d.jpg";'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment