Registered Member
|
I've copied this here because I may have posted it in the wrong forum before.
Opensuse Leap 42.2 Kdenlive 16.08.2 libmlt6-6.4.1-79.2.x86_64 When I try to render anything it aborts immediately with: "Rendering of /home/user/video/untitled.mp4 aborted, resulting video will probably be corrupted." I've tried with the simplest project. It has just a five second colour clip and I've tried various output formats and sizes too. If I save and trace the rendering script, the output is: dale@linux-9blt:~/tempvideo> bash -x ./scripts/script001.sh + RENDERER=/usr/bin/kdenlive_render + MELT=/usr/bin/melt6 + SOURCE_0=file:///home/dale/tempvideo/scripts/script001.sh.mlt + TARGET_0=file:///home/dale/tempvideo/untitled.webm + PARAMETERS_0='-pid:25010 /usr/bin/melt6 atsc_1080p_30 avformat - file:///home/dale/tempvideo/scripts/script001.sh.mlt file:///home/dale/tempvideo/untitled.webm f=webm vcodec=libvpx acodec=libvorbis crf=23 vb=0 quality=good aq=6 max-intra-rate=1000 cpu-used=4 threads=4 real_time=-1' + /usr/bin/kdenlive_render -pid:25010 /usr/bin/melt6 atsc_1080p_30 avformat - file:///home/dale/tempvideo/scripts/script001.sh.mlt file:///home/dale/tempvideo/untitled.webm f=webm vcodec=libvpx acodec=libvorbis crf=23 vb=0 quality=good aq=6 max-intra-rate=1000 cpu-used=4 threads=4 real_time=-1 //STARTING RENDERING: false , false , "/usr/bin/melt6" , "atsc_1080p_30" , "avformat" , "-" , "/home/dale/tempvideo/scripts/script001.sh.mlt" , "/home/dale/tempvideo/untitled.webm" , () , ("f=webm", "vcodec=libvpx", "acodec=libvorbis", "crf=23", "vb=0", "quality=good", "aq=6", "max-intra-rate=1000", "cpu-used=4", "threads=4", "real_time=-1") , -1 , -1 There's something fundamentally wrong here. I think the renderer is barely getting started and there's no useful diagnostic info. I edited the render script and put strace on the front on the render command but the output from that is quite short (393 lines) with no obvious errors in it. However, I'm not a developer so I can't be sure what should be there. I'm really keen to progress this! Any help much appreciated. |
Registered Member
|
Easiest thing to do is search for your 'kdenliverc' file. Rename it to 'kdenliverc.old' and restart Kdenlive. It'll auto-generate a new file and that may fix the problem.
I had this happen most recently from the "ThumbCreator" missing in KDE causing Kdenlive no longer working and when I put in clips not the Library, Kdenlive stopped working properly -- renders would start and stop immediately like in your situation and Add Clip... file manager would go into a wait state.
Kdenlive 17.12.3 MLT 6.4.1, Qt 5.6.2
Fedora 27 GNOME 3.26 |
Registered Member
|
Thanks for your help but, unfortunately, that hasn't made any difference. Rendering still aborts immediately so exactly the same problem. |
KDE Developer
|
From your log I find surprising to see parameter "vb=0" (video bitrate). Is it a custom render profile?
You can try to bypass kdenlive_render (wrapper to show the render progress in UI) and directly call melt, with something like:
And melt should tell you everything it does... |
Registered Member
|
Thanks for this. It seg faults immediately. I tried /usr/bin/melt6 with no args and it still seg faults. (There's a dump.) /usr/bin/melt on another system produces usage help when called with no args. I'm wondering if I have a module version conflict but I don't know how to determine that. I thought RPM was supposed to look after that. I appreciate your help. |
KDE Developer
|
Then obviously your MLT install is faulty.
I've never used much OpenSuse or RPM-based distro; you could uninstall libmlt6 and everything depending on it (cleaning config files), and maybe frei0r too, then reinstall Kdenlive that will pull its dependencies... If you are interested in investing more (?) you can run "gdb /usr/bin/melt6" then "backtrace full" after the segfault if you can see which module loading fails... |
Registered Member
|
Another thing to look at: kdenlive 16.08.2 has most probably been built with mlt 6.2 (version 6.4 came 2016-11).
Which repos on openSuse are you using? openSuse or packman? I found that packman (kdenlive, mlt and ffmeg pulled from there) gives least errors. |
Registered Member
|
Thank you for the suggestions. I've not been around much today but I'll investigate tomorrow.
|
Registered Member
|
This is getting more and more strange. I uninstalled everything melt, melt6 and Kdenlive related and reinstalled them all from packman. melt, melt6 both still segfault immediately. However, if I run them in dbg, they run OK. (WTF?) This might suggest something obvious to a developer but not to me, I'm afraid. dale@linux-9blt:~> gdb /usr/bin/melt GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/melt...Reading symbols from /usr/lib/debug/usr/bin/melt6.debug...done. done. (gdb) run Starting program: /usr/bin/melt Missing separate debuginfos, use: zypper install melt-debuginfo-6.2.0-5.3.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". No LADSPA plugins were found! Check your LADSPA_PATH environment variable. Usage: melt [options] [producer [name=value]* ]+ Options: -attach filter[:arg] [name=value]* Attach a filter to the output -attach-cut filter[:arg] [name=value]* Attach a filter to a cut -attach-track filter[:arg] [name=value]* Attach a filter to a track -attach-clip filter[:arg] [name=value]* Attach a filter to a producer -audio-track | -hide-video Add an audio-only track -blank frames Add blank silence to a track -consumer id[:arg] [name=value]* Set the consumer (sink) -debug Set the logging level to debug -filter filter[:arg] [name=value]* Add a filter to the current track -getc Get keyboard input using getc -group [name=value]* Apply properties repeatedly -help Show this message -jack Enable JACK transport synchronization -join clips Join multiple clips into one cut -mix length Add a mix between the last two cuts -mixer transition Add a transition to the mix -null-track | -hide-track Add a hidden track -profile name Set the processing settings -progress Display progress along with position -remove Remove the most recent cut -repeat times Repeat the last cut -query List all of the registered services -query "consumers" | "consumer"=id List consumers or show info about one -query "filters" | "filter"=id List filters or show info about one -query "producers" | "producer"=id List producers or show info about one -query "transitions" | "transition"=id List transitions, show info about one -query "profiles" | "profile"=id List profiles, show info about one -query "presets" | "preset"=id List presets, show info about one -query "formats" List audio/video formats -query "audio_codecs" List audio codecs -query "video_codecs" List video codecs -serialise [filename] Write the commands to a text file -silent Do not display position/transport -split relative-frame Split the last cut into two cuts -swap Rearrange the last two cuts -track Add a track -transition id[:arg] [name=value]* Add a transition -verbose Set the logging level to verbose -version Show the version and copyright -video-track | -hide-audio Add a video-only track For more help: <http://www.mltframework.org/> [Inferior 1 (process 27639) exited normally] (gdb) q dale@linux-9blt:~> |
Registered Member
|
I've reinstalled everything that appears to be linked to Kdenlive and Melt/Melt6 and made sure they came from Packman. |
Registered Member
|
In our website the install instructions are: zypper install kdenlive5 Could you test that? Not very familiar with the differences... |
KDE Developer
|
I suppose gdb run on melt6 is the same?
Is the called melt executable in /usr/bin/ or maybe pointing to somewhere else? I don't see how to help much more... |
Registered Member
|
It seems that melt is just a symlink to melt6 so they are the same thing.
They are two separate packages but you can't install one without the other. (RPM dependency.)
How can a program run under debug but not alone? That's like some evil tease! |
Registered Member
|
Yep. That's essentially what I'm doing. Cheers. |
Registered Member
|
For the past few months, whenever I updated the codecs gstreamer1-plugins-bad and h264 I could no longer Render to File any video no matter what I chose as a container format. I used the Software Centre today to upgrade system software and after rebooting, what was once a useable Kdenlive system is now not able to render anything.
Kdenlive 17.12.3 MLT 6.4.1, Qt 5.6.2
Fedora 27 GNOME 3.26 |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]