#!/bin/bash
# Remove audio
# ffmpeg -i [input_file] -vcodec copy -an [output_file]
for i in *.mp4;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
for f in ogv mp4 webm; do
ffmpeg -i $i -an web/$name.$f
done
done
Last active
April 6, 2017 09:32
-
-
Save mfd/607b3efea85924cd15370ddf759b0ba8 to your computer and use it in GitHub Desktop.
Convert video to ogv WebM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment