https://github.com/sysulq/srt2fcpxml
https://github.com/sysulq/srt2fcpxml
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sysulq/srt2fcpxml
- Owner: sysulq
- License: mit
- Created: 2023-04-20T00:57:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T02:45:43.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T04:47:12.359Z (over 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# srt2fcpxml
Convert srt subtitle file to final cut pro subtitle file(fcpxml)
This software uses final cut pro X 10.4.6 version fcpxml file as template development, if there is any problem, please upgrade to the corresponding version.
srt 字幕文件转为final cut pro 字幕文件(fcpxml)
本软件使用 final cut pro X 10.4.6 版本的 fcpxml 文件作为模版开发,如果有问题请升级到对应版本
## Install
```bash
go install github.com/hnlq715/srt2fcpxml
```
复制`自适应背景.moti`文件到`~/Motion Templates/Titles`目录下
## Use
```bash
$ ./srt2fcpxml
Usage of srt2fcpxml:
-fd string
frame rate currently supported 23.98、24、25、29.97、30、50、59.94、60 (default "25")
-height int
high resolution default 1080 (default 1080)
-logger-app-name string
the logger's app name
-logger-filename string
the logger's filename
-srt string
srt subtitle file
-v if true, then log level is debug
-width int
width resolution default 1920 (default 1920)
```
## Execution (执行)
```bash
srt2fcpxml -srt /tmp/test.srt
```
the `fcpxml` file named with srt file name will be generated automatically in the directory of srt file.
在 srt 文件的目录中会自动生成以srt文件名命名的`fcpxml`文件。