Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V0.10] Check the H.264 library works before trying to load it #3432

Open
wants to merge 1 commit into
base: v0.10
Choose a base branch
from

Conversation

matt335672
Copy link
Member

@matt335672 matt335672 commented Feb 13, 2025

Backport of #3413, without the changes to the missing Coverity file.

Draft for now while I retest on Alma 9.

We found during deployment that it is possible for some configurations
to have the build-time noopenh264 library installed, rather than the
openh264 library. This causes a failure which is difficult to diagnose.

(cherry picked from commit 195d04a)
@matt335672
Copy link
Member Author

Testing on Alma 9.5.

openh264 was installed to start with. Following a log in over xrdp, the following commands were used to install noopenh264 instead:-

sudo dnf install noopenh264 --allowerasing
sudo systemctl restart xrdp xrdp-sesman

Another log in over xrdp worked. Then:-

$ sudo grep '2025-02-13.*264' /var/log/xrdp.log
[2025-02-13T11:42:58.585+0000] [INFO ] xrdp_encoder_create: using OpenH264 for software encoder
[2025-02-13T11:44:27.852+0000] [ERROR] OpenH264 Codec is not installed correctly. H.264 will not be used

@matt335672 matt335672 marked this pull request as ready for review February 13, 2025 11:49
@matt335672
Copy link
Member Author

@metalefty - I've updated the wiki in anticipation that you're happy with this. Please merge it if you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant