Bug 118631 - Impress embeded video files show flickering white stripes
Summary: Impress embeded video files show flickering white stripes
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.0.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-09 08:38 UTC by rosgnilk
Modified: 2021-04-16 12:03 UTC (History)
3 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 rosgnilk 2018-07-09 08:38:13 UTC
Description:
I have slide shows with embeded video files from previous versions of LibreOffice / Impress and they all worked well. If I play the video files with Ubuntu 18.04 and LibreOffice 6.0.3.2 they show flickering white stripes. the stripes are about 1 centimeter wide and move up and down in the picture of the video.

Steps to Reproduce:
1. Embed a video file in a slide show.
2. Play the slide show / the video.

Actual Results:
The video plays but shows a disrupted picture with whiteish flickering stripes.

Expected Results:
The video should play as it is in a video player whithout a disrupted picture.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Drew Jensen 2018-07-09 22:10:12 UTC
Two questions (three maybe).
Types of video content and when you say from older versions of libreoffice, how old?

I tried with a couple of Impress files made with 5.4.7, with 3 different videos
types mp4 file with mp4 H.264, ogv  with Theora and webm  with VP8.

They worked without a problem under 5.4.7 and 6.0.5, using Ubuntu 18.04.

I got some older ones in a backup, 4.x versions, but I am interested in the video type in the file giving you problems.

Thanks, setting this to needinfo for the moment.
Comment 2 rosgnilk 2018-07-10 08:35:34 UTC
It worked under Ubuntu 16.04 I can't remember which LibreOffice version was installed there.

It doesn't matter what kind of video files as far as I figered out it happens to any kind of file. I uploaded an examaple here: https://ch.owncube.com/index.php/s/VaTbKwx9UkzKrEA

