Created attachment 193899 [details] Sample of a video file causing this issue My old presentation started to freeze after some time. I do not remember, when it worked last. The bug may emerged sometime at version 7.x or 24.2. (but more likely 7.x, as I remember having issues before upgrading to 24.2). Freezing means unresponsive Impress without excessive CPU/RAM usage. Actually, the process is pretty much idle. Finally, finding the time, I investigated, why freezing occurs at a random time point. This led to the finding that freezing occurred at any time certain 2 slides were displayed (either in slide pane or content view). So I checked the content of those slides and found video files linked. After a few trials of removing those and checking if Impress freezes, I realized that removing all of those 4 videos managed to prevent freezing Impress. I think that this is a codec issue. Then I went ahead and opened a fresh new file and tried to embed or link one of these videos. This immediately froze Impress. These videos are (if I remember correctly) generated with ImageJ. They may deviate from traditional AVIs recorded by cameras in terms of encoding. For instance, they may not be RGB or 8-bit color depth (e.g. 16-bit). Besides, they may also not be 24fps or any other traditional frame rate. All of these scenarios are quite normal for a presentation in life sciences (and probably also medicine, astronomy, physics etc.). My version of LO: Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: de-AT (en_US.UTF-8); UI: en-US Calc: threaded
I can reproduce a freeze at inserting the sample video into a new Impress document with a recent daily build: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0dcaff6043e1f24ce0fa354dff80a86e40622247 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded ... and as far back as 5.3.0.3. Drag-and-drop or Insert > Audio or Video makes no difference. Changing the file name makes no difference. In 5.2.0.4, LO says the format is not supported. As you said, there is no excessive CPU activity, it just freezes quietly. I note that the reported codec for the file is "JPEG". GNOME Videos and VLC have no issue playing the file. No issue with a sample AVI file using an MP4 codec, like https://filesamples.com/samples/video/avi/sample_960x540.avi