Closed Bug 581773 Opened 14 years ago Closed 11 years ago

Consider using LGPL-licensed ffvp8 for WebM videos

Categories

(Core :: Audio/Video, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gkw, Unassigned)

References

()

Details

ffvp8 seems to be a slightly faster implementation than libvpx.

http://x264dev.multimedia.cx/?p=499
ffvp8 is LGPL which make it difficult for us to use.
According to http://www-archive.mozilla.org/MPL/relicensing-faq.html#why-relicensing the problem may arise when MPL code intends to extend the functionality of LGPL licensed library through linking into it directly. What about the other way around case (when LGPL code extends the functionality of MPL code)?
While there is no legal reason we can't use LGPLed code, Mozilla licensing policy since the project began has avoiding doing so in order to avoid increasing the complexity of our licensing (which can currently be summed up as "cool with the MPL? Then you can use our stuff"). 

As it's a policy, rather than a legal requirement, it would not be _impossible_ to change, but significant benefits would have to be demonstrated. To give you some idea of what code we have not used for this reason even though it might provide benefits, in the recent past, we didn't use gstreamer because it was LGPLed.

Unless our WebM implementation has performance issues, and roc comes and says this is something we should seriously consider, this is a WONTFIX.

Gerv
(In reply to comment #3)
> To give you
> some idea of what code we have not used for this reason even though it might
> provide benefits, in the recent past, we didn't use gstreamer because it was
> LGPLed.

I've been asked to review the gstreamer patch with the intent to land it turned off (as I understand it so Mobile can use it turned on). My understanding is we don't use LGPL code so I'm unsure where things go in that regard. Are you CC'd on the bug?

(Not advocating for it's inclusion or use of ffvp8, I just thought this would be a good point to ask)
cdouble: not sure if I'm CCed on that bug - can you check? And tell me the bug number?

Gerv
Bug 422540 and it doesn't appear you're currently cc'd.
Summary: Consider using ffvp8 for WebM videos → Consider using LGPL-licensed ffvp8 for WebM videos
(In reply to Gervase Markham [:gerv] from comment #3)
> Unless our WebM implementation has performance issues, and roc comes and
> says this is something we should seriously consider, this is a WONTFIX.

What if Chrome/Chromium switches to ffvp8? http://crbug.com/50811
Mozilla has changed policy and we are now accepting carefully-demarcated LGPLed libraries into Mozilla core. So if people still want to do this, there is no licensing objection. But if not, please resolve the bug.

Gerv
Thanks for the reminder, Gerv.

WebRTC requires a vp8 encoder as well as decoder, so using ffvp8 means trading code size for decoder performance. We'd also have to write a maintain new webrtc bindings if we wanted to use ffvp8 there as well.

As such I don't see sufficient reason to do this. If we have performance problems with libvpx in the future we can revisit, but for now I'm resolving on the bases that 'slightly faster' isn't persuasive.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Blocks: 754525
You need to log in before you can comment on or make changes to this bug.