Bug 62408 - MP4 videos aren't handled in Windows (without additional codecs)
Summary: MP4 videos aren't handled in Windows (without additional codecs)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
: 156037 157944 159215 161224 (view as bug list)
Depends on:
Blocks: Media-Playback Media-Insert
  Show dependency treegraph
 
Reported: 2013-03-16 12:46 UTC by A (Andy)
Modified: 2024-10-03 09:27 UTC (History)
19 users (show)

See Also:
Crash report or crash signature:


Attachments
test .mp4 (2.56 MB, video/mp4)
2016-09-13 17:29 UTC, Helmut Leininger
Details
Sample ODP with embedded MP4 (16.50 KB, application/vnd.oasis.opendocument.presentation)
2017-11-22 14:02 UTC, Aron Budea
Details
Sample ODP with embedded MP4 (391.10 KB, application/vnd.oasis.opendocument.presentation)
2017-11-27 01:20 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A (Andy) 2013-03-16 12:46:28 UTC
Problem Description: 
When trying to insert a MP4 file it is not inserted, although it is shown as a selectable supported video file type.

Steps to Reproduce:
1. Open IMPRESS
2. Go to INSERT -> MOVIE AND SOUND
3. Assure that ALL MOVIE AND SOUND FILES or MPEG VIDEO as type is selected
4. Go to a directory with a MP4 file and try to insert it

Current Behavior:
You receive the error message: "The format of the selected file is not supported".  With the Windows Media Player this file is played correctly.

Expected Behavior:
It should be possible to insert and play MP4 files in IMPRESS presentations.
Operating System: Windows 7
Version: 4.0.1.2 release
Comment 1 Jorendc 2013-03-19 18:43:37 UTC Comment hidden (obsolete)
Comment 2 Thomas van der Meulen [retired] 2013-03-19 18:51:58 UTC
Thank you for reporthing this bug,
I can reproduce this bug running LibreOffice 4.0.2.1 on windows 7
Comment 3 Thomas van der Meulen [retired] 2013-03-19 18:53:44 UTC
BTW Windows only bug, can n't reproduce on mac
Comment 4 retired 2013-09-01 10:58:40 UTC Comment hidden (off-topic)
Comment 5 Petr Mladek 2013-09-02 08:59:32 UTC
These problems are typically caused by missing codecs. Well, it is strange that the Windows Media Player is able to play this on the user reporters machine. Also it is strange that it looks like a for that MAC user.

Adding Windows and Impress experts into CC.
Comment 6 retired 2013-09-02 09:06:10 UTC
Peter, I didn't check wmf format but thought LO supported wmf, avi. Maybe a wrong guess. Not sure where to find a list of supported codecs.
Comment 7 Alex Thurgood 2013-09-02 15:14:10 UTC
There is an ongoing GSOC project to integrate VLC support into LO on all platforms, with the idea that if you have VLC installed, you will be able to use all media types supported by that instead of the piecemeal OS dependent support that is currently in place.


Alex
Comment 8 retired 2013-09-02 15:18:28 UTC
Alex: that is imo the best approach. VLC is well spread and also worth installing if you want to use media stuff in LO. Great, hope it get's finished in the GSoC process. Also that would mean the most little overhead for LO devs so a very welcome solution.
Comment 9 Florian Reisinger 2013-09-25 18:03:05 UTC
Hi,

I guess the problem is the same for all unsupported formats is quite the same:
You don't have the corresponding codec installed. Could you please try installing the corresponding codec on your system. This is, lets phrase it this way, a workaround till VLC integration is final....
Comment 10 retired 2013-09-27 07:08:31 UTC
Hi Florian, I have no idea where to start when wanting to install e.g. the webm codec. Also on OS X I have quicktime and perian installed as well as VLC so somewhere on my system some codes already must exist.

Not sure why this is on NEEDINFO. Imo, this should stay on NEW until there is a real applicable solution (like using existing VLC codecs).

