MediaCapture视频录制 - 录制开始时视频预览的高度会缩放 [英] MediaCapture Video Recording - The height of video preview scales when recording started

查看:90
本文介绍了MediaCapture视频录制 - 录制开始时视频预览的高度会缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在观察录制开始时视频预览的错误行为。


我正在开发一个记录视频的应用程序(比如相机应用程序)。


当我打开一个应用程序时,我的页面上有CaptureClement,它将MediaCapture设置为源。


OnNavigatedTo处理程序开始预览。


然后按下某个按钮我开始录制。此时我在屏幕上看到高度变宽(向上扩展)一点点。


请提出任何可能导致此问题的建议。


其他信息:


视频集的质量为WVGA。


录制的文件视频具有开始录制前预览的高度。这意味着当我开始录制时,预览显示剪切高度。


因此顶部和底部的某些部分变得不可见,预览中的图像看起来像垂直缩放。

解决方案

嗨Maksym Bondarenko ,


你可以尝试在这里发布一个简单的重现项目吗?


最好的问候,

Amy Peng


Hi,

I am observing the buggy behavior of video preview when recording started.

I am developing an application that records video (like camera app).

When I open an application my page has CaptureElement that has MediaCapture set as source.

OnNavigatedTo handler starts preview.

Then by pressing on some button I am starting the recording. And at this moment I see on the screen that height become wider (scales up) a little bit.

Please suggest any idea of what can cause this.

Additional info:

The quality of the video set to WVGA.

The recorded to file video has the height that was in preview before starting of the recording. It means that when I start the recording, the preview shows cut height.

So some part in the top and bottom becomes invisible and the image in preview looks like scaled vertically.

解决方案

Hi Maksym Bondarenko,

Could you please try to post a simple reproduce project in here?

Best Regards,
Amy Peng


这篇关于MediaCapture视频录制 - 录制开始时视频预览的高度会缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