In makind the example I figured out, that it happens to new presentations too. So it happens not only to old presentations but to new ones as well.
Comment 3 Drew Jensen 2018-07-10 12:27:12 UTC
(In reply to rosgnilk from comment #2)
> It worked under Ubuntu 16.04 I can't remember which LibreOffice version was
> installed there.
> 
> It doesn't matter what kind of video files as far as I figered out it
> happens to any kind of file. I uploaded an examaple here:
> https://ch.owncube.com/index.php/s/VaTbKwx9UkzKrEA
> 
> In makind the example I figured out, that it happens to new presentations
> too. So it happens not only to old presentations but to new ones as well.

IDK - that test file actually crashed both 6.0.5 and 6.1 in my environment. 

Extracted the media files, the two .flv files work fine stand alone, but the .mpeg crashes the media player in my OS every time (not just in Impress).

Speaking of which if I create a new Impress file and drop in one of the .flv files the new impress file works fine and the video plays fine.

If I try to add the .mpeg file, using 6.0.5 than Impress hangs.

Also, trying to check the properties of the Billy Elliot.mpeg file crashed gnome 'Files' twice.

so, it is looking like the mpeg file is the culprit and the OS support changed.
Comment 4 Buovjaga 2018-07-10 13:49:13 UTC
(In reply to Drew Jensen from comment #3)
> Extracted the media files, the two .flv files work fine stand alone, but the
> .mpeg crashes the media player in my OS every time (not just in Impress).

The .mpeg plays fine in Impress slideshow for me. No stripes, no crash.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 2cff0e2ceb53b2986be8788c7505cabbd04d0288
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 7th 2018
Comment 5 Drew Jensen 2018-07-10 14:03:57 UTC
(In reply to Buovjaga from comment #4)
> (In reply to Drew Jensen from comment #3)
> > Extracted the media files, the two .flv files work fine stand alone, but the
> > .mpeg crashes the media player in my OS every time (not just in Impress).
> 
> The .mpeg plays fine in Impress slideshow for me. No stripes, no crash.
> 
> Arch Linux 64-bit
> Version: 6.2.0.0.alpha0+
> Build ID: 2cff0e2ceb53b2986be8788c7505cabbd04d0288
> CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
> Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
> Built on July 7th 2018

Ubuntu 18.04 (64bit AMD) default Gnome desktop.
Version: 6.2.0.0.alpha0+
Build ID: 6af8aa411189993942d4a8a13199b0a5e026c003
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk2; 

Inserting that .mpeg into a new Impress file crashes Libo consistently.

On the other hand, I just tired opening that file with OpenShot and voila it is playing like a champ. Now I am scratching my head.
Comment 6 rosgnilk 2018-07-11 08:53:40 UTC
What have I started here? I just randomly picked a few video files all of which play fine with vlc and totem but show like all the rest of my video files the weird behaviour in Impress.
Comment 7 Buovjaga 2018-07-11 09:02:12 UTC
(In reply to rosgnilk from comment #6)
> What have I started here? I just randomly picked a few video files all of
> which play fine with vlc and totem but show like all the rest of my video
> files the weird behaviour in Impress.

You have created a monster!! :)

Please copy and paste here the contents of LibreOffice's Help - About. This allows us to know more about your system.

You might also try with an appimage of a pre-release (6.1) or a daily build (6.2): https://libreoffice.soluzioniopen.com/
Comment 8 rosgnilk 2018-07-24 15:46:30 UTC Comment hidden (obsolete)
Comment 9 rosgnilk 2018-07-24 15:47:00 UTC Comment hidden (obsolete)
Comment 10 rosgnilk 2018-07-24 15:54:48 UTC Comment hidden (obsolete)
Comment 11 rosgnilk 2018-07-24 15:56:57 UTC
I just had a quick look, with the appimage of the pre-release all the tested video files worked as expected.
Comment 12 Buovjaga 2018-07-24 16:55:47 UTC
Ok, perhaps it is something related to Ubuntu and gtk3. Try this:

1. Open terminal
2. Give this command: SAL_USE_VCLPLUGIN=gtk libreoffice
3. Open your Impress file and see how the videos play

Step 2 launches your Ubuntu-packaged LibreOffice so it uses gtk2 for the interface instead of gtk3.
Comment 13 rosgnilk 2018-07-24 17:05:50 UTC
the error doesn't go away if i open lO with gtk2. (It does show some improvement: the flickering stripes are now in black instead of in white ;-)
Comment 14 Buovjaga 2018-07-24 17:37:28 UTC
(In reply to rosgnilk from comment #13)
> the error doesn't go away if i open lO with gtk2. (It does show some
> improvement: the flickering stripes are now in black instead of in white ;-)

Ah, then your appimage test proves that this is fixed in 6.1!
Comment 15 rosgnilk 2018-07-25 11:14:58 UTC
oh no, I gess it isn't planed that LO 6.1 lands in Ubuntu 18.04. That means I have to fiddle around with an manual upgrade to 6.1 which is allways a pain in the ass with ubuntu.
Comment 16 rosgnilk 2019-01-12 11:07:29 UTC
I just upgraded LO to 6.1 (ppa) but the bug doesn't go away, the videos still show the weird stripes. The same applies to the snap version.
Comment 17 Buovjaga 2019-01-12 12:06:54 UTC
(In reply to rosgnilk from comment #16)
> I just upgraded LO to 6.1 (ppa) but the bug doesn't go away, the videos
> still show the weird stripes. The same applies to the snap version.

Based on the results so far, this seems to be an Ubuntu-only bug. You should report it to them: https://bugs.launchpad.net/ubuntu/+source/libreoffice
Tell them that the problem does not appear for you with the appimage.

If in the future it turns out not to be strictly Ubuntu-only, we can change the status.
Comment 18 jo.spam89 2021-04-16 12:03:52 UTC
I think it is due to hardware acceleration:

* Tools > Options > View > Graphics Output > uncheck "Use hardware acceleration"

@Buovjaga I have a similar issue on fedora: https://ask.libreoffice.org/en/question/304553/white-stripes-on-screen/?answer=304554#post-id-304554