Bug 142807 - Libreoffice don't insert nor playback videos from ver 7 and later
Summary: Libreoffice don't insert nor playback videos from ver 7 and later
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: possibleRegression
Depends on:
Blocks: Media
  Show dependency treegraph
 
Reported: 2021-06-11 21:09 UTC by Alej
Modified: 2021-09-01 03:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alej 2021-06-11 21:09:07 UTC
Description:
From ver 7.1 and later Libreoffice Impress for linux (both deb and Appimage packages) can't insert videos (tested with mp4,avi,mkv containers and x264, divx codecs). Also, odp files with videos inserted in LO 6.4 (that works ok) don't playback them and hangs in LO 7.1 and later.
My system is KDE Neon (Ubuntu 20.04 focal fossa) with full gstreamer install (all plugins).

Error showed in terminal:
(libreoffice:16194): GLib-GObject-CRITICAL **: 18:01:30.112: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:16194): GLib-GObject-CRITICAL **: 18:01:30.112: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:16194): GStreamer-CRITICAL **: 18:01:30.112: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:16194): GStreamer-CRITICAL **: 18:01:30.112: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:16194): GStreamer-CRITICAL **: 18:01:30.112: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:16194): GLib-GObject-CRITICAL **: 18:01:30.112: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:16194): GStreamer-CRITICAL **: 18:01:30.112: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed


Steps to Reproduce:
1. Open Libreoffice Impress 7.1+
2. Insert video
3. Try to playback

Actual Results:
After following the steps above, the system freeze for some time with no playback

Expected Results:
View the inserted video in the slide and be able to playback


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Hangs
Comment 1 Eleonora Govallo 2021-08-11 07:35:20 UTC
No repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: ac0db5736a53a4887cebbacc59026cecb7c44c66
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-08_02:51:24
Calc: threaded

