Closed Bug 1083596 Opened 5 years ago Closed 2 years ago

Investigate including openh264 library

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cjones, Unassigned)

References

Details

https://github.com/cisco/openh264

It claims to have android support so should run on gonk too.  The RPi has a hardware decoder, but to use it end users have to pay for a license key.  Also FFOS doesn't know how to talk to the decoder.

IIUC Moz wouldn't be able to distribute this library to end users, but I think it should be OK to include in manifests for developers to build.  Need to check with a lawyer though.

Need to check the perf though; RPI is pretty constrained, may not be worth the trouble.
New Raspberry PI 2 has four cores and twice as much RAM now.
The Raspberry Pi (original and 2) has hardware decoding for H264 streams through a proprietary library called OpenMAX[1]. We'd likely need to target that for smooth playback. There have been libraries that are written around it to support embedding. XBMC (now Kodi) and a few others have added support for it.

http://elinux.org/Raspberry_Pi_VideoCore_APIs#OpenMAX
H264 license is included in the cost of Pi. Software implementation can provide better support for contents not supported by hardware decoder ofcourse at cost of more CPU and power utilization.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.