srt2fcpxml
the srt subtitle file is converted to a final cut pro subtitle
installation
npm i srt2fcpxml -g
usage
Usage: srt2fcpxml [options] Options: -V, --version output the version number -s, --srt <source> srt file path -o, --output <output> output dir name [default current] -r, --rate <rate> rate: default 30, AKA:23.98,24,25,29.87,30,50,59.94,60 -e, --event <event> event name -p, --project <project> project name -c, --custom use custom plugin -g, --gap <gap> gap: number,default 3.6 -h, --help display help
basic
srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop
FPS rate
srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 23.98srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 40srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 25srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 29.87srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 30srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 50srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 59.94srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -r 60
FCPX EventName
srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -e <eventname>
FCPX projectName
srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -p <projectName>
FCPX custom subtitle plugin
srt2fcpxml -s ~/Desktop/test-vue.srt -o ~/Desktop -c
using FCPX custom subtitle plugin flag will copy a subtitle plugin to your motion teamplate folder