Comments (6)
This looks very weird to me. Can you send me the mp3 ?
DAn.
On Thursday, October 15, 2015, joesloan [email protected] wrote:
Hi,
To see if I had installed correctly. I ran "new" and then "match" on the
same sample mp3 file. However match ran for a few minutes and then
"Terminated".I can't tell if that error matters.
Would appreciate any help. Apologies if I am doing something wrong.
Is there a post-install reference check I can do to see if my install is
ok?python audfprint.py new -d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:42:13 2015 ingesting #0: references/280.mp3 ...
Added 162 hashes (16.7 hashes/sec)
Processed 1 files (9.7 s total dur) in 8.9 s sec = 0.913 x RT
Saved fprints for 1 files ( 162 hashes) to animals2
Dropped hashes= 0 (0.00%)
root@ubuntu:~/freetype-2.5.3/audfprint-master# python audfprint.py match
-d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:43:08 2015 Reading hash table animals2
Terminated—
Reply to this email directly or view it on GitHub
#12.
from audfprint.
Hi Dan,
I just picked this one at random...
http://www.noiseaddicts.com/samples_1w72b820/280.mp3
Maybe it is a bad example to use?
Joe
On 15 October 2015 at 14:28, Dan Ellis [email protected] wrote:
This looks very weird to me. Can you send me the mp3 ?
DAn.
On Thursday, October 15, 2015, joesloan [email protected] wrote:
Hi,
To see if I had installed correctly. I ran "new" and then "match" on the
same sample mp3 file. However match ran for a few minutes and then
"Terminated".I can't tell if that error matters.
Would appreciate any help. Apologies if I am doing something wrong.
Is there a post-install reference check I can do to see if my install is
ok?python audfprint.py new -d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:42:13 2015 ingesting #0: references/280.mp3 ...
Added 162 hashes (16.7 hashes/sec)
Processed 1 files (9.7 s total dur) in 8.9 s sec = 0.913 x RT
Saved fprints for 1 files ( 162 hashes) to animals2
Dropped hashes= 0 (0.00%)
root@ubuntu:~/freetype-2.5.3/audfprint-master# python audfprint.py match
-d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:43:08 2015 Reading hash table animals2
Terminated—
Reply to this email directly or view it on GitHub
#12.—
Reply to this email directly or view it on GitHub
#12 (comment).
Joe Sloan
Deoca Ltd,
Dublin, Ireland
mobile: +353872740776
skype: joesloan
email: [email protected]
from audfprint.
Sooo ...
It works on my macbook:
dpwe@dpwe-macbookpro2:/Downloads/audfprint-master$ python/Downloads/audfprint-master$ python
audfprint.py new -d animals2 ../280.mp3
/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Thu Oct 15 11:27:13 2015 ingesting #0: ../280.mp3 ...
Added 178 hashes (18.4 hashes/sec)
Processed 1 files (9.7 s total dur) in 0.1 s sec = 0.015 x RT
Saved fprints for 1 files ( 178 hashes) to animals2
dpwe@dpwe-macbookpro2:
audfprint.py match -d animals2 ../280.mp3
/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Read fprints for 1 files ( 178 hashes) from animals2
Analyzed ../280.mp3 of 9.125 s to 614 hashes
Matched ../280.mp3 9.125 sec 614 raw hashes as ../280.mp3 at 0.023 s
with 198 of 198 hashes
Processed 1 files (9.7 s total dur) in 0.2 s sec = 0.022 x RT
dpwe@dpwe-macbookpro2:~/Downloads/audfprint-master$
"Terminated" sounds like something really dire like Out Of Memory
killer. It looks like maybe it's trying to use ~1GB of core with a
few glances at Top.
Maybe try
python audfprint.py new -d animals2 --bucketsize 20 ../280.mp3
.. which should reduce the memory usage to ~20% and see if that helps?
DAn.
On Thu, Oct 15, 2015 at 10:16 AM, joesloan [email protected] wrote:
Hi Dan,
I just picked this one at random...
http://www.noiseaddicts.com/samples_1w72b820/280.mp3
Maybe it is a bad example to use?
Joe
On 15 October 2015 at 14:28, Dan Ellis [email protected] wrote:
This looks very weird to me. Can you send me the mp3 ?
DAn.
On Thursday, October 15, 2015, joesloan [email protected] wrote:
Hi,
To see if I had installed correctly. I ran "new" and then "match" on the
same sample mp3 file. However match ran for a few minutes and then
"Terminated".I can't tell if that error matters.
Would appreciate any help. Apologies if I am doing something wrong.
Is there a post-install reference check I can do to see if my install is
ok?python audfprint.py new -d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:42:13 2015 ingesting #0: references/280.mp3 ...
Added 162 hashes (16.7 hashes/sec)
Processed 1 files (9.7 s total dur) in 8.9 s sec = 0.913 x RT
Saved fprints for 1 files ( 162 hashes) to animals2
Dropped hashes= 0 (0.00%)
root@ubuntu:~/freetype-2.5.3/audfprint-master# python audfprint.py match
-d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:43:08 2015 Reading hash table animals2
Terminated—
Reply to this email directly or view it on GitHub
#12.—
Reply to this email directly or view it on GitHub
#12 (comment).Joe Sloan
Deoca Ltd,
Dublin, Irelandmobile: +353872740776
skype: joesloan
email: [email protected]—
Reply to this email directly or view it on GitHub.
from audfprint.
Thanks will try that tomorrow, also will try on bigger server container.
Sent from my iPad
On 15 Oct 2015, at 16:32, Dan Ellis [email protected] wrote:
Sooo ...
It works on my macbook:
dpwe@dpwe-macbookpro2:
/Downloads/audfprint-master$ python/Downloads/audfprint-master$ python
audfprint.py new -d animals2 ../280.mp3
/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Thu Oct 15 11:27:13 2015 ingesting #0: ../280.mp3 ...
Added 178 hashes (18.4 hashes/sec)
Processed 1 files (9.7 s total dur) in 0.1 s sec = 0.015 x RT
Saved fprints for 1 files ( 178 hashes) to animals2
dpwe@dpwe-macbookpro2:
audfprint.py match -d animals2 ../280.mp3
/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Read fprints for 1 files ( 178 hashes) from animals2
Analyzed ../280.mp3 of 9.125 s to 614 hashes
Matched ../280.mp3 9.125 sec 614 raw hashes as ../280.mp3 at 0.023 s
with 198 of 198 hashes
Processed 1 files (9.7 s total dur) in 0.2 s sec = 0.022 x RT
dpwe@dpwe-macbookpro2:~/Downloads/audfprint-master$"Terminated" sounds like something really dire like Out Of Memory
killer. It looks like maybe it's trying to use ~1GB of core with a
few glances at Top.Maybe try
python audfprint.py new -d animals2 --bucketsize 20 ../280.mp3
.. which should reduce the memory usage to ~20% and see if that helps?
DAn.
On Thu, Oct 15, 2015 at 10:16 AM, joesloan [email protected] wrote:
Hi Dan,
I just picked this one at random...
http://www.noiseaddicts.com/samples_1w72b820/280.mp3
Maybe it is a bad example to use?
Joe
On 15 October 2015 at 14:28, Dan Ellis [email protected] wrote:
This looks very weird to me. Can you send me the mp3 ?
DAn.
On Thursday, October 15, 2015, joesloan [email protected] wrote:
Hi,
To see if I had installed correctly. I ran "new" and then "match" on the
same sample mp3 file. However match ran for a few minutes and then
"Terminated".I can't tell if that error matters.
Would appreciate any help. Apologies if I am doing something wrong.
Is there a post-install reference check I can do to see if my install is
ok?python audfprint.py new -d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:42:13 2015 ingesting #0: references/280.mp3 ...
Added 162 hashes (16.7 hashes/sec)
Processed 1 files (9.7 s total dur) in 8.9 s sec = 0.913 x RT
Saved fprints for 1 files ( 162 hashes) to animals2
Dropped hashes= 0 (0.00%)
root@ubuntu:~/freetype-2.5.3/audfprint-master# python audfprint.py match
-d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:43:08 2015 Reading hash table animals2
Terminated—
Reply to this email directly or view it on GitHub
#12.—
Reply to this email directly or view it on GitHub
#12 (comment).Joe Sloan
Deoca Ltd,
Dublin, Irelandmobile: +353872740776
skype: joesloan
email: [email protected]—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub.
from audfprint.
Thanks Dan,
that worked.
On 15 October 2015 at 17:14, [email protected] wrote:
Thanks will try that tomorrow, also will try on bigger server container.
Sent from my iPad
On 15 Oct 2015, at 16:32, Dan Ellis [email protected] wrote:
Sooo ...
It works on my macbook:
dpwe@dpwe-macbookpro2:~/Downloads/audfprint-master$ python
audfprint.py new -d animals2 ../280.mp3/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Thu Oct 15 11:27:13 2015 ingesting #0: ../280.mp3 ...
Added 178 hashes (18.4 hashes/sec)
Processed 1 files (9.7 s total dur) in 0.1 s sec = 0.015 x RT
Saved fprints for 1 files ( 178 hashes) to animals2
dpwe@dpwe-macbookpro2:~/Downloads/audfprint-master$ python
audfprint.py match -d animals2 ../280.mp3/Users/dpwe/homebrew/lib/python2.7/site-packages/librosa-0.4.0rc2-py2.7.egg/librosa/core/audio.py:34:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
Read fprints for 1 files ( 178 hashes) from animals2
Analyzed ../280.mp3 of 9.125 s to 614 hashes
Matched ../280.mp3 9.125 sec 614 raw hashes as ../280.mp3 at 0.023 s
with 198 of 198 hashes
Processed 1 files (9.7 s total dur) in 0.2 s sec = 0.022 x RT
dpwe@dpwe-macbookpro2:~/Downloads/audfprint-master$"Terminated" sounds like something really dire like Out Of Memory
killer. It looks like maybe it's trying to use ~1GB of core with a
few glances at Top.Maybe try
python audfprint.py new -d animals2 --bucketsize 20 ../280.mp3
.. which should reduce the memory usage to ~20% and see if that helps?
DAn.
On Thu, Oct 15, 2015 at 10:16 AM, joesloan [email protected]
wrote:Hi Dan,
I just picked this one at random...
http://www.noiseaddicts.com/samples_1w72b820/280.mp3
Maybe it is a bad example to use?
Joe
On 15 October 2015 at 14:28, Dan Ellis [email protected] wrote:
This looks very weird to me. Can you send me the mp3 ?
DAn.
On Thursday, October 15, 2015, joesloan [email protected]
wrote:Hi,
To see if I had installed correctly. I ran "new" and then "match" on
the
same sample mp3 file. However match ran for a few minutes and then
"Terminated".I can't tell if that error matters.
Would appreciate any help. Apologies if I am doing something wrong.
Is there a post-install reference check I can do to see if my install
is
ok?python audfprint.py new -d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:42:13 2015 ingesting #0: references/280.mp3 ...
Added 162 hashes (16.7 hashes/sec)
Processed 1 files (9.7 s total dur) in 8.9 s sec = 0.913 x RT
Saved fprints for 1 files ( 162 hashes) to animals2
Dropped hashes= 0 (0.00%)
root@ubuntu:~/freetype-2.5.3/audfprint-master# python audfprint.py
match
-d animals2 references/280.mp3
/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py:33:
UserWarning: Could not import scikits.samplerate. Falling back to
scipy.signal
warnings.warn('Could not import scikits.samplerate. '
Thu Oct 15 07:43:08 2015 Reading hash table animals2
Terminated—
Reply to this email directly or view it on GitHub
#12.—
Reply to this email directly or view it on GitHub
#12 (comment).Joe Sloan
Deoca Ltd,
Dublin, Irelandmobile: +353872740776
skype: joesloan
email: [email protected]—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub
#12 (comment).
Joe Sloan
Deoca Ltd,
Dublin, Ireland
mobile: +353872740776
skype: joesloan
email: [email protected]
from audfprint.
In summary: The code works by allocating a large in-core database. With the default options, this is something like 400MB. When running on machines where this is a significant fraction of available core, this may cause the process to be killed by the kernel ("Terminated."). Try running with fewer buckets, e.g. --bucketsize 20.
from audfprint.
Related Issues (20)
- Incorrect time range HOT 1
- Incorrect Time range. HOT 1
- Convert .afpk files to mp3? HOT 1
- Problem with "spreadpeaksinvector"
- Reduce memory usage HOT 2
- Use audfprint as a module
- How to increase bits for storing IDs and timestamp?
- illustrate
- Scan every folder in every fingerprint base named as folder HOT 3
- UNICODE chaaracters ERROR HOT 11
- Show more than 1 finded matched names in results. HOT 4
- Can this algorithm load the historical features into memory first, so that the matching speed is improved, but I don't know how to modify your basic code HOT 7
- Hello, if the song is 1 million (the duration of the song is about 3 minutes), the matching time is very slow, how to optimize it? HOT 1
- I found that according to The time and hash generated by audfprint are not continuous in time, which led me to use the binary method to search for the same hash, conduct a statistical ranking of the number of hashes, and search for the original version of individual audio (the climax audio), and the ranking is not the first.
- I found that some match matches are inaccurate. I want to know, is the time and hash generated by this audfprint continuous at the start-end time, or is it a peak value, which leads to the fact that if one song is 1 minute, another song 3 minutes, there are a lot of hashes in the previous minute in the last two minutes of the next song, which leads to the fact that the hash statistics are larger than one minute, resulting in inaccurate sorting, then the match situation is inaccurate, how to optimize this? HOT 2
- output matching different between windows and linux. I created a database of filehashes which is around 340MB. When i try to query around 100 mp3 files my output is different between my windows machine and my raspberri pi. The database is identical, the query is identical but the windows machine finds significantly more matches. Both are running python 3.9. Database was created on the windows machine and transfered to the pi. Anyone encountered something similar? HOT 7
- Question about concatenate afpk files HOT 2
- How to avoid big % Dropped HOT 5
- Can someone take on audfprint-gui for audfprint or create a new gui for it? HOT 2
- Ability to split pklzs into smaller sizes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audfprint.