Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Nov 23, 2024
1 parent f97f566 commit eb6779b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# krec

K-Clips are the way that we collect data to train our AI models.
`krec` is a library for reading and writing K-Rec data.

## Append metadata to a video file
## Installation

### FFmpeg
```bash
pip install krec
```

`ffmpeg -i test_video.mp4 -attach test.txt -metadata:s:t mimetype=application/octet-stream -metadata:s:t title="krec-001" -metadata:s:t uuid="123e4567-e89b-12d3-a456-426614174000" -metadata:s:t action="put the bunny back in the box" -c copy output_krec.mkv`

## Read metadata

### JS

[ffmpeg-wasm](adhoc/web/full_meta.html)
See the [docs](https://docs.kscale.dev/models/krec) for more information.

0 comments on commit eb6779b

Please sign in to comment.