Bug 495962 - CLI : --render-preset is not honored ; also there is no CLI option to specify which sequence to render
Summary: CLI : --render-preset is not honored ; also there is no CLI option to specify...
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-08 11:01 UTC by Yann Salmon
Modified: 2024-11-08 11:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Salmon 2024-11-08 11:01:21 UTC
SUMMARY

Contrary to what ``kdenlive --help`` states, ``kdenlive --render-preset Preset file.kdenlive output`` just opens the GUI and the specified project file.

STEPS TO REPRODUCE
1. Create a simple project with two sequences, save it under ``/tmp/test.kdenlive``.
2. Close kdenlive.
3. In a terminal in ``/tmp``, issue ``kdenlive --render-preset MPEG-2 test.kdenlive output``

OBSERVED RESULT

Kdenlive GUI opens, with the specified project.

EXPECTED RESULT

kdenlive renders something or issues a message in the console as to why it cannot, but does not creates the GUI.

Acceptable outcomes would be :
 - it complains that the requested preset cannot be found, and terminates in error,
 - it complains that the project contains multiple sequences and does not know which one to render, and terminates in error,
 - it renders each of the sequences with a suffix in the output file name (not desirable imo),
 - it renders the "first" sequence (not desirable unless there is only one sequence).

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-48-generic (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Xeon® CPU E3-1245 v5 @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2


ADDITIONAL INFORMATION

Appimage 24.11.70.

There should be CLI options ``--sequence <seq>`` to specify which sequence of a multi-sequence project to render, and ``--all-sequences`` to render al of them in a collection of files.