All Projects → Dsiner → CommenPlayer

Dsiner / CommenPlayer

Licence: other
CommenPlayer ——Video player, Support ijkPlayer, Vlc, MediaPlayer, ExoPlayer; 视频播放器,支持ijkPlayer,Vlc,MediaPlayer,ExoPlayer

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CommenPlayer

Dkvideoplayer
Android Video Player. 安卓视频播放器,封装MediaPlayer、ExoPlayer、IjkPlayer。模仿抖音并实现预加载,列表播放,悬浮播放,广告播放,弹幕
Stars: ✭ 3,796 (+4586.42%)
Mutual labels:  player, exoplayer, mediaplayer, ijkplayer
KingPlayer
🎬 一个专注于 Android 视频播放器的基础库,无缝切换内核。(IjkPlayer、ExoPlayer、VlcPlayer、MediaPlayer)
Stars: ✭ 35 (-56.79%)
Mutual labels:  player, exoplayer, mediaplayer, ijkplayer
Playerbase
The basic library of Android player will process complex business components. The access is simple。Android播放器基础库,专注于播放视图组件的高复用性和组件间的低耦合,轻松处理复杂业务。
Stars: ✭ 2,814 (+3374.07%)
Mutual labels:  player, exoplayer, mediaplayer, ijkplayer
Android P2p Engine
Let your viewers become your unlimitedly scalable CDN.
Stars: ✭ 70 (-13.58%)
Mutual labels:  player, exoplayer, ijkplayer
Magicalexoplayer
The Easiest Way To Play/Stream Video And Audio Using Google ExoPlayer In Your Android Application
Stars: ✭ 171 (+111.11%)
Mutual labels:  player, exoplayer, mediaplayer
Gsyvideoplayer
视频播放器(IJKplayer、ExoPlayer、MediaPlayer),HTTPS,支持弹幕,外挂字幕,支持滤镜、水印、gif截图,片头广告、中间广告,多个同时播放,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放 ,列表全屏动画,视频加载速度,列表小窗口支持拖动,动画效果,调整比例,多分辨率切换,支持切换播放器,进度条小窗口预览,列表切换详情页面无缝播放,rtsp、concat、mpeg。
Stars: ✭ 16,948 (+20823.46%)
Mutual labels:  player, exoplayer, ijkplayer
Xamarinmediamanager
Cross platform Xamarin plugin to play and control Audio and Video
Stars: ✭ 647 (+698.77%)
Mutual labels:  player, exoplayer, mediaplayer
Mkvideoplayer
MKVideoPlayer library is a video player have some basic features that need to develop an video player application in android studio
Stars: ✭ 54 (-33.33%)
Mutual labels:  player, mediaplayer
React Native Jw Media Player
React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
Stars: ✭ 76 (-6.17%)
Mutual labels:  player, mediaplayer
Rxmusicplayer Android
An android music player using ExoPlayer and RxJava2
Stars: ✭ 127 (+56.79%)
Mutual labels:  player, exoplayer
Mvideo
An imitation of WeChat circle of friends video effects, can drag and zoom ,video view,base on ijkplayer.
Stars: ✭ 178 (+119.75%)
Mutual labels:  player, ijkplayer
Vlc Android
VLC for Android, Android TV and ChromeOS
Stars: ✭ 1,045 (+1190.12%)
Mutual labels:  player, vlc
Ios P2p Engine
Let your viewers become your unlimitedly scalable CDN.
Stars: ✭ 31 (-61.73%)
Mutual labels:  player, ijkplayer
Fijkplayer
ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter video/audio player. Flutter media player plugin for android/iOS based on ijkplayer. fijkplayer 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
Stars: ✭ 943 (+1064.2%)
Mutual labels:  player, ijkplayer
Ijkplayer
Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
Stars: ✭ 29,752 (+36630.86%)
Mutual labels:  player, ijkplayer
Clay
Awesome standalone command line player for Google Play Music.
Stars: ✭ 160 (+97.53%)
Mutual labels:  player, vlc
ijkplayer
基于android端编译的ijkplayer、支持Https、附带编译教程,可快速引入项目。
Stars: ✭ 16 (-80.25%)
Mutual labels:  player, ijkplayer
PlayerSDK
提供一个高效的播放器库,播放相关的优化和功能都会在这个项目中完成
Stars: ✭ 103 (+27.16%)
Mutual labels:  exoplayer, ijkplayer
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+182.72%)
Mutual labels:  player, mediaplayer
ti.exoplayer
A native control for playing videos for Titanium. Based on Google ExoPlayer, using Titanium.Media.VideoPlayer API.
Stars: ✭ 17 (-79.01%)
Mutual labels:  exoplayer, mediaplayer

