[rtcweb] Giri Mandyam's response / h261 performance (Was: Straw Poll on Video Codec Alternatives)

Hervé W. <H.O.W.aka.V+ietf@gmail.com> Sun, 12 January 2014 11:25 UTC

Return-Path: <h.o.w.aka.v@gmail.com>
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 8E6D31ACD04 for <rtcweb@ietfa.amsl.com>; Sun, 12 Jan 2014 03:25:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.1
X-Spam-Level:
X-Spam-Status: No, score=-1.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_38=0.6, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 SLrr-baxss85 for <rtcweb@ietfa.amsl.com>; Sun, 12 Jan 2014 03:25:33 -0800 (PST)
Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [IPv6:2a00:1450:4008:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 8DD741ADBC9 for <rtcweb@ietf.org>; Sun, 12 Jan 2014 03:25:33 -0800 (PST)
Received: by mail-bk0-f42.google.com with SMTP id w11so2131702bkz.1 for <rtcweb@ietf.org>; Sun, 12 Jan 2014 03:25:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=z0xdr05TNB3C/giTZIxzeM9zGIvLjCyZQ4wacanSkwA=; b=nQBk5pNF6eumwl3NIbWs5UDJxCEyxjpZJ5Ka1X1TTY1M7Mc7Uz1Yk3bW4a5rklb1NX P80dEHcAndjnAIOk9jCz1MAF2KIXhtS2/nU+FZi5R/oKtzH40M+ECzc4r/VkS56/neqi x2Ci3PYwQdPEl02ZxJ5RaDJi1c6fwmJGPADZbw4RGagDiKSHmkpnrKWwnzTcLb+pSBVY BgYQwu8zUvu9xI2Knlqzu0C6/BimAO47imFjq+3gbuoZU9Lape9niCtoivQTpyAf9Mjk ydYvqXCaCcD9cNF6gv3fgLv+B3ekfIAtcJxIgq4UBC2/TIBnGfXz0d8zrZFjRHwqqxYm ZFTQ==
MIME-Version: 1.0
X-Received: by 10.204.229.14 with SMTP id jg14mr1138389bkb.107.1389525922403; Sun, 12 Jan 2014 03:25:22 -0800 (PST)
Sender: h.o.w.aka.v@gmail.com
Received: by 10.205.40.137 with HTTP; Sun, 12 Jan 2014 03:25:22 -0800 (PST)
Date: Sun, 12 Jan 2014 12:25:22 +0100
X-Google-Sender-Auth: 0C2S6ghfUW237RTwAbT_mq3Rt2I
Message-ID: <CAKBXTOfSz6_K=h8DfBu6h4Acy0+jXmQoqv4+NN9FdCgPJioWRg@mail.gmail.com>
From: "Hervé W." <H.O.W.aka.V+ietf@gmail.com>
To: rtcweb@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: [rtcweb] Giri Mandyam's response / h261 performance (Was: Straw Poll on Video Codec Alternatives)
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: Sun, 12 Jan 2014 11:25:35 -0000

On 12 January 2014 06:00, Mandyam, Giridhar wrote:
> 6. All entities MUST support H.261
>
> a. Are you in favor of this option [Yes/No/Acceptable]: NO
>
> b. Do you have any objections to this option, if so please summarize them:
>
>                Section 7 of
> https://datatracker.ietf.org/doc/draft-burman-rtcweb-h264-proposal/ provides
> performance data for H.264.  I do not believe that H.261 would provide
> equivalent or superior performance under identical testing conditions, and
> no data has been provided to the IETF or on the mailing lists proving
> otherwise.  This option would allow a presumably inferior codec (H.261) to
> be the fallback option. Moreover, this does not allow interop with legacy
> systems and standards such as 3GPP IMS Video Telephony.

Here's some performance data

time  ./x264-r2377-1ca7bb9.exe sign_irene_cif.y4m --profile baseline
-o irene-unspec.264
encoded 540 frames, 37.73 fps, 362.40 kb/s
real    0m14.501s


time  ffmpeg -i sign_irene_cif.y4m -g 100   irene-unspec.h261
real    0m2.118s


time  ./x264-r2377-1ca7bb9.exe sign_irene_cif.y4m --profile baseline
--preset ultrafast  -o irene-unspec.cbp.ultrafast.264
encoded 540 frames, 238.31 fps, 871.36 kb/s
real    0m2.449s


time  ffmpeg -i sign_irene_cif.y4m -g 100 -b:v 362571  irene-362571.h261
real    0m2.307s


time  ./x264-r2377-1ca7bb9.exe sign_irene_cif.y4m --profile baseline
--preset ultrafast --bitrate 363  -o irene-363k.cbp.ultrafast.264
encoded 540 frames, 247.03 fps, 362.39 kb/s
real    0m2.344s


  956K  irene-unspec.264
2.3M    irene-unspec.cbp.ultrafast.264
  956K  irene-363k.cbp.ultrafast.264
  595K  irene-unspec.h261
 1023K  irene-362571.h261


ffmpeg -i irene-unspec.264 -f yuv4mpegpipe -v -1 - |
./daala/daala-HEAD-b2fa2c0/tools/dump_ssim.exe -s -r
sign_irene_cif.y4m -
Opening sign_irene_cif.y4m...
Opening -...
Total: 0.967268  (Y': 0.964929  Cb: 0.971758  Cr: 0.97213 )


ffmpeg  -i irene-unspec.h261 -f yuv4mpegpipe  -v -1 - |
./daala/daala-HEAD-b2fa2c0/tools/dump_ssim.exe -s -r
sign_irene_cif.y4m -
Opening sign_irene_cif.y4m...
Opening -...
Warning: framerates do not match.
info1.fps_n=25 info1.fps_d=1 info2.fps_n=30000 info2.fps_d=1001
Total: 0.900451  (Y': 0.889181  Cb: 0.930285  Cr: 0.915696)


ffmpeg  -i irene-362571.h261 -f yuv4mpegpipe  -v -1 - |
./daala/daala-HEAD-b2fa2c0/tools/dump_ssim.exe -s -r
sign_irene_cif.y4m -
Opening sign_irene_cif.y4m...
Opening -...
Warning: framerates do not match.
info1.fps_n=25 info1.fps_d=1 info2.fps_n=30000 info2.fps_d=1001
Total: 0.928367  (Y': 0.923392  Cb: 0.942237  Cr: 0.934402)


ffmpeg  -i irene-363k.cbp.ultrafast.264 -f yuv4mpegpipe  -v -1 - |
./daala/daala-HEAD-b2fa2c0/tools/dump_ssim.exe -s -r
sign_irene_cif.y4m -
Opening sign_irene_cif.y4m...
Opening -...
Total: 0.934904  (Y': 0.925319  Cb: 0.956247  Cr: 0.951901)


./daala/daala-HEAD-b2fa2c0/tools/dump_ssim.exe -s -r
sign_irene_cif.y4m sign_irene_cif.y4m
Opening sign_irene_cif.y4m...
Opening sign_irene_cif.y4m...
Total: 1         (Y': 1         Cb: 1         Cr: 1       )


- Hervé