Coder Social home page Coder Social logo

lesterkong / audioscout Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3.42 MB

Automatically exported from code.google.com/p/audioscout

License: GNU General Public License v3.0

CMake 1.38% Shell 0.57% C++ 15.89% QMake 0.07% C 72.32% TeX 3.95% C# 4.00% Java 1.82%

audioscout's People

audioscout's Issues

e.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Apr 2013 at 10:01

Build/install process has hardcoded paths

What steps will reproduce the problem?
1. build the project on a different system as a user other than 'david'
2. grep various makefiles for 'david' to find many hardcoded paths to 
/home/david/audioscout
3.

What is the expected output? What do you see instead?
Build completes successfullly

What version of the product are you using? On what operating system?
Kubuntu 11.10, latest version of project as of date of this bug filing.

Please provide any additional information below.
See attached Makefile for example fix of /libs makefile

Original issue reported on code.google.com by [email protected] on 20 Apr 2012 at 6:05

Attachments:

Pre-Compiled Binaries

Version 1.0.4
There are a few pre-compiled binaries (metadatadb, auscoutd, tblservd, 
auscoutclient) in the source. Are they required or they will be rebuilt from 
the available sources?


Original issue reported on code.google.com by [email protected] on 26 Jul 2012 at 7:31

audio metadata db problem [can not find the exsiting metadata]

What steps will reproduce the problem?
I tried to test the query and submit function of the client.
1. start the server (metadatadb, auscoutd, tblservd)
2. ./auscoutclient /Path/To/Audios/ tcp://localhost:4005 2 10
   (This step is OK)
3. ./auscoutclient /Path/To/Audios/ tcp://localhost:4005 1 10
   (Cannot find the metadata in step 2)

What is the expected output? What do you see instead?
It should show the metadata, but it failed. And I checked the audio.db. It does 
have metadata, but the dur and part are 0 in most of the records. 


Original issue reported on code.google.com by [email protected] on 29 Mar 2011 at 2:11

Documentation

Hi, pls is there a paper on the audioscout that I can read online? I want to 
know more on how to increase sensitivity and reduce false positives. Currently 
it looks like they are mutually exclusive. There may be an optimal point.

Original issue reported on code.google.com by [email protected] on 23 Aug 2012 at 1:23

pHashAudioConfig.h missing in trunk

What steps will reproduce the problem?
1. Building the project

What is the expected output? What do you see instead?
Expected is that the application will build, instead it fails. The file 
pHashAudioConfig.h is missing.

What version of the product are you using? On what operating system?
The latest trunk version, on Fedora 16.

Original issue reported on code.google.com by [email protected] on 16 Jul 2012 at 4:07

Missing Some Java Bindings classes in svn

What steps will reproduce the problem?
1. Checkout the latest svn version (r63)

What is the expected output? What do you see instead?
Expected to have access to these three Java classes: AudioHash, AudioHashObject 
and AudioMetaData. They are required to build the java bindings with ant.

What version of the product are you using? On what operating system?
Latest svn revision (r63)

Please provide any additional information below.
Even if the files are available directly in the svn repository. It is still 
possible to get them by download version 1.0.4. In the package, the files are 
present.

This makes me wonder if those files are auto-generated and that is why they are 
not in the source?

On a side note, I would probably contribute by reporting issues and proposing 
patches to the project. I would like know to if there is information about this 
for this project somewhere?

Regards,
Matt

Original issue reported on code.google.com by [email protected] on 10 Sep 2012 at 6:42

High CPU Usage of auscoutd

I get close to 100% cpu usage on 1 core of 2.4GHZ cpu for a load of 1Mbyte 
audio file (.wav) every 5 seconds. Further checks showed that this is due to 
zmq (version 2.2.0). Others have run into this issue with zeromq on other 
projects (google says so). Has anyone run into this with this project? I will 
appreciate your experiences.

Original issue reported on code.google.com by [email protected] on 1 Oct 2012 at 7:38

Can't build in Fedora 14

What steps will reproduce the problem?
1.Make install all libs (zeromq/libsndfile/libsamplerate)
2./build/cmake .
3.make all

What is the expected output? What do you see instead?
I want to see it successfully build the lib
but I see:
Linking C shared library libAudioData.so
/usr/bin/ld: cannot find -llibsndfile-1
/usr/bin/ld: cannot find -llibsamplerate-0
collect2: ld returned 1 exit status
make[2]: *** [libs/libAudioData.so] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2


What version of the product are you using? On what operating system?
Fedora 14, gcc-4.5

Please provide any additional information below.
I can find such so files:
/usr/lib/libsndfile.so.1
/usr/lib/libsndfile.so.1.0.21

and so is the libsamplerate.so

Original issue reported on code.google.com by [email protected] on 22 Nov 2011 at 10:08

