捕获高分辨率帧但查看较小分辨率
我想从设备的相机(例如平板电脑)捕获高分辨率帧并将其流式传输到其他设备
我需要在当前设备(平板电脑)上查看捕获的帧,其分辨率比流式传输的分辨率小(以高分辨率流式传输)屏幕空间的最佳利用,
我面临的问题是,通过
parameters.setPreviewSize(VGA_WIDTH, VGA_HEIGHT);
它要求相机提供高分辨率的视频,将其视为全尺寸 SurfaceView,我尝试缩放它,帧被作为垃圾发送 并发现 Camera.PreviewCallback 用于在显示预览帧时传递预览帧的副本
是否有任何方法可以将捕获与帧的查看分开
i wanna capture a high resolution frames from device's camera - like Tablet - and stream it to other device
i need to view the captured frames on the current device - Tablet - smaller in resolution than streamed one - which is streamed in high resolution - to make the best use of the screen space
the problem im facing is that asks camera for high video resolution via
parameters.setPreviewSize(VGA_WIDTH, VGA_HEIGHT);
it get viewed as fullsize SurfaceView and i tried to scale it, frames was sent as rubbish
and found that
Camera.PreviewCallback used to deliver copies of preview frames as they are displayed
is there any way to separate the capturing from the viewing of frames
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论