w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
978 stars 136 forks source link

VideoTransferCharacteristics/"Iec61966_2_1" is an unhelpful name for most people #529

Open kdashg opened 2 years ago

kdashg commented 2 years ago

Can we call it "srgb"?

In general, all over there's places where we have e.g. "bt470bg" // bt601 pal. This is generally a good indication to consider renaming to "bt601-pal" or (preferably) "bt601-625".

sandersdan commented 2 years ago

There is no obvious naming scheme for these, so I went with the most common terms I found for each (with some preference for FFmpeg naming where relevant), and am adding comments to inform readers of the likely interpretations. Discussion started here: https://github.com/w3c/webcodecs/issues/47#issuecomment-854156824.

I expect that in most cases people are translating between H.273 numbers, in which case matching at least some searchable string there is useful. In H.273 there are also duplicate entries, which may mean that aliases are useful. Without aliases I'd be reluctant to change the existing names since they are adequate and already in use.

I'd be interested to see your complete list of preferred names, and also for the new ones in https://github.com/w3c/webcodecs/issues/384#issuecomment-1169230721.