@lingjingai/scriptctl 0.74.2 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/changes/0.75.0.md +14 -0
- package/dist/bin.js +1 -1
- package/dist/chunk-7AXMHZL5.js +1698 -0
- package/dist/cli.d.ts +5 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/skills/scriptctl/SKILL.md +4 -0
- package/dist/chunk-GIHAHL2F.js +0 -1041
package/README.md
CHANGED
|
@@ -28,6 +28,8 @@ scriptctl update # 更新全局安装的 scriptctl
|
|
|
28
28
|
scriptctl changelog # 查看当前版本功能变更
|
|
29
29
|
scriptctl migrate -p <source.json> -o <target.json> --to <version>
|
|
30
30
|
scriptctl ingest --source-path <file|dir>
|
|
31
|
+
scriptctl soundtrack -s <file|dir> --episodes 1,3-5 -w workspace # BGM 与音效的时间分布和情绪
|
|
32
|
+
scriptctl soundtrack-view -w workspace --host <地址> # 起网页服务:看各集汇总,点进去细看
|
|
31
33
|
scriptctl checkout --script-path workspace/script.json
|
|
32
34
|
scriptctl actions --in '@ep:2/scn:1' --script-path workspace/script.json
|
|
33
35
|
scriptctl export episodes --in epA3kP9x..epQ7mN2v --output rewrite.scriptctl
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# 0.75.0
|
|
2
|
+
|
|
3
|
+
## Added
|
|
4
|
+
- 新增 `scriptctl soundtrack`:给一集或多集视频(`--episodes 3`、`--episodes 1,3-5`),先只听音频定下 BGM 和音效的时间,再带着结果看视频,结合剧情标出情绪、这样配的理由和改进建议,输出 `soundtrack/ep_NNN.json` 和可播放的 `ep_NNN.html`,点时间轴或列表就跳到对应视频。需要本机有 ffmpeg 和 ffprobe。
|
|
5
|
+
- 新增 `scriptctl soundtrack-view`:起一个网页服务,用同一把时间尺看各集的情绪时间轴和汇总,点色块跳到那一集的对应时间。默认只有本机能打开,`--host` 可以换成局域网或 Tailscale 地址。`soundtrack` 跑完也会写 `soundtrack/index.html`。
|
|
6
|
+
|
|
7
|
+
## Changed
|
|
8
|
+
- None.
|
|
9
|
+
|
|
10
|
+
## Fixed
|
|
11
|
+
- None.
|
|
12
|
+
|
|
13
|
+
## Breaking
|
|
14
|
+
- None.
|
package/dist/bin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{b as s}from"./chunk-
|
|
2
|
+
import{b as s}from"./chunk-7AXMHZL5.js";import{Console as r}from"node:console";var o=new r({stdout:process.stderr,stderr:process.stderr});console.debug=o.debug.bind(o);console.info=o.info.bind(o);console.log=o.log.bind(o);s(process.argv.slice(2)).then(e=>{process.exitCode=e}).catch(e=>{console.error(e),process.exitCode=70});
|