-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f97f566
commit eb6779b
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |