chore: init repo structure with Git LFS and directory layout
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
7
.gitattributes
vendored
Normal file
7
.gitattributes
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.otf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
30
README.md
Normal file
30
README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# media-assets
|
||||
|
||||
匠厂(深圳匠厂科技)跨项目共享媒体资产库。
|
||||
|
||||
供各技能(skill)的录制脚本使用,包含背景音乐、字幕字体、品牌水印等。
|
||||
|
||||
## 目录说明
|
||||
|
||||
| 目录 | 用途 |
|
||||
|---|---|
|
||||
| `music/calm/` | 舒缓类背景音乐,适合流程演示视频 |
|
||||
| `music/upbeat/` | 活力类背景音乐,适合功能展示视频 |
|
||||
| `music/corporate/` | 商务类背景音乐,适合对外宣传视频 |
|
||||
| `fonts/` | 字幕渲染字体文件 |
|
||||
| `watermark/` | 品牌 Logo / 水印图片 |
|
||||
|
||||
## 使用方式
|
||||
|
||||
各技能录制脚本通过环境变量 `MEDIA_ASSETS_ROOT` 定位本库:
|
||||
|
||||
```python
|
||||
MEDIA_ASSETS_ROOT = os.environ.get("MEDIA_ASSETS_ROOT", r"D:\OpenClaw\client-commons\media-assets")
|
||||
```
|
||||
|
||||
未设置环境变量时默认使用上述路径(开发机约定)。
|
||||
|
||||
## 注意
|
||||
|
||||
- 所有 MP3、字体、图片均通过 **Git LFS** 管理,clone 前请确认已安装 `git lfs`。
|
||||
- 请勿将版权不明的音乐文件上传至本库。
|
||||
0
fonts/.gitkeep
Normal file
0
fonts/.gitkeep
Normal file
0
music/calm/.gitkeep
Normal file
0
music/calm/.gitkeep
Normal file
0
music/corporate/.gitkeep
Normal file
0
music/corporate/.gitkeep
Normal file
0
music/upbeat/.gitkeep
Normal file
0
music/upbeat/.gitkeep
Normal file
0
watermark/.gitkeep
Normal file
0
watermark/.gitkeep
Normal file
Reference in New Issue
Block a user