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
Thanks for reporting. I can not reproduce this behavior using Linux Mint 14 x64 with LibreOffice 4.0.2.1.
Thank you for reporthing this bug, I can reproduce this bug running LibreOffice 4.0.2.1 on windows 7
BTW Windows only bug, can n't reproduce on mac
Update: this is reproducible with LO 4.2 on OS X 10.8.4. When opening a .mp4 file in LO presentation media player I get "The format of the selected file is not supported.". Interestingly this does not happen with LO 4.1.1.2 on OS X 10.8.4, where the file get's played. I do hear audio but don't see anything. Adding keyword "regression". Setting platform to ALL. Version: 4.2.0.0.alpha0+ Build ID: 9fed8a5e4a4c45d6a08260e9480ca6b43254b120 TinderBox: MacOSX-X86_64@43, Branch:master, Time: 2013-08-29_07:14:27 I'd love to raise the importance of this. If a dev agrees please proceed. If the legacy file formats wmf or avi are supported, much more the more frequently used mp4 format should be properly supported.
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.
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.
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
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.
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....
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.
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
I can do MP4 insertion on LO 4.0.5.2 (Win7 32bit), with VLC 2.0.8 installed.
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). :)
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).
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.
Here's the OS X report: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=70365
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?
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.
Yup, today's nightly build works with mp4 under Mac OS X. Thanks :-)
The same problem with libreoffice 4.2.3.3 mac osx 10.9 no video file can be inserted
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
it irritates the hell out of me
@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.
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".
Sorry..I think it's Windows only since Michael & you stated so in comment 14, comment 15, comment 16
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.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later): https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-07-18
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 ???
Created attachment 127315 [details] test .mp4
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.
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".
The same behaviour with *.mov-video-files. mpg-files work.
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
edit: I intended 5.2.4 and 5.3 portable
Setting Assignee back to default. Please assign it back to yourself if you're still working on this issue
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.
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
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!)
(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
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.
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.
problem still present in LO 6.0.0.3 on Windows 10
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...
P.S. To give it another chance I tried the proposed solution (K-Lite DirectShow Filter) but then the videos did not play, just showed static images and sound... From other videos not even a correct static image was shown but a totally deformed image. Horrible... I'm done now with LibreOffice. It's so sad that in so many years you were not able to implement a software that is even close to MS Office. Well, maybe it's fair that they charge so much money because - in contrast to you guys - these people are really talented and can do software that works!
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...
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)
Sometimes what happened that the videos or audios do not play in t windows 10 but you have to first do the settings in the computer if you have the windows 10 so you can fix this error from http://windowstuts.net/fileexplorer . It has the best solution for this issue.
I’ll continue to do that. However the point of the article was to make people think and not just go into autopilot mode! https://autoinsuranceclick.net
This is really great work.Thank you for sharing such a useful information here in the blog. https://www.social-contest.com
Problem still in LO 7.0.0-alpha1. MP4 is a de-facto standard and supported by Windows through its Media Foundation framework.
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
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.
*** Bug 156037 has been marked as a duplicate of this bug. ***
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.
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.
*** Bug 157944 has been marked as a duplicate of this bug. ***
*** Bug 159215 has been marked as a duplicate of this bug. ***
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.
*** Bug 161224 has been marked as a duplicate of this bug. ***
Still impossible to insert a mp4 video
problem still there windows11 and impress 24.8