没有preVIEW捕获视频 [英] Capture video without preview

查看:142
本文介绍了没有preVIEW捕获视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想捕捉的视频没有显示出preVIEW。这里的机器人文档说,这是可能的,但没有解释如何:

I want to capture video without showing a preview. The android docs here say this is possible, but don't explain how:

http://developer.android.com/guide/主题/媒体/ camera.html#捕捉视频

注:可以使用MediaRecorder无需先创建一个摄像头preVIEW并跳过前几个步骤,这个过程。然而,由于用户通常preFER看到了preVIEW开始录制之前,这个过程是不是这里讨论。

Note: It is possible to use MediaRecorder without creating a camera preview first and skip the first few steps of this process. However, since users typically prefer to see a preview before starting a recording, that process is not discussed here.

什么是前几个步骤跳过?

what are the "first few steps" to skip?

感谢您

推荐答案

您misinter $ P $磅的文档。它真的说什么( 强调我的):

You misinterpret the documentation. What it really says (emphasis mine):

有可能使用MediaRecorder没有的首先创建一个摄像头preVIEW 并跳过前几个步骤,这个过程。然而,由于用户通常preFER开始录制前,看到一个preVIEW的 ,这个过程是不是这里讨论。

It is possible to use MediaRecorder without creating a camera preview first and skip the first few steps of this process. However, since users typically prefer to see a preview before starting a recording, that process is not discussed here.

在换句话说,你可以创建一个preVIEW并立即开始录制。没有一丝的 MediaRecorder 将让你运行一个隐藏的录音片段。

In other words, you can create a preview and immediately start recording. There is no hint that MediaRecorder will let you run a hidden recording session.

此外,我同意文件,不启动preVIEW开始记录之前的附加值,可以忽略不计。

Moreover, I agree with the document that the added value of not starting preview before starting recording, is negligible.

这篇关于没有preVIEW捕获视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