google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.22k stars 607 forks source link

Record video that captured from camera #438

Open IamMathankumar opened 5 years ago

IamMathankumar commented 5 years ago

I want to record a video using camera2 API in sceneform, Just like this example https://github.com/googlesamples/android-Camera2Video

Is this possible to record only the camera frames? If it's possible please give me some idea to proceed

stevesamknows commented 5 years ago

This may be of some use: https://github.com/google-ar/sceneform-android-sdk/issues/83

siranjeevi-aximsoft commented 5 years ago

Hi MathanKumar

Please refer Android sceneform latest SDK version 1.6. They provided video recording feature few hours ago. I didn't check yet.

claywilkinson commented 5 years ago

@IamMathankumar - Why not use the Camera2 API? Can you explain your goal a little more? Why do you want to record the camera, but use AR? (The assumption being you want to record the AR experience, not just the camera).

IamMathankumar commented 5 years ago

@claywilkinson Hi, We needs to show AR objects when user recording video but we want to save video without AR objects. For instance I have rendered Android View for twenty meters from the current position and then user will start walk from current position to twenty meters from the start position of rendered model (AR Object) to the end position of rendered model. Once video reordered user only want to see the camera frames from the recorded video.

Polinka commented 5 years ago

Need this feature also.