Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on using with Media Foundation #7

Closed
proludio opened this issue Jun 10, 2015 · 1 comment
Closed

Question on using with Media Foundation #7

proludio opened this issue Jun 10, 2015 · 1 comment

Comments

@proludio
Copy link

Can this be used in an exiting application written for Media Foundation?
Specifically the decoders / encoders?

@khouzam
Copy link
Contributor

khouzam commented Jun 10, 2015

Yes it is very possible to integrate this with an existing application that is using MediaFoundation. The FFmpegInterop object creates a MediaStreamSource which implements the IMFMediaSource interface and can be connected to the MediaFoundation graph. This will allow to leverage the container format processors from FFmpeg as well as the decoders if you want. At this point, FFmpegInterop is a playback component and therefore would not be usable to get to the encoders, but it is certainly something that can be done in the future

https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.core.imediasource.aspx has more information about the IMFMediaSource interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants