Comments (6)
Are there any input plugins built at all? For example "libinput_sndfile.so" or "libinput_ffmpeg.so" should be built alongside the loudness binary if the needed binaries are found.
from loudness-scanner.
There are no libinput_xxxx.so libraries being built.
I believe one of the dependencies is gmodule-2. On Ubuntu, I installed libgtk2.0-dev to get gmodule-2.
But still got no libinput_xxxx.so libraries.
Is there another dependency I need?
from loudness-scanner.
Can you show me the output of the cmake
command and of make input_ffmpeg
?
The first one should look more or less like this:
-- speexdsp library dirs: /usr/local/lib
-- speexdsp cflags:
-- speexdsp include dirs: /usr/local/include
-- speexdsp libraries: speexdsp
-- speexdsp ldflags:
-- Could NOT find MPCDEC (missing: MPCDEC_LIBRARY MPCDEC_INCLUDE_DIR)
-- status found / disabled --
-- queue.h: yes using system copy of queue.h
-- speexdsp: yes no
-- glib-2.0: yes no
-- gthread-2.0: yes no
-- sndfile: yes no
-- taglib: yes no
-- mpg123: yes no
-- mpcdec: no no
-- gstreamer: yes no
-- ffmpeg: yes no
-- rsvg2: yes no
-- gtk2: yes no
-- qt4: yes no
-- Configuring done
-- Generating done
The second one should build the ffmpeg input module.
I've committed some build fixes for the input modules needed on my machine. Maybe it works for you now?
from loudness-scanner.
Thanks.
I've resolved the issue I believe.
At first, I was having difficulty getting loudness-scanner to build with the ebur128 submodule.
So I had to do some tinkering with the CMakeFiles.txt
As I was able to successfully build the standalone libebur128, I tried to get the loudness-scanner to link to the standalone libebur128 that was build. So I commented out the line: add_subdirectory(ebur128)
Commenting this line out apparently prevented the building of input plugins for some reason.
After some more tinkering with the CMAKE command arguments, I got the loudness-scanner project to build with the ebur128 submodule. Now the input plugins are built.
Questions:
-
How do I get loudness-scanner to link to the standalone libebur128 instead? If I build loudness-scanner with the ebur128 submodule, it will link to the library in the build directory. I copy loudness-scanner to a target bin directory. So I want loudness-scanner to link to libebur128.so from the target lib directory.
-
It appears loudness-scanner only works with s16le wav files using the ffmpeg plugin. Non-wav files or f32le wav files fail.
Thanks!
from loudness-scanner.
I can't reproduce your issue with ffmpeg plugin.
$ ffprobe tonef32.wav
Input #0, wav, from '/Users/audionuma/Audiofiles/tonef32.wav':
Duration: 00:00:10.00, bitrate: 2822 kb/s
Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 2 channels, flt, 2822 kb/s
$ loudness scan --force-plugin=ffmpeg /Users/audionuma/Audiofiles/tonef32.wav
Loudness
-2.6 LUFS, tonef32.wav
from loudness-scanner.
I was initially getting this same error on macOS. My solution was to add set(CMAKE_MACOSX_RPATH 1)
to CMakeLists.txt, build the mac version of all the missing required libraries with brew, and then re-run cmake ..
and make
. Works fine now.
from loudness-scanner.
Related Issues (20)
- speexdsp required in code for Peak Detection options but not pulled in by cmake? HOT 2
- Peak analysis on MP3s yields sample peaks >1 HOT 3
- Compile to windows HOT 5
- Different standards HOT 1
- Allow combining 2 mono streams to analyse them as stereo signal
- Feature request: custom block size and overlap
- rfc7845 tags names HOT 17
- loudness-scanner fails to compile in fedora-28 beta HOT 3
- Update the API to FFmpeg 4.0 HOT 1
- Error installing HOT 1
- Needed CXX_STANDARD 11 for target scanner-tag to compile HOT 5
- set_max_window
- Support Opus files with .ogg extension
- Use system libebur128
- Silent tracks result in very high gain. HOT 2
- No plugins found! - again HOT 1
- (Feature Request) delete tags
- Tagging behavior of Opus files changed – R128_TRACK_GAIN and R128_ALBUM_GAIN not set anymore HOT 5
- git:// urls don't work anymore... HOT 1
- ffmpeg-5.0 deprecates some types causing compilation failure HOT 6
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 loudness-scanner.