Skip to content

Instantly share code, notes, and snippets.

Last active June 19, 2021 11:47
What would you like to do?
# Create subdirs
mkdir yolov3 input output
# Convert video (parse argument) to 720p mp4 without audio
echo "Converting $1 to MP4..."
ffmpeg -i $1 -vcodec h264 -vf scale=720:-2,setsar=1:1 -an input/input.mp4
# Get yolo dependencies
echo "Installing YOLOv3 dependencies..."
wget -P yolov3
wget -P yolov3
wget -P yolov3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment