Bug 431181 - Batch script generates overly long black_track producer
Summary: Batch script generates overly long black_track producer
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 20.12.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-01-05 13:18 UTC by Thomas Nilefalk
Modified: 2025-01-23 03:47 UTC (History)
2 users (show)

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


Attachments
MLT-file with too long black_track producer (23 min i.s.o. 1:50) (22.10 KB, application/xml)
2021-01-05 13:18 UTC, Thomas Nilefalk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Nilefalk 2021-01-05 13:18:50 UTC
Created attachment 134574 [details]
MLT-file with too long black_track producer (23 min i.s.o. 1:50)

SUMMARY

If you generate a batch script and run it you will get a long sequence of only black image after the actual video.

This seems to be caused by the black_track producer having the wrong length. See a description of the problem in this YouTube video:   https://www.youtube.com/watch?v=C0oeZAUjlbw

STEPS TO REPRODUCE
1. Start a new project and add a short clip
2. Generate a script file
3. Start the script

OBSERVED RESULT
The generated video is 10-20 minutes longer than the clip with only black at the end.

EXPECTED RESULT
A video containing the clip without extra black.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Melt Version: 6.25.0

ADDITIONAL INFORMATION
Seems that earlier versions did not generate any end times for the black_track, but the last few versions does.

I've seen https://bugs.kde.org/show_bug.cgi?id=415146, which to me seems to describe the problem, but was closed.
Comment 1 Thomas Nilefalk 2021-01-05 13:22:13 UTC
And to answer the questions in 415146:

The script was generated with the "Generate script" in Render-window.

It does not matter if the "Selected zone" or "Full project" is selected.
Comment 2 Thomas Nilefalk 2021-01-19 14:50:35 UTC
https://bugs.kde.org/show_bug.cgi?id=422061 seems to be, if not a duplicate, at least related. That bug does not state whether they used scripts or not, though.
Comment 3 Bernd 2024-12-24 01:10:04 UTC
Hi and thank you for your patience.

Your bug report was for a version of Kdenlive that is at least four years old. Can you please check whether this issue still exists in the latest version 24.12.0?

If yes, please update this report to reflect the new version and set the status to CONFIRMED.

If it works now like you expect it would, you may change the status of this report to RESOLVED - FIXED.

At any rate, this report will be closed if there is no activity for the next 30 days.
Comment 4 Bug Janitor Service 2025-01-08 03:47:42 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-01-23 03:47:33 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.