Something went wrong. Try again.
simple ffmpeg script to convert a video's audio codec to pcm, for davinci resolve studio on linux. run it in the terminal like so: ./convert.sh myawesomevideo.mp4
Something went wrong. Try again.
285 B · 13 lines · Created 7mo ago Shell
12345678910111213#!/bin/bash
# get input file from the command lineinput_file="$1"
# checkiing if the input file existsif [ ! -f "$input_file" ]; then echo "Error: Input file not found." exit 1fi
# run the ffmpeg commandffmpeg -i "$input_file" -c:v copy -c:a pcm_s32le "${input_file%.*}.mov"