Let me know what you'd like to know so we can get this back to NEW. It's a very valid bug.
Comment 11 Florian Reisinger 2013-09-29 07:47:06 UTC
Okay giving some links:
Windows: http://codecguide.com/download_kl.htm
Ubuntu (Linux): In Terminal: sudo apt-get install ubuntu-restricted-extras
MacOS: http://forums.appleinsider.com/t/66277/codec-pack-for-mac#post_961756

Note: I am a Windows user - Have not tested other solutions by myself
Comment 12 ign_christian 2013-09-29 07:56:15 UTC
I can do MP4 insertion on LO 4.0.5.2 (Win7 32bit), with VLC 2.0.8 installed.
Comment 13 retired 2013-09-29 14:11:05 UTC
This is being worked on by Minh Ngo as part of GSoC 2013. Can't wait to see this available in a OS X nightly build (if those get builded again, that is). :)
Comment 14 Michael Stahl (allotropia) 2013-10-10 12:42:44 UTC
LibreOffice does not support _any_ video format.

It relies on OS components to play video and audio formats,
such as GStreamer on Linux, QuickTime on Mac and
DirectWhatever on Windows (and perhaps VLC too in a future release).

If you install the right codecs in the OS then it should work.

... so the description complains about problems on Windows,
and then comment #4 adds that it is not working on Mac OS X.

these are most likely 2 different bugs, and each one could
independently be either in LO or in the platform specific
backend that is part of the OS.

so please file a separate bug for the Mac OS X problem.

removing "regression" as that is apparently Mac OS specific.

for this bug, please test (on Windows only) that it works
in Windows Media Player (or whatever it's called nowadays);
if a file doesn't work there either it's not a LO bug
when it doesn't play in LO (and AFAIK there may be several
different codecs inside a ".mp4" file).
Comment 15 retired 2013-10-10 21:37:21 UTC
Michael, thanks for elaborating and sorry for bringing up OS X. Will test this closer with Quicktime and LO on latest OS X and if I run into trouble, open a separate bug. Excuse the noise.
Comment 16 retired 2013-10-11 07:04:44 UTC
Here's the OS X report: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=70365
Comment 17 retired 2014-04-13 10:20:48 UTC
Confirmed:4.3.0.0a0+:win8

Version: 4.3.0.0.alpha0+
Build ID: f9cc0daec26016722bf5260e4e2634e6dcfe25a2
TinderBox: Win-x86@39, Branch:master, Time: 2014-04-12_01:41:16

Still a problem.

Is this still being worked on? It's assigned, but GSOC 2013 is over. So should it be unassigned?
Comment 18 retired 2014-04-13 11:51:15 UTC
Talked to cloph about this. Adding some points of interest:

* http://msdn.microsoft.com/en-us/library/windows/desktop/dd390679(v=vs.85).aspx → Note  Decoding of H.264 video requires Windows 7

* you need to * manually install a directshow compatible demuxer for mp4 container, and * at least have windows 7 (or additionally install a compatible codec for h264), so yes, notourbug). VLC support might also change that (but then you need to install vlc with appropriate codecs)

* win8 mediaplayer probably uses Media Foundation stuff, not Directshow

* the statement "anything that windows media player can play" is no longer true then

Let's keep this bug open, until we have a reliable solution that works for everybody.
Comment 19 Hadmut Danisch 2014-04-14 21:26:49 UTC
Yup, 

today's nightly build works with mp4 under Mac OS X. 

Thanks :-)
Comment 20 pranjit 2014-04-27 13:55:10 UTC
The same problem with libreoffice 4.2.3.3 mac osx 10.9
no video file can be inserted
Comment 21 pranjit 2014-06-06 04:45:22 UTC
roblem Description: 
When trying to insert a MP4 file it is not inserted, although it is shown as a selectable supported video file type.

Steps to Reproduce:
1. Open IMPRESS
2. Go to INSERT -> MOVIE AND SOUND
3. Assure that ALL MOVIE AND SOUND FILES or MPEG VIDEO as type is selected
4. Go to a directory with a MP4 file and try to insert it

Current Behavior:
You receive the error message: "The format of the selected file is not supported".  With the Windows Media Player this file is played correctly.

