-
Notifications
You must be signed in to change notification settings - Fork 479
Description
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,