Registered Member
|
kdenlive 0.8.2: Rendering aborted, resulting video will probably be corrupted.
Tue May 24, 2011 8:36 am
Hi there,
got trouble with my kdenlive 0.8.2 on Debian Wheezy (fresh install with Debian Multimedia-Repository included). I have a video project finished with kdenlive and finally want to render it. But when rendering, the process is stopping with the following error message: Rendering of /home/andreas/kdenlive/projekt.mpg aborted, resulting video will probably be corrupted. The same happens with all different codecs, formats and settings. The installation of "melt" and the "mlt-framework" (3 packages installed : libmlt++3, libmlt-data, libmlt4) has version 1:0.7.2-0.0. I also tried to get some more information about the error by starting kdenlive via console, but no further success. Here is the whole console content: ----------------------------- andreas@debian:~$ kdenlive project monitor connected clip monitor connected QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action //STARTING RENDERING: true , false , "/usr/bin/melt" , "square_pal" , "avformat" , "-" , "/tmp/kde-andreas/kdenliveRh2439.mlt" , "/home/andreas/kdenlive/projekt.mpg" , () , ("f=mpeg", "acodec=mp2", "ab=384k", "ar=48000", "vcodec=mpeg2video", "minrate=0", "b=25000k", "bf=2", "b_strategy=1", "trellis=1", "aspect=@4/3", "pass=1", "progressive=1", "threads=1", "real_time=-1") , -1 , -1 Started render process: "/usr/bin/melt" "/tmp/kde-andreas/kdenliveRh2439.mlt -profile square_pal -consumer avformat:/home/andreas/kdenlive/projekt.mpg progress=1 f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=1 progressive=1 threads=1 real_time=-1" "Rendering of /home/andreas/kdenlive/projekt.mpg aborted, resulting video will probably be corrupted." ----------------------------- What can I do to get kdenlive rendering without crash? Thanks in advance, regards Andreas |
Registered Member
|
This bug may be already inserted here:
http://www.kdenlive.org/mantis/view.php?id=2116 As I don't want to create an additional login, I can confirm here, that the same bug appears also in Debian Wheezy. If anyone else has a solution for the problem , please feel free to answer :-) Thanks in advance, regards Andreas |
Registered Member
|
Yesterday evening, I downgraded all packages for melt and mlt-framework from version 1:0.7.2-0.0
to version 0.7.2-1. But unfortunately, this didn't helped. Rendering is still crashing during the process :-( Other versions are not offered via apt-get. Any other ideas (except of compiling melt by myself) ? regards Andreas |
Registered Member
|
You could render "to script".
Execute this script with "sh -x myscript.sh" Copy the part with /usr/bin/melt .....(many params) out and start this itself For more info you could add -verbose at the end. |
Registered Member
|
G.Marco, thanks for your reply, but what do you mean with "you could render to script" ?
|
Registered Member
|
in render dialog do not press "Render to file", but press "Generate Script". This will create a Shell-script and an mlt project file.
|
Registered Member
|
Today, I made an update to version 0.8.3 of kdenlive.
But with both a.m. versions of melt, the process of rendering crashed. Then, with version 1:0.7.2-0.0 of melt, I generated the script as mentioned. First I started the saved script via kdenlive-gui => process crashed. Then tried to run the script via console. Script stopped immediately after start. The I added "-verbose" to the script and when I started it, an preview window appears, but no file was written to hdd and after some seconds, the process stops. Process is always stopping at a specific scene at the movie, but the scene contains nothing special like effects, etc. |
Registered Member
|
did you start teh script @console with sh -x ?
there will appear a line like + /usr/bin/melt .......... this list should be executed later in the console like /usr/bin/melt ...... -verbose this should give a message. |
Registered Member
|
Here is the complete console output:
----------------------------------------------------------------------------- andreas@debian:~/kdenlive/scripts$ sh -x Skript001.sh + SOURCE=/home/andreas/kdenlive/scripts/Skript001.sh.mlt + TARGET=file:///home/andreas/kdenlive/projekt.mpg + RENDERER=/usr/bin/kdenlive_render + MELT=/usr/bin/melt + PARAMETERS=square_pal avformat - /home/andreas/kdenlive/scripts/Skript001.sh.mlt file:///home/andreas/kdenlive/proejekt.mpg f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=2 progressive=1 threads=1 real_time=-1 + /usr/bin/kdenlive_render /usr/bin/melt square_pal avformat - /home/andreas/kdenlive/scripts/Skript001.sh.mlt file:///home/andreas/kdenlive/projekt.mpg f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=2 progressive=1 threads=1 real_time=-1 //STARTING RENDERING: false , false , "/usr/bin/melt" , "square_pal" , "avformat" , "-" , "/home/andreas/kdenlive/scripts/Skript001.sh.mlt" , "/home/andreas/kdenlive/projekt.mpg" , () , ("f=mpeg", "acodec=mp2", "ab=384k", "ar=48000", "vcodec=mpeg2video", "minrate=0", "b=25000k", "bf=2", "b_strategy=1", "trellis=1", "aspect=@4/3", "pass=1", "progressive=1", "threads=1", "real_time=-1") , -1 , -1 Started render process: "/usr/bin/melt" "/home/andreas/kdenlive/scripts/Skript001.sh.mlt -profile square_pal -consumer avformat:/home/andreas/kdenlive/projekt.mpg progress=1 f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=1 progressive=1 threads=1 real_time=-1" "Rendering of /home/andreas/kdenlive/projekt.mpg aborted, resulting video will probably be corrupted." andreas@debian:~/kdenlive/scripts$ ----------------------------------------------------------------------------- Do you mean that part of it? ------------------------------------------------------ /usr/bin/melt square_pal avformat - /home/andreas/kdenlive/scripts/Skript001.sh.mlt file:///home/andreas/kdenlive/projekt.mpg f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=2 progressive=1 threads=1 real_time=-1 ------------------------------------------------------ If I execute that command in the console, I'm getting several errors like: ------------------------------------------------------ bash: /usr/bin/melt /home/andreas/kdenlive/scripts/Skript001.sh.mlt: File or Directory not found ------------------------------------------------------ The file exists, but with 0 byte it is empty. |
Registered Member
|
yes, i see the melt command is a bit later
/usr/bin/melt /home/andreas/kdenlive/scripts/Skript001.sh.mlt -profile square_pal -consumer avformat:/home/andreas/kdenlive/projekt.mpg progress=1 f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=1 progressive=1 threads=1 real_time=-1 what file is 0 byte /usr/bin/melt ? so you should delete it and make sure, you have installed melt in the system correct else it cannot start if you have melt installed right, it should work with the line before. else you could add at the end -verbose |
Registered Member
|
Melt is installed correctly, I tried the command line you mentioned,
but it failed again (always at 4 percent). As error message, it shows (in German): ---------------------------------------------- Speicherzugriffsfehler147, percentage: 4 ---------------------------------------------- I guess, that "segfault" or "segmantion fault" is the correct translation. I googled for "Speicherzugriffsfehler147 kdenlive" and got a result, that kdenlive in version 0.7.7 had problems with opening "old" projects from version 0.7.6. http://www.kdenlive.org/mantis/view.php?id=1449 but now we are on version 0.8.3 and my project is rather new (I started with version I dont know, 0.8 ?, the version that is installed with a new stock debian wheezy installation). Then I added a "-verbose" to the a.m. command line. The output is not that "verbose", that I expected :-) --------------------------------------------------------- command line.....f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=1 progressive=1 threads=1 real_time=-1 -verbose [filter resample] channels 2 samples 1280 frequency 32000 -> 48000 [filter resample] Input and output data arrays overlap. 32000,1280,48000 Speicherzugriffsfehler147, percentage: 4 --------------------------------------------------------- |
Registered Member
|
then you'v found an error or some lib problem in you mlt installation
please run gdb --args /usr/bin/melt /home/andreas/kdenlive/scripts/Skript001.sh.mlt -profile square_pal -consumer avformat:/home/andreas/kdenlive/projekt.mpg progress=1 f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=25000k bf=2 b_strategy=1 trellis=1 aspect=@4/3 pass=1 progressive=1 threads=1 real_time=-1 type "r" + after the segfault run (http://wiki.debian.org/HowToGetABacktrace) thread apply all bt so you could se what causes the problem. for further investigation you need to read how to debug with gdb. |
Registered Member
|
Ok, I installed the Gnu-Debugger GDB and run the command you posted.
Nothing special happened and a prompt appears, showing a (gdb) prefix. Then I tried different commands like: --------------------------- r+ "r"+ "r" + help all commands shown in help-command --------------------------- but all with no success. For all commands, I'm getting a "undefined command: "COMMAND". Try "help". After that, I quit the gdb and returned to my normal prompt. Then I re-ran your command and got to the gdb-prompt again. Then I ran the melt-command in another terminal window again and got my crash after 4 percent. After that crash I returned to the debugger and tried all mentioned commands (r+, "r"+, aliases...) again, but every time I received the same error message. Marco, thanks for your help, but is this a computer specific problem on my side or is this a bug somewhere in the mlt-installation? Or do you think, that I have here a new bug? One more question: are there other possibilities to render my project ? Maybe also in the "not-linux-world" if needed. Thanks for all your help, ein fettes "Merci" nach Berlin. Regards Andreas |
Registered Member
|
sorry for the r+
it should be only a "r" and enter (the forum did destroy the "<" return ">" ...) you could also run "run" (which means r) after segfault thread apply all bt i think you have an problem with the libs. do you have a title starting at frame 147 ? the bt (backtrace) you show what it wrong. you could also render this on windows or else (but you have to install qt/ffmpeg/mlt and all other too, and for titles you need to have a running x-Server) i hope this woudl help now |
Registered Member
|
Yesterday, I desperately tried again to render my project.
Of course, with no success, because no new version was installed. Rendering crashed at the same point as before. Today, I was reading the "/var/log/messages" to look for a minor error regarding my network harddisk drive. And then I found this error message from yesterday: ------------------------------------------------------ Jun 5 20:03:55 debian kernel: [22763.450569] melt[8161]: segfault at 8 ip b773a8c0 sp b060dcd0 error 6 in libc-2.13.so[b762b000+153000] ------------------------------------------------------ Can this error message help to get rid of this rendering crashes? Regards Andreas |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]