Skip to content

Instantly share code, notes, and snippets.

View shunchan0677's full-sized avatar

Shunya Seiya shunchan0677

  • Human Dataware Lab.
View GitHub Profile
#!/bin/sh
for FILE in */*.avi
do
FILENAME=`echo ${FILE} | sed 's/\.[^\.]*$//'`
ffmpeg -i ${FILENAME}.avi -r 10 -qscale 0 ${FILENAME}_10Hz.avi
done