Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/226.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Galaxy Camera使用ACTION_video_CAPTURE Intent录制320x480视频_Android_Camera_Galaxy - Fatal编程技术网

Android Galaxy Camera使用ACTION_video_CAPTURE Intent录制320x480视频

Android Galaxy Camera使用ACTION_video_CAPTURE Intent录制320x480视频,android,camera,galaxy,Android,Camera,Galaxy,我使用以下代码在Galaxy Camera上启动视频捕获: Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1); // With and without this, it yields same resolution startActivityForResult(intent, 2); 默认视频分辨率为320x240@30

我使用以下代码在Galaxy Camera上启动视频捕获:

Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1); // With and without this, it yields same resolution
startActivityForResult(intent, 2); 
默认视频分辨率为320x240@30fps。如何将其更改为使用尽可能高的视频分辨率,即1920x1080

如何将其更改为使用尽可能高的视频分辨率,即1920x1080


直接使用
MediaRecorder
。您不能强制第三方相机应用程序(无论该应用程序是什么)以任何特定分辨率进行录制。尽管您使用的任何应用程序都应该以不同的分辨率录制不同的
额外视频质量值
,但并不要求它这样做。

@ejo4041您遇到过吗?我正在使用Galaxy camera的库存摄像头应用程序。股票相机应用程序应该尊重它,不是吗?@Taranfx:理论上,他们应该尊重它。理论上,我会留头发。:-)