Bug#1098488: freerdp3-x11: Enable fdk-aac to replace buggy aac encoder from ffmpeg
Package: freerdp3-x11
Version: 3.10.3+dfsg-1~bpo12+1
Severity: important
X-Debbugs-Cc: akallabeth+debian@posteo.net
Dear Maintainer,
the current package of FreeRDP uses the AAC encoder from FFMPEG.
This encoder does have an issue with certain PCM input data (specifics unknown)
and fails with
[aac @ 0x7f3cd4c307c0] Input contains (near) NaN/+-Inf
[aac @ 0x7f3cd4c307c0] Qavg: nan
[aac @ 0x7f3cd4c307c0] 2 frames left in the queue on closing
It looks like this is something internal wher formats are converted and a
division by zero occurs. (the input is INT16 PCM data, so no floating point
data from the FreeRDP side...)
since this prevents FreeRDP form using the /microphone option the only way to
work around this is currently to use /microphone:format:1 which disables
microphone data encoding and sends raw PCM data.
This requires a lot more bandwidth and should be avoided.
Upstream FreeRDP also supports the fdk-aac encoder which can be enabled with
-DWITH_FDK_AAC=ON during build.
Since this dependency is also in the repo it would be preferrable to have this
working AAC encoder compiled in instead of one bailing out on some input data.
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.9+bpo-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages freerdp3-x11 depends on:
ii libc6 2.36-9+deb12u9
ii libfreerdp-client3-3 3.10.3+dfsg-1~bpo12+1
ii libfreerdp3-3 3.10.3+dfsg-1~bpo12+1
ii libwinpr3-3 3.10.3+dfsg-1~bpo12+1
ii libx11-6 2:1.8.4-2+deb12u2
ii libxcursor1 1:1.2.1-1
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxi6 2:1.8-1+b1
ii libxinerama1 2:1.1.4-3
ii libxrandr2 2:1.5.2-2+b1
ii libxrender1 1:0.9.10-1.1
freerdp3-x11 recommends no packages.
freerdp3-x11 suggests no packages.
-- no debconf information
Reply to: