This project is read-only.


Topics: Windows 10 UWP
Nov 12, 2015 at 8:58 PM
How the heck do I get Win2D effects hooked into this framework?

I'm finding myself trying to turn a URI into a IMediaSource.

There are no working examples using the new API
public void SetMediaStreamSource(Windows.Media.Core.IMediaSource source)

I'm I even barking up the right tree here?
Nov 13, 2015 at 3:59 PM
I was able to get a StorageFile from CreateStreamedFileFromUriAsync.
This is great because it is a virtual stream and does not start a download.
However, if I then try to create a MediaClip from this StorageFile it does not come back until the entire file is downloaded!!!

It looks like this Win2D stuff only works for files that are ALL on disk and can not handle it if they are streamed from a URL?

I seem to be running into the issue again that the Windows OS does not handle progressive downloading like iOS does.
It should be smart enough to download just the header of the mp4 file only.
Then it can use the frame index table to convert frame offsets into byte offset for generating http byte-range requests so you only get what you need.
This is what iOS does but Windows always wants to download the entire file!

I've got files that contain entire NFL football games.......they are not small.