cisco / openh264

Open Source H.264 Codec
BSD 2-Clause "Simplified" License
5.5k stars 1.77k forks source link

Debian Mozilla firefox plug-in install broken #3504

Open jadonk opened 2 years ago

jadonk commented 2 years ago

Installation failure appears identical to https://bugzilla.mozilla.org/show_bug.cgi?id=1203605

Bug appears to be directly related to the content of chrome://global/content/gmp-sources/openh264.json

{
    "vendors": {
        "gmp-gmpopenh264": {
            "platforms": {
                "Android_aarch64-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-android-aarch64-42954cf0fe8a2bdc97fdc180462a3eaefceb035f.zip",
                    "filesize": 557884,
                    "hashValue": "307d188876f3612a9168c0b4ed191db2132f2e3193bdd3024ce50adcb9c1e085ab43008531a25e93d570a377283336cda9bcd7609ee6b702c5292f12d20b616b"
                },
                "Android_arm-eabi-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-android-arm-42954cf0fe8a2bdc97fdc180462a3eaefceb035f.zip",
                    "filesize": 539311,
                    "hashValue": "f4f0bfe333b7e0cd0453e787dc3c15bebe9cc771cb3e57540d53f0ac9a37eee4ea8559a45a51824ee4d706ee0b3d80b2d331468a0aa533cd958081f23ee0aaae"
                },
                "Android_x86-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-android-x86-42954cf0fe8a2bdc97fdc180462a3eaefceb035f.zip",
                    "filesize": 589947,
                    "hashValue": "eb7a1c9c2d29a2fd12dfe82d0f575f1d855478640816a7fb9402ce82c65878ffc5aa3d5f8bb46cd01231005c37d86984d7a631cfe45c7d56a6d4dabc427b15a0"
                },
                "Darwin_aarch64-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx64-aarch64-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 391930,
                    "hashValue": "c0429dbe060fd1cff00aceaf3cb44072345a4822917269723d59dfaf6c510f6e2a97082ea87067dd5a7a976f939b23feac6a753a05af52921d53320244c4c69a"
                },
                "Darwin_x86_64-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx64-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 466258,
                    "hashValue": "fc1ddb4b7cff2f27a0f10d033850211d9186ae7576194e1387974e8f7a8c350ef50e12238694003f16ed5917ffcd22ae0d54cfb738b9724440d65f8afdf7a49f"
                },
                "Linux_x86-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-linux32-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 527704,
                    "hashValue": "903aecd631624db3047fc477363ac076794517bbc72b33a88a73627066b5997d9c1194975729ef2acbabba19e93574333b54e32763a5a834b8d9431b99181fd1"
                },
                "Linux_x86_64-gcc3": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-linux64-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 511815,
                    "hashValue": "94531e267314de661b2205c606283fb066d781e5c11027578f2a3c3aa353437c2289544074a28101b6b6f0179f0fe6bd890a0ae2bb6e1cf9053650472576366c"
                },
                "WINNT_aarch64-msvc-aarch64": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-win64-aarch64-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 558607,
                    "hashValue": "8d936bca08dcf3538c5c118c0f468d672c556ac2ac828a4b9d1fcbb4339885d17ebcc748a918457abbea87d21c5cab2c007ca5b4ef87f04a52d44f42ee5fdbb9"
                },
                "WINNT_x86-msvc": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-win32-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 491261,
                    "hashValue": "9ed5b4c27c2c159b83a1b887a1215d0472171cff422d2bc1962312f90e62d1b212955fe68bc88f826d613c9fb58b86f6fa16ebc1533e863f6a5648dcb1319bcb"
                },
                "WINNT_x86-msvc-x64": {
                    "alias": "WINNT_x86-msvc"
                },
                "WINNT_x86-msvc-x86": {
                    "alias": "WINNT_x86-msvc"
                },
                "WINNT_x86_64-msvc": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-win64-2e1774ab6dc6c43debb0b5b628bdf122a391d521.zip",
                    "filesize": 453023,
                    "hashValue": "06511f1f6c6d44d076b3c593528c26a602348d9c41689dbf5ff716b671c3ca5756b12cb2e5869f836dedce27b1a5cfe79b93c707fd01f8e84b620923bb61b5f1"
                },
                "WINNT_x86_64-msvc-x64": {
                    "alias": "WINNT_x86_64-msvc"
                },
                "android-x86_64": {
                    "fileUrl": "http://ciscobinary.openh264.org/openh264-android-x86_64-42954cf0fe8a2bdc97fdc180462a3eaefceb035f.zip",
                    "filesize": 539311,
                    "hashValue": "2c80df83c84841477cf5489e4109a0913cf3ca801063d788e100a511c9226d46059e4d28ea76496c3208c046cc44c5ce0b5263b1bfda5b731f8461ce8ce7d1b7"
                }
            },
            "version": "1.8.1.1"
        }
    },
    "hashFunction": "sha512",
    "name": "OpenH264-1.8.1.1",
    "schema_version": 1000
}

Specifically, there is no Linux arm or aarch64 URL provided. This issue will impact users of Webex on Raspberry Pi or BeagleBoard.org ARM-based computers.

I specifically encountered this on Debian aarch64 on a prototype 64-bit BeagleBone. Note, the Linux kernel V4L does provide H.264 encode/decode on this platform, so the OpenH264 itself isn't specifically required if V4L H.264 codecs would be used.

It seems the project does include a library build for Linux aarch64, but not a .zip as required for the plugin install.

pinewbiejdt commented 1 year ago

So, where do we find the library for Linux aarch64? I too have a Raspberry Pi & want to be able to view Hulu videos on my Pi. (I'm running Pi OS-64 bit)

Darkspirit commented 1 year ago

I filed these bugs:

pinewbiejdt commented 1 year ago

So, Darkspirit, I followed the links above and read the comments and this is what I got:

1 - the OpenH264 part of the issue is being discussed & possibly worked on; 2 - Widevine part of the issue can be resolved by switching to a 32-bit ver. of Linux.

In order to know when the issue(s) are fixed (or denied) do I have to also create an account on bugzilla.mozilla.org and keep an eye on that thread? I'm so new to Linux and not THAT interested in Hulu that I want to spend tons of time on this project. Thanks, Pi-Newbie JDT

ausil commented 1 year ago

Fedora has aarch64 builds https://codecs.fedoraproject.org/openh264/37/aarch64/os/. The rpm downloads are redirected to cisco to be covered by their license grant