Bug 2325032
| Summary: | Openh264 loop video gets stuck in .mp4 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Xeren Catidil <xrrnypdoslivkcatdi> |
| Component: | openh264 | Assignee: | Wim Taymans <wtaymans> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | anatoli, klember, wtaymans |
| Target Milestone: | --- | Keywords: | Bugfix |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-12-16 17:31:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Xeren Catidil
2024-11-10 20:24:25 UTC
Can you file this upstream at https://github.com/cisco/openh264 please? We only package openh264 on Fedora side and don't develop it. I can confirm this with Reddit. The platform converts animated gifs to H.264 and they become black after played once and freeze. Kalev, before filling more upstream issues (I just filled https://github.com/cisco/openh264/issues/3808) can we get 2.5.0 update in F41? I know my first reaction to bugs in outdated versions, so it will save us some time. I am not sure we can, sadly :( I've already done a 2.5.0 build for rawhide, and F41 would be trivial, but the issue is getting the builds out due to https://pagure.io/fedora-infrastructure/issue/12112#comment-938325 Let me do the builds now though just so that they are ready to go once infra side is sorted out. If you want, you could try to build the 2.5.0 rpms locally and see if it helps with this issue - if it doesn't, then it's certainly worth filing it upstream. The procedure for this is something along the lines of 'fedpkg clone -a openh264, cd openh264, git checkout f41, fedpkg mockbuild' and then dnf update to the resulting rpms that mock spits out. To go back to older, Cisco/Fedora-provided builds, dnf distro-sync '*openh264*' Thanks. I don't know what ODCS, ELN and composes are, so I don't really get the problem with pushing the builds, and why all these things are needed. For building `openh264` from source, does this `fedpkg mockbuild` build thing in isolation? I'd like to avoid spending space on dev packages that I will never need. Yes, mock builds are all done in isolation, so you shouldn't need to install any dev packages beyond fedpkg and mock on your system. As for the infra issue, it's not something I fully understand either :) What is needed from releng/infra side is that they need to sign the new packages and build repository metadata, and send the packages off to Cisco for hosting and host the repository metadata on Fedora side. ODCS is a tool they used for building repository metadata, but it's been recently decommissioned and they haven't figured out a new process for it. It's all a bit complicated because Fedora can't publish the packages themselves, not even for testing, which is why I asked if you could do a local build. ``` sudo dnf5 install fedpkg fedpkg clone -a openh264 cd openh264 git switch f41 fedpkg mockbuild ``` Requires root privileges. I expected it to be rootless. ``` Downloading gmp-api-e7d30b9.tar.gz from https://src.fedoraproject.org/repo/pkgs ######################################################################## 100.0% Downloading openh264-2.5.0.tar.gz from https://src.fedoraproject.org/repo/pkgs ######################################################################## 100.0% setting SOURCE_DATE_EPOCH=1731110400 Wrote: /home/anatoli/f/openh264/openh264-2.5.0-1.fc41.src.rpm You are not in the `mock` group. See https://rpm-software-management.github.io/mock/#setup Authenticating as "root" ``` Running with `sudo` have built it successfully. Now need to understand how to install it. ``` Finish: rpmbuild openh264-2.5.0-1.fc41.src.rpm Finish: build phase for openh264-2.5.0-1.fc41.src.rpm INFO: Done(/home/anatoli/f/openh264/openh264-2.5.0-1.fc41.src.rpm) Config(fedora-41-x86_64) 3 minutes 32 seconds INFO: Results and/or logs in: /home/anatoli/f/openh264/results_openh264/2.5.0/1.fc41 ``` ``` cd ./results_openh264/2.5.0/1.fc41/ sudo dnf5 install mozilla-openh264-2.5.0-1.fc41.x86_64.rpm openh264-2.5.0-1.fc41.x86_64.rpm ``` Installed sucessfully. ``` Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Upgrading: mozilla-openh264 x86_64 2.5.0-1.fc41 @commandline 1.1 MiB replacing mozilla-openh264 x86_64 2.4.1-2.fc41 @commandline 1.1 MiB openh264 x86_64 2.5.0-1.fc41 @commandline 1.1 MiB replacing openh264 x86_64 2.4.1-2.fc41 @commandline 1.1 MiB Transaction Summary: Upgrading: 2 packages Replacing: 2 package Total size of inbound packages is 844 KiB. Need to download 0 B. After this operation, 20 KiB extra will be used (install 2 MiB, remove 2 MiB). Is this ok [y/N]: y Running transaction [1/6] Verify package files 100% | 133.0 B/s | 2.0 B | 00m00s [2/6] Prepare transaction 100% | 2.0 B/s | 4.0 B | 00m01s [3/6] Upgrading openh264-0:2.5.0-1.fc41.x86_64 100% | 25.8 MiB/s | 1.1 MiB | 00m00s [4/6] Upgrading mozilla-openh264-0:2.5.0-1.fc41.x86_64 100% | 28.3 MiB/s | 1.1 MiB | 00m00s [5/6] Removing mozilla-openh264-0:2.4.1-2.fc41.x86_64 100% | 739.0 B/s | 17.0 B | 00m00s [6/6] Removing openh264-0:2.4.1-2.fc41.x86_64 100% | 8.0 B/s | 9.0 B | 00m01s Warning: skipped PGP checks for 2 packages from repository: @commandline1.x86_64 Complete! ``` `vlc` and `ffplay` still error out. Firefox probaly needs restart. Rebooting It is installed, but video still doesn't play. :cry: ( Oh well :( At least it's clear that it's an upstream issue if you can reproduce it with 2.5.0. The upstream issue - https://github.com/cisco/openh264/issues/3808 They say it might be hardware acceleration problem, or its absence. Because the @joakim-tjernlund reports it works for him with latest version. If I understand it correctly, I think he is saying that maybe the test video works for him because it is getting decoded with something else, e.g. nvdec (NVidia's hardware accelerated decoder) and not openh264. Need clean VM with no hardware for testings, but then it is not clear how to test (https://github.com/cisco/openh264/issues/3811). This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This message is a reminder that Fedora Linux 41 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '41'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 41 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 41 entered end-of-life (EOL) status on 2025-12-15. Fedora Linux 41 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. |