[LineageOS Questions & Answers] XDADoog:
Hi, I'm happily using an xt1543 moto g with Lineageos 14.1.

So far, the only problem I have is the whatsapp not sending video. But (not an expert but I did my homework), I used logcat to try to pinpoint the error here:

07-06 17:23:20.079 I/cr_LibraryLoader(13182): Time to load native libraries: 149 ms (timestamps 4388-4537)
07-06 17:23:20.091 I/chromium(13182): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
07-06 17:23:20.093 I/cr_LibraryLoader(13182): Expected native library version number "67.0.3396.87", actual native library version number "67.0.3396.87"
07-06 17:23:20.139 E/libEGL (13182): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
07-06 17:23:20.142 I/Adreno-EGL(13182): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.2.9_RB1__release_AU (I750f7f2fa6)
07-06 17:23:20.142 I/Adreno-EGL(13182): OpenGL ES Shader Compiler Version: XE031.09.00.03
07-06 17:23:20.142 I/Adreno-EGL(13182): Build Date: 02/18/17 Sat
07-06 17:23:20.142 I/Adreno-EGL(13182): Local Branch:
07-06 17:23:20.142 I/Adreno-EGL(13182): Remote Branch: quic/LA.BR.1.2.9_rb1.12
07-06 17:23:20.142 I/Adreno-EGL(13182): Local Patches: NONE
07-06 17:23:20.142 I/Adreno-EGL(13182): Reconstruct Branch: NOTHING
07-06 17:23:20.161 W/CrGpuMain(13182): type=1400 audit(0.0:13131): avc: denied { read } for uid=10083 name="gpuclk" dev="sysfs" ino=11455 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-06 17:23:20.165 W/Adreno-ES20(13182): <get_gpu_clk:229>: open failed: errno 13
07-06 17:23:20.218 I/OMX-VDEC-1080P(327): omx_vdec::component_deinit() complete
07-06 17:23:20.225 I/OMX-VDEC-1080P(327): Exit OMX vdec Destructor: fd=32
07-06 17:23:20.362 W/VideoCapabilities(13182): Unrecognized profile 2130706433 for video/avc
07-06 17:23:20.402 W/VideoCapabilities(13182): Unrecognized profile/level 0/3 for video/mpeg2
07-06 17:23:20.449 W/art (11843): Long monitor contention with owner netscheduler-queue-handler (12052) at void vww.a(vws, vuk)(:com.google.android.gms@12685021@12.6.85 (040306-197041431):138) waiters=0 in void vww.a(boolean, vvd) for 477ms
07-06 17:23:20.484 I/VideoCapabilities(13182): Unsupported profile 4 for video/mp4v-es
07-06 17:23:20.504 W/AudioCapabilities(13182): Unsupported mime audio/ac3
07-06 17:23:20.508 W/AudioCapabilities(13182): Unsupported mime audio/alac
07-06 17:23:20.510 W/AudioCapabilities(13182): Unsupported mime audio/x-ape
07-06 17:23:20.513 W/AudioCapabilities(13182): Unsupported mime audio/ffmpeg
07-06 17:23:20.516 W/AudioCapabilities(13182): Unsupported mime audio/dts
07-06 17:23:20.520 W/AudioCapabilities(13182): Unsupported mime audio/mpeg-L2
07-06 17:23:20.522 W/AudioCapabilities(13182): Unsupported mime audio/vnd.rn-realaudio
07-06 17:23:20.524 W/AudioCapabilities(13182): Unsupported mime audio/x-ms-wma
07-06 17:23:20.526 W/VideoCapabilities(13182): Unsupported mime video/divx
07-06 17:23:20.532 W/VideoCapabilities(13182): Unsupported mime video/x-flv
07-06 17:23:20.546 W/VideoCapabilities(13182): Unsupported mime video/vnd.rn-realvideo
07-06 17:23:20.551 W/VideoCapabilities(13182): Unsupported mime video/vc1
07-06 17:23:20.555 W/VideoCapabilities(13182): Unsupported mime video/ffmpeg
07-06 17:23:20.560 W/VideoCapabilities(13182): Unsupported mime video/x-ms-wmv
07-06 17:23:21.048 W/dboxed_process0(13162): type=1400 audit(0.0:13132): avc: denied { getattr } for uid=99175 path="/data/data/com.android.chrome" dev="mmcblk0p42" ino=61441 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
07-06 17:23:21.133 I/cr_ChildProcessService(13162): Creating new ChildProcessService pid=13162
07-06 17:23:20.079 I/cr_LibraryLoader(13182): Time to load native libraries: 149 ms (timestamps 4388-4537)
07-06 17:23:20.091 I/chromium(13182): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
07-06 17:23:20.093 I/cr_LibraryLoader(13182): Expected native library version number "67.0.3396.87", actual native library version number "67.0.3396.87"
07-06 17:23:20.139 E/libEGL (13182): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
07-06 17:23:20.142 I/Adreno-EGL(13182): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.2.9_RB1__release_AU (I750f7f2fa6)
07-06 17:23:20.142 I/Adreno-EGL(13182): OpenGL ES Shader Compiler Version: XE031.09.00.03
07-06 17:23:20.142 I/Adreno-EGL(13182): Build Date: 02/18/17 Sat
07-06 17:23:20.142 I/Adreno-EGL(13182): Local Branch:
07-06 17:23:20.142 I/Adreno-EGL(13182): Remote Branch: quic/LA.BR.1.2.9_rb1.12
07-06 17:23:20.142 I/Adreno-EGL(13182): Local Patches: NONE
07-06 17:23:20.142 I/Adreno-EGL(13182): Reconstruct Branch: NOTHING
07-06 17:23:20.161 W/CrGpuMain(13182): type=1400 audit(0.0:13131): avc: denied { read } for uid=10083 name="gpuclk" dev="sysfs" ino=11455 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-06 17:23:20.165 W/Adreno-ES20(13182): <get_gpu_clk:229>: open failed: errno 13
07-06 17:23:20.218 I/OMX-VDEC-1080P(327): omx_vdec::component_deinit() complete
07-06 17:23:20.225 I/OMX-VDEC-1080P(327): Exit OMX vdec Destructor: fd=32
07-06 17:23:20.362 W/VideoCapabilities(13182): Unrecognized profile 2130706433 for video/avc
07-06 17:23:20.402 W/VideoCapabilities(13182): Unrecognized profile/level 0/3 for video/mpeg2
07-06 17:23:20.449 W/art (11843): Long monitor contention with owner netscheduler-queue-handler (12052) at void vww.a(vws, vuk)(:com.google.android.gms@12685021@12.6.85 (040306-197041431):138) waiters=0 in void vww.a(boolean, vvd) for 477ms
07-06 17:23:20.484 I/VideoCapabilities(13182): Unsupported profile 4 for video/mp4v-es
07-06 17:23:20.504 W/AudioCapabilities(13182): Unsupported mime audio/ac3
07-06 17:23:20.508 W/AudioCapabilities(13182): Unsupported mime audio/alac
07-06 17:23:20.510 W/AudioCapabilities(13182): Unsupported mime audio/x-ape
07-06 17:23:20.513 W/AudioCapabilities(13182): Unsupported mime audio/ffmpeg
07-06 17:23:20.516 W/AudioCapabilities(13182): Unsupported mime audio/dts
07-06 17:23:20.520 W/AudioCapabilities(13182): Unsupported mime audio/mpeg-L2
07-06 17:23:20.522 W/AudioCapabilities(13182): Unsupported mime audio/vnd.rn-realaudio
07-06 17:23:20.524 W/AudioCapabilities(13182): Unsupported mime audio/x-ms-wma
07-06 17:23:20.526 W/VideoCapabilities(13182): Unsupported mime video/divx
07-06 17:23:20.532 W/VideoCapabilities(13182): Unsupported mime video/x-flv
07-06 17:23:20.546 W/VideoCapabilities(13182): Unsupported mime video/vnd.rn-realvideo
07-06 17:23:20.551 W/VideoCapabilities(13182): Unsupported mime video/vc1
07-06 17:23:20.555 W/VideoCapabilities(13182): Unsupported mime video/ffmpeg
07-06 17:23:20.560 W/VideoCapabilities(13182): Unsupported mime video/x-ms-wmv
07-06 17:23:21.048 W/dboxed_process0(13162): type=1400 audit(0.0:13132): avc: denied { getattr } for uid=99175 path="/data/data/com.android.chrome" dev="mmcblk0p42" ino=61441 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
07-06 17:23:21.133 I/cr_ChildProcessService(13162): Creating new ChildProcessService pid=13162

I haven't try the fix to increase the video size limit on whatsapp, but the thing is, I tried to send a small 40 second video and I doubt that 40s will create a gigabyte sized file (not even practical to send through messasing either).

Again, not an expert but, that's the portion of the logcat I think I pin pointed while trying to send the video file recorder with the lineage camera that comes built into the rom. And whatsapp all that it can say is that it could not process the video, try restarting the phone...

So, the issue is codec related or size?

Edit: So no, the problem is not size, as the video being sent is 7.9mb, the problem is codec related.

But again, how come the codecs from the camera cannot be globally grabed from any application residing on the phone to convert the file to whatever it needs?