How can I display a video of mpeg encoded data in WPF?

44 views Asked by At

I have a file, which is about 32 GB large. Parts of this file are MPEG-2 encoded videoclips. When I extract only the bytes, which represent this video and save them to a file, a video player like VLC can display them correctly. What I want/need to do is to display this video in the application I'm writing using WPF. I was hoping to wrap a stream or something like that around the data and use this as source for a media player, but the WPF MediaPlayer only takes URIs as sources. Any pointers would be greatly appreciated.

0

There are 0 answers