All Projects → Jzvd → Jzvideo

Jzvd / Jzvideo

Licence: mit
高度自定义的安卓视频框架 MediaPlayer exoplayer ijkplayer ffmpeg

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Jzvideo

TwitchPotPlayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 159 (-92.11%)
Mutual labels:  videoplayer
VideoPlayerBot
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In Our Support Group! ❤️
Stars: ✭ 187 (-90.72%)
Mutual labels:  videoplayer
Exoplayerfilter
This library uses OpenGL Shaders to apply effects on ExoPlayer video at Runtime
Stars: ✭ 738 (-63.37%)
Mutual labels:  videoplayer
TravellingApp
Xamarin.Forms goodlooking UI sample using the new CarouselView.
Stars: ✭ 52 (-97.42%)
Mutual labels:  videoplayer
VideoMetadataProvider
Video metadata provider library (collect metadata from ExoPlayer, FFMpeg, Native Android)
Stars: ✭ 20 (-99.01%)
Mutual labels:  videoplayer
NVRecoder
It is a lite library to render multiple videos\camera and recoder a new video and each video can change filter.
Stars: ✭ 18 (-99.11%)
Mutual labels:  videoplayer
YingKe-MediaCodec
学习实践MediaCodeC。Android MediaCodec API 实现下载网络video,MediaCodec播放器播放视频,MediaCodec录视频,MediaCodec实视频转码,MediaCodec从视频分离音频aac,MediaCodec音频解码pcm原始数据,MediaCodec多个音频进行混音,MediaCodec拼接多个视频
Stars: ✭ 79 (-96.08%)
Mutual labels:  videoplayer
Sbplayerclient
支持全格式的mac版视频播放器
Stars: ✭ 110 (-94.54%)
Mutual labels:  videoplayer
AutoVideoPlayer
Easily Play/Pause videos in any UIView subclass especially UITableViewCell subclass
Stars: ✭ 88 (-95.63%)
Mutual labels:  videoplayer
Xgplayer
A HTML5 video player with a parser that saves traffic
Stars: ✭ 4,792 (+137.82%)
Mutual labels:  videoplayer
clappr-vast-ad-plugin
Plugin for playing advertisements by VAST protocol
Stars: ✭ 14 (-99.31%)
Mutual labels:  videoplayer
OneDrive-Cloud-Player
OneDrive Cloud Player is a media player dedicated for streaming files directly from OneDrive.
Stars: ✭ 28 (-98.61%)
Mutual labels:  videoplayer
KingPlayer
🎬 一个专注于 Android 视频播放器的基础库,无缝切换内核。(IjkPlayer、ExoPlayer、VlcPlayer、MediaPlayer)
Stars: ✭ 35 (-98.26%)
Mutual labels:  videoplayer
Jetpack Kotlin Eyepetizer
一款基于Kotlin + Jetpack核心组件 + 协程 + 组件化实现的精美仿开眼视频App(提供Flutter、React Native、小程序版本 😁 )
Stars: ✭ 82 (-95.93%)
Mutual labels:  videoplayer
Mkvideoplayer
MKVideoPlayer library is a video player have some basic features that need to develop an video player application in android studio
Stars: ✭ 54 (-97.32%)
Mutual labels:  videoplayer
VCPlayerBot
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live steams, YouTube videos and telegram media. Supports scheduling streams, recording and many more.
Stars: ✭ 432 (-78.56%)
Mutual labels:  videoplayer
MBVideoPlayer
A video player on top of AVQueuePlayer with custom header, playlist items, play, pause, seek to slider, time, resize to fullscreen, forward, backward horizontal, vertical capabilities.
Stars: ✭ 103 (-94.89%)
Mutual labels:  videoplayer
Twitchpotplayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 112 (-94.44%)
Mutual labels:  videoplayer
Alpha Movie
Android video player with alpha channel (chroma key) support
Stars: ✭ 105 (-94.79%)
Mutual labels:  videoplayer
Zftplayer
iOS平台下基于IJKplayer封装的视频播放器,主要适用于视频点播。针对视频格式,前后台切换,内存管理控件的层级分离做了相应优化
Stars: ✭ 273 (-86.45%)
Mutual labels:  videoplayer

高度自定义的安卓视频框架

中文文档

下载Demo

QuickStart

1.添加类库

implementation 'cn.jzvd:jiaozivideoplayer:7.7.0'

2.添加布局

<cn.jzvd.JzvdStd
    android:id="@+id/jz_video"
    android:layout_width="match_parent"
    android:layout_height="200dp" />

3.设置视频地址、缩略图地址、标题

MyJzvdStd jzvdStd = (MyJzvdStd) findViewById(R.id.jz_video);
jzvdStd.setUp("http://jzvd.nathen.cn/c6e3dc12a1154626b3476d9bf3bd7266/6b56c5f0dc31428083757a45764763b0-5287d2089db37e62345123a1be272f8b.mp4"
                            , "饺子闭眼睛");
jzvdStd.posterImageView.setImage("http://p.qpic.cn/videoyun/0/2449_43b6f696980311e59ed467f22794e792_1/640");

4.在Activity

@Override
public void onBackPressed() {
    if (Jzvd.backPress()) {
        return;
    }
    super.onBackPressed();
}
@Override
protected void onPause() {
    super.onPause();
    Jzvd.releaseAllVideos();
}

5.在AndroidManifest.xml

<activity
    android:name=".MainActivity"
    android:configChanges="orientation|screenSize|keyboardHidden"
    android:screenOrientation="portrait" /> <!-- or android:screenOrientation="landscape"-->

6.在proguard-rules.pro中按需添加

-keep public class cn.jzvd.JZMediaSystem {*; }
-keep public class cn.jzvd.demo.CustomMedia.CustomMedia {*; }
-keep public class cn.jzvd.demo.CustomMedia.JZMediaIjk {*; }
-keep public class cn.jzvd.demo.CustomMedia.JZMediaSystemAssertFolder {*; }

-keep class tv.danmaku.ijk.media.player.** {*; }
-dontwarn tv.danmaku.ijk.media.player.*
-keep interface tv.danmaku.ijk.media.player.** { *; }

./gradlew build -x androidJavadocs

效果

License MIT

Copyright (c) 2015-2021 jzvd.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].