All Projects → iknow4 → Android Video Trimmer

iknow4 / Android Video Trimmer

Licence: apache-2.0
Android-Video-Trimmer项目实现了对长短视频进行片段的裁剪选择。使用MediaMetadataRetriever获取视频帧,采用ffmpeg进行视频裁剪,和视频压缩。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Video Trimmer

Lossless Cut
The swiss army knife of lossless video/audio editing
Stars: ✭ 8,639 (+948.42%)
Mutual labels:  ffmpeg, video-editor
Vidcutter
Been busy guys, will be reviewing and integrating pull requests shortly. Thanks to all contributors! LATEST RELEASE: 6.0.0 - flatpak @ https://flathub.org/apps/details/com.ozmartians.VidCutter - snap @ https://snapcraft.io/vidcutter - see https://github.com/ozmartian/vidcutter/releases for more details...
Stars: ✭ 775 (-5.95%)
Mutual labels:  ffmpeg, video-editor
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (-72.21%)
Mutual labels:  ffmpeg, ffmpeg-android
Online Video Editor
API based Online Video Editing using FFMPEG & NodeJs for Backend Editing
Stars: ✭ 176 (-78.64%)
Mutual labels:  ffmpeg, video-editor
Ffmpeg Android Java
FFmpeg Android java is a java library that simplifies your task of using ffmpeg in Android project which I've compiled using FFmpeg-Android
Stars: ✭ 3,098 (+275.97%)
Mutual labels:  ffmpeg, ffmpeg-android
Ffmpeg Android Maker
Contains a script that assembles FFmpeg library for Android
Stars: ✭ 207 (-74.88%)
Mutual labels:  ffmpeg, ffmpeg-android
Ruurd-Movie-Maker
Simple video editor to cut/paste video, change playback speed and change volume
Stars: ✭ 20 (-97.57%)
Mutual labels:  ffmpeg, video-editor
Ffmpegandroidlibrary
One line integration for FFMPEG Library in Android
Stars: ✭ 88 (-89.32%)
Mutual labels:  ffmpeg, ffmpeg-android
Rxffmpeg
🔥💥RxFFmpeg 是基于 ( FFmpeg 4.0 + X264 + mp3lame + fdk-aac + opencore-amr + openssl ) 编译的适用于 Android 平台的音视频编辑、视频剪辑的快速处理框架,包含以下功能:视频拼接,转码,压缩,裁剪,片头片尾,分离音视频,变速,添加静态贴纸和gif动态贴纸,添加字幕,添加滤镜,添加背景音乐,加速减速视频,倒放音视频,音频裁剪,变声,混音,图片合成视频,视频解码图片,抖音首页,视频播放器及支持 OpenSSL https 等主流特色功能
Stars: ✭ 3,358 (+307.52%)
Mutual labels:  ffmpeg, ffmpeg-android
NaraeAudioRecorder
AudioRecorder for Android powered by Kotlin
Stars: ✭ 82 (-90.05%)
Mutual labels:  ffmpeg, ffmpeg-android
Epmedia
Android上基于FFmpeg开发的视频处理框架,简单易用,体积小,帮助使用者快速实现视频处理功能。包含以下功能:剪辑,裁剪,旋转,镜像,合并,分离,变速,添加LOGO,添加滤镜,添加背景音乐,加速减速视频,倒放音视频。 The video processing framework based on FFmpeg developed on Android is simple, easy to use, and small in size, helping users quickly realize video processing functions. Contains the following functions: editing, cropping, rotating, mir…
Stars: ✭ 1,953 (+137.01%)
Mutual labels:  ffmpeg, video-editor
Ffmpegandroid
最新版ffmpeg3.3-android,并通过CMake方式移植到Android中,并实现编解码,转码,推拉流,滤镜等各种功能
Stars: ✭ 526 (-36.17%)
Mutual labels:  ffmpeg, ffmpeg-android
Kotlinffmpeg
Examples of using FFMpeg library on Android with Kotlin
Stars: ✭ 138 (-83.25%)
Mutual labels:  ffmpeg, ffmpeg-android
Ffplayer
a video player based on ffmpeg for win32 and android platform.
Stars: ✭ 210 (-74.51%)
Mutual labels:  ffmpeg, ffmpeg-android
Fwf
HTML video editor with FFmpeg
Stars: ✭ 128 (-84.47%)
Mutual labels:  ffmpeg, video-editor
Editly
Slick, declarative command line video editing & API
Stars: ✭ 3,162 (+283.74%)
Mutual labels:  ffmpeg, video-editor
Bzijkplayer
基于cmake构建的ijkPlayer
Stars: ✭ 23 (-97.21%)
Mutual labels:  ffmpeg, ffmpeg-android
FFmpeg-3.4-Android
This repository helps to compile FFmpeg 3.4 Version for Android using Android NDK Standalone Toolchain.
Stars: ✭ 23 (-97.21%)
Mutual labels:  ffmpeg, ffmpeg-android
Ffmpeg Video Editor Android
Sample android project using ffmpeg for cutting and compressing video,reversing video,extracting image frames from video,extracting audio from video,add fade in fade out effect,create fast and slow motion video
Stars: ✭ 414 (-49.76%)
Mutual labels:  ffmpeg, ffmpeg-android
Ffmpeg Android
FFMpeg/FFprobe compiled for Android
Stars: ✭ 592 (-28.16%)
Mutual labels:  ffmpeg, ffmpeg-android

项目介绍

实现Android上使用ffmpeg进行视频裁剪,压缩功能。类似视频裁剪功能的开源项目,个人觉得非常稀缺。 不像ios开源的那么多,自己在开发过程中也是不断的摸索,其中也遇到不少蛋疼的问题。 现在简单说一下这个项目实现。

使用到相关技术

  • FFmpeg实现裁剪视频
  • FFmpeg实现裁剪之后的视频压缩
  • 采用Loader或者ContentProvider获取所有视频资源
  • 采用VideoView播放视频
  • 采用RecycleView显示视频的帧图片
  • 通过MediaMetadataRetriever获取视频帧的Bitmap
  • View的自定义

功能扩展思考

视频裁剪功能之后往往涉及到视频的压缩和上传,每一个功能都是Android开发中的高阶内容,比如说视频的压缩,压缩库其实开源的有一些, 但是能达到压缩比高、压缩速度快,同时又保证视频的质量,这样的开源库还是比较少的。 在这个项目中,我只是简单的实现了裁剪后的视频压缩,想达到一个好的压缩效果,还需要在项目中对视频压缩参数进行调整, 大家可以fork项目进行相应的移植和修改。

其他

  • 视频裁剪完成,会将裁剪好的视频输出保存至应用的Android->data->包名->cache文件夹中
  • 联系方式 Email: [email protected] WeChat: 516799851

欢迎star、fork和issues.

License

See the LICENSE file.

项目重构后的视频截图

videoTrim2

项目重构前的视频截图

VideoTrim

Maintainers

Contributors

Original Author: iknow4

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