'How to convert MediaStreamSource to uri in WPF
I'm trying to apply Microsoft Sample FFmpegInterop Object on WPF. The sample is a WindowsRuntime Component that produces a MediaStreamSource which can be assigned to a XAML MediaElement on UWP for playback of any media file format supported by FFmpeg.
But the question is that I cannot set a MediaStreamSource on the WPF MediaElement. I read about the issues WPF Support #21 and there is a suggestion is that should be able register the MediaStreamSource using the Media Foundation extension so that it can be invoked when setting a source as a URI on the MediaElement.
but the link in that suggestion is dead now.
https://code.msdn.microsoft.com/windowsapps/MediaStreamSource-media-dfd55dff
Do anyone know how to convert MediaStreamSource to a URI in WPF? Any suggestion will be help, thanks a lot.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
