Giter Site home page Giter Site logo

alivideorecorder's Introduction

ALiVideoRecorder

边录边写,不用Move文件,不用转码

0、 功能简介

最近APP中用到了视频的录制功能,原有的功能是在录制视频结束之后将视频转换为mp4格式。

这种做法的一个缺点是需要转码的时间且视频越大需要的时间就越久,影响用户的交互

这里我们使用了边录边写的方案,具体实现可以查看代码

同时,这次我添加了强制横屏的做法,用户在竖屏的状态下会给用户一个提示,让用户横屏后进行录制。

这种录制方法可以自定义视频的各类属性 包含码率等视频属性,所以为了如果你觉得录制后的视频过大,可以通过修改视频写入的属性,定义输出视频的大小。

如果帮到了你,请帮我请高抬贵手,帮我star一下

1、 功能目录

功能目录

2、竖屏录制视频

竖屏录制视频

3、视频录制后预览

视频录制后预览

4、横屏录制视频

横屏录制视频

5、强制横屏标识

强制横屏标识

alivideorecorder's People

Contributors

leewongsnail avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.