bytedeco/javacv

FFmpegFrameGrabber processImage() method is very resource intensive

Open

#2,093 创建于 2023年9月11日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)Java (1,583 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (6,985 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Converting from one color format to another is just generally very resource intensive. In my case most of the time the conversion is from yuv420p frames to rgb. The real question I have is whether it's possible to avoid this conversion and somehow directly display decoded frames. Is the gpu even capable of doing that? And even if it isn't I see that my processor is also getting quite a bit of work in when converting the frames so is it perhaps possible to leave the entire conversion up to the gpu?

贡献者指南