clipwise 0.3.0 → 0.4.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.ko.md +15 -1
- package/README.md +15 -1
- package/dist/cli/index.js +862 -137
- package/dist/compose/frame-worker.js +142 -13
- package/dist/index.d.ts +306 -8
- package/dist/index.js +877 -48
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
YAML 시나리오를 작성하면 시네마틱 데모 영상(MP4/GIF)을 자동으로 만들어주는 스크린 레코더. Playwright CDP 기반.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<
|
|
8
|
+
<video src="https://kwakseongjae.github.io/clipwise/demo.mp4" autoplay loop muted playsinline width="100%"></video>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
> *`npx clipwise demo` 한 줄로 생성된 영상입니다.*
|
|
@@ -272,6 +272,20 @@ speedRamp:
|
|
|
272
272
|
actionSpeed: 0.8
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
+
## 성능
|
|
276
|
+
|
|
277
|
+
**Apple M1 Max (10코어)** 기준 — Pulse Dashboard 데모, 44초 @ 30fps, 1280×800:
|
|
278
|
+
|
|
279
|
+
| 단계 | v0.3.0 | v0.4.0 | 변화 |
|
|
280
|
+
|------|--------|--------|------|
|
|
281
|
+
| 녹화 | 30.8 s | 31.1 s | — |
|
|
282
|
+
| 합성 + 인코딩 | 97.2 s | 60.6 s | **−38%** |
|
|
283
|
+
| **전체** | **127.9 s** | **91.7 s** | **−28%** |
|
|
284
|
+
| ms / 프레임 | 69 ms | 67 ms | −3% |
|
|
285
|
+
| 캡처 프레임 수 | 1,303 | 902 | −31% (중복 제거) |
|
|
286
|
+
|
|
287
|
+
v0.4.0 주요 최적화: 동시 스트리밍 파이프라인, 정적 프레임 중복 제거(~33% 건너뜀), 워커별 StaticLayers 캐시, raw RGBA 버퍼 파이프라인.
|
|
288
|
+
|
|
275
289
|
## 출력 압축
|
|
276
290
|
|
|
277
291
|
`preset` 필드로 화질과 파일 크기를 조절합니다:
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Scriptable cinematic screen recorder for product demos — YAML in, polished MP4 out. Powered by Playwright CDP.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<
|
|
8
|
+
<video src="https://kwakseongjae.github.io/clipwise/demo.mp4" autoplay loop muted playsinline width="100%"></video>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
> *Generated with `npx clipwise demo` — zero config, one command.*
|
|
@@ -281,6 +281,20 @@ speedRamp:
|
|
|
281
281
|
actionSpeed: 0.8 # Slow factor near clicks
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
+
## Performance
|
|
285
|
+
|
|
286
|
+
Measured on **Apple M1 Max (10 cores)** — Pulse Dashboard demo, 44s @ 30fps, 1280×800:
|
|
287
|
+
|
|
288
|
+
| Stage | v0.3.0 | v0.4.0 | Change |
|
|
289
|
+
|-------|--------|--------|--------|
|
|
290
|
+
| Recording | 30.8 s | 31.1 s | — |
|
|
291
|
+
| Compose + Encode | 97.2 s | 60.6 s | **−38%** |
|
|
292
|
+
| **Total** | **127.9 s** | **91.7 s** | **−28%** |
|
|
293
|
+
| ms / frame | 69 ms | 67 ms | −3% |
|
|
294
|
+
| Frames captured | 1,303 | 902 | −31% (dedup) |
|
|
295
|
+
|
|
296
|
+
Key optimisations in v0.4.0: concurrent streaming pipeline, static frame deduplication (~33% skipped), per-worker StaticLayers cache, and raw RGBA buffer pipeline.
|
|
297
|
+
|
|
284
298
|
## Output Compression
|
|
285
299
|
|
|
286
300
|
Use the `preset` field to control quality and file size:
|