[Android Q&A, Help & Troubleshooting] MrObvious:
If anyone wants to follow along, you can read here: http://xdaforums.com/showthread.php?t=3259281

Essentially I'm trying to compile CM 12.1 for the LG G Stylo and it works quite well. Video recording is the last thing not working and I'm just reaching out to see if anyone is familiar with what may be wrong. Here's the relevant lines of the adb logcat:

E/QCamera2HWI( 298): getParameters() mbLowluminanceCondition = 0, mbLowluminanceConditionForVideo = 0, mbBacklightCondition = 0

E/QCamera2HWI( 298): getParameters() Flash is not firing !!!

E/QCameraStateMachine( 298): stateMachine : m_state [2], evt [8]

E/QCameraStateMachine( 298): stateMachine : m_state [2], evt [13]

E/QCameraStateMachine( 298): stateMachine : m_state [2], evt [13]

I/ExtendedUtils( 298): Invalid HFR rate specified : 0

I/ExtendedUtils( 298): Invalid HSR rate specified : 0

W/ExtendedUtils( 298): Invalid HFR rate specified

D/MediaCodecSource( 298): bitrate:12000000, samplerate:0, channels:0

I/OMX-VENC( 298): Component_init : OMX.qcom.video.encoder.avc : return = 0x0

E/OMX-VENC( 298): set_parameter: metamode is valid for input port only

W/OMXNodeInstance( 298): [77:qcom.encoder.avc] component does not support metadata mode; using fallback

E/ACodec ( 298): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010

W/ACodec ( 298): do not know color format 0x7fa30c04 = 2141391876

W/ACodec ( 298): do not know color format 0x7f000789 = 2130708361

E/ACodec ( 298): [OMX.qcom.video.encoder.avc] does not support color format 39

E/ACodec ( 298): [OMX.qcom.video.encoder.avc] configureCodec returning error -2147483648

E/ACodec ( 298): [OMX.qcom.video.encoder.avc] configureCodec returning error -2147483648

E/ACodec ( 298): signalError(omxError 0x80001001, internalError -2147483648)

E/MediaCodec( 298): Codec reported err 0x80001001, actionCode 0, while in state 3

E/MediaCodec( 298): configure failed with err 0x80001001, resetting...

I/OMX-VENC( 298): Component Deinit

D/mm-camera( 305): cpp_module_handle_stream_crop_event:785 frame id 42 stream_crop.x=0, stream_crop.y=0, stream_crop.dx=1280, stream_crop.dy=720, width 0 height 0 identity=0x20002

I/OMX-VENC( 298): Component_init : OMX.qcom.video.encoder.avc : return = 0x0

I/OMX-VENC( 298): Component Deinit

E/StagefrightRecorder( 298): Failed to create video encoder

D/CameraSource( 298): reset: E

W/CameraClient( 298): attempt to use a locked camera from a different process (old pid 298, new pid 22939)

E/QCameraStateMachine( 298): stateMachine : m_state [2], evt [16]

D/CameraSource( 298): reset: X

E/MediaRecorder(22939): start failed: -2147483648

E/CAM_VideoModule(22939): Could not start media recorder.

E/CAM_VideoModule(22939): java.lang.RuntimeException: start failed.

E/CAM_VideoModule(22939):	at android.media.MediaRecorder.start(Native Method)

E/CAM_VideoModule(22939):	at com.android.camera.VideoModule$11.onStorageUpdateDone(VideoModule.java:1388)

E/CAM_VideoModule(22939):	at com.android.camera.CameraActivity$18.onPostExecute(CameraActivity.java:2164)

E/CAM_VideoModule(22939):	at com.android.camera.CameraActivity$18.onPostExecute(CameraActivity.java:2149)

I'm thinking it's really related to this commit being close, but not sure: https://github.com/TeamRegular/android_frameworks_av/commit/d5de1e7b636ba5673a2b20be8685287ff60fb487

Did some Googling.

W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876

http://alumnus.caltech.edu/~heirich/styled-6/index.html

COLOR_QCOM_FormatYUV420SemiPlanar32m

W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361

https://lists.freedesktop.org/archiv...er/043721.html

OMX_COLOR_FormatAndroidOpaque

Thoughts?