It would be nice if FFmpeg could have some concept of locale; for example, in Matroska, geographical region and writing script metadata can coexist with the language code using LanguageBCP47 element (think "en-US", "fr-FR").
This is particularly useful to distinguish between streams with same language but regional variations, or endangered/diaspora dialects that are good to have identified. There are formats that do allow setting the data. This patch set introduces the concept by adding basic BCP47 parsing in avlanguage, support for the element in the Matroska demuxer, and support for the element in the Matroska muxer. The special tag is known as "language_bcp47". Signed-off-by: Marth64 <[email protected]> _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
