Skip to content

Latest commit

 

History

History
116 lines (84 loc) · 2.45 KB

INSTALL.md

File metadata and controls

116 lines (84 loc) · 2.45 KB

Compilation

Getting the source

git clone git://github.com/mikrosimage/loudness_validator.git  
cd loudness_validator

Build with Scons

Build all tools in release mode

scons

More build info ('Local Options' section)

scons --help

Build with CMake

Typical build commands

mkdir build
cd build
cmake .. [OPTIONS]
make
make install

With (non-exhaustive but typical) OPTIONS:

  -G "Unix Makefiles"
  -DCMAKE_BUILD_TYPE=[Debug|Release|...]
  -DCMAKE_PREFIX_PATH=/path/to/dependencies/install;...
  -DCMAKE_INSTALL_PREFIX=/path/to/target/install/directory
  -DEBU_TEST_ESSENCES=/path/to/ebu-loudness-test-material
  ...

Test

C++ tests, based on GTest framework, are used to check the loudness analysis with this EBU test material.

Run tests with Scons

scons --ebu-test-essences=/path/to/ebu/test/material test

Run tests with CMake

Add the following option to the cmake command (if not already set):

  -DEBU_TEST_ESSENCES=/path/to/ebu-loudness-test-material

Then run the following command (enabling verbose mode):

make test ARGS="-V"

Dependencies

Libraries

  • loudnessAnalyser
    Depends on boost accumulators (headers only).
    To analyse audio streams regardless loudness standards (CST R017, EBU R128, ATSC A85).

  • loudnessCorrector
    Depends on loudnessAnalyser.
    To correct audio streams.

  • loudnessTools
    Depends on loudnessAnalyser.
    To writer XML reports.

  • loudnessIO
    Depends on loudnessAnalyser and libsndfile.
    To read data from audio streams.

Apps

  • loudness-analyser
    To analyse given audio files.

  • loudness-corrector
    To analyse and correct given audio files.

  • loudness-validator
    External dependencies to Qt4.
    Simple GUI to analyse and correct given audio files.

  • loudness-media-analyser
    External dependencies to avtranscoder v0.9.2 or upper.
    To analyse audio in given files of any types.

Tested compilers

  • GCC 4.4.1 on OpenSUSE 11.2

  • GCC 4.6.2 on OpenSUSE 11.2

  • CLang 3.1 on OpenSUSE 11.2

  • GCC 4.5.2 on Windows XP

  • MSVC 12 on Windows 7

Tested libraries

  • Qt 4.5.3

  • Qt 4.8.6

  • libsndfile 1.0.24-22.2

  • libsndfile 1.0.25