All Projects → liuchaotclc → videoedit

liuchaotclc / videoedit

Licence: other
模仿抖音分屏效果 同时支持滤镜和旋转

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to videoedit

Dkvideoplayer
Android Video Player. 安卓视频播放器,封装MediaPlayer、ExoPlayer、IjkPlayer。模仿抖音并实现预加载,列表播放,悬浮播放,广告播放,弹幕
Stars: ✭ 3,796 (+16404.35%)
Mutual labels:  tiktok
TikTokBot
Bot save videos from instagram and then post them to Tik-Tok
Stars: ✭ 21 (-8.7%)
Mutual labels:  tiktok
tiktok-downloader
Download TikTok Video Watermark
Stars: ✭ 20 (-13.04%)
Mutual labels:  tiktok
Androidcamera
🔥🔥🔥自定义Android相机(仿抖音 TikTok),其中功能包括视频人脸识别贴纸,美颜,分段录制,视频裁剪,视频帧处理,获取视频关键帧,视频旋转,添加滤镜,添加水印,合成Gif到视频,文字转视频,图片转视频,音视频合成,音频变声处理,SoundTouch,Fmod音频处理。 Android camera(imitation Tik Tok), which includes video editor,audio editor,video face recognition stickers, segment recording,video cropping, video frame processing, get the first video frame, key frame, v…
Stars: ✭ 2,112 (+9082.61%)
Mutual labels:  tiktok
TikTokTool
TikTok trend analysis tool
Stars: ✭ 31 (+34.78%)
Mutual labels:  tiktok
TikTok-Video-Downloader-PHP
A simple but effective one page TikTok video downloader(watermark free) script developed by Tufayel
Stars: ✭ 214 (+830.43%)
Mutual labels:  tiktok
Musically-API
TikTok Reverse Engineered Private API (Previously Musically App)
Stars: ✭ 22 (-4.35%)
Mutual labels:  tiktok
video-to-markdown
How to embed a video in markdown? Here the answer. Add videos to your markdown files easier.
Stars: ✭ 159 (+591.3%)
Mutual labels:  tiktok
VideoDownloader
更流畅更便捷的下载动作片
Stars: ✭ 44 (+91.3%)
Mutual labels:  tiktok
tiktok-autoviews
Get unlimited Tik Tok views.
Stars: ✭ 90 (+291.3%)
Mutual labels:  tiktok
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+8334.78%)
Mutual labels:  tiktok
gatsby-plugin-gdpr-cookies
Gatsby plugin to add Google Analytics (V4 is supported), Google Tag Manager, Facebook Pixel, TikTok Pixel and Hotjar in a GDPR form to your site.
Stars: ✭ 88 (+282.61%)
Mutual labels:  tiktok
Video2ASCIIArt
🎥 🎨一个将普通视频实时转换为字符画视频的Vue组件
Stars: ✭ 48 (+108.7%)
Mutual labels:  video-filter
Clone Wars
100+ open-source clones of popular sites like Airbnb, Amazon, Instagram, Netflix, Tiktok, Spotify, Whatsapp, Youtube etc. See source code, demo links, tech stack, github stars.
Stars: ✭ 12,604 (+54700%)
Mutual labels:  tiktok
ByteDanceOpen
Bytedance(TikTok, Toutiao)third party open platform backend SDK, provides easy-to-use authorization, template management, code package management and other APIs.字节跳动(抖音, 头条)第三方开放平台小程序sdk, 提供了简单易用的授权,模版管理,代码包管理等api.
Stars: ✭ 67 (+191.3%)
Mutual labels:  tiktok
aboutmeinfo-telegram-bot
ℹ️ About Me Info Bot: Share your social media and links on Telegram
Stars: ✭ 20 (-13.04%)
Mutual labels:  tiktok
tiktok-dl
Free TikTok Video Downloader | Watermark and Without Watermark Support
Stars: ✭ 68 (+195.65%)
Mutual labels:  tiktok
TikTokDownloader PyWebIO
🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音|TikTok数据爬取工具,支持API调用,在线批量解析及下载。
Stars: ✭ 919 (+3895.65%)
Mutual labels:  tiktok
TimeView
时间罗盘,已经可以看到效果了
Stars: ✭ 32 (+39.13%)
Mutual labels:  tiktok
react-native-scrollable-tabview
Based on pure JS scripts, without relying on native, no need for react-native link, Title / Header / Tabs / Sticky / Screen components can be flexibly configured, among which Tabs / Sticky can slide When it reaches the top, it will be topped.
Stars: ✭ 136 (+491.3%)
Mutual labels:  tiktok

源码导读

预览

image

工程概述

入口页面为MainActivity,主页面首先获取文件读写权限,先从视频文件选择页面(VideoPickActivity)选取视频。 获取视频返回MainActivity,判断视频数据时长,打开视频编辑页TrimVideoActivity。 TrimVideoActivity 支持旋转 滤镜 分屏 裁剪多种操作 视频编辑之后进入封面选择页面:SelCoverTimeActivity,封面选择支持@和#操作 视频裁剪滤镜支持配置:VideoFilterConfig,可以调节:

  • VIDEO_INPUT_LENGTH_MAX = 3*60;//60整数倍,展示提示时展示最长多少分钟
  • VIDEO_INPUT_LENGTH_MIN = 5;//最小视频导入时长
  • VIDEO_CAPTURE_LENGTH_MAX = 60;//最长裁剪时长
  • VIDEO_CAPTURE_LENGTH_MIN = 3;//最短裁剪时长
  • VIDEO_CACHE_FILE_DIR = "small_video/trimmedVideo";//视频临时文件缓存路径

总体流程

图片滤镜的总体流程如下:

  • 入口页面为MainActivity(获取文件读写权限),在调用模块之前需要先获取相应权限
  • 视频编辑页面 VideoPickActivity 支持常用滤镜和分屏操作。同时支持旋转和滤镜同时操作
  • 封面选择页 SelCoverTimeActivity 支持@和#,封面拖动选择 点击选择

主要第三方库

  • 视频裁剪处理 isoparser

工程结构说明

源码主要分成四个 package :effect、filter、pickvideo、trimvideo 和 selcover。

  • effect:滤镜效果处理包。
  • filter:滤镜脚本。
  • pickvideo:选取视频。
  • selcover:选取封面。
  • trimvideo:裁剪视频。

下面具体介绍 videoEdit 包下的子包结构:

  • 一级目录:所有 MainActivity、Application。
  • composer:视频处理相关。
  • model:数据模型。
  • utils: 相关工具。
  • view:自定义view。
  • VideoFilterConfig: 视频配置。

重点类说明

  • GlFilter : 滤镜渲染基类,所有滤镜旋转、滤镜效果、纹理映射、矩阵传递等。
  • VideoGlRender:视频滤镜渲染器,同样包含GlFilter相关操作。
  • TrimVideoActivity: 滤镜效果、分屏、旋转操作页面。简单状态机处理渲染和裁剪状态。
  • SelCoverTimeActivity:获取封面、分享 mVideoPath为视频路径 mSelCoverAdapter.getDataList().get(mScrollerPosition).path为图片路径

重要提示

  • 视频缓存文件要在使用完滤镜后删除,不然会越来越多。在SelCoverTimeActivity的onDestroy方法中有删除示例
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].