Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有个功能上的问题需要咨询下 #3978

Closed
ail36413 opened this issue Apr 27, 2024 · 3 comments
Closed

有个功能上的问题需要咨询下 #3978

ail36413 opened this issue Apr 27, 2024 · 3 comments

Comments

@ail36413
Copy link

如果我要实现一个截取画面80%的来播放,起始坐标可以自定义,要如何实现呢?
/**
* 设置滤镜效果
*/
public void setEffectFilter(GSYVideoGLView.ShaderInterface effectFilter)

/**
 * GL模式下的画面matrix效果
 *
 * @param matrixGL 16位长度
 */
public void setMatrixGL(float[] matrixGL) 


/**
 * 自定义GL的渲染render
 */
public void setCustomGLRenderer(GSYVideoGLViewBaseRender renderer)
用这三个哪个方法比较好?还是有更简单的办法呢
@CarGuo
Copy link
Owner

CarGuo commented Apr 28, 2024

简单点,参考 demo 的 CustomRenderView ,自定义渲染层

@ail36413
Copy link
Author

这种方式的话,起点坐标能实时变化吗?就是我要一直改变这个80%画面的位置

@CarGuo
Copy link
Owner

CarGuo commented Apr 28, 2024

那你还是用 OpenGL 去实现吧

@CarGuo CarGuo closed this as completed Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants