Hi everyone,
I’m testing CasparCG 2.5.0, which brings many improvements, but I’m having trouble with the FFmpeg consumer. I can’t get any preview or output stream to work and keep running into this error:
[ffmpeg] [mp2 @ 0000026E4BB3D880] Specified channel layout 'hexadecagonal' is not supported by the mp2 encoder
[2025-01-28 11:53:10.187] [error]
[2025-01-28 11:53:10.187] [error] [ffmpeg] [mp2 @ 0000026E4BB3D880] Supported channel layouts:
[2025-01-28 11:53:10.187] [error] [ffmpeg] [mp2 @ 0000026E4BB3D880] mono
[2025-01-28 11:53:10.187] [error] [ffmpeg] [mp2 @ 0000026E4BB3D880] stereo
It’s a clean installation with no manual config updates or channel layout settings. I’ve tried adding options and omitting audio, but the issue persists. I tested even default Client. Here are some commands I’ve tested:
ADD 1 STREAM udp://127.0.0.1:5000 -format mpegts
ADD 1 STREAM udp://127.0.0.1:9250 -format mpegts -codec:v libx264 -crf:v 25 -tune:v zerolatency -preset:v ultrafast -filter:v scale=288:162
ADD 1 STREAM udp://127.0.0.1:9250 -format mpegts -codec:v libx264 -crf:v 25 -tune:v zerolatency -preset:v ultrafast -filter:v scale=288:162 -ac 2
ADD 1 STREAM udp://127.0.0.1:9250 -format mpegts -codec:v libx264 -crf:v 25 -tune:v zerolatency -preset:v ultrafast -filter:v scale=288:162 -an
Any advice on what might be wrong or how to fix it?
Thanks!