#!/bin/bash if [ -z $1 ]; then echo "Kullanimi: $0 input.flv" exit 1 fi if [ ! -f $1 ]; then echo "Kullanimi: $0 input.flv" exit 1 fi OUTPUT_FILE="`basename $1 .flv`.avi" ffmpeg -i $1 -ar 48000 -ac 2 $OUTPUT_FILE