Skip to content

video scaling #17

Open
Open

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.

Activity

  1. VideoExpertsGroup1 commented on May 22, 2018

    @VideoExpertsGroup1
    Member

    There is not scaling before OnVideoRendererFrameAvailable.
    You need to scale it using shaders or s/w convertsion.
    We can customize this function but it is not free.

    Thanks,
    Expert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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