linphone-desktop
linphone-desktop copied to clipboard
H264 codec appears to download but fails to install on Win 7 Pro 64bit
Describe the bug During install of most recent Windows version (Desktop 4.3.2 - Qt5.14.2 - Core 5.0.49) on Windows 7 Pro 64bit things go smooth until it asks if you want to install H264 from Cisco. It seems to connect and download but then says "Failed to Install" Post install after app is set up and otherwise working you can flip the toggle on next to the missing H264 codec and it will trigger it asking if you want to install it, but same result. "Failed to Install" (on a side note flipping the toggle to trigger the offer ended with a successful install of H264 in Kubuntu 20.04 on my laptop)
To Reproduce
- Be on Windows 7
- Go to Hamburger Button > Preferences > Video Tab
- Scroll down to ' Video Codecs ' > H264
- Flip toggle to on position to trigger offer of H264 and accept
- See error
Expected behavior Successful installation and usefulness of H264 codec
Please complete the following information
- Device: Dell Dimension 9200 ~ old I know but SSD, 2.67 GHz core2quad, 8 GB Ram, and GTX 1050ti she still performs quite well for most things
- Device 2: Lenovo T530 ~ i5-3320m, 16 GB RAM Can try more PCs if you like but my other Win 7 installs are also 64 bit and Pro version and doesn't seem hardware related as it does the same on two quite different machines
- OS: Windows 7 Pro 64bit
- Version of the App: Desktop 4.3.2 - Qt5.14.2 - Core 5.0.49
Additional context Running Linphone as admin had no effect, installing as admin had no change either, nor did rebooting at any stage. Also I'm sure I already have H264 on the Dell machine (probably on the Lenovo as well) that's been successfully used with VLC and also OBS but apparently not in the place Linphone is looking for it. Also tried installing x264 codec downloaded from videolan.org but no luck with Linphone recognizing that being installed either.
You can manually download openh264-2.1.0-win32.dll, rename it to openh264.dll and move it to Linphone\lib\mediastreamer\plugins.
Thanks very much. Haven't tested it in use just yet but found it, renamed it, and copied it to the plugins folder and it's now recognized by Linphone as being in installed.
Found at Cisco's github which seems a safe enough source: https://github.com/cisco/openh264/releases
Curious if I could use the more current version 2.1.1 but went with 2.1.0 just to be on the safe side.
Edit Tested and working 100% between Win 7 desktop and Kubuntu laptop, and massive improvement with CPU usage on Windows 7 as a result (VP8 switched off on both machines). As a somewhat related aside, using VP8 the Windows 7 machine would be ok for 30 seconds then 100% CPU usage on all 4 cores for 30 seconds locking up the video stream, repeatedly 30 seconds on, 30 seconds off until eventually dropping the call. Would get almost passable if you went down to 480 resolution, but generally still crash the call. Now with H264 I'm at 800x600 behaving well, barely getting one core over 40~50%, and can probably go higher with no issue. So not sure about later versions of Windows, and Kubuntu seemed not to be bothered by VP8 (or possibly it's the machine/hardware), but it's a major game changer for my Win 7 desktop.
Similar problem on Linux - solved it in 5.0 by changing permissions of the codex in ~/.local/share/linphone/codecs