Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language tagging #767

Open
cconcolato opened this issue Sep 30, 2023 · 1 comment
Open

Language tagging #767

cconcolato opened this issue Sep 30, 2023 · 1 comment
Assignees
Milestone

Comments

@cconcolato
Copy link
Contributor

One use case of IAMF could be having a Music and Effects Audio Element and 2 Dialogue Elements, in 2 different languages, e.g. French and English. It is not very clear how it would be achieved today.

There are several alternatives:

  1. One could have 1 Mix Presentation with 2 sub-mixes: a French sub-mix and an English sub-mix. Both sub-mix would refer to the M&E element but then they would use a different Dialogue Element. In that case, there is no annotation at the sub-mix level to provide a User-friendly label, nor to provide language tagging for automatic selection.
  2. One could have 2 Mix Presentations. Each would have 1 sub-mix. The sub-mix would include the M&E element and a different Audio element. The presentation-level annotation could provide a user-friendly text to show in the UI. But it's different from providing machine-processable language tagging.

This was raised in #290. Unfortunately, the annotation structure is not extensible (and currently says "friendly" meaning "user visible"). Maybe we could define a structure for the string, for example say that ":" is a separator and that the string shall be formed like <language_code>:[<role>:]*<user-targeted-label>.

Alternatively we could use the "parameter" concept at the Audio Element OBU level, to provide the language code and/or the roles.

Note that there is a difference between providing language codes for indicating in which language are the annotations, vs. providing the language code of the audio content.

For the ISOBMFF binding, since the entire IA Sequence, possibly with multiple languages, is currently stored in a single track, we probably should provide guidance on how to set the track language (e.g. using the mul or und language code).

@tdaede tdaede added this to the v1.1.0 milestone Oct 10, 2023
@sunghee-hwang
Copy link
Collaborator

@phill-williams @felicialim
It would be worth you to review this and come up with a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants