Description: When trying to insert a vertical video (e.g. from a phone in portrait mode, a TikTok etc.) into LibreOffice Impress, the video seems to be rotated to landscape (see also reports here: https://ask.libreoffice.org/t/i-want-to-insert-a-video-from-an-iphone-but-when-i-do-its-horizontal-instead-of-vertical-how-can-i-change-this/52959). I've also noticed that Impress basically slows to a halt when insertig the video. Steps to Reproduce: 1.Open a new and empty Impress presentation. 2. Add a video in portrait orientation through Insert - Audio/Video Actual Results: The video appears to be rotated to landscape orientation, Impress slows to a halt. Expected Results: The video is inserted in portrait orientation. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.5.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland) Locale: de-DE (de_DE.UTF-8); UI: de-DE Ubuntu package version: 4:24.8.5-0ubuntu0.24.10.2 Calc: threaded
Please attach a sample file, reduce the size as much as possible without private information.
Created attachment 199791 [details] Vertical Video stretched when inserted
Trying to provide a sample file proved more difficult than expected, I'm sorry: In some cases adding a vertical video file to the presentation just worked (for example when inserting this video https://upload.wikimedia.org/wikipedia/commons/transcoded/c/c5/Blue_and_yellow_macaw_eating_a_peanut.webm/Blue_and_yellow_macaw_eating_a_peanut.webm.480p.vp9.webm into an empty slide). In other cases LibreOffice froze and crashed (when trying to insert the original video from the same source (https://commons.wikimedia.org/wiki/File:Blue_and_yellow_macaw_eating_a_peanut.webm). In some cases the video was stretched (so I think I was wrong about it being rotated, I just couldn't see properly in the original case because the video wasn't visible before the crash), which I think might depend on the slide template used (this is what happens in the file I have attached). So in fact there might have been an interplay of several problems: LibreOffice crashing when inserting certain videos and LibreOffice stretching vertical videos to landscape mode when inserting them. I hope that helps and am sorry that I cannot be more helpful.
Thanks for the update! It looks like the issue is more about stretching than rotation — maybe try inserting on a blank slide and locking the aspect ratio. Also, if you're working with mobile videos like TikToks, check these tools: tiktok premium apk tiktok premium apk They help manage and download clean video formats easily.
Thanks for the update! It seems the issue is more about video stretching than rotation. Try inserting on a blank slide and locking the aspect ratio — might help. If you're working with vertical videos (like TikTok), these tools can help manage and prep them better: tiktokliveapk.com.pk tiktakmodapk.com
Thanks for the update! It looks like the issue is more about stretching than rotation. Try using a blank slide layout and lock the aspect ratio — it might help. For handling vertical videos (like from TikTok), you can check: https://tiktokliveapk.com.pk https://tiktakmodapk.com
I was supposed to add a buggy video slide to this bug. I had a presentation created with 24.8.x release (in Jan 2025) on Linux containing among others a portrait slide. At that time it displayed OK. When I open this today with Version: 25.8.3.2 (X86_64) / LibreOffice Community Build ID: 580(Build:2) CPU threads: 22; OS: Linux 6.18; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: de-DE it was still in portrait mode, but the first frame/picture was rotated, and the video is displayed rotated as well. As just this video was too large to upload to b.d.o I scaled it down and inserted it to a new slide, and - surprise - everything looked as it should. It looks there was a mayor change in handling videos between the two releases, breaking all old presentations. Let me know if you are interested in the broken presentation, I will provide a download link
(In reply to Axel Braun from comment #7) > I was supposed to add a buggy video slide to this bug. > I had a presentation created with 24.8.x release (in Jan 2025) on Linux > containing among others a portrait slide. s/slide/video/
*** Bug 164846 has been marked as a duplicate of this bug. ***
The video attachment 199533 [details] can also be used for testing.
With attachment 199533 [details], also seen on Windows and already in oldest of 7.1 bibisect repo.