Allwinner’s New Media Codec Library (CedarX) May Infringe on Open Source Licenses and Copyrights

Allwinner has had to good idea to open allwinner-zh github account last September in order to release source code, binary libraries, and documentation for these ARM processors. Yesterday, the company released a new version of their closed source CedarX library used to decode and encode video streams. But Luc Verhaegen (libv), known for his reverse-engineering work on ARM Mali-400 (lima driver) and now Mali-Txxx GPU (Tamil driver), analyzed the binary and claimed  the library is not compliant with LGPL licenses, and may also infringe on On2 copyrights.

Allwinner_GPL_LGPLLuc wrote his concerns on sunxi-linux mailing list, and Allwinner promised to look into it.

Two libraries are involved:

  • ffmpeg which includes both LGPL and GPL licenses, but the contention seems to be about the LGPL part, since only optional features are GPL’ed in ffmpeg. It’s perfectly fine to include LGPL libraries into your binaries, as long as you don’t modify the open source libraries, but if you do, the source code modifications must be released under an LGPL license.
  • libvp62 an open source implementation of On2 VP6 codec released in 2006 that was taken down due to copyright infringements since it was allegedly “anti-compiled from Java”

I can imagine the timeline for the latter happened that way:

  1. Management to customer: “OK, we’ll get you a VP6 demo next week”
  2. Management to engineering team: “I need VP6 for next week to show to our most important customer”
  3. Engineering team: Open jaw first, then look for code on Baidu, and find it on pudn (Sight of relief)
  4. VP6 demo is implemented and successfully demo’ed to customer
  5. Management, customer and engineers are all happy! Mission accomplished.

On2 is now owned by Google, so Allwinner could have a problem or two if the copyright infringement is confirmed, and Google takes action. Luckily VP6 video decoding is also supported by ffmpeg, so they may be able to sort this out.

It’s also interesting to read the full thread on sunxi-linux mailing, as people explains what kind of issues they had with closed source project, including a canceled project using Allwinner A20, and potential security issues.

Via Phoronix

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Benjamin Larsson
Benjamin Larsson
9 years ago

“It’s perfectly fine to include LGPL libraries into your binaries, as long as you don’t modify the open source libraries, but if you do, the source code must be released under an LGPL license” That is not exactly how the LGPL works. Point 4 of the LGPL2.1 has this sentence: 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under… Read more »

9 years ago

Benjamin Larsson is one of the biggest contributes/developers of FFmpeg, so I think that he known what he is talking about 😉

9 years ago

Chinese and their IP views… Well, they are just acting how all commercial entities would like to work, but are hindered by western world’s views… The whole system is broken, the GPL universe should try to convince enough entities to isolate themseves from the dinosaurs and their views to become self-suffient without anything from the dinosaurs’ side, money included.

9 years ago

Interesting thread… The “wrapper” idea is actually not legal even with LGPL code, let alone the GPL parts (there are numerous attempts of doing just that, just in the end getting sued for them), but they can always try that and hope people let them be… 😉

Just history repeating.

Khadas VIM4 SBC