Re: [rtcweb] H.261 encoding samples at typical bitrates - sign language example

cowwoc <cowwoc@bbs.darktech.org> Thu, 05 December 2013 22:31 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 5E8871ADFC2 for <rtcweb@ietfa.amsl.com>; Thu, 5 Dec 2013 14:31:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 oIKr4W_WoYgp for <rtcweb@ietfa.amsl.com>; Thu, 5 Dec 2013 14:31:42 -0800 (PST)
Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by ietfa.amsl.com (Postfix) with ESMTP id 5B9171ADE8A for <rtcweb@ietf.org>; Thu, 5 Dec 2013 14:31:42 -0800 (PST)
Received: by mail-ie0-f173.google.com with SMTP id to1so31112315ieb.32 for <rtcweb@ietf.org>; Thu, 05 Dec 2013 14:31: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 :subject:references:in-reply-to:content-type; bh=01jQotbeohpc0VYZT6GVM+JInLx3VNpqvYuG6pKwUfQ=; b=LL95xO0g4JgP0/g9t3M+oXLtjZpqyHKlOT/t41JhZQHeSSub7zt2y50Hff/66HWKzz LmqxUcHQoXRorYMocsPNM+z4ch9y/qTE38paW/fxjbqM/ksoxf06GMIf4mfDbiYUNSh8 RNfxORVfNbc/fhqQgExS1skJ1u6w7GOKVqWfN28LLElGFlBe7a/3LScr9gE4r/GC6Ghu Sah4Xn0ubNJCehJ/12Af92/6DPdH8Z6LXfbY5tXdXFwgsvnJpXMUbrfc0dC9y7hhIx6p PEGlRe7fA7k90frio81gD2XY8yldrayQZV80S8b46idS8bC3ZKnP6ODCaBtn1P4/fPRZ Aqkw==
X-Gm-Message-State: ALoCoQmWBUBAvZeTcTOA88AjQ1PV52xp1C3MwzA4uqEczfiXWAzDy8zMjoYJsJpPFgHvXKATJJZT
X-Received: by 10.50.143.10 with SMTP id sa10mr85527igb.8.1386282698704; Thu, 05 Dec 2013 14:31:38 -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 v9sm244881igh.7.2013.12.05.14.31.36 for <rtcweb@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 14:31:37 -0800 (PST)
Message-ID: <52A0FEC7.9000804@bbs.darktech.org>
Date: Thu, 05 Dec 2013 17:31:35 -0500
From: cowwoc <cowwoc@bbs.darktech.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <529D4A06.4080708@librevideo.org> <529D5CCD.8070801@librevideo.org> <CAOJ7v-1OOvWKd1M0xkm5Wy_rsf4_58UM-8hzB4HYqoQq4zchnw@mail.gmail.com> <CAOJ7v-1AATi0fkZJuz2kBgvpXVaJzvydDwvQsgTSCkUC9CCHbA@mail.gmail.com> <CAOJ7v-3iYPTbPS68HCg7GM4EWGxae+hbBPGAsFm8EWwti5CYKg@mail.gmail.com> <52A0F9D4.5070405@omnitor.se>
In-Reply-To: <52A0F9D4.5070405@omnitor.se>
Content-Type: multipart/alternative; boundary="------------030904060204070403090400"
Subject: Re: [rtcweb] H.261 encoding samples at typical bitrates - sign language example
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: Thu, 05 Dec 2013 22:31:48 -0000

Agreed. Both are usable, but 289 is tiring/annoying on the eyes.

Gili

