Git Product home page Git Product logo

mediarepeater's Introduction

Media Repeater

For learning language repeat playback media files.

requirement

  • only support Qt4 with Phonon

Linux Install

mkdir build
cmake ../
make
make install

Windows Install

  1. Download Qt4.8 compiled by MinGW from qt-project
  2. Download CMake
  3. Download GCC4.4, Qt4.8 compiled by MinGW only support MinGW 4.4
  4. Install above toolchain and compile.

    Run in Window:

    ``cmake -G"MinGW Makefiles" ../``
  5. copy below dlls from MinGW and QT directory into running directory:
  • libgcc_s_dw2-1.dll
  • mingwm10.dll
  • phonon4.dll
  • QtCore4.dll
  • QtGui4.dll
  • QtNetwork4.dll
  • QtWebKit4.dll
  • phonon_backend
  • imageformats
  • iconengines

FAQ

Failed to load phonon

Catching a message "WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded", phonon don't find its backend.

To check phonon backend path, set enviroment various:

export PHONON_DEBUG=5

and run application in console. It will show phonon searching path, such as:

bool Phonon::FactoryPrivate::createBackend() "/usr/lib/qt/plugins/phonon_backend" does not exist

It said it is invalid path of phonon backend. To correct it, set:

export QT_PLUGIN_PATH=${QT_PLUGIN_PATH}:/usr/lib/your_path/plugins

such as:

export QT_PLUGIN_PATH=${QT_PLUGIN_PATH}:/usr/lib/kde4/plugins

Tip

To change phonon backend player, set PHONON_BACKEND:

export PHONON_BACKEND=phonon_gstreamer
export PHONON_BACKEND=phonon_mplayer
export PHONON_BACKEND=phonon_xine

ToDo

  • Use QtMultimedia to support Qt5
  • Add sound wave window for audio output and input

License

Please follow GPLv3. Thanks.

mediarepeater's People

Contributors

liuyug avatar

Watchers

 avatar  avatar  avatar

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.