Coder Social home page Coder Social logo

asdlei99 / media-player-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lmshao/media-player

0.0 1.0 0.0 2.05 MB

Media player implemented by FFmpeg (4.0) & SDL2 on Linux/MacOS. 使用FFMpeg+SDL2实现的Linux/MacOS平台的音视频播放器。

License: GNU Lesser General Public License v3.0

CMake 2.32% C++ 90.14% Makefile 3.89% C 3.65%

media-player-1's Introduction

Media-Player

基于FFmpeg (4.0) + SDL2的视频播放器。

系统要求: Linux / MacOS

环境配置

FFmpeg

$ ./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfdk-aac --enable-libmp3lame  --enable-libx264 --enable-libxvid --enable-libvorbis --enable-libx265
or
$ ./configure --enable-shared
$ make
# make install

SDL2

$ ./configure
$ make
# make install

状态

2018-7-14
把音频解码放在音频播放回调函数线程里调用,解决了同时播放音视频卡顿的问题。单独播放音频因为没有视频帧控制的延时,导致快速读取完音频包后销毁了主线程。

UI

MacOS screenshot

MacOS

Ubuntu screenshot

Ubuntu

media-player-1's People

Contributors

lmshao avatar

Watchers

 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.