How to play multiple video files as one seamless sequence ? RRS feed

  • Question

  • Hello,

    I would like to build a very basic video editor metro application. One of the primary requirement is to be able to select clips among multiple video files and play the result as one seamless video clip.

    The Media Foundation interface "IMFSequencerSource" looks to be exactly what I need but, according to the preliminary ducumentation, it is not in the list of supported MF interface for developing Metro style apps.

    Does IMFSequencerSource would be supported in a later release ?

    If not, what can I use as an alternative to do that in a metro style app ?

    Thank you


    Tuesday, April 24, 2012 1:28 PM


All replies

  • How about the Windows.Media.Playlists namespace



    Wednesday, April 25, 2012 3:15 AM
  • I need to play videos or parts of videos without gap between them. Playlist does not allow to do that.
    Thursday, April 26, 2012 12:55 PM
  • Hello Frederic,

    IMFSequencerSource is not supported in WinRT. To build a true video editing system you are likely going to need to drop down to the Media Engine layer and do most of the interactions yourself. Unfortunately we don't have the equivalent of DES in Media Foundation.

    Media engine native C++ playback sample


    I hope this helps,


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, April 27, 2012 10:59 PM
  • Hi James,

    I took a good look at Media Engine and I think building a video editor (even a basic one) with it is over my head right now.

    Having something similar to DirectShow Editing Services in WinRT would greatly facilitate building innovative Metro style media creation applications.

    Without, It would be hard to compete with iOS apps on that front since AV Foundation bring those capabilities to iOS since 4.0.

    Maybe someone at Microsoft could advocate for the start of a community project along the Player Framework that is already on CodePlex ?

    Thanks a lot.


    Thursday, May 10, 2012 2:27 PM
  • Hello Frederic,

    That is a very good idea. I will pass that along to the team.


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Thursday, May 10, 2012 10:46 PM
  • Fredric, you might consider creating a Media Foundation extension that takes a manifest and fetches videos/clips as needed to stitch them together in a single stream. I know its possible because this is essentially a very simple case of what the smooth streaming SDK does under the hood. fyi: You'd have to write it in C++.

    Another idea is to use the Microsoft Player Framework and create a playlist. If you want seeking, timeline, ...etc to work across all playlist items, you could write your own IInteractiveViewModel implementation to control what the control panel does. Please contact me if you want to pursue this and have questions.

    Tim Greenfield

    • Proposed as answer by Atul P Gaikwad Friday, February 15, 2013 11:18 AM
    Wednesday, June 20, 2012 1:43 AM
  • Hi Tim

    I want to implement same usign  Microsoft Player Framework playlist and apply seeking, timeline to work across all playlist items.

    could you please share help link or sample app for same ?

    Thanks in Advanced.

    Friday, February 15, 2013 11:18 AM