Comments (4)
Please elaborate on the exact steps you are performing. Make sure your working directory contains the SMILExtract
binary and run it with ./SMILExtract
.
from opensmile.
For some reason running it again worked, but I'll document the process just in case it helps anyone:)
I have MacBook Air (M1). Here are my versions of dependencies:
GNU Make 3.81
gcc (Homebrew GCC 11.3.0_1) 11.3.0
g++ (Homebrew GCC 11.3.0_1) 11.3.0
cmake version 3.23.2
cloning the source code from GitHub and running bash build.sh
are both successful and I've added to PATH:
and I have the SMILExtract binary
Then I ran ./SMILExtract -h:
alisonqiu@Alisons-Air smilextract % ./SMILExtract -h
===============================================================
openSMILE version 3.0.1 (Rev. 1e17214)
Build date: 2022-06-07T01:14:37Z
Build branch: 'master'
(c) 2022 by audEERING GmbH
All rights reserved. See the file COPYING for license terms.
===============================================================
Usage: ./SMILExtract [-option (value)] ...
-h Show this usage information
-C, -configfile <string>
Path to openSMILE config file
(default: 'smile.conf')
-l, -loglevel <integer>
Verbosity level (0-9)
(default: 2)
-t, -nticks <integer>
Number of ticks to process (-1 = infinite) (only works for single-thread processing, i.e. nThreads=1)
(default: -1)
-L, -components [boolean 0/1]
Show component list
(default: 0)
-H, -configHelp [string]
Show documentation of registered config types (if an argument is given, show only documentation for config types beginning with the name given in the argument)
(default: '')
-configDflt [string]
Show default config section templates for each config type (if an argument is given, show only documentation for config types beginning with the name given in the argument, OR for a list of components in conjunctions with the 'cfgFileTemplate' option enabled)
(default: '')
-cfgFileTemplate [boolean 0/1]
Print a complete template config file for a configuration containing the components specified in a comma separated string as argument to the 'configDflt' option
(default: 0)
-cfgFileDescriptions [boolean 0/1]
Include description in config file templates.
(default: 0)
-c, -ccmdHelp [boolean 0/1]
Show custom commandline option help (those specified in config file)
(default: 0)
-exportHelp [boolean 0/1]
Print detailed documentation of registered config types in JSON format.
(default: 0)
-logfile <string>
Set path of log file
(default: '')
-noconsoleoutput [boolean 0/1]
Don't output any messages to the console (log file is not affected by this option)
(default: 0)
-appendLogfile [boolean 0/1]
Append log messages to an existing logfile instead of overwriting the logfile at every start
(default: 0)
from opensmile.
Actually I'm still having issues...
As you can see I previously ran ./SMILExtract -h
in /Users/alisonqiu/opensmile/build/progsrc/smilextract
not /Users/alisonqiu/opensmile
, so when I ty to extract features from the former I got an error
alisonqiu@Alisons-Air smilextract % ./SMILExtract -C config/demo/demo1_energy.conf -I example-audio/opensmile.wav -O opensmile.energy.csv
(MSG) [2] SMILExtract: openSMILE starting!
(MSG) [2] SMILExtract: config file is: config/demo/demo1_energy.conf
(MSG) [2] cComponentManager: successfully registered 102 component types.
(ERR) [1] configManager: cFileConfigReader::openInput : cannot find input file 'config/demo/demo1_energy.conf'!
(base) alisonqiu@Alisons-Air smilextract % ./SMILExtract -h
I think the reason is config is in /Users/alisonqiu/opensmile
not /Users/alisonqiu/opensmile/build/progsrc/smilextract
. Could anyone help me fix this error?
from opensmile.
You need to make sure that the relative paths that you pass to SMILExtract are valid relative paths from where you run the binary. If you run the binary from within /Users/alisonqiu/opensmile/build/progsrc/
you need to also adjust the path to the config file. config/demo/demo1_energy.conf
is only valid if you run from /Users/alisonqiu/opensmile/
as your working directory.
from opensmile.
Related Issues (20)
- OpenSmile output export HOT 2
- Ndst in ./src/lldcore/intensity.cpp HOT 2
- Why the output line in csv file always have some badlines? HOT 1
- eGeMAPS Implementation HOT 1
- build error no such file src/include/io/rosSink.hpp:55:10: fatal error: ros/ros.h: HOT 2
- AttributeError: module 'opensmile' has no attribute 'Smile' HOT 1
- version `GLIBC_***` is too low to run. HOT 1
- Reading features from output file HOT 4
- Custom `win_len` and `hop_dur` in openSmile python
- Compiling from Source m1 Mac; finite
- Issue with smileMath_csplint_init when migrating from version 2.0 to 3.*
- "SMILE3.0.1 error mentioning no smile-conf file"
- Spectral Centroid for white noise has large offset HOT 1
- Error about “Extracting features with OpenCV” HOT 1
- error in prosodyShs.conf
- The audio name in the output of SMILExtract is noname HOT 5
- (ERR) [1] configManager: cFileConfigReader::openInput : cannot find input file 'smile.conf'! HOT 1
- How to get eGeMAPSv02 low level descriptors HOT 1
- How to only calculate subset of features?
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 opensmile.