Tika
  1. Tika
  2. TIKA-372

Channel and SampleRate information for MP3 files

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: parser
    • Labels:
      None

      Description

      Currently, the AudioParser for wave files extracts channel and samplerate metadata (along with a few other things).

      The attached patch adds the same support to the MP3 parser, via decoding the first audio frame.

      If applied, these audio related keys should probably be added to the main Metadata class.

        Activity

        Jukka Zitting made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Jukka Zitting [ jukkaz ]
        Fix Version/s 0.7 [ 12314528 ]
        Resolution Fixed [ 1 ]
        Hide
        Jukka Zitting added a comment -

        I added XMPDM metadata properties in revision 904858 and made the MP3 parser use them.

        Show
        Jukka Zitting added a comment - I added XMPDM metadata properties in revision 904858 and made the MP3 parser use them.
        Hide
        Jukka Zitting added a comment -

        Quite useful, thanks! I applied the patch in revision 903334.

        About the metadata keys, I'd actually like to replace the custom keys we now use with the equivalent xmpDM keys from the XMP standard. See http://markmail.org/message/ivsnmgtodwjb5xzy for more background.

        Show
        Jukka Zitting added a comment - Quite useful, thanks! I applied the patch in revision 903334. About the metadata keys, I'd actually like to replace the custom keys we now use with the equivalent xmpDM keys from the XMP standard. See http://markmail.org/message/ivsnmgtodwjb5xzy for more background.
        Nick Burch made changes -
        Field Original Value New Value
        Attachment mp3-audio-info.patch [ 12431429 ]
        Nick Burch created issue -

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Nick Burch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development