camera work but video record not work
Hey! I will tell stuff i did to get a completely working Camera, have tested it on LP and users said it works on J5 2015 MM (MSM8916) too. So, it will for you too.
Yeah! Do this! And also if you dont find any of the files just skip them. It will work.

Replace each of them from Working Stock to Port.
In system/lib -
libaf_algo_rear.so
libAl***
libaec_algo***
libarccamera.so
libarcsoft***
libawb_algo***
libchromatix***
libmm-omxcore.so
libmmcam***
libomx***
libqjpeg***
libseccamera_jni.so
libseccameracore.so
libsecface.so
libsensorservice.so
In system/lib/hw
Camera***
Lights***
Sensors***
In system/vendor/lib
lib-imscamera.so
libactuator***
libchromatix***
libmm-abl-oem.so
libmm-abl.so
libmm-color-converter.so
libmmcamera***
liboemcamera.so
liboemcrypto.so
libomx***
libqomx***
Report after test! Typing this took a while. 
Well, you're working on J5 variant?