GithubHelp home page GithubHelp logo

yodamaster / dtplayer_c Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterfuture/dtplayer_c

0.0 2.0 0.0 939 KB

simple cross-platform multimedia player and framework

Shell 0.19% C 93.55% Objective-C 0.20% C++ 4.15% Makefile 1.92%

dtplayer_c's Introduction

dtplayer

dtplayer is an open-source project based on C , aimed to provide multimedia playing service base on ffmpeg(linux version2.0+).

At present, dtplayer have provided examples on stream-demuxer-decoder-render modules. User can easily understand how to add new element.

User can also remove ffmpeg dependence through modifing makefile (set DT_FFMPEG = no), Then you will get an aac player for now.

Installation

Linux

  • install sdl1.0

  • install ffmpeg & libav

  • ./build.sh linux

Android

  • install ffmpeg for android (refer to ffmpeg-android)

  • export DT_FFMPEG_ANDROID_DIR=/PATH/TO/FFmpeg-Android/build/ffmpeg/armv7

  • ./build.sh android

Usage

Usage: dtplayer [options] <url>

Options:

    -V  , --version                 output program version
    -h  , --help                    output help information
    -dw , --width <n>               specify destiny width
    -dh , --height <n>              specify destiny height
    -na , --disable_audio           disable audio
    -nv , --disable_video           disable video
    -ns , --disable_sub             disable sub
    -ast, --audio_index <n>         specify audio index
    -vst, --video_index <n>         specify video index
    -sst, --sub_index <n>           specify sub index
    -l  , --loop <n>                enable loop
    -nsy, --disable-sync            disable avsync

Links

Demos build with dtplayer:

Author

[email protected]

Licence

GPL v3.0

Build Status

Build Status

dtplayer_c's People

Contributors

peterfuture avatar

Watchers

 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.