Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1894217
Summary: | Cannot play H.264 video with OpenH264 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Catanzaro <mcatanza> | ||||||
Component: | firefox | Assignee: | Martin Stransky <stransky> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 33 | CC: | awilliam, dustymabe, elxreno, erack, gecko-bugs-nobody, jhorak, kai-engert-fedora, mboddu, pjasicek, rhughes, rstrode, sandmann, stransky, tqueiros | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | firefox-82.0.2-5.fc33 firefox-82.0.3-1.fc32 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-11-12 03:15:50 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Michael Catanzaro
2020-11-03 18:24:56 UTC
Do you have mozilla-openh264 package installed? From the log it's not recognized by browser. (In reply to Martin Stransky from comment #1) > Do you have mozilla-openh264 package installed? From the log it's not > recognized by browser. No. I didn't know this subpackage existed, and we haven't done anything to cause it to install itself as we have for the main openh264 package. I'll bring that up in https://pagure.io/fedora-workstation/issue/84. Sadly, installing it does not change much. The error messages in the debug log changed slightly. I'll attach a new log. Created attachment 1726391 [details]
New debug log with mozilla-openh264 installed
Okay, I'll look at it on a new F33 installation, works fine on my F32. We may need some additional plumbing here. Yes, I can reproduce that on F33. Works ok on F32 (at least on my boxes). Well, I installed mozilla-openh264, restart browser and it works now. Can you try to restart the browser and check again? You need to log out/log in after mozilla-openh264 installation as it sets MOZ_GMP_PATH env variable which is read by Firefox. (In reply to Martin Stransky from comment #7) > You need to log out/log in after mozilla-openh264 installation as it sets > MOZ_GMP_PATH env variable which is read by Firefox. Ah, wow. That isn't ideal. Maybe there is a better way to set MOZ_GMP_PATH, from the Firefox package itself, so that we don't need to log out after package installation? If so, that would be nice. Regardless, I can confirm that I now have H.264 in Firefox. This is great. We can continue to discuss how to install the package automatically in https://pagure.io/fedora-workstation/issue/84. That's really a separate issue. (In reply to Michael Catanzaro from comment #8) > (In reply to Martin Stransky from comment #7) > > You need to log out/log in after mozilla-openh264 installation as it sets > > MOZ_GMP_PATH env variable which is read by Firefox. > > Ah, wow. That isn't ideal. Maybe there is a better way to set MOZ_GMP_PATH, > from the Firefox package itself, so that we don't need to log out after > package installation? If so, that would be nice. > > Regardless, I can confirm that I now have H.264 in Firefox. This is great. > We can continue to discuss how to install the package automatically in > https://pagure.io/fedora-workstation/issue/84. That's really a separate > issue. Package firefox-82.0.2-4 requires mozilla-openh264 package and recommended installation step is reboot :) I think this is one-time issue and will be solved automatically. FEDORA-2020-d9020b3054 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d9020b3054 FEDORA-2020-e74410aaf3 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-e74410aaf3 Talking to kalev and mclasen on IRC, they think requiring the package is wrong: <adamw> firefox has started depending on that package <kalev> ohh! <adamw> hence all of this fail: https://openqa.fedoraproject.org/tests/overview?distri=fedora&version=31&build=Update-FEDORA-2020-d9020b3054&groupid=2 <mclasen> that seems .... wrong ? <kalev> I don't think it can do that right now. It should have Recommends instead, that should be fine It will make compose impossible too, since openh264 is not allowed into the compose. This will have to be a Recommends. The Recommends is not actually going to work, btw. We need to find some other way to manually install this, e.g. using PackageKit D-Bus API. The issue is that the cisco repo (which is where mozilla-openh264 comes from) is not enabled when composing install media. This is because we are not allowed to redistribute openh264. Users have to download it directly from cisco. Because of that, we can't hard-Require anything that's in the cisco repo. The repo is enabled by default for users though, starting in F32+ so it should be fine to "Recommends: mozilla-openh264" in F32+. The repo is not enabled by default in F31 so it's best to not put the Recommends there. I untagged firefox-82.0.2-4.fc34 build from rawhide, it should be rebuilt with Recommends instead of Requires. FEDORA-2020-0da7aa3894 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0da7aa3894` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-0da7aa3894 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-d9020b3054 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d9020b3054` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d9020b3054 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-e74410aaf3 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-e74410aaf3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e74410aaf3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Ohh, sorry for that. Added Recommends to firefox-82.0.2-5.* FEDORA-2020-c162d6421b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c162d6421b FEDORA-2020-ea63ecaf8c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ea63ecaf8c FEDORA-2020-bc6214ef04 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bc6214ef04` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc6214ef04 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-c162d6421b has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c162d6421b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c162d6421b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-ea63ecaf8c has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ea63ecaf8c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ea63ecaf8c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-c162d6421b has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. So there's still a problem with the weak dependency - Bug 1896259. FEDORA-2020-fc9085727a has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-fc9085727a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-fc9085727a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-45d452ec44 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-45d452ec44` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-45d452ec44 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-fc9085727a has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-93fd31f27d has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-93fd31f27d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-93fd31f27d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. |