| Summary: | Only first word of Metadata is written to file | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | sedrubal <kde> |
| Component: | Rendering & Export | Assignee: | erjiang <erjiang> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | erjiang, kde |
| Priority: | NOR | ||
| Version First Reported In: | 22.08.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/kdenlive/commit/a1304676a61959783884f90473fd2306a6ffd835 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
sedrubal
2022-09-04 21:37:28 UTC
Confirmed on latest master, although the fix seems to be a little more involved than wrapping the strings. The .mlt file passed to the renderer loses the words after the space in the <consumer /> tag. I think inserting the metadata into the generated XML for MLT directly instead of first storing it in the parameters is the right way to go, because the parameter names (e.g. "meta.attr.title.markup") are MLT-specific and not related or directly useful for ffmpeg. Thus, I don't see this making the UI worse or less useful for advanced users. Changing the parameters to be a QStringList or similar should be a future improvement to whitespace-proof the parameters. Git commit a1304676a61959783884f90473fd2306a6ffd835 by Eric Jiang. Committed on 28/09/2022 at 03:50. Pushed by erjiang into branch 'master'. Put metadata directly in XML from doc Putting the project metadata in the parameters text hit an issue with whitespace in the metadata. Skipping the parameters text and putting it directly in the XML preserves the whitespace. M +11 -10 src/dialogs/renderwidget.cpp https://invent.kde.org/multimedia/kdenlive/commit/a1304676a61959783884f90473fd2306a6ffd835 Thank you very much! Git commit 3a5c22910267c490960c36179f2933b3c119c2eb by Julius Künzel. Committed on 18/12/2022 at 22:06. Pushed by jlskuz into branch 'master'. [Render Settings] Reduce conversion between String and Map Using a single string for render parameters caused several issues in the past. This should reduce the risk for bugs. Related to a1304676a61959783884f90473fd2306a6ffd835 and 05fa0568d1511ab65dae958a20c342204937baca Related: bug 462650 M +2 -2 src/dialogs/renderpresetdialog.cpp M +64 -72 src/dialogs/renderwidget.cpp M +3 -1 src/dialogs/renderwidget.h M +32 -15 src/renderpresets/renderpresetmodel.cpp M +9 -3 src/renderpresets/renderpresetmodel.hpp M +3 -3 src/renderpresets/renderpresetrepository.cpp M +27 -8 tests/rendermodeltest.cpp https://invent.kde.org/multimedia/kdenlive/commit/3a5c22910267c490960c36179f2933b3c119c2eb |