Skip to content

Low Bitrate and framerate issue  #523

@DannyFilo

Description

@DannyFilo

Hello everyone. Hope you're having a nice day.

I see some issues already were reported in the past but closed really with no solution.
Default bitrate and framerate of 1920x1080 video is unfortunately terrible ... have artifacts like from 240p videos and max 20-24 fps on Galaxy S21.

The issue seems to be that default bitrate is hardcoded to 1650000 in CGEFrameRecorder.java

    public boolean startRecording(int fps, String filename) {
        return startRecording(fps, 1650000, filename);

Additionally seems the method public boolean startRecording(int fps, int bitRate, String filename) from CGEFrameRecorder.java is not matching startRecording method from CameraRecordGLSurfaceView and I mostly use CameraRecordGLSurfaceView in my project.

Could anyone help me to add proper startRecording method with fps,bitrate to CameraRecordGLSurfaceView to be able to use my own bitrate and fps ?

100 thanks is advance,

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