New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horrible banding when applying a LUT #755
Comments
"LUT effect in kdenlive" needs to be converted into MLT terms unless you just want a kdenlive developer to look into it. Basically without melt command line or MLT XML, this bug report is invalid. Sorry |
Re "it seems a shame that we only communicate when there is an issue." It nice to hear from you again, Evert. You have been around here a while. Please understand that I have not worked on Kdenlive for years. Also, I am very busy with full time software engineering job and open source projects. So, I tend to do all my socializing (what little there is) away from a computer. :-) |
How would I go about applying a LUT with just MLT? Honestly, I don't see how that matters, as with the older version of MLT installed, there is no banding when rendering the project, and with the latest version of MLT installed there is horrible banding for exactly the same project. Surely there is only one way that a LUT can be applied, and kdenlive is using it? |
I believe I reproduced the problem when using the avfilter.lut3d filter. There was a major change to avfilter between the dates you supplied. As for how, in the future, you can look for lines with "mlt_service" in the XML. |
Thank you so much for this very quick fix! Remember to also stop and smell the roses. Ie: don't get too busy to enjoy life. :) |
Hi there... ---------------snip------------------ Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault. Thread 131 (Thread 0x7ffe417fa640 (LWP 1869) "kdenlive"): Thread 122 (Thread 0x7ffef77fe640 (LWP 1860) "SDLAudioP2"): Thread 121 (Thread 0x7ffe8dffb640 (LWP 1859) "kdenlive"): Thread 120 (Thread 0x7ffe9b230640 (LWP 1858) "kdenlive"): Thread 119 (Thread 0x7fff10350640 (LWP 1857) "PulseHotplug"): Thread 118 (Thread 0x7ffe8cc31640 (LWP 1856) "QQuickPixmapRea"): Thread 117 (Thread 0x7ffe98a2b640 (LWP 1855) "QQuickPixmapRea"): Thread 116 (Thread 0x7ffe9922c640 (LWP 1854) "QQuickPixmapRea"): Thread 115 (Thread 0x7ffe99a2d640 (LWP 1853) "QQuickPixmapRea"): Thread 114 (Thread 0x7ffe9a22e640 (LWP 1852) "QQuickPixmapRea"): Thread 113 (Thread 0x7ffe9aa2f640 (LWP 1851) "QQuickPixmapRea"): Thread 112 (Thread 0x7ffe8ffff640 (LWP 1850) "QQuickPixmapRea"): Thread 111 (Thread 0x7ffe8f7fe640 (LWP 1849) "QQuickPixmapRea"): Thread 110 (Thread 0x7ffe8effd640 (LWP 1848) "QQuickPixmapRea"): Thread 107 (Thread 0x7ffeccff9640 (LWP 1845) "kdenlive"): Thread 106 (Thread 0x7ffecd7fa640 (LWP 1844) "kdenlive"): Thread 105 (Thread 0x7ffecdffb640 (LWP 1843) "kdenlive"): Thread 104 (Thread 0x7ffece7fc640 (LWP 1842) "kdenlive"): Thread 103 (Thread 0x7ffeceffd640 (LWP 1841) "kdenlive"): Thread 102 (Thread 0x7ffecf7fe640 (LWP 1840) "kdenlive"): Thread 101 (Thread 0x7ffecffff640 (LWP 1839) "kdenlive"): Thread 100 (Thread 0x7ffeb4894640 (LWP 1838) "kdenlive"): Thread 96 (Thread 0x7ffe8d432640 (LWP 1834) "kdenlive"): Thread 95 (Thread 0x7ffed6ffd640 (LWP 1833) "kdenlive"): Thread 94 (Thread 0x7ffed77fe640 (LWP 1832) "kdenlive"): Thread 93 (Thread 0x7ffed7fff640 (LWP 1831) "kdenlive"): Thread 92 (Thread 0x7ffed67fc640 (LWP 1830) "kdenlive"): Thread 91 (Thread 0x7ffed5ffb640 (LWP 1829) "kdenlive"): Thread 90 (Thread 0x7ffed57fa640 (LWP 1828) "kdenlive"): Thread 89 (Thread 0x7ffed4ff9640 (LWP 1827) "kdenlive"): --Type for more, q to quit, c to continue without paging-- Thread 48 (Thread 0x7ffeb5848640 (LWP 1768) "kdenlive:gdrv0"): Thread 47 (Thread 0x7ffeb67fc640 (LWP 1767) "FrameRenderer"): Thread 46 (Thread 0x7ffeb6ffd640 (LWP 1766) "kdenlive:gdrv0"): Thread 45 (Thread 0x7ffeb77fe640 (LWP 1765) "QSGRenderThread"): Thread 44 (Thread 0x7ffeb7fff640 (LWP 1764) "kdenlive:gdrv0"): Thread 43 (Thread 0x7ffef4ff9640 (LWP 1763) "FrameRenderer"): Thread 42 (Thread 0x7ffef57fa640 (LWP 1762) "kdenlive:gdrv0"): Thread 41 (Thread 0x7ffef5ffb640 (LWP 1761) "QSGRenderThread"): Thread 40 (Thread 0x7ffef67fc640 (LWP 1760) "kdenlive:gdrv0"): Thread 36 (Thread 0x7ffef7fff640 (LWP 1756) "kdenlive:gdrv0"): Thread 35 (Thread 0x7fff11054640 (LWP 1755) "kdenlive:gdrv0"): Thread 34 (Thread 0x7fff11858640 (LWP 1754) "kdenlive:gdrv0"): Thread 33 (Thread 0x7fff120dc640 (LWP 1753) "QQuickPixmapRea"): Thread 32 (Thread 0x7fff13380640 (LWP 1752) "QQmlThread"): Thread 31 (Thread 0x7fff13bff640 (LWP 1751) "QQuickPixmapRea"): Thread 30 (Thread 0x7fff20ee8640 (LWP 1750) "QQmlThread"): Thread 29 (Thread 0x7fff219e9640 (LWP 1743) "kdenlive"): Thread 28 (Thread 0x7fff22c2a640 (LWP 1742) "QQmlThread"): Thread 27 (Thread 0x7fff23eae640 (LWP 1741) "QQmlThread"): Thread 26 (Thread 0x7fff29b76640 (LWP 1740) "QQmlThread"): Thread 24 (Thread 0x7fff92ffd640 (LWP 1715) "Thread (pooled)"): Thread 23 (Thread 0x7fff937fe640 (LWP 1714) "Thread (pooled)"): Thread 22 (Thread 0x7fff93fff640 (LWP 1713) "Thread (pooled)"): Thread 21 (Thread 0x7fffc0ff9640 (LWP 1712) "Thread (pooled)"): Thread 20 (Thread 0x7fffc17fa640 (LWP 1711) "Thread (pooled)"): Thread 19 (Thread 0x7fffc1ffb640 (LWP 1710) "Thread (pooled)"): Thread 18 (Thread 0x7fffc27fc640 (LWP 1709) "Thread (pooled)"): Thread 17 (Thread 0x7fffc2ffd640 (LWP 1708) "Thread (pooled)"): Thread 16 (Thread 0x7fffc37fe640 (LWP 1707) "QDBusConnection"): Thread 15 (Thread 0x7fffc8ff9640 (LWP 1706) "kdenlive:gdrv0"): Thread 14 (Thread 0x7fffc97fa640 (LWP 1705) "kdenlive:shlo3"): Thread 13 (Thread 0x7fffc9ffb640 (LWP 1704) "kdenlive:shlo2"): Thread 12 (Thread 0x7fffca7fc640 (LWP 1703) "kdenlive:shlo1"): Thread 11 (Thread 0x7fffcaffd640 (LWP 1702) "kdenlive:shlo0"): Thread 10 (Thread 0x7fffcb7fe640 (LWP 1701) "kdenlive:sh5"): Thread 9 (Thread 0x7fffc3fff640 (LWP 1700) "kdenlive:sh4"): Thread 8 (Thread 0x7fffcbfff640 (LWP 1699) "kdenlive:sh3"): Thread 7 (Thread 0x7fffe0d52640 (LWP 1698) "kdenlive:sh2"): Thread 6 (Thread 0x7fffe1553640 (LWP 1697) "kdenlive:sh1"): Thread 5 (Thread 0x7fffe1d54640 (LWP 1696) "kdenlive:sh0"): Thread 4 (Thread 0x7fffecf63640 (LWP 1695) "kdenliv:disk$0"): Thread 3 (Thread 0x7fffed8b9640 (LWP 1694) "kdenlive:cs0"): Thread 2 (Thread 0x7ffff0123640 (LWP 1693) "QXcbEventQueue"): Thread 1 (Thread 0x7ffff069af40 (LWP 1689) "kdenlive"): |
Sorry but I am not able to figure out why the crash is occurring as I am not setup to build and debug within kdenlive. Maybe you can convince a kdenlive developer to take a look into it. |
No worries, I'll take a few pokes at it. At least if you also get crashes from other users of mlt then you know a good place to start looking. :) |
I can help debug this further, so far I found the issue might be here:
I wonder if this is an MLT issue or Kdenlive wrongly implementing LUTs in MLT7?
|
That stack trace does help pin-point the previous one, but the thing is I am not reproducing it in Shotcut for the lut3d filter, and a review of the code in that area is not revealing anything to me unless the state of the filter is invalid somehow. It has been a long time since I have built kdenlive, and I am struggling to get it going. I am not so interested in a build script because then I would need to figure out how to ensure a debug build and how to use my changes to MLT. So, at this point, I do need a developer affected by the problem to dig deeper since I am not reproducing it otherwise. |
Will ping the Kdenlive devs. Which version of ffmpeg are you using btw? 4.4? |
Yes to v4.4 of FFmpeg |
Hi there!
I first wanted to complain to the kdenlive crowd, but a little troubleshooting led me here.
When I apply the LUT effect in kdenlive with the latest git version of mlt installed, I get horrible banding, almost as if "nearest" interpolation method was selected. Changing the interpolation method also does not seem to have any effect.
When I changed the installed version of mlt back to the previous one I had used, the banding issues disappeared.
So, the version I built on October 10 from git does not have the banding issue:
mlt-git-r5692.1633467919.d375935f-1-x86_64.pkg.tar.xz
Whereas the version I built from git yesterday (29 November 2021) does have the banding issue.
mlt-git-r5720.1637802987.35d58446-1-x86_64.pkg.tar.xz
Many thanks for building such a great bit of software, it seems a shame that we only communicate when there is an issue.
;)
The text was updated successfully, but these errors were encountered: