-
Notifications
You must be signed in to change notification settings - Fork 196
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
求添加文本到视频 #2
Comments
要添加文本的话,只能先用普通的Canvas把文本写到一个bitmap里面,再用canvas.drawBitmap。在 另外如果你是追求弹幕那种效果的话,建议你用一个普通的View覆盖到TextureView上,你可以参考一下 |
我是想添加个时间信息,每隔一秒更新一下。还有问一下,把录制视频保存到本地.mp4的话在哪里处理。你现在保存的是.flv格式。 |
哦哦,那你可以先把每个数字变成bitmap,一个9个,所以还好不会耗性能。 |
大神,问一下,GLsurfaceView 支持添加图片之类的吗?我看你用的是TexttureView |
@xulingchung2016 GLSurfaceView 作为 View 的话有类似 GLTextureView 的功能。不过在视频这一块,因为要共享SurfaceTexture给Camera,所以只能支持TextureView,不支持GLSurfaceView。 |
大神,问下 我继承了IMuxer 把 video 和 audio 单独保存 用potplayer 播放 H264 能播放 , acc 不能 播放 , |
@baiyangyan 能另外开个issue吗?另外我的例子能跑通吗? |
大神,能写个添加文本到视频里的效果吗?感激不敬
The text was updated successfully, but these errors were encountered: