Android的MediaRecorder发布()的问题,视频采集是不是在纵向模式 [英] Android MediaRecorder release() issue and Video capturing is not in portrait mode
问题描述
我现在面临的一些问题而开发的视频捕获应用。
I am facing some issue while developing Video capturing application.
1)当我开始捕捉视频中,表面观
进来横向模式。我尝试了很多。但我失败了。我还提到结果
<一href=\"http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setRotation%28int%29\" rel=\"nofollow\">http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setRotation%28int%29 ..但没有结果。
1) When I start capturing the Video, the surface view
comes in landscape mode. I tried a lot. But i failed. I also referred
http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setRotation%28int%29 .. but no result
2)我使用发布()
方法。但是当我们使用,捕获应用后得到休息。如果我在DONOT存储卡使用这个有没有一个视频捕获任何和零大小。
2) I am using release()
method. but when we use that, after capturing application get closed. if I donot use this in memory card there is a video with no any capture and zero size.
任何机构可以解释它为什么发生这样的吗?
Can any body explain why it is happening so?
由于提前
推荐答案
我有一个线程同样的问题,创造的问题,我先停止线程和我的活度低于....问题消失了........ ......
I have same issue for thread create problem and i stop first thread and my activity is below....Problem is gone.......... ...
<activity android:name=".SensorTest"
android:windowSoftInputMode="adjustPan" android:screenOrientation="sensor"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</activity>
这篇关于Android的MediaRecorder发布()的问题,视频采集是不是在纵向模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!