kdenlive renders empty file "INVALID"

When I use kdenlive to render a file, the image in the ‘Project screen’ is immediately replaced by a black screen with the word INVALID in white caps printed on it. The progress bar in the rendering window reaches 100% in a reasonable time, but the window stays up for hours. I’ve left it overnight sometimes, so I know it finally calls it a day and vanishes, but regardless it only creates an empty file. I’m using KDE Development Platform 4.10.5 “release 1” and kdenlive 0.9.8. If I run kdenlive from the command line, I get this output on the terminal:

Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 16: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 29: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 39: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 48: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 60: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 71: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 82: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/41-repl-os-linux.conf”, line 92: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/60-group-non-tt-fonts.conf”, line 483: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/60-group-tt-fonts.conf”, line 262: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/62-tt-monospace-rendering.conf”, line 27: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/62-tt-traced-bitmap-rendering.conf”, line 21: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/62-tt-traced-bitmap-rendering.conf”, line 50: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 16: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 31: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 102: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 119: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 138: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf”, line 158: Having multiple values in <test> isn’t supported and may not work as expected
Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 9: reading configurations from ~/.fonts.conf is deprecated.
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
“/org/freedesktop/UDisks2/drives/Sony_Eri_Memory_Stick_359302007504563_0” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/Samsung_SSD_840_Series_S14CNEAD280548J” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/TSSTcorp_CDDVDW_SH_224BB_R8WS6GAD200TSM” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/Freecom_Hard_Drive_XS_FAFFFFF0FDF1F6F1BF100709” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD30EZRX_00DC0B0_WD_WMC1T2979131” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD20EARX_008FB0_WD_WCAZAK853730” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/Generic_STORAGE_DEVICE” : property “Drive” does not exist
“/org/freedesktop/UDisks2/drives/Samsung_SSD_840_Series_S14CNEAD280548J” : property “DeviceNumber” does not exist
“/org/freedesktop/UDisks2/drives/Samsung_SSD_840_Series_S14CNEAD280548J” : property “Device” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD20EARX_008FB0_WD_WCAZAK853730” : property “DeviceNumber” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD20EARX_008FB0_WD_WCAZAK853730” : property “Device” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD30EZRX_00DC0B0_WD_WMC1T2979131” : property “DeviceNumber” does not exist
“/org/freedesktop/UDisks2/drives/WDC_WD30EZRX_00DC0B0_WD_WMC1T2979131” : property “Device” does not exist
“/org/freedesktop/UDisks2/drives/Freecom_Hard_Drive_XS_FAFFFFF0FDF1F6F1BF100709” : property “DeviceNumber” does not exist
“/org/freedesktop/UDisks2/drives/Freecom_Hard_Drive_XS_FAFFFFF0FDF1F6F1BF100709” : property “Device” does not exist
kdenlive(1917) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
"
kdenlive(1917)/kdecore (KTimeZone): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: “The name org.kde.kded was not provided by any .service files”

kdenlive(1917) Render::checkMaxThreads: // TRACTOR PROBLEM
[swscaler @ 0x7fc3cc27ab20] Warning: data is not aligned! This can lead to a speedloss
//STARTING RENDERING: true , false , “/usr/bin/melt” , “/home/per/.kde4/share/apps/kdenlive/profiles/customprofile16” , “avformat” , “-” , “/tmp/kde-per/kdenliveJA1917.mlt” , “/home/per/incoming/test_.mp4” , () , (“acodec=aac”, “ar=48000”, “ab=192k”, “vcodec=libx264”, “vb=2000k”, “aspect=@16/9”, “threads=1”, “real_time=-1”) , -1 , -1
Started render process: “/usr/bin/melt” “/tmp/kde-per/kdenliveJA1917.mlt -profile /home/per/.kde4/share/apps/kdenlive/profiles/customprofile16 -consumer avformat:/home/per/incoming/test_.mp4 progress=1 acodec=aac ar=48000 ab=192k vcodec=libx264 vb=2000k aspect=@16/9 threads=1 real_time=-1”

And which libmlt and melt packages do you have installed?

rpm -qa | egrep "(libmlt|melt)"

They should all come from Packman.

melt6-0.9.0-9.10.x86_64
libmlt6-data-0.9.0-9.10.noarch
libmlt5-modules-0.8.8-1.1.1.x86_64
libmlt5-0.8.8-1.1.1.x86_64
libmlt5-data-0.8.8-1.1.1.noarch
libmlt6-0.9.0-9.10.x86_64
libmlt++3-0.9.0-9.10.x86_64
melt-0.8.8-1.1.1.x86_64
libmlt6-modules-0.9.0-9.10.x86_64
melt5-0.8.8-1.1.1.x86_64

You still have the 0.8.8 version of “melt” which uses libmlt5 of course. And that libmlt5 probably doesn’t work with your installed ffmpeg, as Packman doesn’t provide a libmlt5 any more for at least a year.

So update “melt” to 0.9.0 and it should work. Kdenlive just calls melt for the rendering, as you can see in the output you posted.

You maybe should also uninstall all those libmlt5 and melt5 packages. Those seem to come from the standard openSUSE repo, and therefore do not support restricted codecs at all.

Thanks, problem solved