Video in presentation shows black square and is not playable

  • OnlyOffice version: Community Edition 9.0.4.50 (deb)
  • OS: Arch Linux 6.16.8-arch3-1 (64-bit)
  • Video format: MPEG-4 (Codec: H.264)

When I insert a video into a presentation, it only displays a black square as the preview image. A player bar appears below, but the video itself cannot be played.

Is there a way to fix this issue or enable video playback in presentations?

Hello @scyrock

Do I understand that you are using ONLYOFFICE Docs Community Edition and not a Desktop Editor?

I’m a bit confused.
I’m using ONLYOFFICE Desktop Editors, which I installed via the AUR package: AUR (en) - onlyoffice-bin ( based on the .deb package onlyoffice-desktopeditors–9.0.4.deb).

However, when I check the “About” section, it shows: Community version 9.0.4.50 (deb).

“About” from the left toolbar or from the main screen? Can you share a screenshot.

Thank you for the screenshot. As I can see, the package has been updated to the version 9.1. Do you experience the same issue after the update?

By the way, this AUR package is developed and maintained by the community of Arch Linux enthusiasts, it is not an official package.

Unfortunately, the problem still persists even with the newer version of ONLYOFFICE Desktop Editors.
I also tested the AppImage version available in the official download section, but the issue remains. When attempting to play a video embedded in a presentation, the following errors appear in the terminal:

(DesktopEditors:43217): GStreamer-WARNING **: 10:38:30.814: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

Install GStreamer - ArchWiki properly solve the problem.

I am also having this problem.
I do have GStreamer installed.

OS info

$ lsb_release -a      
No LSB modules are available.
Distributor ID: Kali
Description:    Kali GNU/Linux Rolling
Release:        2025.3
Codename:       kali-rolling

It should be noted I’m running Kali as a VM on Proxmox. No GPU passthrough.

OnlyOffice version:

$ onlyoffice-desktopeditors --version
ONLYOFFICE ver. 9.1.0.173

inserted video info:

$ ffprobe ~/Videos/simplescreenrecorder-2025-10-22_21.39.08.mp4                                                                 
ffprobe version 7.1.2-1+b1 Copyright (c) 2007-2025 the FFmpeg developers
  built with gcc 15 (Debian 15.2.0-4)
  configuration: --prefix=/usr --extra-version=1+b1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jackp/Videos/simplescreenrecorder-2025-10-22_21.39.08.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.7.100
  Duration: 00:00:06.70, start: 0.000000, bitrate: 1931 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 1927 kb/s, 30.15 fps, 30 tbr, 15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
                                                                                                                                                           
$ ffprobe ~/Videos/output_compat.mp4 
ffprobe version 7.1.2-1+b1 Copyright (c) 2007-2025 the FFmpeg developers
  built with gcc 15 (Debian 15.2.0-4)
  configuration: --prefix=/usr --extra-version=1+b1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jackp/Videos/output_compat.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.7.100
  Duration: 00:00:06.70, start: 0.000000, bitrate: 1404 kb/s
  Stream #0:0[0x1](und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 1402 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.101 libx264
                              

Trying to run onlyoffice. The “libva error” shows up as soon as open office starts - before I select the presentation editor, which itself is before I try inserting the video.

$ onlyoffice-desktopeditors --gstreamer-debug-level=2                

(DesktopEditors:17677): Gtk-WARNING **: 22:39:58.437: gtk_disable_setlocale() must be called before gtk_init()
libva error: vaGetDriverNames() failed with unknown libva error
^C

It should also be noted that if double-click the video files in XFCE file explorer, they open and play outside of OnlyOffice just fine

Hello @crap123577

Do you also use Arch community package of Desktop Editors?