修改视频的帧高度
This commit is contained in:
@@ -11,8 +11,12 @@
|
||||
android:layout_height="match_parent">
|
||||
<com.otaliastudios.cameraview.CameraView
|
||||
android:id="@+id/camera"
|
||||
app:cameraVideoSizeMaxWidth="2500"
|
||||
app:cameraVideoSizeMaxArea="2750000"
|
||||
app:cameraVideoSizeMaxArea="3686400"
|
||||
app:cameraVideoSizeMinArea="1166400"
|
||||
app:cameraVideoSizeMaxHeight="1920"
|
||||
app:cameraVideoSizeMinHeight="1080"
|
||||
app:cameraVideoSizeMaxWidth="1920"
|
||||
app:cameraVideoSizeMinWidth="1080"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:keepScreenOn="true"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
android:id="@+id/camera"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:cameraPictureSizeMaxArea="1000000"
|
||||
app:cameraPictureSizeMinArea="600000"
|
||||
app:cameraPictureSizeMaxArea="921600"
|
||||
app:cameraPictureSizeMinArea="518400"
|
||||
app:cameraPictureSizeMaxWidth="960"
|
||||
app:cameraPictureSizeMinHeight="720"
|
||||
app:cameraPictureSizeMinWidth="720"
|
||||
|
||||
Reference in New Issue
Block a user