CommenPlayer for Android

License API Readme

CommenPlayer

Video player for the Android platform based on ijkplayer, Android MediaPlayer, ExoPlayer / Vlc

Branch

  • master - Develop branch,dependencies,less codec/format for smaller binary size,base on ijkplayer ,support ijkplayer、Android MediaPlayer、ExoPlayer
  • ijkplayer-lite-0.7.6 with .so file - Release branch,with .so file,less codec/format for smaller binary size,base on ijkplayer ,support ijkplayer、Android MediaPlayer、ExoPlayer
  • ijkplayer-lite-0.8.8 with .so file - Release branch,with .so file,less codec/format for smaller binary size,base on ijkplayer ,support ijkplayer、Android MediaPlayer、ExoPlayer
  • ijkplayer-default-0.7.6 with .so file - Release branch,with .so file,more codec/format,base on ijkplayer ,support ijkplayer、Android MediaPlayer、ExoPlayer
  • ijkplayer-default-0.8.8 with .so file - Release branch,with .so file,more codec/format,base on ijkplayer ,support ijkplayer、Android MediaPlayer、ExoPlayer
  • Vlc - Beta branch,base on Vlc

Demo

Screenshot

Features

  • Supports local and network video playback
  • Live streaming support for M3U8, RTMP, RTSP, UDP protocols
  • Supports common audio and video file playback (MP4, mp3, flv, etc.)
  • Support playback control, progress display
  • Support gestures to adjust playback progress, brightness, sound
  • Supports screen size switching (16:9, 4:3, adaptive, full, etc.)
  • Supports horizontal and vertical screen switching, full screen mode, list playback, list playback/full screen mode switching
  • Supports full screen immersive mode

Usage

    <com.d.lib.commenplayer.CommenPlayer
        android:id="@+id/player"
        android:layout_width="match_parent"
        android:layout_height="180dp" />

Operation

        player.setLive(false);
        player.setOnNetListener(new OnNetListener() {
            @Override
            public void onIgnoreMobileNet() {
                ignoreNet = true;
            }
        }).setOnPlayerListener(new IPlayerListener() {
            @Override
            public void onLoading() {
                player.getControl().setState(ControlLayout.STATE_LOADING);
            }

            @Override
            public void onCompletion(IMediaPlayer mp) {
                player.getControl().setState(ControlLayout.STATE_COMPLETION);
            }

            @Override
            public void onPrepared(IMediaPlayer mp) {
                if (!ignoreNet && NetConstans.NET_STATUS == NetConstans.CONNECTED_MOBILE) {
                    player.pause();
                    player.getControl().setState(ControlLayout.STATE_MOBILE_NET);
                } else {
                    player.getControl().setState(ControlLayout.STATE_PREPARED);
                }
            }

            @Override
            public boolean onError(IMediaPlayer mp, int what, int extra) {
                player.getControl().setState(ControlLayout.STATE_ERROR);
                return false;
            }

            @Override
            public boolean onInfo(IMediaPlayer mp, int what, int extra) {
                return false;
            }

            @Override
            public void onVideoSizeChanged(IMediaPlayer mp, int width, int height, int sarNum, int sarDen) {

            }
        });
        player.play(url);

Activity Lifecycle

    Override onResume()、onPause()、onConfigurationChanged()、onBackPressed()、onDestroy()

More usage see Demo

Latest Changes

Contributors

Thanks

Licence

Copyright 2017 D

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].