locked
Encoding and muxing of live media stream. Win8 Win8.1

    Question

  • Hi

    Does Windows store apps have some API to do Audio/Video encoding and muxing to .mp4 file of raw stream or stream that is currently playing through MediaElement ?

    Monday, July 28, 2014 4:05 PM

Answers

All replies

  • I don't think so, but I'll ask our media guy to check this out. He's out this week but should be back next week.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, July 29, 2014 2:31 PM
    Moderator
  • Hello,

    Alexander you can use the SinkWriter to mux or transmux h.264 data. You would need to write your own MFT or Sink to intercept MediaElement data.

    Tutorial: Using the Sink Writer to Encode Video

    http://msdn.microsoft.com/en-us/library/windows/desktop/ff819477(v=vs.85).aspx

    I hope this helps,

    James


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

    Wednesday, August 06, 2014 8:45 PM
    Moderator