Embedding videos in an Impress presentation is bit tricky depends on what is your system and other factors. This article take a deep look into this and would help you insert a video inside a slide in Impress and play it.
Inserting videos in LibreOffice impress have its own troubles (for some users). Being an open source and free project, sometimes the features and bug fixes are delayed. Inserting videos were bit difficult back in time due to format issues (e.g. mp4 etc) and platform (Windows/Linux) issues. However with the recent release of LibreOffice, it is now easier to insert videos in Impress.
LibreOffice doesn’t support media files directly. It relies on Operating system’s installed media support. If your OS supports the media with available codecs then you can insert any video into the presentation.
In Windows systems, LibreOffice /Impress uses DirectShow for media playback. Windows, by default comes with pre-installed media support. However additional media can be supported using K-Lite codec pack which contains most of the codecs and container formats.
In Linux based systems, LibreOffice /Impress uses GStreamer for media playback. GStreamer comes with basic codecs in Linux systems including Ubuntu based derivatives. You can have additional codec and format support via installing extra packages.
Inserting a Video in Impress
To insert a video, from menu select Insert -> Audio or Video.
From the file selection dialog box, choose the video to be inserted.
If the video is supported, you would see it inside the slide.
If the video is not supported, you would get a message ‘The format of the selected file is not supported’.
For Windows, you may install additional K-Lite codec pack for more media support.
For Linux, install below packages – if your distro uses gstreamer 0.10. You can get those install via apt, synaptic in Ubuntu.
gstreamer0.10-plugins-good, gstreamer0.10-plugins-bad, gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly, gstreamer0.10-ffmpeg, gstreamer0.10-fluendo-mp3, libav-tools
Current List of Supported File Formats – Windows and Linux
As LibreOffice Impress is constantly evolving and being enhanced along with Windows and Linux, it is always wise to check what are the actual file types are supported. Refer below wiki pages which contains the supported lists.
Playing the Video
While not in presentation mode, you can control the playing via Media playback tools via sidebar (View -> Sidebar).
During presentation mode, the video is likely to be full screen and may flicker sometimes. I feel this is a bug.
Note: Impress does not store the embedded videos inside the presentation files. So, if you remove the video from the path or distribute the presentation to others, make sure to distribute the inserted video files as well along with it.
Removing the Video
You can simply select the video inside the slide and click delete to remove.
This is the most easy way to insert any video in Impress presentation slide. Make sure to install the codecs required and save the file. If you are carrying your presentation via cloud/Drive or USB stick, make sure to take the video file as well and keep the video in the same place of the Impress file.