Archived
- #47: llama-server's request fields, routes and sampler order, and /props (with baKon's model entry: max_model_len, root and capabilities on /v1/models, and /v1/models/:id) - new APIs: Anthropic's Messages API (/v1/messages), OpenAI's Responses API (/v1/responses), llama-server's /completion and /infill, logprobs (OpenAI's logprobs and top_logprobs, up to 20; llama-server's n_probs), OpenAI's legacy `functions`, and X-Api-Key beside the bearer key - #4: --model takes a Hugging Face repo id (owner/name), fetched before startup into ~/.cache/radiance/hf or --download-dir and checked for changes at every start (redxherring) - #46: --tp 3 --tp-wire wht6 serves -- a three-rank two-shot all-reduce with uneven shards and the tiered-int8 wire over it (baKon); scripts/cardclock.py names what holds each card's clock under load (baKon) - CPU-only serving works again; --kernels names the kernel libraries to load; a model the loaded libraries cannot fully serve refuses at startup instead of failing its first request; --vram-kv-mib and --vram-weights-mib are gone (the split is automatic) - --embedding-placement ram is the default, and `auto` is gone - #40: Swift 1.5 recipes; rad-convert reads which shard holds a tensor from the index - #53: the pinned host pool gets huge pages where shmem THP is off; #57: a crash on video with an odd frame width is fixed
39 lines
1.6 KiB
Markdown
39 lines
1.6 KiB
Markdown
# tests/data/media
|
|
|
|
One solid red picture in every still format `core/mm/media.cpp` admits, and one short solid red
|
|
clip in each container and codec it admits; `mm_test` decodes every one and checks it is red at
|
|
its size. They were made with FFmpeg 8.1 (libx264, libx265, libvpx, libsvtav1, libaom, libtheora,
|
|
libwebp):
|
|
|
|
```sh
|
|
I="-f lavfi -i color=c=red:s=32x32:d=1:r=1"
|
|
V="-f lavfi -i color=c=red:s=64x64:d=1:r=4"
|
|
ffmpeg $I -frames:v 1 red.png
|
|
ffmpeg $I -frames:v 2 -f apng red.apng
|
|
ffmpeg $I -frames:v 1 red.jpg
|
|
ffmpeg -f lavfi -i color=c=red:s=1788x282:d=1:r=1 -frames:v 1 red-1788x282.jpg
|
|
ffmpeg $I -frames:v 1 -c:v libwebp red.webp
|
|
ffmpeg $I -frames:v 1 red.gif
|
|
ffmpeg $I -frames:v 1 red.bmp
|
|
ffmpeg $I -frames:v 1 red.tiff
|
|
ffmpeg $I -frames:v 1 -c:v qoi red.qoi
|
|
ffmpeg $I -frames:v 1 -pix_fmt rgb24 red.ppm
|
|
ffmpeg $I -frames:v 1 -c:v jpegls red.jls
|
|
ffmpeg $V -frames:v 1 -c:v libaom-av1 -cpu-used 8 -f avif red.avif
|
|
ffmpeg $V -c:v libx264 -pix_fmt yuv420p red-h264.mp4
|
|
ffmpeg $V -c:v libx265 -pix_fmt yuv420p -tag:v hvc1 red-hevc.mp4
|
|
ffmpeg $V -c:v libsvtav1 -pix_fmt yuv420p red-av1.mp4
|
|
ffmpeg $V -c:v libvpx red-vp8.webm
|
|
ffmpeg $V -c:v libvpx-vp9 red-vp9.webm
|
|
ffmpeg $V -c:v libx264 -pix_fmt yuv420p red-h264.mkv
|
|
ffmpeg $V -c:v libx264 -pix_fmt yuv420p -f mpegts red-h264.ts
|
|
ffmpeg $V -c:v mpeg4 red-mpeg4.avi
|
|
ffmpeg $V -c:v libtheora red-theora.ogv
|
|
```
|
|
|
|
`red-1788x282.jpg` is 4:2:0 at a width the scaler's vectors do not divide: converted to RGB it
|
|
is written 12 bytes past width x 3 (`a_picture_of_an_awkward_width_converts_inside_its_buffer`).
|
|
|
|
The Theora clip repeats its first frame with empty packets, which is how Ogg Theora encodes a frame
|
|
that does not change.
|