Skip to content

Instantly share code, notes, and snippets.

View nithinbekal's full-sized avatar

Nithin Bekal nithinbekal

View GitHub Profile
#! /usr/bin/bash
frame_rate=2
# Process command line options
while getopts "r:" opt; do
case $opt in
r) frame_rate=$OPTARG ;;
\?) echo "Usage: $0 [-r frame_rate] input_file output_file"; exit 1 ;;
esac