Expected Behavior:
It should be possible to insert and play MP4 files in IMPRESS presentations.
Operating System: mac os 10.9
Version: 4.2.4.2 release
Comment 22 pranjit 2014-06-06 04:45:44 UTC Comment hidden (noise)
Comment 23 ign_christian 2014-06-19 05:00:40 UTC
@pranjit, based on comment 14 and comment 16 this report only refer to Windows.

So I change back the platform & status to oldest version problem seen.
Comment 24 retired 2014-06-19 10:33:57 UTC
ign christian: this has been confirmed on OSX as well with several users, so while setting version back to oldest is correct, OS platform indeed is "all".
Comment 25 ign_christian 2014-06-19 14:05:01 UTC
Sorry..I think it's Windows only since Michael & you stated so in comment 14, comment 15, comment 16
Comment 26 retired 2014-06-19 16:06:51 UTC
You are absolutely right. Sorry! Inserting of mp4 in LO 4.3beta2 works and also the video plays fine.

So win only. I just lost track of the current Impress video issues. There quite a few.
Comment 27 QA Administrators 2015-07-18 17:42:59 UTC Comment hidden (obsolete)
Comment 28 MM 2016-07-03 22:20:29 UTC
Still confirmed with v5.1.4.2 under windows 7 x64.

The good format is:
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding

The bad format is:
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L3
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=60
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding

Still odd that on the ones that import correctly, you'll see a questionmark, but don't play. But when dragging the file onto impress, it's opened correctly and plays. Maybe another bug ???
Comment 29 Helmut Leininger 2016-09-13 17:29:57 UTC
Created attachment 127315 [details]
test .mp4
Comment 30 Helmut Leininger 2016-09-13 17:36:11 UTC
The problem still happens in LO 5.1.2 64-bit, Windows10 64-bit, for example wiht the file of comment 29.

Insert/Audio-Video gives an error message abutunsupported format

Drag&Drop into Impress: Impress (LO) becomes unresponsive and LO must be killed.
Comment 31 bordfeldt 2017-01-07 09:55:32 UTC
For me the same on Windows 10 Pro with LO 5.2.4.2. Tried to insert different mp4-video-files in impress, but always got the message "The format of the selected file is not supported".
Comment 32 bordfeldt 2017-01-07 09:57:42 UTC
The same behaviour with *.mov-video-files. mpg-files work.
Comment 33 boicottms 2017-03-08 15:27:15 UTC
I have a slightly different experience: 
I don't know if I have to open a new bug:
I can insert the MP4, but then LOO crashes when trying to play it.
tested LOO 5.2.2.4 and a portable 5.0.3 on win7/32
The Mp4 itself contains only a video track encoded in h263 (converted with handbrake) that plays nicely in vlc, it's 1.467 kb (teste also other mp4 - same result)

