Bug 486056 - "2 pass" checkbox greyed out, needs to be added manually in text settings
Summary: "2 pass" checkbox greyed out, needs to be added manually in text settings
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 08:10 UTC by Jacob Kauffmann
Modified: 2025-08-26 07:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.08.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Kauffmann 2024-04-24 08:10:59 UTC
SUMMARY
The "2 pass" checkbox is never selectable for formats such as H264 and H265 where it should theoretically be available depending on the rate control setting.

STEPS TO REPRODUCE
1. Create a render preset for the libx264 codec with "CBR - Constant Bitrate" or "Average Bitrate" rate control.

OBSERVED RESULT
2. Observe the "2 Pass" checkbox is greyed out in the main render dialog.
3. Edit the preset again, add "passes=2" to the "Additional Parameters:" box in the "Other" tab, and observe that the checkbox becomes checked (and is no longer greyed out).

EXPECTED RESULT
The "2 Pass" checkbox should be selectable in cases where it's possible to use it. Checking or un-checking the box should add/remove the text parameter; it shouldn't be necessary to manually change the text parameter in order to control the checkbox.

Given the number of questions I've seen about this checkbox on places like the /r/Linux and /r/Kdenlive subreddits, it might be useful to also include a tooltip broadly explaining when it is/isn't available when the checkbox is greyed out for an actual reason.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 6.8.7-arch1-1 / Plasma 6.0.4
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I don't think this is a very recent regression, but I don't have time to bisect right now.
Comment 1 Bug Janitor Service 2025-08-26 04:08:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/717
Comment 2 Jean-Baptiste Mardelle 2025-08-26 07:16:21 UTC
This should now be fixed in the upcoming 25.08.1. Two pass will be enabled when not using a variable bitrate (crf) render profile.
I will add some descriptive text to the checkbox for 25.12
Comment 3 Jean-Baptiste Mardelle 2025-08-26 07:38:24 UTC
Git commit c55b396085db9a1f551fcc164693c0f5d215b3eb by Jean-Baptiste Mardelle.
Committed on 26/08/2025 at 07:37.
Pushed by mardelle into branch 'master'.

Add tooltip to 2 pass render checkbox.

M  +3    -0    src/dialogs/renderwidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/c55b396085db9a1f551fcc164693c0f5d215b3eb