Bug 166286 - When inserting a video file, it is not scaled down to slide (or smaller) dimenions
Summary: When inserting a video file, it is not scaled down to slide (or smaller) dime...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Media-Playback
  Show dependency treegraph
 
Reported: 2025-04-21 18:47 UTC by Eyal Rozenberg
Modified: 2025-05-08 06:36 UTC (History)
2 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 Eyal Rozenberg 2025-04-21 18:47:50 UTC
To reproduce:

1. Obtain a video of dimensions 1920x1080
2. Use Impress on a monitor with resolution 1920x1080
3. Create a new presentation
4. Run the "Insert Audio or Video" UNO command (it's not on the menus; but see bug 166285 about putting it in Insert > Media)
5. Choose your video file.

Expected result:
Video object rectangle fits the entire slide, or an area smaller than the entire slide (e.g. size of content area, or the maximum integer multiple scale-down factor which fits the slide, or the maximum power-of-two scale-down factor which fits the slide).

Actual result:
Video object rectangle far exceeds slide dimensions (e.g. about 1.8x width).
Comment 1 Heiko Tietze 2025-04-22 07:59:51 UTC
Sounds reasonable although auto-scaling would obfuscate the original size.
Comment 2 Eyal Rozenberg 2025-04-22 22:46:13 UTC
(In reply to Heiko Tietze from comment #1)
> Sounds reasonable although auto-scaling would obfuscate the original size.

Why would the original size be meaningful on a slide? You can't see anything in its original size in a slideshow.

And - we scale images to slide dimensions as the bounding rectangle, when inserting them - so how can it be different for videos?
Comment 3 Heiko Tietze 2025-05-08 06:36:12 UTC
We discussed the topic in the design meeting. In fact, images are scaled down to the slide real estate and we should do so as well for other media types.