Bug 490146 - Rendering progress view is broken
Summary: Rendering progress view is broken
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 24.05.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-12 06:23 UTC by Noam Raphael
Modified: 2024-09-14 03:47 UTC (History)
2 users (show)

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


Attachments
The log file while rendering (80.19 KB, text/plain)
2024-07-12 06:23 UTC, Noam Raphael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noam Raphael 2024-07-12 06:23:01 UTC
Created attachment 171595 [details]
The log file while rendering

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Render a video

OBSERVED RESULT
The progress view is broken. For example, it may show "Remaining time 00:00:00 (frame 81 at -52 fps)" when it's actually near the end

EXPECTED RESULT
Show the true rendered frame, and a reasonable ETA estimate

Kdenlive: 24.05.2
Package Type: Unknown/Default
MLT: 7.25.0
Qt: 6.7.1 (built against 6.7.1 x86_64-little_endian-llp64)
Frameworks: 6.3.0
System: Windows 11 Version 23H2
Kernel: winnt 10.0.22631
CPU: x86_64
Windowing System: windows
GPU: 
Movit (GPU): disabled
Track Compositing: qtblend

ADDITIONAL INFORMATION

I believe this is caused by melt.exe producing garbled output, perhaps because of windows line endings, or parallelization, or both. See the attached log file. For example, it includes this:

percentage: 10Current Frame: 11075, percentage: 1011079, percentage: 10Current Frame:11083

The rendering was without using multiple CPUs.

Thanks!
Noam
Comment 1 Bernd 2024-07-17 16:29:18 UTC
Similar to this: https://bugs.kde.org/show_bug.cgi?id=490250?
Comment 2 bjorn.petter 2024-08-06 20:28:14 UTC
(In reply to Noam Raphael from comment #0)
> Created attachment 171595 [details]
> The log file while rendering
> 
> ***
> If you're not sure this is actually a bug, instead post about it at
> https://discuss.kde.org
> 
> If you're reporting a crash, attach a backtrace with debug symbols; see
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> SUMMARY
> 
> 
> STEPS TO REPRODUCE
> 1. Render a video
> 
> OBSERVED RESULT
> The progress view is broken. For example, it may show "Remaining time
> 00:00:00 (frame 81 at -52 fps)" when it's actually near the end
> 
> EXPECTED RESULT
> Show the true rendered frame, and a reasonable ETA estimate
> 
> Kdenlive: 24.05.2
> Package Type: Unknown/Default
> MLT: 7.25.0
> Qt: 6.7.1 (built against 6.7.1 x86_64-little_endian-llp64)
> Frameworks: 6.3.0
> System: Windows 11 Version 23H2
> Kernel: winnt 10.0.22631
> CPU: x86_64
> Windowing System: windows
> GPU: 
> Movit (GPU): disabled
> Track Compositing: qtblend
> 
> ADDITIONAL INFORMATION
> 
> I believe this is caused by melt.exe producing garbled output, perhaps
> because of windows line endings, or parallelization, or both. See the
> attached log file. For example, it includes this:
> 
> percentage: 10Current Frame: 11075, percentage: 1011079, percentage:
> 10Current Frame:11083
> 
> The rendering was without using multiple CPUs.
> 
> Thanks!
> Noam

I have seen a similar behaviour here (Windows 11, Kdenlive 24.05.2). In Kdenlive 24.02.2 the progress tracker was working properly and accuretely.
Comment 3 Jean-Baptiste Mardelle 2024-08-12 14:49:29 UTC
Git commit 3b7d3effdc553f0452fa0470d27246daa83cfcb7 by Jean-Baptiste Mardelle.
Committed on 12/08/2024 at 14:48.
Pushed by mardelle into branch 'release/24.08'.

Fix rendering progress sometimes incorrect

M  +12   -4    renderer/renderjob.cpp
M  +1    -0    renderer/renderjob.h

https://invent.kde.org/multimedia/kdenlive/-/commit/3b7d3effdc553f0452fa0470d27246daa83cfcb7
Comment 4 Jean-Baptiste Mardelle 2024-08-14 16:29:05 UTC
Problem should be solved in my recent commit.
Would be great if you can test the daily build and let me know if it is fixed. You can download the Windows build from the upcoming 24.08 version here:
https://cdn.kde.org/ci-builds/multimedia/kdenlive/release-24.08/windows/
Comment 5 bjorn.petter 2024-08-15 20:07:47 UTC
(In reply to Jean-Baptiste Mardelle from comment #4)
> Problem should be solved in my recent commit.
> Would be great if you can test the daily build and let me know if it is
> fixed. You can download the Windows build from the upcoming 24.08 version
> here:
> https://cdn.kde.org/ci-builds/multimedia/kdenlive/release-24.08/windows/

I tried build 8658 (24.11.70), and now the progress tracking works as expected. Thanks for the prompt reply and fix :)
Comment 6 bjorn.petter 2024-08-15 20:12:36 UTC
(In reply to bjorn.petter from comment #5)
> (In reply to Jean-Baptiste Mardelle from comment #4)
> > Problem should be solved in my recent commit.
> > Would be great if you can test the daily build and let me know if it is
> > fixed. You can download the Windows build from the upcoming 24.08 version
> > here:
> > https://cdn.kde.org/ci-builds/multimedia/kdenlive/release-24.08/windows/
> 
> I tried build 8658 (24.11.70), and now the progress tracking works as
> expected. Thanks for the prompt reply and fix :)

I saw now that was a different build than the one you asked me to test, but I assume the one I tested also has the fix. Sorry for the confusion.
Comment 7 Bug Janitor Service 2024-08-30 03:47:50 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 8 Bug Janitor Service 2024-09-14 03:47:08 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.