Android video filter

后端 未结 2 704
清酒与你
清酒与你 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/

    0 讨论(0)
  • It is good to use the exoplayer filter library and this one will do your work but in order to merge the filtered layered with the video you have to do an extra work.

    Link for exoplayer filter is there for you : ExoplayerFilter

    You have to se the exoplayer for this but follow their instructions you'll be able to do the task. Ping me if something comes up.

    0 讨论(0)
提交回复
热议问题