This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Rendering crashes at the end ubuntu 12.04 X64 kdenlive 0.9

Tags: None
(comma "," separated)
yellow_drupal
Registered Member
Posts
748
Karma
0
Finally the ffmpeg errors have been fixed in git so build script now works again, unfortuneatly rendering still crashes same error with MLT's melt. :-(

*** glibc detected *** /usr/bin/melt: free(): invalid pointer: 0x00007f09e25c4f08 ***
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
@ yellow : what is the profile used for rendering ?
yellow_drupal
Registered Member
Posts
748
Karma
0
hi sunab, any of them from Raw DV to h264.

The project I was working on was 10bit 4:2:2 source but assume this is just dithered down by ffmpeg on import, it's certainly picked up as 10bit, plays on the timeline etc.

But even a simple one clip 1080p h264 MOV file crashes rendering trying to encode to h264, xvid, mpeg4, WebM , all exact same error message, so it's not related to 10bit.

Ubuntu x64 12.04

**EDIT**

Can also confirm exact same error on another machine x64 Ubuntu 12.04 latest sunab svn build from today. Two more machines to go. 32bit OS on them though.

**EDIT**

32bit 12.04 Ubuntu + sunab kdenlive- svn renders to certin formats like mpeg2 but complains x264 and dv are missing.:-( No crashing though. :-) haven't used the build script on 32bit.

**EDIT**

Updated again today, melt wouldn't update though, listed in the Update Manager but unticked and uninstallable because it clashed with kdenlive data, so uninstalled kdenlive, MLT etc everything related and tried reinstalling now kdenlive-svn won't install at all due to dependancy problems:

The following packages have unmet dependencies.
kdenlive : Depends: kdenlive-data (= 0.9.2+git20120605.7faa38b6-0ubuntu0~sunab~precise1) but it is not going to be installed
Depends: melt but it is not going to be installed

So built from the build script and rendering still crashes even after further updates relating to ffmpeg git and kdenlive git. Same melt error.

Another freaking mess relating to rendering, reminisent of last months or two's troubles. x64 related though I think as 32bit renders except only certain codecs, x264 not being one of them.
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
@ yellow

The problem with the ppa is very common, at the moment you updated your package list the mlt/kdenlive packages were "half built". Tipically, the *-data packages are arch idenpendant but built in a i386 virual machine. These days Soyuz (the ppa build system) is very busy, as a result packages for i386 and amd64 are built with hours of delay, in the mean time all people updating packages from the ppa face dependencies errors. If you wan't to avoid this, check first on the lanchpad page if all packages are built.

Now for the rendering problem :

you said :"any of them from Raw DV to h264". I've experienced the same behaviour with Kdenlive 0.9 + MLT 0.7.8 (in the kdenlive-release ppa). Now I've pushed to this ppa MLT 0.8.0 and rebuilt kdenlive 0.9.2 and now the this problem is gone.(execpt with xvid4 profile with two pass rendering)

Note : the kdenlive-svn ppa wasn't up to date this past week. Yesterday I pushed new packages so you can expect crash free rendering for most profiles too.

By the way, I hope you don't use a backported ffmpeg version.
yellow_drupal
Registered Member
Posts
748
Karma
0
sunab first of all thank you for continuing to provide your PPAs I really appreciate the ability to use either of them.

Thanks for the explainations and finally no I never use backports.

Will try again and kind regards.

**EDIT**

No better, still crashing rendering on either the 'release' build or the 'svn' with x64 12.04 Ubuntu machines.
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
Yellow, could you upload a render script of your project to be able to check the render settings ?
normcross
Registered Member
Posts
300
Karma
0
Hi yellow & sunab,

This is most strange. I'm using x64 ubuntu and all rendering is fine except xvid which is 1 pass only.

I'm using:-

Kdenlive 0.9+git20120529....
Mlt 0.8+git20120604....

ffmpeg compiled from git about 10 days ago (the latest update.)

Haven't updated Kdenlive etc today. Too scared.
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
hi normcross,

I am unable to reproduce the yellow's last problem.

All is ok for me too except xvid 2 pass rendering like you.

Don't be scared ;)

I carefully remind everyone here that my packages are built against regular ubuntu ffmeg/libav packages. Using my packages with manually built ffmpeg/libav will work until a git change break binary compatibility. So it's risky...
normcross
Registered Member
Posts
300
Karma
0
I'll go for it now.
normcross
Registered Member
Posts
300
Karma
0
I just updated and rendered out a small selected zone with Mpeg4 and H.264 both 2 pass and all works fine here.

@yellow : sorry to see the problems you're having there.
yellow_drupal
Registered Member
Posts
748
Karma
0
Hi, I just built from source using the build script. To my knowledge this is completely self contained and that everything kdenlive needs to use and successfully render is contained within the dated folder. No access to system wide libav or whatever else. if this is incorrect then maybe that's the problem, but it's a problem I have on more than one PC.

This is the latest failed render error, any codec, x264, mpeg2, libxvid shows as unsupported as sunab mentions.

ERROR: ld.so: object '/lib/i386-linux-gnu/libpthread.so.0' from LD_PRELOAD cannot be preloaded: ignored.
*** glibc detected *** /home/yellow/kdenlive/20120606/bin/melt: free(): invalid pointer: 0x00007ffff7987f08 ***

The libpthread is a new addition to the error message which previously was just the melt error free(): invalid pointer.....


With regard to PPA builds and system ffmpeg/libav, all these libraries are Ubuntu distro's own 4:0.8.1ubuntu1

yellow_drupal
Registered Member
Posts
748
Karma
0
normcross, thanks for your comment. :-)

Funny I just tried rendering just a selection following your comment and kdenlive from PPA just crashes outright with a segfault. :-( where as whole project just gives render error.

**EDIT**

Rendering a selection on the build script version doesn't segfault, just crashes rendering.
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
This is very wierd, something is messed up on your system(s).

The lastest git with build script and with my packages should be working. They are working here and for other users. I've just tested both methods in fresh installed virtual machines, and I'am unable to reproduce the crash.

With the build script the produced binaries are self contained in a forlder but all these binaries may be affected by various system wide dependencies, as the build script doesn't provide latest git for all dependencies.

edit : could you upload a render script of your project to be able to check the render settings ?
yellow_drupal
Registered Member
Posts
748
Karma
0
hi sunab

#! /bin/sh

SOURCE="file:///home/yellow/kdenlive/scripts/script001.sh.mlt"
TARGET="file:///home/yellow/kdenlive/untitled.mp4"
RENDERER="/usr/bin/kdenlive_render"
MELT="/usr/bin/melt"
PARAMETERS="-pid:26556 $MELT /home/yellow/.kde/share/apps/kdenlive/profiles/customprofile1 avformat - $SOURCE $TARGET f=mp4 hq=1 acodec=aac ab=384k ar=48000 pix_fmt=yuv420p vcodec=libx264 minrate=0 vb=12000k g=250 bf=3 b_strategy=1 subcmp=2 cmp=2 coder=1 flags=+loop flags2=dct8x8 qmax=51 subq=7 qmin=10 qcomp=0.6 qdiff=4 trellis=1 aspect=@16/9 pass=1 threads=1 real_time=-1"
$RENDERER $PARAMETERS

Just a simple 1 clip file crashes even.

I'd add that with regards to messed up system(s), I've been happily rendering projects on all machines right up until upgrading to 12.04 from 11.10 and recent kdenlive / MLT development.

I've also just wiped all traces of libav libraries, kdenlive and MLT and reinstalled them all again, still no good. :-(
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
could you share customprofile1 content?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar