[vlc-devel] [PATCH 1/4] es: move i_profile/i_level to audio and video format structs

Rémi Denis-Courmont remi at remlab.net
Mon Apr 2 20:52:35 CEST 2018


Yeah so I already answered that question in the email you quoted, I think. If you need to know to decode, then it's not the same syntax and thus not the same codec.

Of course, this leads to ambiguities, if you havea series of strict subsets. That's when you need to think what makes most practical sense.

Codecs can be identified by fourcc or by pair of fourcc and profile. It's a design decision how to convey entropy. It makes little/no sense proposing a new profile in audio/video format all the while we regret having RGB masks in addition to fourcc.

So again, if you need to distinguish the codec/syntaxes, you should use a different fourcc, if only to avoid reproducing the type of problems we have with RGB.

If you cannot distinguish at input, the you are screwed, with or without an extra profile field. And if it is a multidimensional problem, I am not clear how profile helps over fourcc either.
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

More information about the vlc-devel mailing list