Thanks so i found the correct document as mentioned above.
It actually works with wav.
It is however a terrible workflow. I can not understand how the Studio! version brings h264 but nothing common like aac. wtf.
Edit for people of the future, here is a WIP script that makes the footage compatible.
The folder is specified as commandline argument (like
~/scripts/rconvert.sh /home/user/Projects/pr1 or just
$PWD) and assumes that the original footage is located at
./tmp, it than creates the actual footage folder where ffmpeg puts the files to.
I have more plans with that script for example because footage should be sorted and the script may clean up and what not, but i think this early stage version may already help a few partypeople.. .
usage: :/script.sh /path/to/projectfolder
- Code: Select all
#!/bin/bash
#
#stop on error
set -e
#
#ffmpeg options to keep video but create the needed audio format
options='-acodec pcm_s16le -vcodec copy'
#
#create the directory for the new footage
mkdir -p "$1"/footage
echo -e "\033[1m###### > directory equals to $1\033[0m"
#
#we're looking for these filetypes to work with
for file in "$1"/tmp/*.{MP4,MTS}
do
echo -e "\033[1m###### > using ${file##*/}\033[0m"
ffmpeg -i "$file" ${options} "$1"/footage/${file##*/}.mov
done
yet expected folder structure:
'given folder' ..
-> ./tmp
-> ./ifx
-> ./...
resultung folder structure:
'given folder' ..
-> ./tmp
-> ./footage
-> ./ifx
-> ./...
Hint! I first attempted to run this against my netdrive but it was slow af, on my internal ssd on the other hand it is blazing fast.