Description: This report is about implementing the Microsoft Media Foundation APIs[1] in LO so that, for example, Impress can play .mp4 files within its presentations on Windows (something not possible currently). Some tools and sample code are also provided by Microsoft[2]. The work involves replacing existing DirectShow APIs, as recommended by Microsoft. [1] https://learn.microsoft.com/en-us/windows/win32/medfound/microsoft-media-foundation-sdk [2] https://github.com/microsoft/media-foundation Steps to Reproduce: On Windows, try to insert a video file (.mp4) into a Impress presentation. Actual Results: Get error message Expected Results: Should be able to play Reproducible: Always User Profile Reset: No Additional Info: See https://opengrok.libreoffice.org/xref/core/avmedia/source/win/player.cxx?r=c0e51660#94 for the DirectShow APIs currently used by Impress (which don't work).
This seems highly desirable, so let's set to NEW.
Was able to get example program from https://learn.microsoft.com/en-us/windows/win32/medfound/media-session-playback-example to work with arbitrary .mp4 files, so will start working on integrating into Impress.
Duplicate of bug 62408, please see that for code pointers and analysis.
(In reply to Gabor Kelemen (allotropia) from comment #3) > Duplicate of bug 62408, please see that for code pointers and analysis. Thanks, I read it over and it still seems like this bug is valid. By the way, I got arbitrary .mp4 files to play in Impress so far using the Media toolbar with Media Foundation, but still not yet playing in presentation mode.