Giter Site home page Giter Site logo

cplusplus-project-media-player's Introduction

Media Player

Features

  • Graphical user interface
  • Control the audio playback via GUI: Play, Pause, Stop, Next, Previous, Seeking(by the progresssbar), Volume adjustment
  • Audio browsing & loading from external directories
  • Playlist listing loaded audio files
  • 5 playback modes: List loop, Single loop,Play in order, Single once, Random
  • Displaying audio information by reading metadata
  • Audio visualization
  • Support multiple audio formats

How to run

The needed external library is Qt5. The version used to develop the project is 5.5.1.

After downloading the tar.gz file of the project and unzipping it:

$ cd src/qt-project/
$ make
$ ./player

User Guide

  • Button "add"
    • Adding audio file(s) to the playlist
    • If the playlist is not empty, the file(s) will be added below the file currently selected in the list
    • If the file has been added to the playlist, an warning will be given
  • Button "remove"
    • Removing the selected file from the playlist.
    • An warning will be given if the file is under playing or paused
  • Button "Play"
    • Playing the current selected file in the playlist
    • If the selected file is not playing, the file will be played soon
    • If the selected file is under playing, there is no effect
    • An warning will be given if the playlist is empty.
    • An warning will be given if the file can not be found (e.g. the file has been deleted from local machine or changed its path). (Then you can remove this file from the playlist by clicking "remove")
    • The file name of the current media will be showed in the window title
  • Button "Pause"
    • The audio under playing is paused
    • It is disabled when the audio has been paused or stopped
  • Button "Stop"
    • The audio under playing is stopped
    • It is disabled when the audio has been stopped
  • Button "Next"
    • Playing the next file of the file currently selected
    • If the selected file is the last in the playlist, the first file in the list will be played
  • Button "Previous"
    • Playing the previous file of the file currently selected
    • If the selected file is the first in the playlist, the last file in the list will be played
  • Slider Volume
    • Moving the slider to adjust volume
    • The default value is 50/100
  • Slider Progress_bar
    • Showing the progress of the audio under playing
    • Moving it to seek position
  • Combo-box Mode
    • Select one among 5 playback modes: List loop, Single loop, Play in order, Single once, Random
    • The default mode is List loop
  • Listwidget Metadata_list
    • Display the meta-data of the current audio
    • The displayed information includes: Title, Album, Author, Genre
  • Visualization_bar group
    • Real-time visualize the audio under playing

cplusplus-project-media-player's People

Contributors

qianqianq avatar zhicunxu avatar pasisa 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.