资源简介


android视频录制,模仿微视,支持按下录制、抬起暂停。进度条断点显示。

视频录制存在的问题:

1.如何获取摄像头的数据

2.如何把获取到的数据保存到视频文件中

3.如何录制音频,并和视频合并

4.录制视频时如何实现暂停功能

5.android摄像头支持的分辨率可能不符合需求,需要转换分辨率

6.android手机录制出来的视频是旋转了90度的,如何实现旋转(转换到前置摄像头又如何处理)

7.视频旋转、利用图片合成视频、使用本地视频剪辑、后期视频特效添加等等

这里只是解决了1、2、3、4、5、6。7


代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.qd.videorecorder.test;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.qd.videorecorder.test“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = -1;
  public static final String VERSION_NAME = ““;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-06-24 12:35  VideoRecorder-master\
     文件         332  2015-06-24 12:35  VideoRecorder-master\.gitignore
     目录           0  2015-06-24 12:35  VideoRecorder-master\.gradle\
     目录           0  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\
     目录           0  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\
     文件          30  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\cache.properties
     文件          17  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\cache.properties.lock
     文件       32657  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\fileHashes.bin
     文件       66860  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\fileSnapshots.bin
     文件       19592  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\outputFileStates.bin
     文件       35315  2015-06-24 12:35  VideoRecorder-master\.gradle\2.2.1\taskArtifacts\taskArtifacts.bin
     目录           0  2015-06-24 12:35  VideoRecorder-master\.settings\
     文件         244  2015-06-24 12:35  VideoRecorder-master\.settings\org.eclipse.core.resources.prefs
     文件         996  2015-06-24 12:35  VideoRecorder-master\README.md
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\
     文件         558  2015-06-24 12:35  VideoRecorder-master\app\build.gradle
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\com\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\com\qd\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\com\qd\videorecorder\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\com\qd\videorecorder\test\
     文件         455  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\androidTest\debug\com\qd\videorecorder\test\BuildConfig.java
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\debug\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\debug\com\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\debug\com\qd\
     目录           0  2015-06-24 12:35  VideoRecorder-master\app\build\generated\source\buildConfig\debug\com\qd\videorecorder\
............此处省略284个文件信息

评论

共有 条评论