compress.cafe

Hi, I’m cancername. This is my personal website. I program mainly in Zig and C, and I enjoy working with and learning more about multimedia.

Resources

Communities

Discord

Despite being proprietary, Discord is a great place to talk to like-minded people. Here are a few Discord communities – they will be focused on AV1, but you can have great conversations about anything multimedia there.

  • AV1 for dummies. The official server for the codec wiki. Small and new. I’m active here.
  • AV1 Community. The largest AV1 Discord community, but I find the atmosphere unpleasant.
  • The AV1 EX dev hub. Split from AV1 Community, probably the second largest one.
  • AV1 weeb edition. This is the community of the AV1 “unofficial content distribution” scene.
  • JPEG XL is the inofficial Discord community for the JPEG XL image codec.
  • Jaded Encoding Thaumaturgy (JET). Formerly known as Irrational Encoding Wizardry, JET focuses on appealing anime encoding.
  • VapourSynth is the official Discord community for the VapourSynth programmatic video editor. It’s often used for filtering to remove artifacts.
  • VVC is the Discord community for Versatile Video Coding.
  • Av1an is the official Discord community for the Av1an encoding toolkit.
  • AWCY is the Discord community for Are We Compressed Yet.

Wikis

Blogs

Articles

Introductions

Encoding

Resampling

Color

Neural compression and machine learning enhancement

Blog entries

Projects

Zig Multimedia

Zig Multimedia is an attempt at creating a multimedia framework for Zig. It was mainly driven by my frustration with zigimg, a Zig image library, and FFmpeg. It’s very unfinished, but has decoders for Y4M, P[BGP]M, and QOI.

Core

There’s a kind of chicken-and-egg problem here, where you need to write code that uses Core to know what needs to be in it. The source code is still unreleased.

Queue

A single-producer, single-consumer atomic queue in preparation for filtergraphs in Core. Source code is on Codeberg. It’s usable, but basic.

Cpuid

A Zig library to detect x86 CPU features in an ergonomic way. Source code is on Codeberg.

Simd

Some temporary inline asm replacements for intrinsics, or lack thereof.

File upload

You can upload to files.compress.cafe. To do this, ask me for a key, then use the following script:

expand
#! /bin/sh

key='insert the key I gave you here'

url="https://files.compress.cafe/upload?${key}"

if test -z "${1}"
then
    curl -X POST --data-binary '@-' "${url}"
else
    if test -z "${1##*.}"
    then
        curl -X POST --data-binary "@${1}" "${url}"
    else
        curl -X POST -H "X-Extension: ${1##*.}" --data-binary "@${1}" "${url}"
    fi
fi

(Is this cursed? Would love to hear some feedback.)

Contact