I want to show a filtered camera view while recording a video using a media recorder. To filter the preview, I need frames that I can get from the onPreviewFrame () function, but when recording video using the media recorder, the onPreviewFrame () function is not called. So what I want to know is there other ways to get these frames for filtering and then show them after the change? I checked some applications from Google Play, for example, Videocam Illusion. Preview it with effects while recording a video. I want to do something like this, but I donβt know how to do it. Therefore, I will be grateful for any help / hints / code / sample on this issue. Thanks.
source share