Coder Social home page Coder Social logo

haoxiangtt / movieplayerplus Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 9.0 8.88 MB

一个强大的播放器,既可以使用vlc播放视频,也可以使用默认的播放器播放;同时也是一个基于mvp架构的轻量级框架。最近加入了两个基于OpenGL渲染视频的两个控件。觉得可以的话还请给个star^_^

Java 99.79% GLSL 0.21%

movieplayerplus's Introduction

视频播放器控件说明:
    引入方式:compile 'com.bfy:movie-player-plus:1.0.0'
    如果想使用vlc解码器还需导入一下依赖:
    compile 'de.mrmaffen:vlc-android-sdk:3.0.0'

    混淆规则:
    -keep class org.videolan.libvlc.**{*;}

	本项目集成了vlc和系统默认两种视频解码框架,分别进行了封装,主要封装的控件有4种:
	使用vlc解码框架的:
		1、VLCVideoView:使用surfaceView渲染视频;
		2、GlVlcVideoView:使用GlSurfaceView渲染视频;
	使用系统解码框架的:
		1、VideoView:使用surfaceView渲染视频;
		2、GlVideoView:使用GlSurfaceView渲染视频。
	简单集成方式:
	在layout布局文件中直接声明控件:
        <cn.richinfo.player.view.GlVideoView
                android:id="@+id/def_video"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_gravity="center"/>
    在代码中找到控件:
    MediaPlayerController player = (MediaPlayerController)findViewById(R.id.def_video);
    player.initPlayer(url);//初始化播放器
    player.start();//开始播放

作者:ouyangjinfu
注:该项目2019年起已经停止维护

movieplayerplus's People

Contributors

haoxiangtt avatar

Stargazers

Happy Hacking Emacs & Spacemacs (Simplified Chinese) http://book.emacs-china.org avatar  avatar  avatar Adam Wu avatar Salman avatar  avatar  avatar  avatar carl shen avatar huteng avatar  avatar  avatar shiee77 avatar  avatar pandong avatar 陶海理 avatar  avatar  avatar Yongbin Jin avatar zhang avatar  avatar leoncoding avatar kui xiao avatar  avatar

Watchers

 avatar  avatar  avatar

movieplayerplus's Issues

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.