Integrate with Win32 app #275
Replies: 3 comments 6 replies
-
Hi, Basically, you would use this the same way as you'd use any windows runtime component in a desktop app. See https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-enhance Typically this involves adding a packaging project in your solution, and adding installing the nuget or referring the ffmpeginteropx project directly in the packaging project. You can then use it as you'd use any other winRT component.
We are exploring ways of rendering the subtitles ourselves so that we can eventually fully implement video playback ourselves with minimal winRT support, but that is probably still some months away. |
Beta Was this translation helpful? Give feedback.
-
Thanks @brabebhin for the update. I got this working with following steps:
Only problem I am facing is video file decode seems to happen in software and not in HW, whereas in MediaPlayerCPP app in FFmpegInteropXWinUI seems to use hardware. Any configurations that I am missing here? |
Beta Was this translation helpful? Give feedback.
-
You can now use the latest FFmpegInteropX (1.1.0-pre12) package with latest prerelease WinUI 3 (WindowsAppSdk 1.2.220902.1-preview1). Check the WinUI sample, which is now included in our codebase. Please note that this currently only works in packaged app projects. And there are a few things that do not work 100% (some bugs on WinUI side, some issues on our side such as slight subtitle flickering). Things will probably get better once WindowsAppSdk 1.2 gets released officially. |
Beta Was this translation helpful? Give feedback.
-
What are the steps needed to integrate FFmpegInteropX with Win32 or WinUI3 app?
Beta Was this translation helpful? Give feedback.
All reactions