Convert video to mobile devices
ffmpeg -i input.mov \ -c:v libx264 -crf 23 -profile:v baseline -level 3.0 -pix_fmt yuv420p \ -c:a aac -ac 2 -b:a 128k \ -movflags faststart \ output.mp4 Link: What ffmpeg command line produces video more compatible across all devices?
Davinci resolve script for generating videos that can be imported
#!/bin/bash DIRPATH=$1 OLDIFS=$IFS IFS=$’\n’ if [ -z “$DIRPATH” ] then exit 1 fi mkdir -p processed FILES=$(ls $DIRPATH) for i in $FILES do if [ -d “$FILES” ] then continue fi NEW_NAME=$(echo $i | sed ‘s/\.[^.]*$/.mov/’) #NEW ffmpeg -i “$i” -vcodec dnxhd -profile:v dnxhr_hq -r 25 -pix_fmt yuv422p -s 3840×2160 -c:a pcm_s16le “processed/$NEW_NAME” #OLD #ffmpeg…