ionutdanila / ffmpeg.UWP

FFmpeg libraries (x86, x64, ARM, ARM64) for UWP (Universal Windows Platform)
GNU Lesser General Public License v2.1
28 stars 11 forks source link

How to use your library? #3

Closed XFox111 closed 5 years ago

XFox111 commented 5 years ago

I've downloaded your library via NuGet but it haven't added any new namespaces. How can I instantiate the player?

ionutdanila commented 5 years ago

FFmpeg Libraries are based on native C (unmanaged) code (so they do not add any new usings). They can be referenced in a C++/CX Project (eg. https://github.com/ionutdanila/FFmpegInterop). The FFmpegInterop (which is managed C++) can be used as a reference into a C#/XAML UWP Project. You have a sample in the same repository that shows how to use the MediaStreamSource.

XFox111 commented 5 years ago

Yes. It did help. Thanks)