mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-30 09:45:34 +00:00
Convert audio of video files for Resolve
This commit is contained in:
parent
0432c3ac6d
commit
33f82c4ad4
9
scripts/convert-mp4-to-resolve.sh
Normal file
9
scripts/convert-mp4-to-resolve.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Create backup directory
|
||||||
|
mkdir -p ./converted
|
||||||
|
|
||||||
|
# Convert files
|
||||||
|
for file in *.mp4; do
|
||||||
|
ffmpeg -i $file -acodec pcm_s16le -vcodec copy ./converted/${file%%.*}.mov
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user