Video description:
General
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/iso2/avc1/mp41)
File size                                : 1.43 MiB
Duration                                 : 1 min 17 s
Overall bit rate                         : 154 kb/s
…

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 min 17 s
Bit rate                                 : 151 kb/s
Width                                    : 520 pixels
Height                                   : 320 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.030
Stream size                              : 1.40 MiB (98%)
Writing library                          : x264 core 148 r2708 86b7198
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=10 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2017-03-08 10:31:53
Tagged date                              : UTC 2017-03-08 10:31:53
Color range                              : Limited
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601
Comment 34 boicottms 2017-03-08 15:37:16 UTC
edit:
I intended 5.2.4 and 5.3 portable
Comment 35 Xisco Faulí 2017-07-13 11:19:55 UTC Comment hidden (obsolete)
Comment 36 Yousuf Philips (jay) (retired) 2017-10-21 13:29:09 UTC
If you install the KLite Codec Pack [ http://codecguide.com/ ], you should be able to insert an mp4 without problems. Sometimes the patch of the file can cause problems, like bug 113322, so please do mention the filename path so that can also be evaluated.

(In reply to MM from comment #28)
> Still odd that on the ones that import correctly, you'll see a questionmark,
> but don't play. But when dragging the file onto impress, it's opened
> correctly and plays. Maybe another bug ???

Please file this as another bug.

(In reply to Helmut Leininger from comment #29)
> Created attachment 127315 [details]
> test .mp4

Embedded and played fine on Windows 8.1 with KLite Codec Pack 12.2.2 Full.

Version: 6.0.0.0.alpha0+
Build ID: a1f93eee75450c3ab6bc623bfad4f850260b86d0
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: en-US (en_US); Calc: group

(In reply to bordfeldt from comment #31)
> For me the same on Windows 10 Pro with LO 5.2.4.2. Tried to insert different
> mp4-video-files in impress, but always got the message "The format of the
> selected file is not supported".

Please install KLite Codec Pack and see if you have the same result. If it still happens, please add attach the mp4 (or a snippet of it) to this bug report.

(In reply to boicottms from comment #33)
> I have a slightly different experience: 
> I don't know if I have to open a new bug:
> I can insert the MP4, but then LOO crashes when trying to play it.
> tested LOO 5.2.2.4 and a portable 5.0.3 on win7/32

Please file a new bug for this issue if you can still reproduce it with 5.4 with KLite Codec Pack installed.
Comment 37 Aron Budea 2017-11-22 14:02:40 UTC
Created attachment 137917 [details]
Sample ODP with embedded MP4

This is also the case with MP4 playback, see attached sample, which shows a "?" in Impress / Windows 7 with the default Windows codecs (the presentation was created in Linux, as the MP4 can't be inserted in Windows).

The MP4, taken from [1] (Sample MP4 Video File) can be played fine in Windows Media Player, and can be inserted/played in PowerPoint (eg. see attachment 135632 [details]).

The issue can surely be circumvented by installing codec packs, but this video format should be supported in Windows by default.

[1] http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5
Comment 38 Dennis Roczek 2017-11-23 00:11:24 UTC
REPRO with
Version: 5.4.2.2 (x64)
Build-ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group

(so windows 10 fall creators update without ANY codec packs!)
Comment 39 Yousuf Philips (jay) (retired) 2017-11-23 00:32:42 UTC
(In reply to Aron Budea from comment #37)
> Created attachment 137917 [details]
> Sample ODP with embedded MP4

This is a 16.5Kb file that has no embedded MP4 in it though it references the MP4 as content.xml as <draw:plugin xlink:href="../small.mp4" ...>

> This is also the case with MP4 playback, see attached sample, which shows a
> "?" in Impress / Windows 7 with the default Windows codecs (the presentation
> was created in Linux, as the MP4 can't be inserted in Windows).

I got the same thing as there is no MP4 in the file.

> The issue can surely be circumvented by installing codec packs, but this
> video format should be supported in Windows by default.

LO only supports playback through DirectShow filters, while "Windows Media Player supports the Media Foundation framework besides DirectShow"[1]. So if you dont have KLite or another codec pack installed that provides DirectShow filters for MP4, you wont be able to play MP4s.

I'm closing this bug, so as mentioned in comment 36, if an MP4 doesnt insert or play with KLite installed, please file a new bug and mention the path of the file and attach or link to it in the description.

[1] https://en.wikipedia.org/wiki/Windows_Media_Player#History
Comment 40 Aron Budea 2017-11-27 01:20:47 UTC
Created attachment 138006 [details]
Sample ODP with embedded MP4

(In reply to Yousuf Philips (jay) from comment #39)
> This is a 16.5Kb file that has no embedded MP4 in it though it references
> the MP4 as content.xml as <draw:plugin xlink:href="../small.mp4" ...>
My bad, I accidentally linked the video in the presentation instead of embedding it. Nevertheless, the case is still the same with a file that actually has the video embedded, attaching that now.

> LO only supports playback through DirectShow filters, while "Windows Media
> Player supports the Media Foundation framework besides DirectShow"[1]. So if
> you dont have KLite or another codec pack installed that provides DirectShow
> filters for MP4, you wont be able to play MP4s.
The video can be played with Windows Media Player, it is handled by PowerPoint perfectly fine, thus it is the very least an interoperability issue.

MS also claims the MP4 codecs can be used as DirectX Media Objects (DMO), and DMOs can be used through DirectShow filters. I don't have the expertise to verify it, but here are some pointers:
Using DMOs in DirectShow - https://msdn.microsoft.com/en-us/library/windows/desktop/dd407273(v=vs.85).aspx
IDMOWrapperFilter interface - https://msdn.microsoft.com/en-us/library/windows/desktop/dd406848(v=vs.85).aspx
Windows Media MPEG4 V1/V2 Decoder - https://msdn.microsoft.com/en-us/library/windows/desktop/ff819502(v=vs.85).aspx
Windows Media MPEG-4 V3 Decoder - https://msdn.microsoft.com/en-us/library/windows/desktop/ff819503(v=vs.85).aspx

The workaround of using K-Lite codec pack is very helpful, but that does not warrant the closing of this bug report, as we don't ship those codecs.
Comment 41 Michael Stahl (allotropia) 2017-11-27 16:07:00 UTC
apparently we just do a single call from avmedia::win::Player::create() that
takes the URL and automagically sets up all the needed filters:

    if( SUCCEEDED( hR = mpGB->RenderFile( o3tl::toW(rURL.getStr()), nullptr ) ) &&

IGraphBuilder::RenderFile

https://msdn.microsoft.com/en-us/library/windows/desktop/dd390090(v=vs.85).aspx

why this wouldn't recognize "DMO" filters automatically,
and how to add that manually, isn't obvious to me.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd407173(v=vs.85).aspx

... but MSDN says that various MPEG-4 formats and AAC/H264 are supported in DirectShow?


https://msdn.microsoft.com/en-us/library/windows/desktop/bb970511(v=vs.85).aspx

apparently this "Media Foundation" API is available since Vista, so with our current baseline of Windows 7 it would be possible to replace the DirectShow avmedia component with a Media Foundation one, in case some volunteer can be found for the task.
Comment 42 bordfeldt 2018-02-04 14:44:06 UTC
problem still present in LO 6.0.0.3 on Windows 10
Comment 43 herbert-thomson 2018-06-09 12:26:47 UTC
Problem STILL exists in 6.0.4, Windows 10!!

Guys, what are you doing??

I asked a question here first: https://ask.libreoffice.org/en/question/157530/embedded-videos-in-ms-powerpoint-show-as-question-mark-in-impress/

Then I found this 5 year old bug report. I'm disappointed that it takes you SO LONG to provide this essential features. I have a lot of video related presentations, and this is a must have for me!

And as I already said in that question I would be willing to donate large parts of what I would have to pay for M$ software licenses to your project but seeing that you are not willing to set the right priorities I'm not sure any more if this is the right investment...
Comment 44 herbert-thomson 2018-06-09 13:15:41 UTC Comment hidden (no-value)
Comment 45 herbert-thomson 2018-06-09 14:34:32 UTC
I think it is a high-value information that the proposed workaround (K-Lite Filter) does not really work and that therefore users who want to import a video in Impress (or use an existing pptx with a video) are basically fucked and have no chance to reach their goal, except if they buy M$ Office, and the fact that it took you only minutes to flag by comment as "no-value", but more then 5 years to implement a this essential feature shows how off your priorities are...
Comment 46 herbert-thomson 2018-06-10 08:24:20 UTC
Decoupled issue for the non-working videos even with K-Lite installed: https://bugs.documentfoundation.org/show_bug.cgi?id=118091 (I hope this makes it easier for you to keep track of all the broken video things you really need to start fixing sooner than later)
Comment 47 nisha 2018-10-30 06:23:51 UTC Comment hidden (spam)
Comment 48 autoinsuranceclick 2019-08-07 08:22:51 UTC Comment hidden (spam)
Comment 49 social-contest 2019-08-07 08:37:06 UTC Comment hidden (spam)
Comment 50 Alvaro Segura 2020-05-10 02:13:51 UTC
Problem still in LO 7.0.0-alpha1. MP4 is a de-facto standard and supported by Windows through its Media Foundation framework.
Comment 51 Jun Nogata 2021-07-23 09:50:44 UTC
It reproduced in LibreOffice 7.2.

Version: 7.2.0.1 (x64) / LibreOffice Community
Build ID: 32efc3b7f3a71cfa6a7fa3f6c208333df48656cc
CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded
Comment 52 Topstik 2023-05-04 11:49:16 UTC
MP4 videos are actually handled in Windows without requiring any additional codecs. MP4 is a widely-used video format and most modern versions of Windows come with built-in support for it. In fact, Windows Media Player, which is the default media player in Windows, is fully capable of playing MP4 videos without requiring any additional software.

That being said, there may be situations where additional codecs are needed to play certain MP4 videos on Windows. For example, if the MP4 video is encoded with a codec that is not supported by Windows, you may need to install a third-party codec pack to enable playback. Additionally, if the MP4 video is corrupted or damaged, it may not play properly on any media player without repairing the file first.
Comment 53 Gabor Kelemen (allotropia) 2023-06-28 07:34:19 UTC
*** Bug 156037 has been marked as a duplicate of this bug. ***
Comment 54 dev 2023-07-26 16:38:42 UTC
I was helping a missionary today and discovered this bug. 

I'd like to collaborate with volunteers using the ODF formats, but this bug limits a good chunk of my presentations. I tried using Handbrake to go to x264 and MPEG-4, neither worked to import.

Video plays fine outside of impress using the video player built into Windows 11.
Comment 55 stulz 2023-11-13 09:22:36 UTC
Problem still is present in 7.6.21 (x86, 64, Windows 10).

Installed K-Lite Codec Pack, but the start of the video is delayed and therefor hardly usable in a presentation.

Additionally I strongly argue that a presentation tool should reliably play videos in the same version and not rely on externally installed codecs.

Being on stage and your presentation is not working is a bad place to be.
Comment 56 Stéphane Guillou (stragu) 2023-11-13 09:24:12 UTC
*** Bug 157944 has been marked as a duplicate of this bug. ***
Comment 57 Gabor Kelemen (allotropia) 2024-01-17 08:03:07 UTC
*** Bug 159215 has been marked as a duplicate of this bug. ***
Comment 58 Antonio Vidal 2024-01-18 02:44:28 UTC
If this holds true:
...on Windows we use DirectShow...
https://wiki.documentfoundation.org/Media_Support

Shouldn't this be the problem?

The fact that LO uses a legacy framework to handle multimedia, it can lead to potential security vulnerabilities as well

DirectShow was replaced by Media Foundation back in Windows Vista and is still being used in Windows 11
https://www.wikiwand.com/en/Media_Foundation

DirectShow don't support MP4 officially, only via third party app/codec K-lite. 
https://www.wikiwand.com/en/DirectShow

Expecting users to install this codec just to import mp4 isn't viable, because users already have mp4 support in their media player, which is derived from Media Foundation as well

If you want to test out, just play any .mp4 video in Windows 10/11, the codec is not the problem, it's the framework

There isn't a problem in Mac because LO replaced the old framework QuickTime to the modern AVFoundation

On Linux, the GStreamer is still receiving updates, which provides the necessary code to support newer formats

What is holding this decade old issue back? Is LO looking to get a phoronix blog post about this?
https://cse.google.com/cse?cx=partner-pub-0253814508491313:1305299758&ie=UTF-8&q=decade+old+bug&sa=Search&ref=duckduckgo.com/

Why we're shipping code which has not being maintained since <2005

MS recommends the use of MF instead of DS
https://learn.microsoft.com/windows/win32/directshow/directshow
https://learn.microsoft.com/windows/win32/audio-and-video

This problem will persist until this legacy framework is replaced by the modern one, or an open source one — VLC or FFmpeg

Sorry about this rant, appreciate all the volunteer work that is done on LO. It is sad to see users not being able to do something simple as importing a video/sound which is a basic feature on all Office apps.
Comment 59 m_a_riosv 2024-05-23 21:17:41 UTC
*** Bug 161224 has been marked as a duplicate of this bug. ***
Comment 60 clubcipi 2024-10-03 09:24:07 UTC
Still impossible to insert a mp4 video
Comment 61 clubcipi 2024-10-03 09:27:21 UTC
problem still there
windows11 and impress 24.8