[UWP]在PauseMode期间更新视频效果的相同帧(MediaElement AddVideoEffect XAML UWP) [英] [UWP]Update same frame for videoeffect during PauseMode ( MediaElement AddVideoEffect XAML UWP )

查看:81
本文介绍了[UWP]在PauseMode期间更新视频效果的相同帧(MediaElement AddVideoEffect XAML UWP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发一个UWP应用程序。使用XAML MediaElement类和AddVideoEffect方法,我可以在"播放"时应用相应的视频效果。是的。显然,当"播放"时如果已启用,它会将视频效果应用于下一个
帧,但当播放器处于"暂停"状态时模式,没有效果。

I am working on an UWP app. Using the XAML MediaElement class and AddVideoEffect method, I am able to apply the corresponding videoeffects while the "play" is on. Apparently, when the "Play" is on, it applies the video effect to the next frame but when the player is in "Pause" mode, there is no effect being taken.


我想知道是否有办法在"暂停"期间将视频效果应用于同一帧。模式。

I would like to know if there is a way to apply the videoeffects to the same frame during "Pause" mode.


请帮忙!


这是我的代码片段:

Here is my Code Snippet :

            using Windows.UI.Xaml;
            using Windows.UI.Xaml.Controls;


            MediaElement mElement;
            mElement.Source(input);
            mElement.AddVideoEffect("videoeffect", true, IPropertySet );
            mElement.Play(); //Effect takes place only when video is in play.No VideoEffect when the MediaElement is in Pause Mode






推荐答案

Hello VK_10,

Hello VK_10,

我正在研究这个问题。如果有任何更新,我会及时更新。

最好的问候,

Xavier Eoro


这篇关于[UWP]在PauseMode期间更新视频效果的相同帧(MediaElement AddVideoEffect XAML UWP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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