[UWP]在MediaElement中使用自定义视频效果 [英] [UWP]Using custom video Effects with MediaElement
问题描述
大家好!
$
我有一个使用MediElement播放视频的应用程序,并提供一个用C ++ \ CX实现的自定义视频效果MediaElement。 AddVideoEffect方法。
https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.mediaelement.addvideoeffect
它运作正常。但是存在一些问题, - 当用户点击"暂停"时按钮,MediaElement停止调用我附加的视频效果的ProccessFrame方法。这导致了这种情况,当用户可以在视频
正在播放时调整他的效果,但在暂停时不能这样做。
所以基本上,我想知道是否有是一种解决方法。
感谢您花费时间和精力。
亲切的问候。
Hi everyone!Hello Alex,
这是C#代码,原则应该相同。
<顺便说一句,请阅读粘帖,特别是
发布指南:主题行标签和
Windows 10 SDK和工具的已知问题
请记住自己为标题添加标签最佳问候,
Xavier Eoro
I have an application that uses MediElement to play videos and provides it with a custom video effects implemented in C++\CX via MediaElement.AddVideoEffect method.
https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.mediaelement.addvideoeffect
And it works just fine. But there is a bit of a problem, - When user hits the "Pause" button, MediaElement stops calling ProccessFrame method of the video effects I attach. Which leads to the situation, when user can tweak his effect whilst video is playing, but cannot do it on Pause.
So basically, I'm wondering if there is a workaround.
Thank you for the time and effort.
Kind regards.
Hello Alex,
I have replied a same question in here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/579db1b1-beae-40f5-8b82-9e346ec5f1b9/uwpupdate-same-frame-for-videoeffect-during-pausemode-mediaelement-addvideoeffect-xaml-uwp-?forum=wpdevelop
It's C# code, the principle should be the same.
By the way, please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools
Please remember to add tag to title yourself next time.
Best Regards,
Xavier Eoro
这篇关于[UWP]在MediaElement中使用自定义视频效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!