# chromaprint

The chromaprint element calculates an acoustic fingerprint for an audio stream which can be used to identify a song and look up further metadata from the Acoustid and Musicbrainz databases.

## Example launch line

     gst-launch-1.0 -m uridecodebin uri=file:///path/to/song.ogg ! audioconvert ! chromaprint ! fakesink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstAudioFilter
                            ╰──chromaprint

## Factory details

Authors: – Lukáš Lalinský <lalinsky></lalinsky>

Classification: – `Filter/Analyzer/Audio`

Rank – none

Plugin – chromaprint

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: [ 1, 2 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: [ 1, 2 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### duration

    “duration” guint

Number of seconds of audio to use for fingerprinting

Flags : Read / Write

Default value : 120

### fingerprint

    “fingerprint” gchararray

Resulting fingerprint

Flags : Read

Default value : NULL

The results of the search are