CainPlayer icon indicating copy to clipboard operation
CainPlayer copied to clipboard

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

Open austin98x opened this issue 6 years ago • 3 comments

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

austin98x avatar Feb 19 '19 02:02 austin98x

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

发自我的小米手机 在 Austin [email protected],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.

CainKernel avatar Feb 19 '19 05:02 CainKernel

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

austin98x avatar Feb 22 '19 07:02 austin98x

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

CainKernel avatar Feb 22 '19 07:02 CainKernel