Skip to content

Instantly share code, notes, and snippets.

@vdugnist
vdugnist / croppy.sh
Last active Jan 30, 2017
Small script for video crop.
View croppy.sh
#!/bin/bash
# Small script for video crop. It takes a file as an argument.
# File format: source_name start_time end_time destination_name
# Example: GOPR0766.MP4 16:50 17:10 example
folder_name="croppy_result"
array_contains() {
local e
for e in "${@:2}"; do