使用内置录音机录制的视频在Android中播放颠倒

时间:2014-02-22 19:20:43

标签: android video

我使用以下代码启动内置录像机并使用前置摄像头以纵向模式录制视频

 Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
 if (takeVideoIntent.resolveActivity(getPackageManager()) != null) 
 {
    startActivityForResult(takeVideoIntent, REQUEST_VIDEO_CAPTURE);
 }

当我从图库中打开视频时,它会 颠倒

我通过从菜单启动摄像机测试它,并在前置摄像头处于纵向模式下录制视频。在播放时,它也有缺陷并且颠倒过来。

这是手机错误吗?它与三星和索尼进行了测试,两者都颠倒了。 任何人都可以验证每部手机都有这个错误吗?

1 个答案:

答案 0 :(得分:0)

嗯,简而言之:不,供应商甚至不尝试旋转录制的视频(很可能在Android系统中无法实现)。

SONY 验证,手机 Xperia J 。他们的官方回答不包括使用前置摄像头使用人像模式:

Dear Mr. ....., 
Thank you for contacting Sony Xperia Support. 
With regards to your inquiry we would like to inform you that you can use the front camera to record video in the following way.
1. From the Home screen tap the Application screen icon.
2. Find and tap Camera.
3. If the video camera is not selected, drag the icon next to the on-screen button to the left side.
4. Select the Front video mode.
5. Hold the phone in landscape orientation.
6. Tap to start recording.
7. At the end of your video tap to stop recording.
In that way you will not see your videos upside down.
In case you have further issue or question, do not hesitate to contact us. We are always at your disposal. For more information on our products, services and support please visit www.sonymobile.com. 
Please be aware that if you do not respond within 7 days of this email your query will be automatically closed. Any further communications will not reach our support and a new query will need to be raised.

Kind Regards,
xxxxxxxxx
Sony Xperia Support