Giter Club home page Giter Club logo

Comments (6)

jiixyj avatar jiixyj commented on July 18, 2024

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.

tigerite avatar tigerite commented on July 18, 2024

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.

jiixyj avatar jiixyj commented on July 18, 2024

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.

tigerite avatar tigerite commented on July 18, 2024

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:

  1. 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.

  2. 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.

audionuma avatar audionuma commented on July 18, 2024

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.

marina101 avatar marina101 commented on July 18, 2024

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)

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.