Re: [rtcweb] Sanjay Mishra's choices

cowwoc <cowwoc@bbs.darktech.org> Fri, 27 December 2013 05:44 UTC

Return-Path: <cowwoc@bbs.darktech.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 547341AE08F for <rtcweb@ietfa.amsl.com>; Thu, 26 Dec 2013 21:44:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mmHJcdCk758R for <rtcweb@ietfa.amsl.com>; Thu, 26 Dec 2013 21:44:44 -0800 (PST)
Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by ietfa.amsl.com (Postfix) with ESMTP id B490D1AEBB7 for <rtcweb@ietf.org>; Thu, 26 Dec 2013 21:44:42 -0800 (PST)
Received: by mail-ie0-f182.google.com with SMTP id as1so9381914iec.41 for <rtcweb@ietf.org>; Thu, 26 Dec 2013 21:44:38 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=QO5xQiGe9ji3mfmTkWQNiJjgs/MroJCCJy/h1teVLH0=; b=W06hFFkc3HCIlxVxGsVE2VpqPCRZpqQ5V9BNIHyLzMJcB5hBdhwYZdR3a+zu0eXgVe qTeVaMAv51G0EKMTYQR7I1y17oIs0bCmn8ywrfaxsv2ST7fLCErshMrCnQZfriEd1PiB vDROfLVLm1CoUWy75gRjtnQun70OM4YoUiEBjxXW4ZBTPPtQ7F44x+gZLvYrXTVX7dva nGgUAqL0BwqnBtMC7JsEbygvyvB/CCAWZKEW7yJ3jufmiKugGxFuCYoMbLbEhZqOhZDM ulZ9SPWWFht6bUjaSRMQAjmDzKvEphkTDLzlqzrYWKLy3Mzl2IilD1NKh4LH+EZPMCc6 alsg==
X-Gm-Message-State: ALoCoQmGvdEPpmpPIKX79R5+rP6k/tY1txIcUgoGeKmXOInc4A59odSrx901Y7A2dxP/ce6w3ApW
X-Received: by 10.50.43.134 with SMTP id w6mr38344101igl.20.1388123077996; Thu, 26 Dec 2013 21:44:37 -0800 (PST)
Received: from [192.168.1.100] (206-248-171-209.dsl.teksavvy.com. [206.248.171.209]) by mx.google.com with ESMTPSA id ft2sm41643082igb.5.2013.12.26.21.44.36 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 21:44:36 -0800 (PST)
Message-ID: <52BD139E.2040605@bbs.darktech.org>
Date: Fri, 27 Dec 2013 00:43:58 -0500
From: cowwoc <cowwoc@bbs.darktech.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Bjoern Hoehrmann <derhoermi@gmx.net>
References: <CA+9kkMBSpDLJBBbPxgyMUi+bi3aw3D8zpSXcAvQ4koi115QqBg@mail.gmail.com> <900A1E2059ADB149B905E3C8FA0046A62C82365151@FHDP1LUMXC7V23.us.one.verizon.com> <52BA718E.1030105@it.aoyama.ac.jp> <billb991ds2sgkhnbsucs4df18oe7evgc4@hive.bjoern.hoehrmann.de> <52BB75B3.1000009@bbs.darktech.org> <fgtmb9pus4fvpuqq0pns8s53a0rlaajcac@hive.bjoern.hoehrmann.de>
In-Reply-To: <fgtmb9pus4fvpuqq0pns8s53a0rlaajcac@hive.bjoern.hoehrmann.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Sanjay Mishra's choices
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
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, 27 Dec 2013 05:44:46 -0000

On 25/12/2013 8:12 PM, Bjoern Hoehrmann wrote:
> * cowwoc wrote:
>> On 25/12/2013 8:13 AM, Bjoern Hoehrmann wrote:
>>> The answers are insisting that H.264 encoding and decoding are supported
>>> and there are a number of participants who have expressed this sentiment
>>> for various reasons. One being interoperability with legacy systems that
>>> support only H.264 without transcoding the video data. I don't think the
>>> choices here are surprising.
>> i think we need to clarify this point. As far as I know, no legacy
>> system supports WebRTC natively. This means that people will be sticking
>> some sort of WebRTC adapter in between native WebRTC peers and the
>> legacy devices. Under this scenario, won't you need to transform the
>> video in some way along the way?
> Yes, but that operation is more like changing the container format of a
> video stream from AVI to MKV or MP4. Changing the video codec requires
> much more processing. To get a feel for the numbers involved, I would
> recommend using `ffmpeg` like so
>
>    % ffmpeg -i input.avi -vcodec copy ... output.mkv
>
> for changing the container format and whatever is suitable to change the
> video codec. As an example, this is what I use to encode videos for my
> smartphone regardless of input format
>
>    % ffmpeg -n -i input -vf "scale=320:trunc(ow/a/2)*2"
>        -vcodec libx264 -vb 196000 -vprofile "baseline"
>        -acodec aac -ac 2 -ar 64000 -ab 64000
>        -movflags faststart -strict -2 output.mp4
>
> During transcoding, `ffmpeg` should print out how many frames per second
> it is currently transcoding. Between the two commands, the difference on
> my main desktop computer is a factor between 100x and 300x.

I should have been more specific.

I understand that swapping container formats is a lot cheaper, but most 
legacy systems I've seen (e.g. video broadcast systems, conference 
bridges) transcode in order to expose a video stream at multiple 
resolutions. This is a far more expensive operation, and one which they 
already do even though H.264 is available on both ends. Is this a common 
occurrence?

Would anyone care to guess as to what percentage of legacy systems would 
actually use H.264 end-to-end without transcoding if H.264 were selected 
as MTI?

Thanks,
Gili