-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Hello
I'm successfully able to perform look ups if the complete track is fingerprinted.
However, if I send a snippet of the track (I've experimented with 5s to 60s snippets, in 5s increments), no match is returned.
fpcalc has the following options:
Options:
-format NAME Set the input format name
-rate NUM Set the sample rate of the input audio
-channels NUM Set the number of channels in the input audio
-length SECS Restrict the duration of the processed input audio (default 120)
-chunk SECS Split the input audio into chunks of this duration
-algorithm NUM Set the algorithm method (default 2)
-overlap Overlap the chunks slightly to make sure audio on the edges is fingerprinted
-ts Output UNIX timestamps for chunked results, useful when fingerprinting real-time audio stream
-raw Output fingerprints in the uncompressed format
-signed Change the uncompressed format from unsigned integers to signed (for pg_acoustid compatibility)
-json Print the output in JSON format
-text Print the output in text format
-plain Print the just the fingerprint in text format
-version Print version information
The presence of "-length" and "-chunk" possibly indicates that matching is possible with snippets; however my experiments have yielded negative results. Only fingerprinting the whole track appears to work.
Seeing as for -length the default is -120s, I tried an experiment by creating a 120s duration snippet starting 30s into the track, however; this failed too.
To summarise my questions:
- Is there some combination of fpcalc params I need to use, in order to generate a fingerprint which can be used for track snippet matching?
- Is there a param for https://api.acoustid.org/v2/lookup, which indicates a track snippet fingerprint is being provided?
- Is AcousticID designed only to work with the complete track?
Thanks very much in advance for reviewing my post and your response.
Metadata
Metadata
Assignees
Labels
No labels