Something went wrong. Try again.
simple ffmpeg script to convert a video's audio codec to pcm, for davinci resolve studio on linux
Something went wrong. Try again.
340 B · 16 lines · Created 1y ago Shell
12345678910111213141516#!/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
# set the output file nameoutput_file="${input_file%.*}.mov"
# run the ffmpeg commandffmpeg -i "$input_file" -c:v copy -c:a pcm_s32le "$output_file"