Please try to update LibreOffice to the latest version and reproduce the bug.
Comment 2 Jean-Baptiste Faure 2021-08-11 12:49:34 UTC
(from comment #1)
> [...]
> Please try to update LibreOffice to the latest version and reproduce the bug.

From comment #1, status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.

Best regards. JBF
Comment 3 Alej 2021-08-12 15:58:15 UTC
Test environment:

>lsb_release -a

Distributor ID: Neon
Description:    KDE neon User Edition 5.22
Release:        20.04
Codename:       focal

Gstreamer plugins installed:

>dpkg -l | grep -i Gstreamer-plugin

ii  libgstreamer-plugins-bad1.0-0:amd64         1.16.2-2.1ubuntu1  amd64   GStreamer libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-dev:amd64       1.16.2-2.1ubuntu1  amd64   GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64        1.16.2-4ubuntu0.1  amd64   GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-dev:amd64      1.16.2-4ubuntu0.1  amd64   GStreamer development files for libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64        1.16.2-1ubuntu2.1  amd64   GStreamer development files for libraries from the "good" set
ii  libgstreamer-plugins-good1.0-dev            1.16.2-1ubuntu2.1  amd64   GStreamer development files for libraries from the "good" set

LO versions tested:

LibreOffice-7.1.4.es-x86_64
LibreOffice-7.2.0.0.alpha1-x86_64
LibreOfficeDev-7.3.0.0.alpha0_2021-06-17-x86_64


Description: Open odp file. Insert video file (tested with different containers and codecs, same results) and LO hangs. All above versions happen the same.

Terminal output:

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:23.358: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:23.358: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:23.358: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:23.358: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:23.358: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:23.358: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:23.358: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
^[
(libreoffice:1490): GLib-CRITICAL **: 12:52:43.362: g_source_remove: assertion 'tag > 0' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:43.445: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:43.445: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:43.445: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:43.445: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:43.445: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:43.445: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:43.445: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
^[^[^[^[^[
(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:53.536: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:53.536: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:53.536: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:53.536: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:53.536: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:52:53.536: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:52:53.536: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:1490): GLib-CRITICAL **: 12:53:13.536: g_source_remove: assertion 'tag > 0' failed

(libreoffice:1490): GLib-CRITICAL **: 12:53:13.564: g_source_remove: assertion 'tag > 0' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:53:13.673: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:53:13.673: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:53:13.673: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:53:13.673: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:53:13.673: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(libreoffice:1490): GLib-GObject-CRITICAL **: 12:53:13.673: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(libreoffice:1490): GStreamer-CRITICAL **: 12:53:13.673: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
Comment 4 Roman Kuznetsov 2021-08-12 16:00:57 UTC
It looks as not our bug, but I added KDE META anyway
Comment 5 Jean-Baptiste Faure 2021-08-12 16:08:23 UTC
Not reproducible for me with 

Version: 7.2.1.0.0+ / LibreOffice Community
Build ID: 5af699be26fc959aa7d807e59d3873cc5b2fb230
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

Best regards. JBF
Comment 6 Alej 2021-08-12 17:23:02 UTC
New test on fresh Debian Buster install. LXDE desktop, only minimal install (gstreamer plugins)


Version: 7.2.0.0.alpha1 / LibreOffice Community
Build ID: 94c1521be4ef12f195d08413d5e2134e07a49f85
CPU threads: 1; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: es-AR (es_AR.UTF-8); UI: en-US
Calc: threaded

> lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10

Tested:
Libreoffice appimage 7.2 and Dev

Whats happen:
Open impress, new impress presentation, insert video (mpg, xvid mp4, etc) and LO hangs with same error: 

./LibreOffice-7.2.0.0.alpha1-x86_64.AppImage 

(soffice:1126): GLib-GObject-CRITICAL **: 14:12:05.342: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(soffice:1126): GLib-GObject-CRITICAL **: 14:12:05.342: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(soffice:1126): GStreamer-CRITICAL **: 14:12:05.342: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(soffice:1126): GStreamer-CRITICAL **: 14:12:05.342: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(soffice:1126): GStreamer-CRITICAL **: 14:12:05.342: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(soffice:1126): GLib-GObject-CRITICAL **: 14:12:05.342: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(soffice:1126): GStreamer-CRITICAL **: 14:12:05.342: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed



> dpkg -l | grep streamer1.0-plugins
ii  gstreamer1.0-plugins-bad:amd64        1.14.4-1+deb10u2                        amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-dbg:amd64    1.14.4-1+deb10u2                        amd64        GStreamer plugins from the "bad" set (debug symbols)
ii  gstreamer1.0-plugins-bad-doc          1.14.4-1+deb10u2                        all          GStreamer documentation for plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64       1.14.4-2+deb10u1                        amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps        1.14.4-2+deb10u1                        amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-base-dbg:amd64   1.14.4-2+deb10u1                        amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-doc         1.14.4-2+deb10u1                        all          GStreamer documentation for plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64       1.14.4-1+deb10u1                        amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-good-dbg:amd64   1.14.4-1+deb10u1                        amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-good-doc         1.14.4-1+deb10u1                        all          GStreamer documentation for plugins from the "good" set
ii  gstreamer1.0-plugins-rtp              1.14.4.1                                amd64        GStreamer elements from the "rtp" set
ii  gstreamer1.0-plugins-ugly:amd64       1.14.4-1+deb10u1                        amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-plugins-ugly-dbg:amd64   1.14.4-1+deb10u1                        amd64        GStreamer plugins from the "ugly" set (debug symbols)
ii  gstreamer1.0-plugins-ugly-doc         1.14.4-1+deb10u1                        all          GStreamer documentation for plugins from the "ugly" set


Right now using LO 6.4 and all works well
Comment 7 Alej 2021-08-12 20:04:14 UTC
More updates:

In summary:

LO Appimage versions (7+) don't playback videos (Impress) in all os tested (KDE Neon, Debian Bullseye and Buster), maybe some issues with gstreamer libs?

LO debs versions (7+) in DEBIAN systems (Bullseye and Buster) works ok, no problems.

LO debs versions (7+) in KDE Neon stable don't playback videos in Impress.

Hope it helps.

Kind regards, 

Ale
Comment 8 Timur 2021-08-20 10:06:35 UTC
Alej, please retitle this bug for KDE (and search other Impress video bugs for a duplicate).
Appimage has it's own bug 142240 but I'm also not sure if that's LO bug or not.
Comment 9 Michael Weghorn 2021-08-31 09:17:48 UTC
Works just fine for me with current master on Debian bullseye in a KDE Plasma X11 session.

I have used a "Big Buck Bunny" trailer for testing. Does this happen with every video you use or just specific ones?

Comment 6 mentions that it happens on LXDE with gtk3 VCL plugin as well, so I'm removing this from the KDE meta bug again.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 774bc3d64b6e1149ab9607e3fd11c96eee0da59f
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 10 Timur 2021-08-31 12:03:08 UTC
User Profile Reset: No - reset/rename should be tested.
This line in bug form indicates it's the 1st step to try.
Comment 11 Jan-Marek Glogowski 2021-09-01 03:55:21 UTC
Just check, that you have the required gstreamer none-plugin packages installed (they are also plugins, just not codecs). You want some audio and video sink and most times also gstreamer1.0-plugins-ugly, which has a libx264-160 dependency on Debian Bullseye, which used to be a widely used codec.

I checked with

$ apt search "gstreamer" | grep gstreamer | grep "^[a-z]" | grep -v "\-dev\|\-doc\|\-debug"

You probably want gstreamer1.0-pulseaudio, gstreamer1.0-alsa, gstreamer1.0-x, qtgstreamer-plugins-qt5 and gstreamer1.0-gl.