• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Is there a more-or-less standard convention for storing Language info in the (FLAC) tags?

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    433
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      apistoletov
      last edited by

      I've not noticed anything like this, but I'm interested in storing this information and so it would be smarter to try to do it the right way.
      I think it needs to be a list of https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes, could be named "Languages".
      On the other hand, it's somewhat common to have songs in made-up languages which wouldn't have the language code, but is there any interest in supporting them?

      C J 2 Replies Last reply Reply Quote 0
      • C
        collapsinghrung @apistoletov
        last edited by

        @apistoletov

        There definitely is a tagging convention; ffmpeg / ffprobe treat language as a tag that applies to every media stream. If you're creating or editing a file, you can set that tag to whatever arbitrary value you want.

        I believe there's supposed to be a convention of using shortcut codes for languages, but when I create files I intentionally violate that. I use mpv to play videos and when you select an audio or subtitle stream, it will display the language tagged for that stream; I prefer to display "English" than "eng" or "en".

        1 Reply Last reply Reply Quote 1
        • J
          Jellby @apistoletov
          last edited by

          @apistoletov said in Is there a more-or-less standard convention for storing Language info in the (FLAC) tags?:

          On the other hand, it's somewhat common to have songs in made-up languages which wouldn't have the language code, but is there any interest in supporting them?

          You could use "mis", "und" or "zxx", depending on the case
          https://en.wikipedia.org/wiki/ISO_639-3#Generic_codes

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB | Contributors