In the Composition Playlist
The audio language is listed at //Reel//MainSound[1]/Language:
<MainSound>
…
<Language>en</Language>
…
</MainSound>
The primary subtitle language is listed at //Reel//MainSubtitle[1]/Language:
<MainSubtitle>
…
<Language>fr</Language>
…
</MainSubtitle>
And, as the first element of //Reel[1]//CompositionMetadataAsset/MainSubtitleLanguageList:
<CompositionMetadataAsset xmlns=”http://www.smpte-ra.org/schemas/429-16/2014/CPL-Metadata”>
…
<MainSubtitleLanguageList>fr</MainSubtitleLanguageList>
…
</CompositionMetadataAsset>
Additional Notes:
- In DCNC, language codes are (mostly) based on ISO 639, whereas Composition Playlists use IETF BCP 47. Although in many cases the mapping is straightforward, BCP 47 allows for a wider range of possibilities (e.g. UN M.49 regions), some of which may be a better fit to the geographic region(s) where the content is to be distributed.
- By convention, ISO 639 language codes should appear in lower case (as opposed to country codes, which are capitalized).