Description: The file name "simple#1.mp4" creates the error "Das Format der ausgewählten Datei wird nicht unterstützt." By simple changing the file name to "simple_1.mp4" the very same file is accepted and the video is integrated without problem into the Impress presentation. Steps to Reproduce: 1. Take an mp4 file and name it "simple_1.mp4"; insert it into your presentation; it should be running smoothly. (Inserting it through the menu point "Einfügen" -> "Audio/Video ..." -> selecting this file "simple_1.mp4") 2.Rename this file to "simple#1.mp4" and try to insert it into your presentation in the very same way. You will get the error message "Das Format der ausgewählten Datei wird nicht unterstützt." (at least in the German version of LibreOffice 6.2.7.1) Actual Results: "Das Format der ausgewählten Datei wird nicht unterstützt." Expected Results: The video should be integrated into the presentation independently if its name is "simple_1.mp4" or "simple#1.mp4 Reproducible: Always User Profile Reset: No Additional Info:
Repro with Version: 6.3.2.2 (x64) Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: threaded and with OpenOffice.org 3.2.0 OOO320m12 (Build:9483) The problem is the call to IGraphBuilder::RenderFile [1] in avmedia::win::Player::create (avmedia/source/win/player.cxx), which seems to handle file URIs, but not doing that correctly, and failing when the URI has URI-encoded characters like %23 for #. So the problem is likely Windows-specific. [1] https://docs.microsoft.com/en-us/previous-versions/ms785796
https://gerrit.libreoffice.org/80567
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/37fe8619728b2179e6c1d3f25eeee85755dcd40a tdf#128057: convert file URIs to system path for IGraphBuilder::RenderFile It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.