Bug 108108 - Impress: unable to insert video
Summary: Impress: unable to insert video
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-26 09:58 UTC by Frank
Modified: 2017-06-02 09:27 UTC (History)
1 user (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 Frank 2017-05-26 09:58:26 UTC
Windows 10 Pro - Libre Office Impress clean install

Unable to insert video into slide. Tried ogv, flv, wav, mov - always the same error message: file format is not supported

Installed gstreamer in Windows - no difference

Inserted a link to a video file on local file system and video plays in VLC (full screen). At the end of the video it remains in VLC until manual exit back to Impress. 

Repeatable.
Comment 1 Buovjaga 2017-05-27 18:26:48 UTC
Maybe try LAV Filters: https://github.com/Nevcairiel/LAVFilters/releases
Comment 2 Frank 2017-05-28 18:15:06 UTC
Thanks for the suggestion, tried it and no difference. OpenOffice has the same behaviour (as you'd expect I guess). But in Linux all is well (various distros), so obviously a driver/codec problem. A Linux created presentation with embedded video also displays properly on Android. So shame on you Windows 10!
Comment 3 Frank 2017-05-28 18:34:42 UTC
This probably has nothing to do with Libre. It now turns out that I cannot play videos by clicking on them in explorer. Windows 10 comes up with 'Films & TV' and an error code that doesn't exist according to the MS website. I'll dig a little deeper.
Comment 4 Frank 2017-05-28 18:46:13 UTC
Fixed the Windows 10 problem with this link:

https://support.microsoft.com/en-nz/help/3078121/help-with-movies-tv-app-problems-on-windows-10

But Impress still doesn't allow me to embed a video that plays in 'Films & TV'.
(format not supported)
Comment 5 Buovjaga 2017-05-29 05:50:38 UTC
Maybe try with the latest LibreOffice, version 5.3.3, just to be sure. http://www.libreoffice.org/download/download/?type=win-x86_64&version=5.3.3
Comment 6 Frank 2017-05-29 08:50:15 UTC
Yes, it's different!

I now get a very big question mark (bigger than the slide), but the slide plays the video! There is a problem for me with the size of the video, but by carefully adjusting the size I can get rid of the black bars surrounding it. 

I'm surprised by the fact that I cannot set my slide size in pixels. I'm designing my presentation for a large HD TV (1920 x 1080 pixels), so my resolution is fixed and independent of the physical screen size. DPI doesn't come into it (that's the screen manufacturers problem). So why not have pixels as an option (rather than cm etc.)? And of course 1920 x 1080 is a 16:9 ratio.

But at least it now seems to work (though in Linux I see the first frame rather than the question mark).

Well done!
Comment 7 Buovjaga 2017-05-29 09:05:27 UTC
Nice to hear that it works :) Let's close

(In reply to Frank from comment #6)
> I'm surprised by the fact that I cannot set my slide size in pixels. I'm
> designing my presentation for a large HD TV (1920 x 1080 pixels), so my
> resolution is fixed and independent of the physical screen size. DPI doesn't
> come into it (that's the screen manufacturers problem). So why not have
> pixels as an option (rather than cm etc.)? And of course 1920 x 1080 is a
> 16:9 ratio.

Did you test it on the TV yet?
Comment 8 Frank 2017-06-01 20:47:25 UTC
Yep, works quite well.

Slide size is set to screen size 130cm x 73cm (roughly 16:9). You need to use very large font sizes of course e.g. some of my titles are set to 240

Closeup edges are not smooth of course, but viewed from a normal 'tv' distance, the presentation looks fine.

Why the question?
Comment 9 Buovjaga 2017-06-02 05:09:24 UTC
(In reply to Frank from comment #8)
> Yep, works quite well.
> 
> Slide size is set to screen size 130cm x 73cm (roughly 16:9). You need to
> use very large font sizes of course e.g. some of my titles are set to 240
> 
> Closeup edges are not smooth of course, but viewed from a normal 'tv'
> distance, the presentation looks fine.
> 
> Why the question?

Question was because you anticipated something problematic with the TV. Next you can try simply Format: 16:9 for the slide without touching the screen size in centimeters (ie. keep it at the default 28,00 cm x 15,75 cm). It scales the slide to the screen, so it should not matter.
Comment 10 Frank 2017-06-02 09:27:43 UTC
It does matter I'm afraid. 

If you keep the slide size as suggested, the final rendering of fonts scales up and produces very coarse rendering. 

Try a slide at whatever 'small' size you like and try to reproduce it on 1920 x 1080. You may agree that the font rendering is not great.

By changing the slide size and adjusting the font size, the jagged edges are much less pronounced and quite acceptable at a distance (much like a tv).