shadercam
shadercam copied to clipboard
Android 7.0+ support
ShaderCam is not fully compatible with Android 7.0+.
Preview is OK, but recorded video is corrupted. I recorded small video: https://drive.google.com/file/d/0B-7Lnlw_XGJzM3FIdk9ZeFpsN3c/view?usp=sharing
Nexus 5X, Build NRD90M.
Are you sure its corrupted? I guess that's the Shader Effect the author wanted to achieve, since all the Phones I have tested with produced the same result.
something is definitely up with 7.0 - havent had much time to devote tho, will take a look soon hopefully, sorry thats all i can say, check out the logs and add some logging to the shader specific code to see if anything stands out re: compilation or using the mediarecorder service
I suppose MediaRecorder or TextureView has changed internally. Could be related to video frame timestamps.
I ended up with the following workaround.
Setup two mediarecorders: the first one to record h264 video only and the second one to record aac audio only and start them simultaneously. As soon as user stops recording, mux video and audio streams together with mp4parser. But i don't like this solution: it's complex and requires additional time for muxing.
2016 -> 2018 .. any devs alive?