clipdex 0.2.0__tar.gz
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.
- clipdex-0.2.0/.github/workflows/ci.yml +20 -0
- clipdex-0.2.0/.github/workflows/publish.yml +35 -0
- clipdex-0.2.0/.gitignore +14 -0
- clipdex-0.2.0/LICENSE +21 -0
- clipdex-0.2.0/PKG-INFO +183 -0
- clipdex-0.2.0/README.md +162 -0
- clipdex-0.2.0/clipdex +13 -0
- clipdex-0.2.0/pyproject.toml +42 -0
- clipdex-0.2.0/src/clipdex/__init__.py +5 -0
- clipdex-0.2.0/src/clipdex/__main__.py +5 -0
- clipdex-0.2.0/src/clipdex/cli.py +912 -0
- clipdex-0.2.0/tests/test_cli.py +51 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: ${{ matrix.python-version }}
|
|
19
|
+
- run: pip install pytest
|
|
20
|
+
- run: pytest -q
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
# Runs when a GitHub Release is published. Uses PyPI trusted publishing,
|
|
4
|
+
# so no API token is stored in the repo.
|
|
5
|
+
on:
|
|
6
|
+
release:
|
|
7
|
+
types: [published]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-python@v5
|
|
15
|
+
with:
|
|
16
|
+
python-version: "3.12"
|
|
17
|
+
- run: pip install build
|
|
18
|
+
- run: python -m build
|
|
19
|
+
- uses: actions/upload-artifact@v4
|
|
20
|
+
with:
|
|
21
|
+
name: dist
|
|
22
|
+
path: dist/
|
|
23
|
+
|
|
24
|
+
publish:
|
|
25
|
+
needs: build
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
environment: pypi
|
|
28
|
+
permissions:
|
|
29
|
+
id-token: write
|
|
30
|
+
steps:
|
|
31
|
+
- uses: actions/download-artifact@v4
|
|
32
|
+
with:
|
|
33
|
+
name: dist
|
|
34
|
+
path: dist/
|
|
35
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
clipdex-0.2.0/.gitignore
ADDED
clipdex-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Brais Revaldería
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
clipdex-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: clipdex
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: AI-powered footage search for filmmakers: index your video library with local vision models and search it in plain language.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Obrais-cloud/clipdex
|
|
6
|
+
Project-URL: Issues, https://github.com/Obrais-cloud/clipdex/issues
|
|
7
|
+
Author: Brais Revaldería
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: dailies,editing,film,footage,ollama,post-production,search,video,vision
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Database
|
|
18
|
+
Classifier: Topic :: Multimedia :: Video
|
|
19
|
+
Requires-Python: >=3.10
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# clipdex
|
|
23
|
+
|
|
24
|
+
[](https://github.com/Obrais-cloud/clipdex/actions/workflows/ci.yml)
|
|
25
|
+
[](https://pypi.org/project/clipdex/)
|
|
26
|
+

|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
**Search your footage like you search your email.** clipdex indexes a video library with a local vision model, then lets you find shots in plain language: "horse at sunset", "close-up hands", "all the wides from day 2".
|
|
30
|
+
|
|
31
|
+
Built by a working director/DP for real post-production: it runs entirely on your machines, so unreleased footage never leaves the building.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pipx install clipdex
|
|
35
|
+
clipdex index ./footage
|
|
36
|
+
clipdex search "horse galloping"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
day1_001.mov @0:30
|
|
41
|
+
Group of wild horses galloping across green hillside
|
|
42
|
+
Tags: horses, galloping, nature
|
|
43
|
+
Shot: wide Mood: energetic
|
|
44
|
+
-> ffplay -ss 30.0 "footage/day1_001.mov"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Why
|
|
48
|
+
|
|
49
|
+
Editors and assistant editors lose hours scrubbing timelines to find "that shot". Commercial tools that solve this upload your media to a cloud, which is a non-starter for client work under NDA, documentary sources, or anything pre-release.
|
|
50
|
+
|
|
51
|
+
clipdex extracts keyframes, describes each one with an Ollama vision model (description, tags, shot type, mood), and stores it in a local SQLite index. No API keys, no uploads, no subscription.
|
|
52
|
+
|
|
53
|
+
## Who it's for
|
|
54
|
+
|
|
55
|
+
- **Editors and AEs** logging dailies or digging through a documentary archive
|
|
56
|
+
- **Directors and DPs** pulling selects and references from past shoots
|
|
57
|
+
- **Small post houses** that want AI search without sending media to a third party
|
|
58
|
+
|
|
59
|
+
## Requirements
|
|
60
|
+
|
|
61
|
+
- Python 3.10+
|
|
62
|
+
- [ffmpeg](https://ffmpeg.org/) (ffmpeg and ffprobe on your PATH)
|
|
63
|
+
- [Ollama](https://ollama.com/) with a vision model, for example `ollama pull llama3.2-vision`
|
|
64
|
+
|
|
65
|
+
Zero Python dependencies. Standard library only.
|
|
66
|
+
|
|
67
|
+
## Install
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Recommended
|
|
71
|
+
pipx install clipdex
|
|
72
|
+
|
|
73
|
+
# Or with pip
|
|
74
|
+
pip install clipdex
|
|
75
|
+
|
|
76
|
+
# Or run straight from a checkout, no install
|
|
77
|
+
git clone https://github.com/Obrais-cloud/clipdex.git
|
|
78
|
+
ln -s "$(pwd)/clipdex/clipdex" /usr/local/bin/clipdex
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Usage
|
|
82
|
+
|
|
83
|
+
### Index footage
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
clipdex index ./footage # directory, recursive
|
|
87
|
+
clipdex index ./footage/day1_001.mov # single file
|
|
88
|
+
clipdex index ./footage --model gemma3:4b # different vision model
|
|
89
|
+
clipdex index ./footage --interval 15 # keyframe every 15s (default 30)
|
|
90
|
+
clipdex index ./footage --force # reindex unchanged files too
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Index across several machines
|
|
94
|
+
|
|
95
|
+
Point clipdex at more than one Ollama host and it spreads frame analysis across them, skipping any node that fails a health check. Useful when a single workstation would take all night.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
clipdex index ./footage --hosts "http://mac-studio:11434,http://edit-bay-2:11434,http://render-node:11434"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Search
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
clipdex search "horse running"
|
|
105
|
+
clipdex search "close-up" --limit 5
|
|
106
|
+
clipdex search "aerial shot" --json # for scripts
|
|
107
|
+
clipdex search "horse" --no-ai # keyword match only, skip AI re-ranking
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Keyword matching runs first across descriptions, tags, moods and shot types. If it finds nothing, clipdex asks the model to rank frames semantically.
|
|
111
|
+
|
|
112
|
+
### Export to your NLE
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
clipdex export --format edl --output selects.edl # import into Premiere, Resolve, Avid
|
|
116
|
+
clipdex export --format csv --output shots.csv
|
|
117
|
+
clipdex export --format json
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Other commands
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
clipdex list # every indexed file
|
|
124
|
+
clipdex list --tags "horse"
|
|
125
|
+
clipdex list --path "day1"
|
|
126
|
+
clipdex info day1_001.mov # details for one file
|
|
127
|
+
clipdex stats # library totals
|
|
128
|
+
clipdex reindex day1_001.mov
|
|
129
|
+
clipdex config --model gemma3:4b
|
|
130
|
+
clipdex config --db ~/projects/my-doc/index.db # one index per project
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## How it works
|
|
134
|
+
|
|
135
|
+
1. **Discover** video files by extension (.mp4, .mov, .mxf, .r3d, .braw and more)
|
|
136
|
+
2. **Extract** keyframes at a fixed interval with ffmpeg
|
|
137
|
+
3. **Describe** each frame with an Ollama vision model as structured JSON
|
|
138
|
+
4. **Store** everything in SQLite (WAL mode)
|
|
139
|
+
5. **Search** with keyword matching, falling back to AI ranking
|
|
140
|
+
|
|
141
|
+
Files are tracked by a fast partial hash (blake2b over head, middle and tail), so re-running `clipdex index` only processes new or changed media.
|
|
142
|
+
|
|
143
|
+
## Config
|
|
144
|
+
|
|
145
|
+
Defaults live in `~/.clipdex/config.json`.
|
|
146
|
+
|
|
147
|
+
| Setting | Default | Description |
|
|
148
|
+
|---------|---------|-------------|
|
|
149
|
+
| `db` | `~/.clipdex/index.db` | SQLite database path |
|
|
150
|
+
| `model` | `llama3.2-vision` | Ollama vision model |
|
|
151
|
+
| `hosts` | `http://localhost:11434` | Comma-separated Ollama endpoints |
|
|
152
|
+
| `interval` | `30` | Seconds between keyframes |
|
|
153
|
+
|
|
154
|
+
## Supported formats
|
|
155
|
+
|
|
156
|
+
MP4, MOV, AVI, MKV, WebM, M4V, MXF, MPEG, WMV, FLV, TS, MTS, M2TS, 3GP, OGV, R3D, BRAW, ARI, DNG. Camera-raw formats depend on your ffmpeg build.
|
|
157
|
+
|
|
158
|
+
## Part of an open toolkit for film production
|
|
159
|
+
|
|
160
|
+
clipdex is one of a set of local-first, open-source tools for production and post, all running on Ollama with no API keys:
|
|
161
|
+
|
|
162
|
+
| Tool | What it does |
|
|
163
|
+
|------|--------------|
|
|
164
|
+
| **clipdex** | Natural-language search across a footage library |
|
|
165
|
+
| [cliplog](https://github.com/Obrais-cloud/cliplog) | Automatic shot log: detects cuts and describes every shot |
|
|
166
|
+
| [dailies](https://github.com/Obrais-cloud/dailies) | Dailies reports from a folder of footage: scenes, palettes, captions |
|
|
167
|
+
| [clipvault](https://github.com/Obrais-cloud/clipvault) | Semantic clip library with embeddings |
|
|
168
|
+
| [chromacut](https://github.com/Obrais-cloud/chromacut) | Color analysis: extracts the color narrative of a film |
|
|
169
|
+
| [scriptbreak](https://github.com/Obrais-cloud/scriptbreak) | Script breakdown from Fountain: cast, props, wardrobe, VFX per scene |
|
|
170
|
+
| [shotgen](https://github.com/Obrais-cloud/shotgen) | Shot list to animatic: storyboards and motion previews |
|
|
171
|
+
|
|
172
|
+
## Contributing
|
|
173
|
+
|
|
174
|
+
Issues and pull requests are welcome, especially from editors and AEs with real workflows to support. Run the tests with:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
pip install pytest
|
|
178
|
+
pytest
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## License
|
|
182
|
+
|
|
183
|
+
MIT
|
clipdex-0.2.0/README.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# clipdex
|
|
2
|
+
|
|
3
|
+
[](https://github.com/Obrais-cloud/clipdex/actions/workflows/ci.yml)
|
|
4
|
+
[](https://pypi.org/project/clipdex/)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
**Search your footage like you search your email.** clipdex indexes a video library with a local vision model, then lets you find shots in plain language: "horse at sunset", "close-up hands", "all the wides from day 2".
|
|
9
|
+
|
|
10
|
+
Built by a working director/DP for real post-production: it runs entirely on your machines, so unreleased footage never leaves the building.
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pipx install clipdex
|
|
14
|
+
clipdex index ./footage
|
|
15
|
+
clipdex search "horse galloping"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
day1_001.mov @0:30
|
|
20
|
+
Group of wild horses galloping across green hillside
|
|
21
|
+
Tags: horses, galloping, nature
|
|
22
|
+
Shot: wide Mood: energetic
|
|
23
|
+
-> ffplay -ss 30.0 "footage/day1_001.mov"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Why
|
|
27
|
+
|
|
28
|
+
Editors and assistant editors lose hours scrubbing timelines to find "that shot". Commercial tools that solve this upload your media to a cloud, which is a non-starter for client work under NDA, documentary sources, or anything pre-release.
|
|
29
|
+
|
|
30
|
+
clipdex extracts keyframes, describes each one with an Ollama vision model (description, tags, shot type, mood), and stores it in a local SQLite index. No API keys, no uploads, no subscription.
|
|
31
|
+
|
|
32
|
+
## Who it's for
|
|
33
|
+
|
|
34
|
+
- **Editors and AEs** logging dailies or digging through a documentary archive
|
|
35
|
+
- **Directors and DPs** pulling selects and references from past shoots
|
|
36
|
+
- **Small post houses** that want AI search without sending media to a third party
|
|
37
|
+
|
|
38
|
+
## Requirements
|
|
39
|
+
|
|
40
|
+
- Python 3.10+
|
|
41
|
+
- [ffmpeg](https://ffmpeg.org/) (ffmpeg and ffprobe on your PATH)
|
|
42
|
+
- [Ollama](https://ollama.com/) with a vision model, for example `ollama pull llama3.2-vision`
|
|
43
|
+
|
|
44
|
+
Zero Python dependencies. Standard library only.
|
|
45
|
+
|
|
46
|
+
## Install
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Recommended
|
|
50
|
+
pipx install clipdex
|
|
51
|
+
|
|
52
|
+
# Or with pip
|
|
53
|
+
pip install clipdex
|
|
54
|
+
|
|
55
|
+
# Or run straight from a checkout, no install
|
|
56
|
+
git clone https://github.com/Obrais-cloud/clipdex.git
|
|
57
|
+
ln -s "$(pwd)/clipdex/clipdex" /usr/local/bin/clipdex
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Usage
|
|
61
|
+
|
|
62
|
+
### Index footage
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
clipdex index ./footage # directory, recursive
|
|
66
|
+
clipdex index ./footage/day1_001.mov # single file
|
|
67
|
+
clipdex index ./footage --model gemma3:4b # different vision model
|
|
68
|
+
clipdex index ./footage --interval 15 # keyframe every 15s (default 30)
|
|
69
|
+
clipdex index ./footage --force # reindex unchanged files too
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Index across several machines
|
|
73
|
+
|
|
74
|
+
Point clipdex at more than one Ollama host and it spreads frame analysis across them, skipping any node that fails a health check. Useful when a single workstation would take all night.
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
clipdex index ./footage --hosts "http://mac-studio:11434,http://edit-bay-2:11434,http://render-node:11434"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Search
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
clipdex search "horse running"
|
|
84
|
+
clipdex search "close-up" --limit 5
|
|
85
|
+
clipdex search "aerial shot" --json # for scripts
|
|
86
|
+
clipdex search "horse" --no-ai # keyword match only, skip AI re-ranking
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Keyword matching runs first across descriptions, tags, moods and shot types. If it finds nothing, clipdex asks the model to rank frames semantically.
|
|
90
|
+
|
|
91
|
+
### Export to your NLE
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
clipdex export --format edl --output selects.edl # import into Premiere, Resolve, Avid
|
|
95
|
+
clipdex export --format csv --output shots.csv
|
|
96
|
+
clipdex export --format json
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Other commands
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
clipdex list # every indexed file
|
|
103
|
+
clipdex list --tags "horse"
|
|
104
|
+
clipdex list --path "day1"
|
|
105
|
+
clipdex info day1_001.mov # details for one file
|
|
106
|
+
clipdex stats # library totals
|
|
107
|
+
clipdex reindex day1_001.mov
|
|
108
|
+
clipdex config --model gemma3:4b
|
|
109
|
+
clipdex config --db ~/projects/my-doc/index.db # one index per project
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## How it works
|
|
113
|
+
|
|
114
|
+
1. **Discover** video files by extension (.mp4, .mov, .mxf, .r3d, .braw and more)
|
|
115
|
+
2. **Extract** keyframes at a fixed interval with ffmpeg
|
|
116
|
+
3. **Describe** each frame with an Ollama vision model as structured JSON
|
|
117
|
+
4. **Store** everything in SQLite (WAL mode)
|
|
118
|
+
5. **Search** with keyword matching, falling back to AI ranking
|
|
119
|
+
|
|
120
|
+
Files are tracked by a fast partial hash (blake2b over head, middle and tail), so re-running `clipdex index` only processes new or changed media.
|
|
121
|
+
|
|
122
|
+
## Config
|
|
123
|
+
|
|
124
|
+
Defaults live in `~/.clipdex/config.json`.
|
|
125
|
+
|
|
126
|
+
| Setting | Default | Description |
|
|
127
|
+
|---------|---------|-------------|
|
|
128
|
+
| `db` | `~/.clipdex/index.db` | SQLite database path |
|
|
129
|
+
| `model` | `llama3.2-vision` | Ollama vision model |
|
|
130
|
+
| `hosts` | `http://localhost:11434` | Comma-separated Ollama endpoints |
|
|
131
|
+
| `interval` | `30` | Seconds between keyframes |
|
|
132
|
+
|
|
133
|
+
## Supported formats
|
|
134
|
+
|
|
135
|
+
MP4, MOV, AVI, MKV, WebM, M4V, MXF, MPEG, WMV, FLV, TS, MTS, M2TS, 3GP, OGV, R3D, BRAW, ARI, DNG. Camera-raw formats depend on your ffmpeg build.
|
|
136
|
+
|
|
137
|
+
## Part of an open toolkit for film production
|
|
138
|
+
|
|
139
|
+
clipdex is one of a set of local-first, open-source tools for production and post, all running on Ollama with no API keys:
|
|
140
|
+
|
|
141
|
+
| Tool | What it does |
|
|
142
|
+
|------|--------------|
|
|
143
|
+
| **clipdex** | Natural-language search across a footage library |
|
|
144
|
+
| [cliplog](https://github.com/Obrais-cloud/cliplog) | Automatic shot log: detects cuts and describes every shot |
|
|
145
|
+
| [dailies](https://github.com/Obrais-cloud/dailies) | Dailies reports from a folder of footage: scenes, palettes, captions |
|
|
146
|
+
| [clipvault](https://github.com/Obrais-cloud/clipvault) | Semantic clip library with embeddings |
|
|
147
|
+
| [chromacut](https://github.com/Obrais-cloud/chromacut) | Color analysis: extracts the color narrative of a film |
|
|
148
|
+
| [scriptbreak](https://github.com/Obrais-cloud/scriptbreak) | Script breakdown from Fountain: cast, props, wardrobe, VFX per scene |
|
|
149
|
+
| [shotgen](https://github.com/Obrais-cloud/shotgen) | Shot list to animatic: storyboards and motion previews |
|
|
150
|
+
|
|
151
|
+
## Contributing
|
|
152
|
+
|
|
153
|
+
Issues and pull requests are welcome, especially from editors and AEs with real workflows to support. Run the tests with:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
pip install pytest
|
|
157
|
+
pytest
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
## License
|
|
161
|
+
|
|
162
|
+
MIT
|
clipdex-0.2.0/clipdex
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Run clipdex straight from a git checkout, no install needed.
|
|
3
|
+
|
|
4
|
+
Symlink this file onto your PATH, or install with `pipx install clipdex`.
|
|
5
|
+
"""
|
|
6
|
+
import os
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "src"))
|
|
10
|
+
|
|
11
|
+
from clipdex.cli import main # noqa: E402
|
|
12
|
+
|
|
13
|
+
sys.exit(main() or 0)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "clipdex"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "AI-powered footage search for filmmakers: index your video library with local vision models and search it in plain language."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
authors = [{ name = "Brais Revaldería" }]
|
|
14
|
+
keywords = ["film", "video", "footage", "post-production", "ollama", "vision", "search", "dailies", "editing"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 4 - Beta",
|
|
17
|
+
"Environment :: Console",
|
|
18
|
+
"Intended Audience :: End Users/Desktop",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Topic :: Multimedia :: Video",
|
|
23
|
+
"Topic :: Database",
|
|
24
|
+
]
|
|
25
|
+
dependencies = []
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://github.com/Obrais-cloud/clipdex"
|
|
29
|
+
Issues = "https://github.com/Obrais-cloud/clipdex/issues"
|
|
30
|
+
|
|
31
|
+
[project.scripts]
|
|
32
|
+
clipdex = "clipdex.cli:main"
|
|
33
|
+
|
|
34
|
+
[tool.hatch.version]
|
|
35
|
+
path = "src/clipdex/cli.py"
|
|
36
|
+
|
|
37
|
+
[tool.hatch.build.targets.wheel]
|
|
38
|
+
packages = ["src/clipdex"]
|
|
39
|
+
|
|
40
|
+
[tool.pytest.ini_options]
|
|
41
|
+
pythonpath = ["src"]
|
|
42
|
+
testpaths = ["tests"]
|