Bug 473078 - Cannot render Timeline Preview when it reaches a title
Summary: Cannot render Timeline Preview when it reaches a title
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Title Clips & Subtitles (show other bugs)
Version: 24.12.2
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2023-08-06 18:29 UTC by rlacroix
Modified: 2025-02-20 17:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
minimal reproducing example with a video, a color clip, an image and a title. Only the title crashes the rendering (57.91 KB, application/x-kdenlive)
2023-08-06 18:29 UTC, rlacroix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rlacroix 2023-08-06 18:29:13 UTC
Created attachment 160780 [details]
minimal reproducing example with a video, a color clip, an image and a title. Only the title crashes the rendering

STEPS TO REPRODUCE
1. Open a file 
2.  put a title in the timeline
3. render the timeline preview.

OBSERVED RESULT
Whatever the selected profile is, the render stops immediately, with a message I could not click on in the project on which I encountered the bug.
I managed to make a minimal reproducing file on which I had a clickable “show details” giving me : 
```
[h264_vaapi @ 0x7f1588201f80] Driver does not support some wanted packed headers (wanted 0xd, found 0).[h264_vaapi @ 0x7f1588201f80] Driver does not support packed sequence headers, but a global header is requested.[h264_vaapi @ 0x7f1588201f80] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).[h264_vaapi @ 0x7f1578001f40] Driver does not support some wanted packed headers (wanted 0xd, found 0).[h264_vaapi @ 0x7f1578001f40] Driver does not support packed sequence headers, but a global header is requested.[h264_vaapi @ 0x7f1578001f40] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).[h264_vaapi @ 0x7f1570001f40] Driver does not support some wanted packed headers (wanted 0xd, found 0).[h264_vaapi @ 0x7f1570001f40] Driver does not support packed sequence headers, but a global header is requested.[h264_vaapi @ 0x7f1570001f40] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).[h264_vaapi @ 0x7f1568001f40] Driver does not support some wanted packed headers (wanted 0xd, found 0).[h264_vaapi @ 0x7f1568001f40] Driver does not support packed sequence headers, but a global header is requested.[h264_vaapi @ 0x7f1568001f40] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).[h264_vaapi @ 0x7f1574026d40] Driver does not support some wanted packed headers (wanted 0xd, found 0).[h264_vaapi @ 0x7f1574026d40] Driver does not support packed sequence headers, but a global header is requested.[h264_vaapi @ 0x7f1574026d40] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).
```


EXPECTED RESULT
No crash and full render of the preview, previewing is truly necessary once effects start to pile up, especially for those with less powerful computers.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 36
KDE Plasma 5.27.4
KDE Frameworks Version 5.108.0
Qt Version 5.15.10
MLT Version 7.15.0 

ADDITIONAL INFORMATION
CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz 
GPU: AMD ATI 05:00.0 Renoir 
Memory: 16Gigs
Comment 1 Jean-Baptiste Mardelle 2023-08-08 07:23:45 UTC
Thanks for your report. This was fixed in git with this commit:
https://invent.kde.org/multimedia/kdenlive/-/commit/3c93355a75dedc18700fd84003f7f54e44152c91
Comment 2 rlacroix 2023-08-11 17:30:45 UTC
Okay, just updated the latest flatpak version (refresh). 
**The bug does not seem to be gone**, but my effects (`Missing effect: mask_start-frei0r.alphaspot will be removed from project`) have been removed when opening with the new version.
Comment 3 emohr 2024-09-22 10:14:21 UTC
I can confirm the issue (24.08.1 Windows), loading attached project with placeholder and start preview. I got the warning “Preview rendering failed, check your parameters”. The details show:

[producer_xml] failed to load producer "/home/chepycou/Videos/OBS/2022-11-26 15-52-21.mkv"
[producer_xml] failed to load producer "/home/chepycou/Videos/OBS/2022-11-26 15-52-21.mkv"
[producer_xml] failed to load producer "/home/chepycou/Pictures/wallpapers/Xero-Plasma8.jpg"
Comment 4 emohr 2025-02-18 08:02:40 UTC
@rlacroix Do you have used the official OBS flatpak from flathub https://flathub.org/apps/com.obsproject.Studio ? If not please install OBS from flathub and try again.

It could be that you have installed the flatpak from Fedora which might have issues generate correct MKV files.
Comment 5 rlacroix 2025-02-20 08:25:21 UTC
(In reply to emohr from comment #4)
> @rlacroix Do you have used the official OBS flatpak from flathub
> https://flathub.org/apps/com.obsproject.Studio ? If not please install OBS
> from flathub and try again.
> 
> It could be that you have installed the flatpak from Fedora which might have
> issues generate correct MKV files.

The project did not contain any recorded clips, neither from OBS nor anything else it was just a title
Comment 6 emohr 2025-02-20 17:02:11 UTC
I can confirm the issue (24.12.2 Windows), loading attached project with placeholder and start preview. I got the warning “Preview rendering failed, check your parameters”. The details show:

[producer_xml] failed to load producer "/home/chepycou/Videos/OBS/2022-11-26 15-52-21.mkv"
[producer_xml] failed to load producer "/home/chepycou/Videos/OBS/2022-11-26 15-52-21.mkv"
[producer_xml] failed to load producer "/home/chepycou/Pictures/wallpapers/Xero-Plasma8.jpg"