Skip to content

video scaling #17

@engr77

Description

@engr77

Hi,

I have been using VXG player to run multiple RTSP streams from cameras successfully so far. I have to scale the video returned as ByteBuffer from OnVideoRendererFrameAvailable() as 300x300 pixels image for further processing.

Original video is 640x480 or 1280x720. I dont see any method in VXG to scale stream down to any size. Do you have any suggestions? It will be extremely useful. Also, if there is method, does it use CPU or GPU for scaling down.

I know that android has APIs to scale down image, but they are very slow as they run on CPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions