Bug 459429 - The "scratchlines" effect does not work on Windows
Summary: The "scratchlines" effect does not work on Windows
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 22.08.1
Platform: Other Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
: 458533 459737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-20 07:46 UTC by bertrand767
Modified: 2022-11-07 14:51 UTC (History)
3 users (show)

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


Attachments
Capture video (3.48 MB, video/mp4)
2022-09-20 09:27 UTC, bertrand767
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bertrand767 2022-09-20 07:46:35 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Insert a video in the timeline
2. Apply the "scratches" filter in the "Effects" section to achieve an old movie effect
3. No scratches even by increasing all the options of this effect

OBSERVED RESULT
No visual stripes on the preview video and even if we make a final rendering, the "effect" has no effect

EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 bertrand767 2022-09-20 09:27:14 UTC
Created attachment 152252 [details]
Capture video
Comment 2 erjiang 2022-10-15 23:22:28 UTC
*** Bug 459737 has been marked as a duplicate of this bug. ***
Comment 3 erjiang 2022-10-15 23:31:47 UTC
*** Bug 458533 has been marked as a duplicate of this bug. ***
Comment 4 erjiang 2022-10-16 23:27:59 UTC
It looks like the oldfilm/lines effect is generating invalid X positions on Windows, which get saved into the XML. For example, on Linux it may generate a reasonable value like line5=920px, while on Windows it may generate line5=92142796. It may be a bug in MLT, but not sure.

I tested and was able to reproduce on Windows standalone 22.08.1. Because the generated random numbers are saved in the XML, opening a project with scratchlines created on Linux will work fine.
Comment 5 bertrand767 2022-11-07 14:50:35 UTC
(In reply to erjiang from comment #4)
> It looks like the oldfilm/lines effect is generating invalid X positions on
> Windows, which get saved into the XML. For example, on Linux it may generate
> a reasonable value like line5=920px, while on Windows it may generate
> line5=92142796. It may be a bug in MLT, but not sure.
> 
> I tested and was able to reproduce on Windows standalone 22.08.1. Because
> the generated random numbers are saved in the XML, opening a project with
> scratchlines created on Linux will work fine.

Thank you very much for these explanations and spending time trying to find a solution. I have good news for the Windows version: I just installed the latest version of the software (22.08.3) and I was pleasantly surprised to see that the bug had disappeared. So installing the new version solves this problem. Thanks again for your help.