Request For 'cs' In Results To Client

Please, can the computed value (cs) against which the threshold value is 
compared be made available to the client? Currently, I can only get it in the 
syslog stream. I do not want to mess with the server modules so that I can 
always upgrade when new versions are realeased. Thanks.

Original issue reported on code.google.com by [email protected] on 1 Sep 2012 at 8:47

auscoutclient cannot open shared object file

1. Even though library is in /usr/local/lib/ if I execute auscoutclient (and 
other programs) on the command line I get the error:

auscoutclient: error while loading shared libraries: libAudioData.so: cannot 
open shared object file: No such file or directory

Version:
audioscout 1.04
Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic-pae i686)

Are the programs expecting the libraries in another directory?

Original issue reported on code.google.com by [email protected] on 25 Jul 2012 at 6:13

Unable to build on freeBSD

What steps will reproduce the problem?
1. Download and install audioscout dependencies (zeromq, libsndfile, 
libsamplerate, libmpg123)
2. Download audioscout on a FreeBSD 9.0 system, untar
3. cd ./build; cmake ../.; make

What is the expected output?
audioscout builds

What do you see instead?
/home/rp/src/audioscout/libs/audiodata.c:31:17: error: zmq.h: No such file or 
directory
/home/rp/src/audioscout/libs/audiodata.c:33:21: error: sndfile.h: No such file 
or directory
/home/rp/src/audioscout/libs/audiodata.c:34:24: error: samplerate.h: No such 
file or directory
/home/rp/src/audioscout/libs/audiodata.c:37:20: error: mpg123.h: No such file 
or directory
... <snip>


What version of the product are you using? On what operating system?
1.05, freeBSD 9.0, AMD64 processor

Please provide any additional information below.
zmq, sndfile, samplerate, mpeg123 are installed, as evident below:

$ ls -alt /usr/local/include/zmq.h
-rw-r--r--  1 root  wheel  12898 Sep 15 17:17 /usr/local/include/zmq.h

$ ls -alt /usr/local/include/sndfile.h
-r--r--r--  1 root  wheel  21664 Apr 10 19:05 /usr/local/include/sndfile.h

$ ls -alt /usr/local/include/samplerate.h
-r--r--r--  1 root  wheel  5442 Sep 15 15:53 /usr/local/include/samplerate.h

$ ls -alt /usr/local/include/mpg123.h
-rw-r--r--  1 root  wheel  60675 Sep 15 17:25 /usr/local/include/mpg123.h


Initially I thought CMAKE simply wasn't looking in the correct places, so I 
added the following to the CMakeFiles.txt:

set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/usr/local/include/")
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "/usr/local/")

but that didn't help either.

Original issue reported on code.google.com by [email protected] on 16 Sep 2013 at 12:12

How should i deal with mpg123 sndfile samplerate and zmp?


   I am trying to build audioscout on mingw , but I have got some problem dealing the mpg123 sndfile samplerate and zmp components.
   I have build all these components and get the .h file and libxxx.dll.Then where should I place these file?As I have got the following problems:

Linking C shared library libAudioData.dll
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot fi
d -lsndfile
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot fi
d -lmpg123
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot fi
d -lsamplerate
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot fi
d -lzmq
collect2: ld returned 1 exit status
make[2]: *** [libs/libAudioData.dll] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by [email protected] on 19 Mar 2013 at 9:11

Can't compile on Centos

What steps will reproduce the problem?
1. Instalaled missing pre-requisites (zeromq, libogg, libflac, libvorbis, 
samplerate, mpg123)
2. run make all (under build directory)

What is the expected output? What do you see instead?
# cmake ../.
unix system detected
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/audioscout/build
# make all
[  4%] Building C object libs/CMakeFiles/AudioData.dir/audiodata.c.o
/usr/src/audioscout/libs/audiodata.c: In function âreadaudio_amrâ:
/usr/src/audioscout/libs/audiodata.c:331: warning: implicit declaration of 
function âreadâ
/usr/src/audioscout/libs/audiodata.c:334: warning: implicit declaration of 
function âcloseâ
/usr/src/audioscout/libs/audiodata.c: In function âreadaudioâ:
/usr/src/audioscout/libs/audiodata.c:530: warning: statement with no effect
/usr/src/audioscout/libs/audiodata.c: In function âstore_audiodataâ:
/usr/src/audioscout/libs/audiodata.c:673: error: too few arguments to function 
âzmq_sendâ
/usr/src/audioscout/libs/audiodata.c:674: error: too few arguments to function 
âzmq_sendâ
/usr/src/audioscout/libs/audiodata.c:678: error: too few arguments to function 
âzmq_recvâ
/usr/src/audioscout/libs/audiodata.c: In function âretrieve_audiodataâ:
/usr/src/audioscout/libs/audiodata.c:702: error: too few arguments to function 
âzmq_sendâ
/usr/src/audioscout/libs/audiodata.c:706: error: too few arguments to function 
âzmq_sendâ
/usr/src/audioscout/libs/audiodata.c:709: error: too few arguments to function 
âzmq_recvâ
make[2]: *** [libs/CMakeFiles/AudioData.dir/audiodata.c.o] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2


