shadercam icon indicating copy to clipboard operation
shadercam copied to clipboard

Android 7.0+ support

Open ghost opened this issue 8 years ago • 4 comments

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.

ghost avatar Sep 05 '16 17:09 ghost

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.

EzequielAdrianM avatar Nov 26 '16 23:11 EzequielAdrianM

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

trippedout avatar Nov 28 '16 22:11 trippedout

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.

ghost avatar Nov 29 '16 20:11 ghost

2016 -> 2018 .. any devs alive?

kunaldawn avatar Apr 26 '18 16:04 kunaldawn