#!/bin/bash # get input file from the command line input_file="$1" # checkiing if the input file exists if [ ! -f "$input_file" ]; then echo "Error: Input file not found." exit 1 fi # set the output file name output_file="${input_file%.*}.mov" # run the ffmpeg command ffmpeg -i "$input_file" -c:v copy -c:a pcm_s32le "$output_file"