Commit d6ab82c8 authored by Schopieray, Scott's avatar Schopieray, Scott
Browse files

1fps file

parent 518d5c35
#!/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";'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment