| Summary: | Subtitles are drawn from wrong source when rendering projects in batch mode | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Terry Hancock <digitante> |
| Component: | Rendering & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | digitante |
| Priority: | NOR | ||
| Version First Reported In: | 22.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/kdenlive/commit/449508c5eb9fcc3b9821bf18dd8b4277afc1d508 | Version Fixed/Implemented In: | 23.04.0 |
| Sentry Crash Report: | |||
|
Description
Terry Hancock
2023-02-22 09:00:03 UTC
I did find a work-around: Since the MLT files have only the one reference to the SRT file source, it's possible to simply replace the temporary file listed with the correct sidecar SRT file from the projects directory, using a text editor. Once corrected, the batch runner will generate the videos with the correct subtitles, regardless of what project is open in Kdenlive. It's a bit of a hassle, but much better than running the jobs one-by-one. This sidecar SRT files exists after the first save of the project file after the subtitles have been added, so presumably some kind of hook could be used to update the script generate on what SRT file to reference, when the project is saved. Git commit 449508c5eb9fcc3b9821bf18dd8b4277afc1d508 by Jean-Baptiste Mardelle. Committed on 25/02/2023 at 10:13. Pushed by mardelle into branch 'master'. Fix script rendering subtitles broken FIXED-IN: 23.04.0 M +10 -1 src/bin/model/subtitlemodel.cpp M +7 -2 src/bin/model/subtitlemodel.hpp M +25 -12 src/dialogs/renderwidget.cpp M +2 -1 src/dialogs/renderwidget.h M +1 -0 src/dialogs/speechdialog.cpp M +27 -2 src/doc/kdenlivedoc.cpp M +6 -1 src/doc/kdenlivedoc.h M +1 -0 src/monitor/monitor.cpp M +5 -1 src/project/projectmanager.cpp https://invent.kde.org/multimedia/kdenlive/commit/449508c5eb9fcc3b9821bf18dd8b4277afc1d508 |