What version of the product are you using? On what operating system?
Audioscount 1.0.5
Centos 5.4 (64bit)
2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 
GNU/Linux

Please provide any additional information below.
zeromq 3.2.2
sqlite 3.3.6
sndfile 1.0.17-1
samplerate 0.1.7

Original issue reported on code.google.com by [email protected] on 27 Mar 2013 at 5:36

metadatadb: invalid option -- 'i'

When i execute its showing errors
./metadatadb -i /path/to/database/file/audio.db

metadatadb: invalid option -- 'i'
auscoutd [options]
options:
-d --db              name of the path to the db sql file - mandatory
-p --port            port to bind on - default 4000
-n --threads         number worker threads (default 10)
-w --wd              working directory for the server
-l --level           log level, 0-7 as defined in syslog.h
-v --verbose         print more -- not implemented
-h --help            print this usage
?  --help            print this usage


Ho to execute metadatadb?

Original issue reported on code.google.com by [email protected] on 18 Sep 2012 at 10:11

Can not run metadatadb and shows up "unable to bin to inproc://result0"

What steps will reproduce the problem?
I followed the steps in README.txt
1. Create sqlite database for the audio file metadata storage
   sqlite3 audio.db
   .read audiodb.sql
2. ./metadatadb -d /path/to/database/file/audio.db
3. ./auscoutd -d tcp://localhost:4000

What is the expected output? What do you see instead?
I just want to test it in one computer, but it always failed to create lisener. 
I checked syslog
Mar 28 19:07:55 soleo-desktop auscoutd[2454]: RESULTLISTENER ERR: unable to bin 
to inproc://result0
Mar 28 19:07:55 soleo-desktop auscoutd[2454]: MAIN ERROR: result listener fail

What version of the product are you using? On what operating system?
I am using it in Ubuntu 10.04 and the latest version of audioscout which is 
1.0.1



Original issue reported on code.google.com by [email protected] on 28 Mar 2011 at 11:13

when submits, always get result: Received :id = 0

I follow the structions below:
./metadatadb -d /root/dbfile/audio.db -l 7 -p 4005
./auscoutd -d tcp://localhost:4005 -l 7
./tblservd -s localhost -p 4005 -i /root/dbfile/audio.db
and run the auscoutcliet for submit
./auscoutclient /submitdata/ tcp://localhost:4005 2 0 0
(0) 1.mp3
    3524hash frames

Sending metadata:    1.mp3              0  0  0  

Recieved: id = 0
***************************************************

(1) 2.mp3
    20926 hash frames

Sending metadata:    2.mp3             0  0  0

Recieved: id = 0

the question is why the received id have no change?


and then I query data file, the instruction I use is like:
./auscoutclient /submitdata/ tcp://localhost:4005 1 10 10

print like the following:

(0) 1.mp3
    904 hash frames

Sending query ...

Received: 1.mp3

****************Hit Enter for  next**********************

(1) 2.mp3
    904 hash frames

Sending query ...

Received: 2.mp3

****************Hit Enter for  next**********************

(2) 3.mp3
    904 hash frames

Sending query ...

