Giter Club home page Giter Club logo

cplayer's Introduction

Cplayer

A simple music player written in C, with ffmpeg surpport.

####Lib Dependencies:

  • ncurses: click here to find out how to install
  • CDK(Curses Development Kit): download and install
  • SDL2.0
  • ffmpeg:
    • make and install the latest ffmpeg:
      • (maby need: sudo apt-get install yasm)

      • ./configure --enable-shared

      • make

      • sudo make install

      • if can't find lib*.so:

        sudo vi /etc/ld.so.conf add follow lines: include ld.so.conf.d/*.conf /usr/local/libevent-1.4.14b/lib /usr/local/lib

        then: sudo ldconfig

####Make And Install:

make

sudo make install

####Uninstall:

sudo make uninstall

####Format Support:

All music files. Including but not limited to: mp3, flac, ape, wav, ogg...

####Usage:

  • j/k or ↓/↑ : move the cursor down and up
  • h/l or ←/→ : seek left or right about 20 seconds
  • a: add songs to list
  • d: delete current selected song from song list
  • Enter: play current selected song
  • Space: pause/unpause the current playing song
  • s: stop playing
  • n: next song
  • p: previous song
  • q: quit

####Screenshots:

Cplayer-songlist

Cplayer-screenshot

cplayer's People

Contributors

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