CainKernel / CainPlayer

A Simple Android MediaPlayer using FFmpeg, OpenSLES and OpenGLES base on ffplay
GNU General Public License v3.0
104 stars 26 forks source link

播放器支持用shader做特效播放预览吗? #10

Open austin98x opened 5 years ago

austin98x commented 5 years ago

播放器支持用shader做特效播放预览吗?

CainKernel commented 5 years ago

支持的。在播放器GLESDevice里面做修改即可。我现在还没把FBO等处理接入,你可以在这个地方进行修改进行支持,也可以另开一个线程,通过SharedContext等方式进行特效处理。

发自我的小米手机 在 Austin notifications@github.com,2019年2月19日 上午10:44写道:

播放器支持用shader做特效播放预览吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/CainKernel/CainPlayer/issues/10, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK7ZPAbdL3m5Rn1hnzNquyQoBEtWsnoGks5vO2UdgaJpZM4bCDlc.

austin98x commented 5 years ago

恩,此方案可行,希望您能支持特效播放,现在短视频特效播放太火了,类似抖音的那些特效。

CainKernel commented 5 years ago

这个我打算放到Native层进行处理,抖音的那些特效大部分我都能复制。不过需要等我几天时间,我现在在做短视频的界面。