在CameraX版本1.3-beta01中可以在视频录制中添加效果。有谁知道如何使用“CameraEffect”类添加效果(我猜是使用 openGL)?
我试图寻找教程或示例,但还没有找到
干杯!
您可以在 android 相机测试中查看示例 https://github.com/androidx/androidx/blob/androidx-main/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/ToneMappingSurfaceEffect.kt
https://github.com/androidx/androidx/blob/androidx-main/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/ToneMappingSurfaceProcessor.kt