blob: 732ea873f4fbfe9edb1a1df0737da6688519f70d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
ffplay "rtsp://user:pass@192.168.0.8:554/stream1"
extract frames:
ffmpeg -ss 00:01:30 -i clip.mp4 -vf "fps=1,scale=-2:336" \
-frames:v 8 frame_%03d.jpg
llama-cli:
llama-mtmd-cli -m model.gguf --mmproj mmproj.gguf \
--no-mmproj-offload -ngl 0 --device none -c 4096 \
$(for f in frame_*.jpg; do echo --image $f; done) \
-p "These are consecutive frames from a video. Describe what happens."
|