Android video mirror effect

女生的网名这么多〃 提交于 2019-12-23 15:16:58

问题


I'm working on a camera application that has to capture video in mirror effect. I used texture view to show video preview with mirror effect. Now video preview showing mirror effect but after video being captured and saved it don't have mirror effect.

I used MediaRecorder to save video file.

I Google this problem but didn't find any solution.

I want to save video with mirror effect as shown in camera preview.

thanks in advance.


回答1:


I have solved this problem by flipping the video. when the video is completed I'm storing the original video temporary and then applying the flip effect and got the mirror effect in video.

Flip video library



来源:https://stackoverflow.com/questions/50680830/android-video-mirror-effect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!