My application applies custom HLSL shader effects to a mediaElement using decorators. How can I record and save the modified video using the application itself in realtime?
My application applies custom HLSL shader effects to a mediaElement using decorators. How can
Share
I have been using the RenderTargetBitmap object to render image sequences of animations like this:
First you call:
where myStoryboard is the Storyboard driving the animation and then you have the following method:
I am not sure how well this will work with the MediaElement but it may be worth a try. For this to work on the MediaElement though you need to drive the MediaElement from a MediaTimeline and call the onCurrentTimeInvalidated method from it’s CurrentTimeInvalidated event.