Nock CLI
Open models that live on your machine. Ask questions about your videos, offline.
nock video summarize my_video.mp4
nock video ask my_video.mp4 "What error message shows on screen?"
nock video find my_video.mp4 "when the error message shows up"
nock video summarize "https://www.youtube.com/watch?v=..."
Everything runs on your computer. Frames are read into a temporary folder, sent to a model running on
127.0.0.1, and deleted when the answer is ready. Nothing is uploaded.
Install
You need Python 3.9 or newer and ffmpeg.
pipx install nock-cli
nock setup
nock doctor
nock setup downloads, once:
- the engine: an official llama.cpp build (about 35 MB; Vulkan on Windows
and Linux, Metal on Apple Silicon). Already have
llama-server? Nock uses it. - the model: Nock Video 4B (about 3.4 GB).
Files go to ~/.nock (set NOCK_HOME to use another folder).
Links
Links are downloaded to your own machine with yt-dlp, which you install yourself:
pipx inject nock-cli yt-dlp
Only use videos you have the right to use.
What to expect
Nock Video 4B is a preview. On our test of 20 videos, through llama.cpp at 64 frames, it found the moment in 42 of 56 questions, answered 56 of 60 questions about what is on screen, and gave 6 of 7 good summaries. Full results, including the misses, are on the model card.
- It reads frames only, not sound.
- A long video is read as at most 64 frames, so short events in long videos can be missed.
- 64 frames used about 5.5 GB of GPU memory in our test. On GPUs under 6 GB, Nock uses 32 frames (finding the
moment drops: 42 to 35 of 56 on our test).
--framesoverrides it. - Without a GPU it works, but slowly: minutes per question.
Options
| Option | Meaning |
|---|---|
--frames N |
frames to read (default 64, 32 on GPUs under 6 GB) |
nock setup --backend cpu |
CPU-only engine |
NOCK_LLAMA_SERVER=/path/llama-server |
use your own llama.cpp build |
Server logs are in ~/.nock/logs/ if something goes wrong.
License
Apache-2.0. The model has its own license on its model card (Apache-2.0, from Qwen3.5 4B).
Metadata
Release files for nock-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nock_cli-0.1.0.tar.gz | 18.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nock_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / nock_cli-0.1.0.tar.gz
| Download URL | nock_cli-0.1.0.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a167515ece7390b75be223d13b54f70c2202475d6ff1c7997d9a4aec94fd323
|
|
BLAKE2b-256 checksum How to use checksums |
9d8193586bb7b15aeb5953e7b481b5f788571f2ca4d7972414e755ada7f9f126
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Release files / nock_cli-0.1.0-py3-none-any.whl
| Download URL | nock_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63477eddb828afc0114a01b32d4045eda8c248eb424b257a460a31dacb9e0e74
|
|
BLAKE2b-256 checksum How to use checksums |
841eabce9c120a391504f4dd0cecb466e9532ad6cb54366cf9b817ef8a836a62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Security for nock-cli 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.