w3c / media-pipeline-arch

Architecture of the media pipeline on the web
Other
7 stars 0 forks source link

Extensibility: VideoFrame and encoded chunk metadata #5

Open aboba opened 1 year ago

aboba commented 1 year ago

A number of new capabilities (including Face Detection and Background blur acceleration) appear to require the addition of VideoFrame metadata:

Examples: https://github.com/w3c/mediacapture-extensions/pull/57 Eye gaze correction: https://github.com/w3c/mediacapture-extensions/pull/56 Face framing: https://github.com/w3c/mediacapture-extensions/pull/55 Lighting correction: https://github.com/w3c/mediacapture-extensions/pull/53

There are also uses for encoded chunk metadata, however, there is no registry for this metadata, nor are there any rules for carrying VideoFrame metadata over to encoded chunks (e.g. in WebCodecs encoder) or vice-versa (in WebCodecs decoder).

Related: https://github.com/w3c/webcodecs/pull/559