Skip to content

use nodejs with srt subtitle file is converted to a final cut pro subtitle file.(srt字幕文件转为final cut pro 字幕文件 nodej s版本)

License

Notifications You must be signed in to change notification settings

DeysonOrtiz/srt2fcpxml_node

 
 

Repository files navigation

srt2fcpxml

chloe-lam

the srt subtitle file is converted to a final cut pro subtitle

online document

About FCPXML

apple official online document

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 for command

basic

srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop

FPS rate

srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 23.98
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 40
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 25
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 29.87
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 30
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 50
srt2fcpxml -s ~/Desktop/test-vue.srt  -o ~/Desktop -r 59.94
srt2fcpxml -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

FCPX custom subtitle plugin gif

using FCPX custom subtitle plugin flag will copy a subtitle plugin to your motion teamplate folder

thanks:

go version:

https://github.com/GanymedeNil/srt2fcpxml

About

use nodejs with srt subtitle file is converted to a final cut pro subtitle file.(srt字幕文件转为final cut pro 字幕文件 nodej s版本)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.7%
  • JavaScript 13.3%