Missing Video Codecs

Post Reply
Angell1993
Posts: 4
Joined: Wed Jan 22, 2025 8:06 pm

Missing Video Codecs

Post by Angell1993 »

I've run into an issue with embedded videos in PowerPoints, that says Missing Video Codec for embedded videos..

And there is no information I can find on which Video Codecs are used in FreeOffice Presentations under Linux, I do use Arch Linux..

It's a little hard to install the needed codecs if they are not listed anywhere, that's visible..

Normally ffmpeg, gstreamer, mplayer, mpv even vlc should be enough for most apps under linux for video playback..
lgsl
Posts: 176
Joined: Wed Mar 04, 2020 8:00 pm

Re: Missing Video Codecs

Post by lgsl »

Take a look at https://wiki.archlinux.org/title/Codecs ... deo_codecs

Installing vlc, mplayer and/or mpv wont solve the problem.

When you use Arch linux you must do things the arch linux way.
Angell1993
Posts: 4
Joined: Wed Jan 22, 2025 8:06 pm

Re: Missing Video Codecs

Post by Angell1993 »

FreeOffice is the only app I use that has this issue, I can play any media file as embedded in my own app just by having vlc installed from the package manager, and I also use ffmpeg, gstreamer, mplayer, mpv as well as all the these packages..


5 extra/rav1e 0.7.1-1 (1.6 MiB 7.5 MiB) (Installed)
An AV1 encoder focused on speed and safety
3 extra/dav1d 1.5.0-1 (627.5 KiB 1.7 MiB) (Installed)
AV1 cross-platform decoder focused on speed and correctness
2 extra/svt-av1 2.2.1-1 (1.8 MiB 5.2 MiB) (Installed)
Scalable Video Technology AV1 encoder and decoder


1 extra/libde265 1.0.15-3 (269.5 KiB 784.4 KiB) (Installed)
Open h.265 video codec implementation

1 extra/openh264 2.5.0-1 (648.1 KiB 2.2 MiB) (Installed)
H.264 encoder and decoder

1 extra/libmpeg2 0.5.1-10 (75.4 KiB 232.8 KiB) (Installed)
Library for decoding MPEG-1 and MPEG-2 video streams

1 extra/xvidcore 1.3.7-3 (222.5 KiB 687.9 KiB) (Installed)
XviD is an open source MPEG-4 video codec

4 multilib/lib32-libvpx1.3 1.3.0-4 (638.3 KiB 1.7 MiB) (Installed)
VP8 and VP9 codec
3 multilib/lib32-libvpx 1.15.0-1 (1.2 MiB 3.8 MiB) (Installed)
VP8 and VP9 codec
2 extra/libvpx1.3 1.3.0-3 (613.8 KiB 1.6 MiB) (Installed)
VP8 and VP9 codec
1 extra/libvpx 1.15.0-1 (1.3 MiB 3.7 MiB) (Installed)
VP8 and VP9 codec

2 extra/xine-lib 1.2.13-11 (2.8 MiB 7.3 MiB) (Installed: 1.2.13-10)
Multimedia playback engine
1 extra/xine-ui 0.99.14-2 (1.7 MiB 3.4 MiB) (Installed)
A free multimedia player

3 extra/gst-libav 1.24.11-2 (95.6 KiB 242.8 KiB) (Installed)
Multimedia graph framework - libav plugin
2 extra/gstreamer 1.24.11-2 (2.0 MiB 11.1 MiB) (Installed)
Multimedia graph framework - core

1 extra/gst-plugins-ugly 1.24.11-2 (176.5 KiB 549.4 KiB) (Installed)
Multimedia graph framework - ugly plugins

So you tell me what is missing to playback embedded video:
Type: MCI Movie
File: [Embedded] - 35983kB
Exported as media1.wmv.. Exported it plays fine in vlc, mplayer, ffplay, mpv, xine, Parole..

ffmpeg give this info for video codec:
Stream #0:0(dan): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 8192 kb/s, 25 fps, 25 tbr, 1k tbn

Plays fine on the Windows app, but the Linux app won't play it keeps saying "Unable to play video (Properly missing codec)"..

I found the issue, FreeOffice is using the gstreamer engine, it was the last one that didn't work in the beginning until I found the required packages..
lgsl
Posts: 176
Joined: Wed Mar 04, 2020 8:00 pm

Re: Missing Video Codecs

Post by lgsl »

You do not have the wmv codec installed. The error is right there in what you share. Check you have libavcodec and gstreamer good, band and ugly codecs installed. This should solve the issue.

VLC can play this file because it has its own video codecs. Same foes for mpv.
Angell1993
Posts: 4
Joined: Wed Jan 22, 2025 8:06 pm

Re: Missing Video Codecs

Post by Angell1993 »

lgsl wrote: Tue Jan 28, 2025 4:26 pm You do not have the wmv codec installed. The error is right there in what you share. Check you have libavcodec and gstreamer good, band and ugly codecs installed. This should solve the issue.

VLC can play this file because it has its own video codecs. Same foes for mpv.
libavcodec comes with ffmpeg..
mplayer, mpv, even vlc is based on ffmpeg so they might all share the libavcodec..

gstreamer require these addons to work with wmv codec:
gst-plugins-ugly
gst-libav

Although I did end up narrowing down the issue, by eliminating ffmpeg, mplayer, mpv, vlc and xine before I found the issue with gstreamer..
Is gstreamer even listed anywhere as the default media engine in FreeOffice on Linux??
lgsl
Posts: 176
Joined: Wed Mar 04, 2020 8:00 pm

Re: Missing Video Codecs

Post by lgsl »

Most, if not all, Desktops relies on gstreamer this days so is a "given", I suppose.

Now what is uncommon this days is the use of wmv. To be honest I would simply convert the video to a more standard/better supported file format and be done with it.
Angell1993
Posts: 4
Joined: Wed Jan 22, 2025 8:06 pm

Re: Missing Video Codecs

Post by Angell1993 »

wmv is the embedded format in powerpoint, so not really a choice, seeing it's an mp4 before adding it to powerpoint..

As for gtreamer I've never had any issues before, properly because of wmv being a weird format to begin with..
Post Reply

Return to “FreeOffice Presentations 2024 for Linux”