Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以直接在Android屏幕上渲染来自ffmpeg流输出(AV_PIX_FMT_YUV420P)的YUV帧而不转换为RGB格式吗?
我最近对 Google WebRTC 开源项目有一些经验。
它提供了一个完整打包的视频通话示例,还包含一个 Android 演示。
该演示所做的是显示解码的视频帧,即 I420(YUV420P) 像素格式。
看看源代码:https ://code.google.com/p/webrtc/source/browse/trunk/webrtc/modules/video_render/android/video_render_opengles20.cc