None
https://www.w3.org/TR/webcodecs/#video-encoder-bitrate-mode
Adds "quantizer" VideoEncoderBitrateMode for VideoEncoder. This allows to specify a quantizer parameter for each frame for AV1, VP9, and AVC video codecs. The quantizer parameter is set via codec specific extensions for VideoEncoderEncodeOptions.
None.
Previously WebCodecs API had TAG review as a whole:
https://github.com/w3ctag/design-reviews/issues/612
Not applicable
Gecko: Neutral (https://github.com/mozilla/standards-positions/issues/837#issuecomment-1614666364) Paul Adenot (Mozilla) expressed that minor changes to WebCodecs spec don't need to go through the full "Request for Mozilla Position" process assuming they were approved by the Media Working Group.
WebKit: Positive (https://www.w3.org/2023/03/07-mediawg-minutes.html#t02) The issue was discussed on 07 March 2023 by w3c Media working group. Jer Noble (Apple) was actively participating and provided input for spec details.
Web developers: Positive (https://github.com/w3c/webcodecs/issues/56) People ask for this on GitHub
Other signals:
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
Yes
Yes
https://bugs.chromium.org/p/chromium/issues/detail?id=1424154
https://chromestatus.com/feature/5783986600673280
On 7/5/23 8:57 PM, 'Eugene Zemtsov' via blink-dev wrote:
Intent to Implement and Ship: Per-frame quantizer in VideoEncoder
Contact emails
Explainer
None
Specification
https://www.w3.org/TR/webcodecs/#video-encoder-bitrate-mode
Summary
Adds "quantizer" VideoEncoderBitrateMode for VideoEncoder. This allows to specify a quantizer parameter for each frame for AV1, VP9, and AVC video codecs. The quantizer parameter is set via codec specific extensions for VideoEncoderEncodeOptions.
Blink component
TAG review
None.
Previously WebCodecs API had TAG review as a whole:
TAG review status
Not applicable
Risks
Interoperability and Compatibility
Gecko: Neutral (https://github.com/mozilla/standards-positions/issues/837#issuecomment-1614666364) Paul Adenot (Mozilla) expressed that minor changes to WebCodecs spec don't need to go through the full "Request for Mozilla Position" process assuming they were approved by the Media Working Group.
WebKit: Positive (https://www.w3.org/2023/03/07-mediawg-minutes.html#t02) The issue was discussed on 07 March 2023 by w3c Media working group. Jer Noble (Apple) was actively participating and provided input for spec details.
Web developers: Positive (https://github.com/w3c/webcodecs/issues/56) People ask for this on GitHub
Other signals:
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
Yes
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1424154
Estimated milestones
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5783986600673280
--
Thanks,Eugene Zemtsov.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrF0PKfpVbaYWX-hR0wJ%2Bb9H4YtwFBUc6Y6JGSmFT7pVgQ%40mail.gmail.com.
Controlling the quantizer for every frame makes possible at least two new use cases for VideoEncoder:
1. Constant quality encoding when complex frames and parts get more bandwidth than less complex ones.
2. External rate control algorithms implemented by web developers. Such algorithms can take into account a website's knowledge about contents of each frame or quick changes in available network bandwidth.
On 7/5/23 8:57 PM, 'Eugene Zemtsov' via blink-dev wrote:
Assuming I know very little about video codecs, what use cases does this enable for developers?Intent to Implement and Ship: Per-frame quantizer in VideoEncoder
Contact emails
Explainer
None
Specification
https://www.w3.org/TR/webcodecs/#video-encoder-bitrate-mode
Summary
Adds "quantizer" VideoEncoderBitrateMode for VideoEncoder. This allows to specify a quantizer parameter for each frame for AV1, VP9, and AVC video codecs. The quantizer parameter is set via codec specific extensions for VideoEncoderEncodeOptions.
This is a new addition since that review, but it's a trivial addition (IMHO) so a new review request isn't needed.
Blink component
TAG review
None.
Previously WebCodecs API had TAG review as a whole:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0a1d0f96-c5f0-fdf8-44b0-b49c3f180839%40chromium.org.
Any new feedback or resolution on this one?On Fri, Jul 7, 2023 at 5:53 AM Sangwhan Moon <s...@chromium.org> wrote:(resending from correct email)
On 2023年07月07日 00時32分12秒 (+09:00), Mike Taylor wrote:On 7/5/23 8:57 PM, 'Eugene Zemtsov' via blink-dev wrote:
Intent to Implement and Ship: Per-frame quantizer in VideoEncoder
Contact emails
Explainer
None
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrFxVaQnqU4dGQesuw%2B_AaBV763a0-t%3Dp0273LPNbyespQ%40mail.gmail.com.
On Thu, Jul 13, 2023 at 10:53 PM 'Eugene Zemtsov' via blink-dev <blin...@chromium.org> wrote:Any new feedback or resolution on this one?On Fri, Jul 7, 2023 at 5:53 AM Sangwhan Moon <s...@chromium.org> wrote:(resending from correct email)
On 2023年07月07日 00時32分12秒 (+09:00), Mike Taylor wrote:On 7/5/23 8:57 PM, 'Eugene Zemtsov' via blink-dev wrote:
Intent to Implement and Ship: Per-frame quantizer in VideoEncoder
Contact emails
Explainer
None
I think an explainer can be significantly helpful in helping us understand how developers will be using this feature and what use cases it'd cover.Could you write one or add an inline explanation outlining that?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfUBdFesjccKhgcoQ5Zs%2BJBEqMtNjFthN2UpVsUF_hEC4w%40mail.gmail.com.
Am Mi., 19. Juli 2023 um 14:25 Uhr schrieb Yoav Weiss <yoav...@chromium.org>:On Thu, Jul 13, 2023 at 10:53 PM 'Eugene Zemtsov' via blink-dev <blin...@chromium.org> wrote:Any new feedback or resolution on this one?On Fri, Jul 7, 2023 at 5:53 AM Sangwhan Moon <s...@chromium.org> wrote:(resending from correct email)
On 2023年07月07日 00時32分12秒 (+09:00), Mike Taylor wrote:On 7/5/23 8:57 PM, 'Eugene Zemtsov' via blink-dev wrote:
Intent to Implement and Ship: Per-frame quantizer in VideoEncoder
Contact emails
Explainer
None
I think an explainer can be significantly helpful in helping us understand how developers will be using this feature and what use cases it'd cover.Could you write one or add an inline explanation outlining that?Explaining that is tough without going into the details "what is quantization for video codecs. Seefor a very detailed explanation for H264.the tl;dr is that folks who encode video like tuning all kinds of knobs to get the "best" result and qp is one of those.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrF0PKfpVbaYWX-hR0wJ%2Bb9H4YtwFBUc6Y6JGSmFT7pVgQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0a1d0f96-c5f0-fdf8-44b0-b49c3f180839%40chromium.org.
----Thanks,Eugene Zemtsov.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrFxVaQnqU4dGQesuw%2B_AaBV763a0-t%3Dp0273LPNbyespQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrF0PKfpVbaYWX-hR0wJ%2Bb9H4YtwFBUc6Y6JGSmFT7pVgQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0a1d0f96-c5f0-fdf8-44b0-b49c3f180839%40chromium.org.
----Thanks,Eugene Zemtsov.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrFxVaQnqU4dGQesuw%2B_AaBV763a0-t%3Dp0273LPNbyespQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfUBdFesjccKhgcoQ5Zs%2BJBEqMtNjFthN2UpVsUF_hEC4w%40mail.gmail.com.
LGTM2
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWmDomb-KRB2kXns%3DxTkdMdYE4WH8twPKXTVVCywNNtog%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9e95972f-14de-2195-7723-d6c16a0a1f89%40gmail.com.
Thanks Eugene for the additional explainer text - and thanks to
Alex for encouraging more work here.
LGTM3. Thank you!
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrF0PKfpVbaYWX-hR0wJ%2Bb9H4YtwFBUc6Y6JGSmFT7pVgQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0a1d0f96-c5f0-fdf8-44b0-b49c3f180839%40chromium.org.
--
--Thanks,Eugene Zemtsov.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrFxVaQnqU4dGQesuw%2B_AaBV763a0-t%3Dp0273LPNbyespQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfUBdFesjccKhgcoQ5Zs%2BJBEqMtNjFthN2UpVsUF_hEC4w%40mail.gmail.com.
--
Thanks,Eugene Zemtsov.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWmDomb-KRB2kXns%3DxTkdMdYE4WH8twPKXTVVCywNNtog%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrF0PKfpVbaYWX-hR0wJ%2Bb9H4YtwFBUc6Y6JGSmFT7pVgQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0a1d0f96-c5f0-fdf8-44b0-b49c3f180839%40chromium.org.
--
--Thanks,Eugene Zemtsov.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrFxVaQnqU4dGQesuw%2B_AaBV763a0-t%3Dp0273LPNbyespQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfUBdFesjccKhgcoQ5Zs%2BJBEqMtNjFthN2UpVsUF_hEC4w%40mail.gmail.com.
--
Thanks,Eugene Zemtsov.--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWmDomb-KRB2kXns%3DxTkdMdYE4WH8twPKXTVVCywNNtog%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.