Received: $[

****************Hit Enter for  next**********************

So I confused why Received is not the id num but the name of mp3 file?

My download software version is r69 and run on 2.6.16.60 x86_64 SUSE linux
MANY THANKS



Original issue reported on code.google.com by [email protected] on 23 Jul 2013 at 8:10

Real World Testing

Version 1.0.4
I have setup and my servers ok. I have built my index. I split one of the mp3 
files I used in the original index into 5 parts. Each of the 5 returns a 
positive response when tested against the audioscout system as expected.

However if I play the original file on a PC and do a recording, this recording 
doesn't return a match from the audioscout system.

I used the following command:
auscoutclient ./mp3split/ tcp://127.0.0.1:4005 1 0 1

Any experiences / suggestions / ideas?

Original issue reported on code.google.com by [email protected] on 27 Jul 2012 at 3:53

recieve_msg and send_msg timeout

Version 1.0.4
Please is it possible for us to get a timeout on the send_msg and receive_msg 
so that if the server is not up, the client can timeout/abort appropriately?

In my case: "Sending query ..." stayed up for over 2 minutes. I had to do 
Ctrl-C to abort.


Original issue reported on code.google.com by [email protected] on 27 Jul 2012 at 9:50

Unable to build following instructions :

What steps will reproduce the problem?
1.Installed dependencies
2.Issued cmake ../. command
3.Issued Make all

What is the expected output? What do you see instead?

Expected output is successful build - actual output is : 
[  4%] Built target AudioData
[  9%] Built target table
[ 22%] Built target pHashAudio
[ 27%] Built target audioindex
[ 31%] Built target table_t
[ 36%] Built target table_util
[ 40%] Building C object servers/CMakeFiles/auscoutd.dir/auscout.c.o
In file included from 
/home/mike/projects/audioscout-read-only/servers/auscout.c:39:0:
/home/mike/projects/audioscout-read-only/servers/../libs/audiodata.h:26:30: 
fatal error: pHashAudioConfig.h: No such file or directory
compilation terminated.
make[2]: *** [servers/CMakeFiles/auscoutd.dir/auscout.c.o] Error 1
make[1]: *** [servers/CMakeFiles/auscoutd.dir/all] Error 2
make: *** [all] Error 2



What version of the product are you using? On what operating system?

Audioscout is obtained via SVN command 
OS = Ubuntu Linux 12.04 

Please provide any additional information below.
Issuing the Make all initially provided much more verbose output - relating to 
unused variables. The output provided is what is produced on subsequent 
compiles.

Original issue reported on code.google.com by [email protected] on 5 Apr 2013 at 11:24

how to get multiple results

if i have multiple audios matching same excerpt (although not completely same), 
how can i get the list of them? 
eventualy sorted by distance?

Original issue reported on code.google.com by [email protected] on 24 Mar 2013 at 10:04

Can not install on Linux

I would like to build and install audioscount. But get the error.

What steps will reproduce the problem?
1. zeromq,sndfile,samplerate,mpg123 are ok.
2. run 'make all', get the following error:
[  4%] Building C object libs/CMakeFiles/AudioData.dir/audiodata.c.o
/root/ffmpeg/audioscout/libs/audiodata.c:41:39: error: 
opencore-amrnb/interf_dec.h: No such file or directory
/root/ffmpeg/audioscout/libs/audiodata.c: In function 'readaudio_amra':
/root/ffmpeg/audioscout/libs/audiodata.c:673: error: too few arguments to 
function'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:674: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:678: error: too few arguments to 
function 'zmq_recv'
/root/ffmpeg/audioscout/libs/audiodata.c: In function 'retrieve_audiodata':
/root/ffmpeg/audioscout/libs/audiodata.c:702: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:706: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:709: error: too few arguments to 
function 'zmq_recv'
make[2]: *** [libs/CMakeFiles/AudioData.dir/audiodata.c.o] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2


Use audioscout-1.0.5,  OS is Linux 2.6.18-128.el5

How to handle it? Could you tell me some advice?

Thanks

Original issue reported on code.google.com by [email protected] on 12 Mar 2013 at 8:56

Always get the 'not found' on query

All server is running. like:
./metadatadb -d /root/ffmpeg/audio.db -l 7
./auscoutd -d tcp://localhost:4005 -l 7
./tblservd -s localhost -p 4005 -i /root/ffmpeg/audio.db

create sql  is:
CREATE TABLE trcks (
        uid INTEGER PRIMARY KEY AUTOINCREMENT,
        composer varchar(30),
        title    varchar(30),
        performer varchar(30),
        date      varchar(10),
        album     varchar(30),
        genre     varchar(10),
        year      int,
        dur       int,
        part      int,
        time      datetime
);
------------------------------------------------------------

I submit 2 mp3. and get the following info. How to confirm it is right? i don't 
find anything on table trcks.

[root@localhost ffmpeg]# auscoutclient /root/ffmpeg/audio tcp://localhost:4005 
2 0 0
cmd = 2,  2 files in /root/ffmpeg/audio
(0) 1.mp3
    2872 hash frames

Sending metadata:    1.mp3              0  0  0  ---->What is the mean?

Recieved: id = 0
***************************************************

(1) 2.mp3
    2905 hash frames

Sending metadata:    2.mp3            (12)   0  0  0

Recieved: id = 4294904040
***************************************************

--------------------------------------------------------------------
I test on query. like, 

[root@localhost ffmpeg]# auscoutclient /root/ffmpeg/audio tcp://localhost:4005 
1 10 5 -->what is the mean for nbtoggles?
cmd = 1,  2 files in /root/ffmpeg/audio
(0) 1.mp3
    904 hash frames

Sending query ...

Recieved: not found

***********Hit Enter for next**********************


(1) 2.mp3
    904 hash frames

Sending query ...

Recieved: not found

***********Hit Enter for next**********************

 Use the same mp3 files. query is 'not found'

MANY THANKS.

Original issue reported on code.google.com by [email protected] on 13 Mar 2013 at 3:36

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.