Skip to content

Use CameraX with VideoCapture use case as input #2030

@aloz77

Description

@aloz77

I'm wondering if there a good way to use the CameraX to get the video stream without using a preview?

Sandeep Raghuraman described an interesting approach to use VideoCapture use case to get the video stream at https://medium.com/@sandeepraghuraman/video-streaming-with-camerax-8549a0c86d21

Is it somehow possible to use a Surface drawn up by VideoCapture in RootEncoder ? I can't see a way to access videoEncoder.getInputSurface() and to prevent glInterface.start() unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions