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

Orange Pi Development Boards

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

Support CNX Software - Donate via PayPal or become a Patron on Patreon

10
Leave a Reply

avatar
10 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
Allwinner is fooling around Open Source Community | olimexAllwinner CedarX Media Codec Library GPL/LGPL Compliance UpdateanonHarleycnxsoft Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Benjamin Larsson
Guest
Benjamin Larsson

“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 the terms of Sections 1 and 2 above on a medium customarily used for software interchange.

So if you use it then you must offer distribution for the source somehow. It does not matter if changed the source or not.

Harley
Guest
Harley

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

https://www.ffmpeg.org/consulting.html

anon
Guest
anon

@cnxsoft
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.

anon
Guest
anon

@cnxsoft
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.

trackback

[…] month, I wrote about potential open source licenses and VP6 copyright infringement by Allwinner with their CedarX media codec library, and then since there’s been a few […]

trackback

[…] details on this drama you can read at here and here  cnx-software blog and at […]