Coder Social home page Coder Social logo

melon_player's Introduction

Sample README file for C++ programming project

This is an initial git repository for your programming project. It contains an initial directory structure that we wish you could use as follows:

  • `plan/' -- Here is your project plan. You may use different sources, but we hope to get the pan also as pdf file.

  • doc/ -- here are the documentation sources related to your project. You may use different tools for documentation (e.g. latex), but we hope to get the final version of the document also as pdf file.

  • src/ -- here are the C++ source files. You can have subfolders as needed.

  • README.md -- This file that you should modify to represent your project.

General guidelines

  • C++11 standard!
  • Indent is 4 spaces
  • Variables are declared at the beginning of their scopes
  • member variables as variables_
  • Brackets on the next line, even in single row
void even()
{ // <- newline
    //
    if(oneLineOnly)
    {
        stillBrackets();
    }
    else
    {
        //...
    }
}

Documentation

Install library

  • FFmpeg How to build FFmpeg from source
  1. Because we want to also use ffserver, so we use the version ffmpeg 3.4
    git clone https://github.com/FFmpeg/FFmpeg.git
    ./configure --enable-shared
  1. we might need "sudo apt-get install nasm"
    make
    make install
  1. For your convenience, in the folder ffmpeg, there are static libraries and include file in case the version you install is not working.
  • How to install FFmpeg from apt get
    sudo add-apt-repository ppa:jonathonf/ffmpeg-3
    sudo apt update && sudo apt install ffmpeg libav-tools x264 x265 libavdevice-dev
  • sdl and sdl2 install
    sudo apt-get install libsdl1.2-dev
    sudo apt-get install libsdl2-dev
  • gtest
  1. git clone https://github.com/google/googletest.git
  2. cd googletest
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. sudo make install

Sample Video

  • In folder sample video, there are two video for playing

melon_player's People

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.