This is what we see in the logs on Debian11:
avformat.c:3340 use video codec implementation Video: h264 (libx264), yuv420p(pc, gbr/unknown/unknown), 320x240, q=-1–1, 81 kb/s
This is on Debian12:
avformat.c:3340 use video codec implementation Video: flv1 (flv), yuv420p(pc, gbr/unknown/unknown), 320x240, q=2-31, 81 kb/s
The cause seems to be a change in the way the preprocessor directives are being processed when we compile avformat.c on Debian12. In previous versions,
#if (LIBAVFORMAT_VERSION_MAJOR < LIBAVFORMAT_V)
has been true, but since the upgrade to libavformat59 on Debian12, that’s not the case anymore.