On 05/12/2013 5:10 PM, Gunnar Hellstrom wrote:
> On 2013-12-05 22:24, Justin Uberti wrote:
>> oops - the h261-541kbps and h261-289kbps labels are swapped. Sorry 
>> about that...
> Ah, that explains my evaluation.
> So, 289 kbit/s is still usable for sign language. You can perceive the 
> important characteristics, but it is unpleasant and probably a bit tiring.
> And 541 good.
> So, if they were done at 25 fps then 541 is good and 289 usable.
>
> Gunnar
>>
>>
>> On Thu, Dec 5, 2013 at 1:21 PM, Justin Uberti <juberti@google.com 
>> <mailto:juberti@google.com>> wrote:
>>
>>     A frame comparison for the various encodings:
>>
>>
>>     On Thu, Dec 5, 2013 at 1:05 PM, Justin Uberti <juberti@google.com
>>     <mailto:juberti@google.com>> wrote:
>>
>>         Ow, my eyes...
>>
>>         The 256 kbps and lower clips are unusable. The 512 kbps clip
>>         is borderline, but might be usable if the framerate was cut
>>         in half.
>>
>>         Remember also that these test clips are far better than what
>>         would be obtained from consumer webcams (i.e. good lighting,
>>         no shake, no temporal noise), so real-world performance is
>>         likely to be worse than what you see here.
>>
>>
>>         On Mon, Dec 2, 2013 at 8:23 PM, Basil Mohamed Gohar
>>         <basilgohar@librevideo.org
>>         <mailto:basilgohar@librevideo.org>> wrote:
>>
>>             On 12/02/2013 10:03 PM, Basil Mohamed Gohar wrote:
>>             > Let's let any further discussions about the usability
>>             of H.261, or any
>>             > other codec for that matter, use actual examples going
>>             forward.
>>             >
>>             > The following is a VERY quick test of ffmpeg's h261
>>             encoder in the
>>             > context of the IETF's rtcweb working group's discussion
>>             of an MTI
>>             > (mandatory-to-implement) video codec.
>>             >
>>             > sine_irene_cif.y4m taken from derf's collection:
>>             >
>>             > http://media.xiph.org/video/derf/y4m/sign_irene_cif.y4m
>>             >
>>             > ffmpeg version N-58565-gc122e69
>>             >
>>             > bitrate=64k,128k,256k,512k
>>             >
>>             > ffmpeg -i sign_irene_cif.y4m -codec:v h261 -b:v
>>             $bitrate -g 30
>>             > sign_irene_cif.y4m-$bitrate.h261
>>             >
>>             >
>>             http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-64k.h261
>>             > (real rate: 157.8kbits/s)
>>             >
>>             >
>>             http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-128k.h261
>>             > (real rate: 165.6kbits/s)
>>             >
>>             >
>>             http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-256k.h261
>>             > (real rate: 289.5kbits/s)
>>             >
>>             >
>>             http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-512k.h261
>>             > (real rate: 541.8kbits/s)
>>             >
>>             > I apologize for the bitrate inflation, but if I had
>>             more time I can
>>             > tweak the settings for a more accurate number.  These
>>             are simply the
>>             > rates that ffmpeg produced with such a short clip at
>>             the given requested
>>             > rates.
>>             >
>>
>>             I've updated the encoding settings as follows to get more
>>             accurate
>>             resulting bitrates, but ffmpeg's h261 encoder seems to
>>             bottom-out at
>>             around ~140kbps, so the only examples from above that are
>>             close (after
>>             using the new settings) are 256k and 512k.
>>
>>             for bitrate in {1..512}k; do ffmpeg -i
>>             ../sign_irene_cif.y4m -codec:v
>>             h261 -b:v $bitrate -minrate $bitrate -maxrate $bitrate
>>             -bufsize $bitrate
>>             -qmax 1024 -g 30 -y sign_irene_cif.y4m-$bitrate.h261; done;
>>
>>             All the above posted examples can be viewed with mplayer
>>             and a bash
>>             command line using the following, if you're interested:
>>
>>             mplayer
>>             http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-{64,128,256,512}k.h261
>>             <http://media.basilgohar.com/rtcweb/sign_irene_cif.y4m-%7B64,128,256,512%7Dk.h261>
>>
>>             The full integer range of bitrates from 1 to 512 can be
>>             found here:
>>
>>             http://media.basilgohar.com/rtcweb/h261/
>>
>>             Target bitrate and actual bitrate start to match around
>>             150kbps with
>>             these new settings.
>>
>>             I am currently exploring other codecs with the same
>>             methodology and will
>>             share the results accordingly.
>>
>>             --
>>             Libre Video
>>             http://librevideo.org
>>             _______________________________________________
>>             rtcweb mailing list
>>             rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>>             https://www.ietf.org/mailman/listinfo/rtcweb
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb