Android video filter

后端 未结 2 708
清酒与你
清酒与你 2020-12-17 17:48

I\'m trying to create an app where I am able to add filters to a recorded video. Basically, I want to replicate the functionality that exists in Instagram video, or Viddy. <

2条回答
  •  情深已故
    2020-12-17 18:08

    From Android 4.3 you can use a Surface as the input to your encoder. http://developer.android.com/about/versions/android-4.3.html#Multimedia

    So you can use GLSurfaceView and apply the filters using fragment shaders.

    You can find some good examples here. http://bigflake.com/mediacodec/

提交回复
热议问题