I am trying to record the video in 1:1 ratio (square) and i cant get it to work, if i set custom resolution in media recorder instance i get an error on media recorder start.>
Using OpenGL and shader can solve this problem. Or you can use libyuv to do it on CPU.