[ONE Original Android Development] nailyk:
Hello

Thanks a lot for the ROM.

It is amazing to have an up to date (an officially supported) LineageOS !

The only issue we found is the Camera Video Recording is not working. (22-09-2022 build)

It seems there is a missing codec or framebuffer issue:

mm-camera: isp_util_set_cds_mode3367] Invalid subsample mode -2
CameraClient: setVideoBufferMode: 604: videoBufferMode 2 is not supported
OMXUtils: do not know color format 0x7fa30c04 = 2141391876
ACodec : [OMX.qcom.video.encoder.avc] cannot encode color aspects. Ignoring

11-24 09:47:09.746 8440 8440 V CAM_VideoModule: startVideoRecording
11-24 09:47:09.749 8440 8440 D CameraStorage: External storage state=mounted
11-24 09:47:09.752 8440 8440 D CameraStorage: External storage state=mounted
11-24 09:47:09.753 8440 8440 V CAM_VideoModule: initializeRecorder
11-24 09:47:09.754 8440 8440 I CAM_VideoModule: NOTE: hfr = off : hsr = off
11-24 09:47:09.762 480 2669 W StagefrightRecorder: Max file duration is not positive: 0 us. Disabling duration limit.
11-24 09:47:09.762 480 2669 W StagefrightRecorder: Target duration (0 us) too short to be respected
11-24 09:47:09.763 8440 8440 V CAM_VideoModule: New video filename: /storage/emulated/0/DCIM/Camera/VID_20221124_094709.mp4
11-24 09:47:09.776 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:09.776 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:47:09.776 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.780 8440 8440 W AudioManager: Use of stream types is deprecated for operations other than volume control
11-24 09:47:09.780 8440 8440 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
11-24 09:47:09.781 689 10676 I MediaFocusControl: requestAudioFocus() from uid/pid 10146/8440 clientId=android.media.AudioManager@1fc63d9 callingPack=org.lineageos.snap req=2 flags=0x0 sdk=29
11-24 09:47:09.782 480 2669 D MPEG4Writer: PreAllocation disabled. fallocate : Operation not supported on transport endpoint, 95
11-24 09:47:09.788 12518 10893 E QCameraParameters: setPreviewFpsRange: FpsRange Values:(7500, 30000)
11-24 09:47:09.788 12518 10893 E QCameraParameters: setPreviewFpsRange: Requested FpsRange Values:(7500, 30000)
11-24 09:47:09.788 12518 10893 E QCameraParameters: UpdateHFRFrameRate: CameraParameters - : minFps = 7500, maxFps = 30000
11-24 09:47:09.788 12518 10893 E QCameraParameters: UpdateHFRFrameRate: Requested params - : minFps = 7500, maxFps = 30000
11-24 09:47:09.788 12518 10893 E QCameraParameters: UpdateHFRFrameRate: prevHfrMode - 0, currentHfrMode = 0
11-24 09:47:09.788 12518 10893 E QCameraParameters: HFR mode is OFF
11-24 09:47:09.788 12518 10893 E QCameraParameters: setPreviewFpsRange: UpdateHFRFrameRate 0
11-24 09:47:09.788 12518 10893 E QCameraParameters: setPreviewFpsRange: No change in FpsRange
11-24 09:47:09.788 12518 10893 E QCameraParameters: setSnapshotHDR :E 0. Snapshot HDR set to: off
11-24 09:47:09.789 12518 10893 E QCameraParameters: setSnapshotHDR :X 3. Snapshot HDR set to: prev_str off, prop off
11-24 09:47:09.789 12518 10893 E QCameraParameters: setSeeMore: str =off & prev_str =off
11-24 09:47:09.789 495 10913 E mm-camera: isp_util_set_cds_mode3367] Invalid subsample mode -2
11-24 09:47:09.794 12518 12518 E CameraClient: setVideoBufferMode: 604: videoBufferMode 2 is not supported.
11-24 09:47:09.797 480 10963 I OMXClient: IOmx service obtained
11-24 09:47:09.798 486 486 I OMXMaster: makeComponentInstance(OMX.qcom.video.encoder.avc) in android.hardwar process
11-24 09:46:57.465 0 0 I msm_vidc: 4: Opening video instance: 00000000, 0
11-24 09:46:57.472 0 0 I ueventd : firmware: loading 'venus.mdt' for '/devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus'
11-24 09:46:57.473 0 0 I ueventd : loading /devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus took 0ms
11-24 09:46:57.474 0 0 I pil_venus fdce0000.qcom,venus: venus: loading from 0x07500000 to 0x07a00000
11-24 09:47:09.808 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.810 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:09.810 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:46:57.484 0 0 I ueventd : firmware: loading 'venus.b02' for '/devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus'
11-24 09:46:57.493 0 0 I ueventd : loading /devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus took 8ms
11-24 09:46:57.498 0 0 I ueventd : firmware: loading 'venus.b03' for '/devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus'
11-24 09:46:57.498 0 0 I ueventd : loading /devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus took 0ms
11-24 09:47:09.844 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:46:57.509 0 0 I ueventd : firmware: loading 'venus.b04' for '/devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus'
11-24 09:46:57.510 0 0 I ueventd : loading /devices/fdce0000.qcom,venus/firmware/fdce0000.qcom,venus took 0ms
11-24 09:46:57.529 0 0 I pil_venus fdce0000.qcom,venus: venus: Brought out of reset
11-24 09:47:09.875 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.876 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:09.876 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:46:57.543 0 0 D msm_vidc: 1: No more formats found
11-24 09:47:09.882 480 10962 I MediaCodec: MediaCodec will operate in async mode
11-24 09:47:09.883 486 2832 E OMXNodeInstance: getParameter(0xa5802d64:qcom.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a)
11-24 09:47:09.883 486 514 W OMXNodeInstance: [0xa5802d64:qcom.encoder.avc] component does not support metadata mode; using fallback
11-24 09:47:09.883 480 10963 W OMXUtils: do not know color format 0x7fa30c04 = 2141391876
11-24 09:47:09.883 480 10963 W OMXUtils: do not know color format 0x7f000789 = 2130708361
11-24 09:47:09.888 480 10963 I ACodec : setupAVCEncoderParameters with [profile: Baseline] [level: Level4]
11-24 09:47:09.889 480 10963 I ACodec : [OMX.qcom.video.encoder.avc] cannot encode color aspects. Ignoring.
11-24 09:47:09.889 480 10963 I ACodec : [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
11-24 09:47:09.889 480 10963 I ACodec : setupVideoEncoder succeeded
11-24 09:47:09.890 486 514 E OMXNodeInstance: getConfig(0xa5802d64:qcom.encoder.avc, ConfigLatency(0x6f800005)) ERROR: UnsupportedIndex(0x8000101a)
11-24 09:47:09.891 486 486 E OMXNodeInstance: getConfig(0xa5802d64:qcom.encoder.avc, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a)
11-24 09:47:09.903 480 10962 W ResourceManagerService: Ignoring request to add new resource entry with value <= 0
11-24 09:47:09.908 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.910 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:09.910 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:47:09.911 386 2148 E APM::AudioPolicyEngine: getDeviceForInputSource() no default device defined
11-24 09:47:09.911 386 2148 W APM_AudioPolicyManager: getInputForAttr() could not find device for source 5
11-24 09:47:09.911 386 2148 E AudioFlinger: createRecord() getInputForAttr return error -22
11-24 09:47:09.911 480 2669 E IAudioFlinger: createRecord returned error -22
11-24 09:47:09.911 480 2669 E AudioRecord: createRecord_l(-1425481584): AudioFlinger could not create record track, status: -22
11-24 09:47:09.911 480 2669 E StagefrightRecorder: audio source is not initialized
11-24 09:47:09.911 480 2669 D MPEG4Writer: reset()
11-24 09:47:09.911 480 2669 D MPEG4Writer: release()
11-24 09:47:09.921 480 2669 D MPEG4Writer: Video track stopping. Stop source
11-24 09:47:09.921 480 2669 E MPEG4Writer: Stop() called but track is not started or stopped
11-24 09:47:09.921 8440 8440 E MediaRecorder: start failed: -2147483648
11-24 09:47:09.926 8440 8440 V CAM_VideoModule: Releasing media recorder.
11-24 09:47:09.943 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.950 3534 28701 I MediaProvider: Deleted 1 items on external_primary due to org.lineageos.snap
11-24 09:47:09.954 8440 8440 V CAM_VideoModule: Empty video file deleted: /storage/emulated/0/DCIM/Camera/VID_20221124_094709.mp4
11-24 09:47:09.954 480 2668 W StagefrightRecorder: stop while neither recording nor paused
11-24 09:46:57.543 0 0 D msm_vidc: 1: No more formats found
11-24 09:46:57.621 0 0 D msm_vidc: 1: HFI Error: -2147483642
11-24 09:46:57.627 0 0 I msm_vidc: 4: Closed video instance: 00000000
11-24 09:47:09.963 480 2668 I BpBinder: onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
11-24 09:47:09.963 480 520 W StagefrightRecorder: stop while neither recording nor paused
11-24 09:47:09.963 480 2820 W StagefrightRecorder: stop while neither recording nor paused
11-24 09:47:09.964 689 3515 I MediaFocusControl: abandonAudioFocus() from uid/pid 10146/8440 clientId=android.media.AudioManager@1fc63d9
11-24 09:47:09.976 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:09.976 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:09.977 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:47:09.979 8440 8440 V CAM_VideoUI: Shutter Button enabled !!
11-24 09:47:09.993 8440 8466 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
11-24 09:47:10.008 495 10922 E AEC_PORT: aec_port_send_exif_info_update: exp_Time:0.030004, iso:5400, flash:0
11-24 09:47:10.008 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:10.008 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21
11-24 09:47:10.042 12518 10934 E QCamera2HWI: metadata_stream_cb_routine: estimate info for AEC: exp time: 30000, iso: 5474 cur luma: 2, luma tgt: 21
11-24 09:47:10.042 12518 10893 E QCamera2HWI: #### estimate info for AEC: exp time: 30000, iso: 5474, cur luma: 2, luma tgt: 21

Any ideas ?