Registered Member
|
Hi guys,
I have a strange problem: I have the error "Render of myvideo.mp4 aborted, result video will probably be corrupted" only in console, but everything works pretty well in Terminal. Let me explain in more details. I try to execute rendering from the command line using script, generated by Kdenlive. I mean, when I render my video, I choose "generate script" rather than "render to file" in Kdenlive. Then, I try to execute the script found in ~/kdenlive/scripts directory in the console emulator Terminal or Terminator. It works as expected and I see my video file and I can play and see its content. But the next step I try to execute the same script by SSH or from command line (switching to it using keys Ctrl + Alt + F1 in my Ubuntu). Unfortunately, this operation has never succeeded for me. I can't understand, what is the difference between Terminator and pure command line. I have read many threads for in this forum, but I didn't find any answers for me. I used umlauts (non-standard UTF symbols) in my title clips. For testing purposes I remove all of them, but it didn't help me. I played with different rendering parameters, but I failed again. Dear developers, can you please help me to find the reason of this strange behaviour? Here is my script content:
(I played with different values for threads= parameter, but I still don't have a positive result). Usually I execute it with the command:
I found also file /tmp/kdenlive_render.log.XMTJ9360 with log output, it is just aborted without any meaningful information. Like so:
Here are my environment versions: Qt: 4.8.6 KDE Development Platform: 4.13.3 Kdenlive: 0.9.6 melt 0.9.0 Ubuntu 14.04 If you require any other information, let me know and I will post it for you. Thank you in advance. |
KDE Developer
|
Hello,
Strange indeed... What is happening in your project near frame 9160? Is it a title clip (with special font, effect)? I see that you run "plain" trusty packages (Kdenlive 0.9.6, mlt 0.9.0), many bugs have been fixed since then in both programs, an upgrade through ppa:sunab/kdenlive-release might be helpful... BR, Vincent. |
Registered Member
|
Thank you for your fast reply!
After few experiments, I have strong feeling, that the reason of such weird behaviour is a Title Clip, because my film has being rendered without any problems when I remove all the titles. To confirm my theory, I created a simple project with only two videos and rendered it in two ways (from Terminator and from pure command line). The result was expecting positive. Then I created a simple Title Clip (black colour, "Ubuntu" font, no umlauts) and applied with effect "Addition" (I also tried "Affine" as well). It produces ordinary producer in MLT file, like so:
Nothing extraordinary, as you can see. Firstly, I rendered it using console emulator and I received correct file: Secondly, I pressed Ctrl + Alt + F1 and entered to the console mode and executed the same script. This time the rendering process was finished successfully, but instead of titles I saw just a white rectangular. Well, it is a bit different result as I had with my personal video, but in any case there is something really strange going on with titles. And as you suggested, I upgraded my Kdenlive. I installed it from your PPA's, but I had the error message: kdenlive: /usr/lib/x86_64-linux-gnu/libmlt.so.6: version `MLT_0.9.2' not found (required by /usr/lib/libmlt++.so.3). After short googling I found the post with tutorial how to fix it. Now I have: Qt: 4.8.6 KDE Development Platform: 4.13.3 Kdenlive: 0.9.10 melt 0.9.3 Unfortunately, after updating I still have all the problems. At this moment I render my movies using remote desktop X2Go, where I just open Terminal and execute render script. But it is not convenient, thus I still trying to find a proper method how to render a movie from command line without GUI. BR, Ilja. |
KDE Developer
|
Oh, I'm just remembering that yes Qt (used for title clips) needs a X11 display just to render the images (would need a web search to find info source).
Quick alternate: use SVG/PNG images for fixed texts & graphics... The titler has to evolve for years, but it is never our priority |
Registered Member
|
I just tried both SVG and PNG images and result is the same: when I render it from Terminal it works as expected; when I do it from console then only white rectangular appears instead of titles (as it was displayed on the screenshot above).
Can you suggest any other solutions/workarounds, please? |
Registered Member
|
I had the same problem with kdenlive 0.9.10 on Ubuntu 14.04:
Clips with an umlaut (ä, ö, ü, ß) in them would not show up - or only show up partially. This only happened when starting kdenlive with a non-UTF-8-locale like "C":
When starting it with my normal german locale - de_DE.UTF-8 - it worked fine. I just had to re-edit the title clip and save it again to fix it. The reason for this is that the special characters cause the .mlt file (which is passed to melt for rendering) - to be broken and to contain invalid XML segments. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]