All Projects → CherryPerry → VideoCrop

CherryPerry / VideoCrop

Licence: WTFPL license
Crop video with Android Media Codec API

Programming Languages

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

Projects that are alternatives of or similar to VideoCrop

Android P2p Engine
Let your viewers become your unlimitedly scalable CDN.
Stars: ✭ 70 (+59.09%)
Mutual labels:  exoplayer
Phoenix For Vk
Yet another VK client for Android
Stars: ✭ 131 (+197.73%)
Mutual labels:  exoplayer
No Player
Simplified Player wrapper for MediaPlayer and ExoPlayer
Stars: ✭ 182 (+313.64%)
Mutual labels:  exoplayer
Radio Player
Android radio player example with ExoPlayer
Stars: ✭ 101 (+129.55%)
Mutual labels:  exoplayer
Exoplayerxamarin
Xamarin bindings library for the Google ExoPlayer library
Stars: ✭ 124 (+181.82%)
Mutual labels:  exoplayer
Android Videoplayer
Migrated:
Stars: ✭ 144 (+227.27%)
Mutual labels:  exoplayer
Starrysky
🔥A Powerful and Streamline MusicLibrary(一个丰富的音乐播放封装库,支持多种音频格式,完美解决你的问题。)
Stars: ✭ 1,022 (+2222.73%)
Mutual labels:  exoplayer
PlayerSDK
提供一个高效的播放器库,播放相关的优化和功能都会在这个项目中完成
Stars: ✭ 103 (+134.09%)
Mutual labels:  exoplayer
Rxmusicplayer Android
An android music player using ExoPlayer and RxJava2
Stars: ✭ 127 (+188.64%)
Mutual labels:  exoplayer
Magicalexoplayer
The Easiest Way To Play/Stream Video And Audio Using Google ExoPlayer In Your Android Application
Stars: ✭ 171 (+288.64%)
Mutual labels:  exoplayer
Toro
Video list auto playback made simple, specially built for RecyclerView
Stars: ✭ 1,380 (+3036.36%)
Mutual labels:  exoplayer
Zoomabletextureview
Adding zoom and scroll gestures to video playback on Android
Stars: ✭ 122 (+177.27%)
Mutual labels:  exoplayer
Exomedia
An Android ExoPlayer wrapper to simplify Audio and Video implementations
Stars: ✭ 1,939 (+4306.82%)
Mutual labels:  exoplayer
Exoplayer 2 Example
Android example apps
Stars: ✭ 70 (+59.09%)
Mutual labels:  exoplayer
Musiclake
MediaPlayer、Exoplayer音乐播放器,可播在线音乐,qq音乐,百度音乐,虾米音乐,网易云音乐,YouTuBe
Stars: ✭ 2,291 (+5106.82%)
Mutual labels:  exoplayer
Multi Threadeddownload
仿喜马拉雅 安卓版,音乐播放器 在线下载 多进程通信aidl
Stars: ✭ 66 (+50%)
Mutual labels:  exoplayer
Yjplay
一个支持自定义UI布局,流式API, 加密,直播 ,亮度,音量,快进等手势 ,广告视频预览,多种加载模式 ,多种分辨率切换 ,多种封面图, 自定义数据源,列表播放,倍数播放,边播变缓存<font color="red">不是使用AndroidVideoCache</font>,离线播放,神奇的播放器
Stars: ✭ 1,700 (+3763.64%)
Mutual labels:  exoplayer
VideoforVk
Video for Vk (or VT) is client for Vk video API.
Stars: ✭ 27 (-38.64%)
Mutual labels:  exoplayer
Kohii
Android Video Playback made easy.
Stars: ✭ 204 (+363.64%)
Mutual labels:  exoplayer
Mediasdk
The library is working for downloading video while playing the video, the video contains M3U8/MP4
Stars: ✭ 164 (+272.73%)
Mutual labels:  exoplayer

Video crop app

Build Status Version License

UPDATE: Actually, used approach is not the best one. Consider using Surface approach for both decoder and encoder. Doing it this way, you can get predictable result before crop, using sufrace for rendering video in UI, and after crop using surface for encode it. I created this project just to check, if it is possible to use ByteBuffers instead. Also audio does not work for some reason...

You can crop video to make it square and be less than 20 seconds in duration.

It uses MediaCodec API for decoding and encoding video. Source video file is read by MediaExtractor. Frame transformations are done with regular Bitmap. To be able to do so, it is required to convert frame's pixel array from YUV to RGB and back with help of RenderScript. Frames are saved to file with help of MediaMuxer after encoding.

Screenshots

screenshot_20181117-134723 screenshot_20181117-134733 screenshot_20181117-134741 screenshot_20181117-134814 screenshot_20181117-135409

License

WTFPL because I don't even know if this code works on devices other than mine.

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