Bug 142117 - Impress - MP4 H264 video not working
Summary: Impress - MP4 H264 video not working
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2021-05-06 09:35 UTC by laloue
Modified: 2024-02-17 03:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

fichier mp4 demandé (20.59 MB, video/mp4)
2021-05-07 06:49 UTC, laloue
This is what happens when you insert MP4 video (940.81 KB, image/png)
2022-09-28 19:26 UTC, Lucas J

Note You need to log in before you can comment on or make changes to this bug.
Description laloue 2021-05-06 09:35:06 UTC
impossible de d'insérer un fichier vidéo mp4 sur une diapo bien que ce format soit repris dans les formats acceptés par "insérer un son ou une vidéo"

Actual Results:
1/ insérer un son ou une video
2/ explorateur : 20210315_152755.mp4
3/Le format du fichier sélectionné n'est pas pris en charge

Expected Results:
insertion de la vidéo sur la diapo

Reproducible: Sometimes

User Profile Reset: No

Additional Info:
indiquer pourquoi ce fichier au format MP4 (MPEG) n'est pas reconnu
Comment 1 Julien Nabet 2021-05-06 11:33:12 UTC
mp4 is a "container format", could you indicate what are the audio and video codecs of the file for this file?
Ideally, would it be possible you attach the file? (if there's no private/confidential part in it)
Comment 2 laloue 2021-05-06 12:22:47 UTC
j'ai essayé de vous envoyer mon fichier MP4 mais je recois ce message que je ne comprends pas?
"le type de contenu mp4 est invalide. Les types valides doivent être de la forme foo/bar où foo est celui de l’application, audio, image, message, modèle, multipart, texte, vidéo et barre ne doit pas contenir de caractères spéciaux (tels que « = », « ? », ...)."

Dans les caractéristiques du fichier MP4 je n'ai pas trouvé le nom du fichier Vidéo et de celui audio 
peut etre AVC et AAC selon MovieStudio qui sépare les 2 fichiers.

Comment 3 Julien Nabet 2021-05-06 16:04:16 UTC
You can attach your file by using this link:

Please use English so more people may respond here.
Comment 4 laloue 2021-05-07 06:49:52 UTC
Created attachment 171729 [details]
fichier mp4 demandé
Comment 5 QA Administrators 2021-05-08 03:56:37 UTC Comment hidden (obsolete)
Comment 6 laloue 2021-05-08 08:07:32 UTC
you rcvd my mp4 file which is impossible to paste on a diapo ?
Comment 7 Julien Nabet 2021-05-08 19:35:14 UTC
On pc Debian x86-64 with master sources updated today or with LO Debian package 7.0.4, I could insert the video without any error message.
Then I tried to play it, no pb to see the see/ocean with some sound.

Perhaps Windows only bug?

Anyway, I can't help here=>uncc myself.
Comment 8 josephlindquist 2021-09-30 05:25:30 UTC Comment hidden (spam)
Comment 9 Christophe Strobbe 2022-05-20 13:45:30 UTC
I have attempted to reproduce the issue on OpenSUSE 15.2:

Version: / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.5; UI render: default; VCL: kf5
Locale: en-GB (en_GB.utf8); UI: en-GB
Calc: threaded

I can insert the MP4 video in Impress, but the application becomes unusable after inserting the video: I can't go to the Master slide or even to the File menu to close the Impress file. When I press F5 to activate presentation mode, I get a gray rectangle where the video should be and quitting the presentation does not work. I need to close Impress using Alt F4.
When I restart Impress, the application offers to recover the slideshow. However, if I do that, I end up with the same issues as described above. If I want to do something useful with Impress, I need to discard the file recovery.

Below are some of the data that VLC provides about the video:
* Stream 0:
  - Codec: H264 - MPEG-4 AVC (part 10) (avc1)
  - Color primaries: ITU-R BT.709
  - Color space: ITU-R BT.709 Range
* Stream 1:
  - Codec: MPEG AAC Audio (mp4a)
  - Sample rate: 48000 Hz
Comment 10 Lucas J 2022-09-28 19:26:45 UTC
Created attachment 182719 [details]
This is what happens when you insert MP4 video

As you can see in the attachment, the result of inserting MP4 produces distorted image. Application freezes when attempting to play the video. However, when I start the presentation, it works fine.
Comment 11 Lucas J 2022-09-28 19:31:07 UTC
Reproducible in Application produces distorted image when inserting mp4 video. Application freezes when attempting to play an mp4 video using the built-in media player controls. However, when starting the presentation, the video plays properly.

Version: / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 12 Buovjaga 2023-02-14 18:53:04 UTC
laloue: can you try installing this video codec thing: https://github.com/Nevcairiel/LAVFilters/releases

I hope it helps.
Comment 13 QA Administrators 2024-01-17 03:13:01 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2024-02-17 03:13:15 UTC
Dear laloue,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team