video-effects

How to apply video effects (filters like sepia, vintage, etc.) on TextureView in android?

柔情痞子 提交于 2019-12-22 05:22:00
问题 How can we apply filters like sepia, vintage, etc. to a video, and consequently post the same on our servers? Likewise, we can bluff user by creating a filter layer on TextureView, and consequently applying the corresponding filter on the server. CODE : package com.example.mediaplayerdemo_video; import java.io.IOException; import android.app.Activity; import android.content.res.AssetFileDescriptor; import android.graphics.Matrix; import android.graphics.SurfaceTexture; import android.media

How to apply video effects (filters like sepia, vintage, etc.) on TextureView in android?

两盒软妹~` 提交于 2019-12-22 05:21:16
问题 How can we apply filters like sepia, vintage, etc. to a video, and consequently post the same on our servers? Likewise, we can bluff user by creating a filter layer on TextureView, and consequently applying the corresponding filter on the server. CODE : package com.example.mediaplayerdemo_video; import java.io.IOException; import android.app.Activity; import android.content.res.AssetFileDescriptor; import android.graphics.Matrix; import android.graphics.SurfaceTexture; import android.media