简体   繁体   English

Windows Media Foundation UVC 8百万像素视频流

[英]Windows Media Foundation UVC 8 Megapixel video stream

I'm investigating an issue with an in-house developed app using WMF to capture UVC data from a Cypress FX3 device. 我正在调查一个内部开发的应用程序的问题,该应用程序使用WMF从赛普拉斯FX3器件捕获UVC数据。 The stream is generated from a test pattern generator fed from an FPGA to the FX3. 流是从测试模式生成器生成的,测试模式生成器从FPGA馈送到FX3。 For a frame size of 1920x1080 (@30FPS), the frame capture works fine. 对于1920x1080(@ 30FPS)的帧大小,帧捕获效果很好。 For a frame size of (say) 3264x2448 (at <8FPS to meet throughput restrictions) the app is getting stuck during the ReadSample(). 对于(例如)3264x2448的帧大小(<8FPS,以满足吞吐量限制),应用程序在ReadSample()期间卡住。 It does appear data is being received as the data image pattern can be seen in memory. 确实似乎正在接收数据,因为可以在内存中看到数据图像模式。 Device enumeration looks ok ie the reported descriptors look to be correct and SelectFormat() is set accordingly. 设备枚举看起来不错,即报告的描述符看起来正确,并且相应地设置了SelectFormat()。

Are there any restrictions on frame size? 镜框尺寸是否有限制?

I see that problem with your hardware is very specific and can be related with hardware part. 我发现您的硬件问题非常具体,可能与硬件部分有关。 The frame size - 3264x2448 is very huge. 帧大小-3264x2448非常大。 I have experience with Logitecn HD Pro Webcam C920 and I can get max frame size 2304x1536 at 2 FPS and RGB24. 我有Logitecn HD Pro网络摄像头C920的经验,我可以在2 FPS和RGB24的情况下获得最大帧大小2304x1536。 If you have connected via USB then it can be problem to transmit it via USB bus (especially for USB2). 如果通过USB连接,则可能难以通过USB总线传输(特别是对于USB2)。 You must know that Windows Media Foundation is engine of the media part of Windows - for example WindowsStore can work only with Media Foundation. 您必须知道Windows Media Foundation是Windows媒体部分的引擎-例如WindowsStore只能与Media Foundation一起使用。 More over, Windows 10 Includes encoder and decoder for HEVC (H265) video and supports 4K and 8K in native, but playing video and working with live video via USB has some difference. 此外,Windows 10包括用于HEVC(H265)视频的编码器和解码器,并以本机支持4K和8K,但是通过USB播放视频和处理实时视频有所不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM