Re: [rtcweb] x264 vs OpenH264 (Was: On the topic of MTI video codecs)

Daniel-Constantin Mierla <miconda@gmail.com> Fri, 01 November 2013 17:39 UTC

Return-Path: <miconda@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02A8F11E80DE for <rtcweb@ietfa.amsl.com>; Fri, 1 Nov 2013 10:39:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.419
X-Spam-Level:
X-Spam-Status: No, score=-2.419 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WqAtfUNSBau8 for <rtcweb@ietfa.amsl.com>; Fri, 1 Nov 2013 10:39:01 -0700 (PDT)
Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 91FA511E8174 for <rtcweb@ietf.org>; Fri, 1 Nov 2013 10:38:59 -0700 (PDT)
Received: by mail-ee0-f42.google.com with SMTP id b45so2662902eek.29 for <rtcweb@ietf.org>; Fri, 01 Nov 2013 10:38:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=PvvGhy6xTayc7vMArhi2gxceL7OGxM+rlM4/oYkBnsw=; b=ovJ8QXpWF5C7FwZWbGxM0GeNQh3Gqsk2XrklzJFRWtAM5+NMMaKT/MQ1++RiLkWZ64 D88Bj7ybPY6uvhFhKJfRafZbOXyJj1LVjPdCjVCMvN9L659vMQHcN9zopRP0ffNFMUp3 hgAQ29/BUMChovTjB4wvRXSZhcrAJ0mWu1mCl5588bzTc1monrZnV9vQgi+OmZ0atpqT MNtmGf78VuGcQpHUlpXe/yxzJockr+FwJ2goWpje5cudEKOtEWb2a0fReSGoUg+zEOMm O99PqFpZrrXQcdJL3LqaGaH5jsQHbgtZM8UrWm+Bk4viPKIigm2C2xJuFGMrC2le67Hj QrZw==
X-Received: by 10.14.180.73 with SMTP id i49mr4383644eem.55.1383327538621; Fri, 01 Nov 2013 10:38:58 -0700 (PDT)
Received: from [127.0.0.1] (ns.asipto.com. [213.133.111.169]) by mx.google.com with ESMTPSA id i1sm10329612eeg.0.2013.11.01.10.38.57 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 10:38:57 -0700 (PDT)
Message-ID: <5273E730.2090802@gmail.com>
Date: Fri, 01 Nov 2013 18:38:56 +0100
From: Daniel-Constantin Mierla <miconda@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: "Olle E. Johansson" <oej@edvina.net>
References: <CAPvvaaLwacOgQq5O8t0bMCJJfKTHbJM9RnawgXLJpKiADtsi2Q@mail.gmail.com> <5273D5C8.304@bbs.darktech.org> <5273D848.2060608@makk.es> <5273DEEE.4000302@gmail.com> <05B9F53B-BEB8-45C8-A9B2-E09E72D1CA0E@edvina.net>
In-Reply-To: <05B9F53B-BEB8-45C8-A9B2-E09E72D1CA0E@edvina.net>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] x264 vs OpenH264 (Was: On the topic of MTI video codecs)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: miconda@gmail.com
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Nov 2013 17:39:02 -0000

On 11/1/13 6:21 PM, Olle E. Johansson wrote:
> On 01 Nov 2013, at 18:03, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
>
>> On 11/1/13 5:35 PM, Max Jonas Werner wrote:
>>> On 01.11.2013 17:24, cowwoc wrote:
>>>> On 01/11/2013 12:19 PM, Emil Ivov wrote:
>>>>> It would be nice for Mozilla to comment then. They wouldn't have been
>>>>> required to statically link against it or even distribute it. It is
>>>>> already possible to use GPL plug-ins with Firefox, so why is x264 an
>>>>> insurmountable problem?
>>>> Can I dynamically link x264 against my proprietary application without
>>>> having to GPL it?
>>> Actually no: https://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL
>>>
>>> That's why the LGPL (that poses other risks, though) exists.
>> GPL constraints about open sourcing are for the case when distributing the application. You can link anything you want with gpl code and you don't have to make the sources available if you don't distribute your application.
>>
>> I think that Emil wanted to say that we, users, don't distribute web browsers, we just use them.
>>
>> Then, if I got it right, no browser will link against the h264 plugin. That will be loaded at user will (eventually), by downloading on demand from cisco site.
>>
>> So I, as user, I take Firefox from Mozilla site, then when I need to do webrtc, my browser will download (first time) and use the h264 plugin. Because I don't distribute further the two, I don't see any restriction from gpl here. That's my understanding.
> I don't think GPL agrees with that. GPL applies at runtime, not only when building the app. THe FAQ on the link above says
>
> "Linking ABC statically or dynamically with other modules is making a combined work based on ABC. Thus, the terms and conditions of the GNU General Public License cover the whole combination."
>
> "If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. This means the plug-ins must be released under the GPL or a GPL-compatible free software license, and that the terms of the GPL must be followed when those plug-ins are distributed.

Again, the key term here is distribution. I, as user, I don't distribute 
them. Mozilla, as developer, doesn't link against h264 plugin nor 
distributes it. Same with cisco, they don't link h264 plugin against 
firefox, nor distribute firefox.

Now, I, as a user, mix the two, which may result in a combination that 
has to be gpl (if plugin or browser is gpl), but only in my house. So, 
as long as I keep it here, don't give the two combined away, no GPL can 
be enforced.

I agree a specialized lawyer can be more accurate and my understanding 
of GPL might not be the best one. But if it is what you say, I have a 
dozen a folks I know they have private modules for Kamailio, Asterisk 
and other GPL project. We will have lots of features in the next 
releases if we can force them to publish their extensions though GPL :-)

Daniel

>
> If the program dynamically links plug-ins, but the communication between them is limited to invoking the ‘main’ function of the plug-in with some options and waiting for it to return, that is a borderline case."
>
> /O

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
   - more details about Kamailio trainings at http://www.asipto.com -