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

Crash on startup (inigo/Kdenlive)

Tags: None
(comma "," separated)
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Crash on startup (inigo/Kdenlive)

Fri Feb 15, 2008 3:31 pm

Dear JB,



I guess there may be some problems during migration to new MLT syntax.

Crash on startup :



Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b1f330ccb60 (LWP 25572)]
[KCrash handler]
#5 mlt_properties_set_int (this=0x0, name=0x2b1f3cb4b337 "forced", value=3)
at mlt_properties.c:274
#6 0x00002b1f3cb4b0f0 in consumer_start (parent=0xc98f70)
at consumer_sdl_still.c:159
#7 0x00002b1f3cb49845 in consumer_start (parent=0xc884b0)
at consumer_sdl_preview.c:208
#8 0x00002b1f2e542a5c in Mlt::Consumer::start () from /usr/lib/libmlt++.so.0
#9 0x000000000053994f in Gui::KdenliveApp::initView ()
#10 0x0000000000544cf5 in Gui::KdenliveApp::KdenliveApp ()
#11 0x0000000000588fd0 in main ()


By the way, is this normal during compilation:



-- Build files have been written to: /home/jmpoure/logiciels/kdenlive/kdenlive
[ 0%] Generating fixplaylist_ui.h
[ 0%] Generating avfile.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/avfile.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating avfilelist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/avfilelist.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating aviconviewitem.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/aviconviewitem.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating avlistviewitem.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/avlistviewitem.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating baselistviewitem.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/baselistviewitem.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating westleylistviewitem.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/westleylistviewitem.h:0: Warning: No relevant classes found. No output generated.
[ 1%] Generating capturemonitor.moc.cpp
[ 2%] Generating clipdrag.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/clipdrag.h:0: Warning: No relevant classes found. No output generated.
[ 2%] Generating clipmanager.moc.cpp
[ 2%] Generating clipproperties.moc.cpp
[ 2%] Generating configureprojectdialog.moc.cpp
[ 2%] Generating createslideshowclip.moc.cpp
[ 2%] Generating definitions.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/definitions.h:0: Warning: No relevant classes found. No output generated.
[ 3%] Generating displayaudiodesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/displayaudiodesc.h:0: Warning: No relevant classes found. No output generated.
[ 3%] Generating displayvideodesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/displayvideodesc.h:0: Warning: No relevant classes found. No output generated.
[ 3%] Generating docclipavfile.moc.cpp
[ 3%] Generating docclipbase.moc.cpp
[ 3%] Generating docclipbaselist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/docclipbaselist.h:0: Warning: No relevant classes found. No output generated.
[ 3%] Generating docclipproject.moc.cpp
[ 3%] Generating docclipref.moc.cpp
[ 4%] Generating docclipreflist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/docclipreflist.h:0: Warning: No relevant classes found. No output generated.
[ 4%] Generating doccliptextfile.moc.cpp
[ 4%] Generating docclipvirtual.moc.cpp
[ 4%] Generating docsubclip.moc.cpp
[ 4%] Generating doctrackbase.moc.cpp
[ 4%] Generating doctrackbaselist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/doctrackbaselist.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating doctrackclipiterator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/doctrackclipiterator.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating doctrackdecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/doctrackdecorator.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating doctracksound.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/doctracksound.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating doctrackvideo.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/doctrackvideo.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating documentbasenode.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/documentbasenode.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating documentclipnode.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/documentclipnode.h:0: Warning: No relevant classes found. No output generated.
[ 5%] Generating documentgroupnode.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/documentgroupnode.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating documentmacrocommands.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/documentmacrocommands.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating dynamicToolTip.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/dynamicToolTip.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating effectcomplexkeyframe.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectcomplexkeyframe.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating effectdesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectdesc.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating effectdescriptionlist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectdescriptionlist.h:0: Warning: No relevant classes found. No output generated.
[ 6%] Generating effectdoublekeyframe.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectdoublekeyframe.h:0: Warning: No relevant classes found. No output generated.
[ 7%] Generating effectdrag.moc.cpp
[ 7%] Generating effect.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effect.h:0: Warning: No relevant classes found. No output generated.
[ 7%] Generating effectkeyframe.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectkeyframe.h:0: Warning: No relevant classes found. No output generated.
[ 7%] Generating effectlistdialog.moc.cpp
[ 7%] Generating effectparamcomplexdesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectparamcomplexdesc.h:0: Warning: No relevant classes found. No output generated.
[ 7%] Generating effectparamdescfactory.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectparamdescfactory.h:0: Warning: No relevant classes found. No output generated.
[ 8%] Generating effectparamdesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectparamdesc.h:0: Warning: No relevant classes found. No output generated.
[ 8%] Generating effectparamdialog.moc.cpp
[ 8%] Generating effectparamdoubledesc.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectparamdoubledesc.h:0: Warning: No relevant classes found. No output generated.
[ 8%] Generating effectparameter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectparameter.h:0: Warning: No relevant classes found. No output generated.
[ 8%] Generating effectstackdialog.moc.cpp
[ 8%] Generating effectstack.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/effectstack.h:0: Warning: No relevant classes found. No output generated.
[ 8%] Generating effectstacklistview.moc.cpp
[ 9%] Generating exportdvddialog.moc.cpp
[ 9%] Generating exportwidget.moc.cpp
[ 9%] Generating flatbutton.moc.cpp
[ 9%] Generating folderlistviewitem.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/folderlistviewitem.h:0: Warning: No relevant classes found. No output generated.
[ 9%] Generating gentime.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/gentime.h:0: Warning: No relevant classes found. No output generated.
[ 9%] Generating initeffects.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/initeffects.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddavfilecommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddavfilecommand.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddclipcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddclipcommand.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddeffectcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddeffectcommand.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddmarkercommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddmarkercommand.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddrefclipcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddrefclipcommand.h:0: Warning: No relevant classes found. No output generated.
[ 10%] Generating kaddtransitioncommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kaddtransitioncommand.h:0: Warning: No relevant classes found. No output generated.
[ 11%] Generating kclipplacer.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kclipplacer.h:0: Warning: No relevant classes found. No output generated.
[ 11%] Generating kdenlivedoc.moc.cpp
[ 11%] Generating kdenlive.moc.cpp
[ 11%] Generating kdenlivesetupdlg.moc.cpp
[ 11%] Generating kdenlivesplash.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kdenlivesplash.h:0: Warning: No relevant classes found. No output generated.
[ 11%] Generating keditclipcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/keditclipcommand.h:0: Warning: No relevant classes found. No output generated.
[ 11%] Generating keditmarkercommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/keditmarkercommand.h:0: Warning: No relevant classes found. No output generated.
[ 12%] Generating kfixedruler.moc.cpp
[ 12%] Generating kmmclipkeyframepanel.moc.cpp
[ 12%] Generating kmmeditpanel.moc.cpp
[ 12%] Generating kmmmonitor.moc.cpp
[ 12%] Generating kmmrecpanel.moc.cpp
[ 12%] Generating kmmrulerpanel.moc.cpp
[ 13%] Generating kmmscreen.moc.cpp
[ 13%] Generating kmmtrackkeyframepanel.moc.cpp
[ 13%] Generating kmmtrackpanel.moc.cpp
[ 13%] Generating kmmtracksoundpanel.moc.cpp
[ 13%] Generating kmmtrackvideopanel.moc.cpp
[ 13%] Generating kmonitor.moc.cpp
[ 14%] Generating kmoveclipscommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kmoveclipscommand.h:0: Warning: No relevant classes found. No output generated.
[ 14%] Generating kmovetransitioncommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kmovetransitioncommand.h:0: Warning: No relevant classes found. No output generated.
[ 14%] Generating kplacer.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kplacer.h:0: Warning: No relevant classes found. No output generated.
[ 14%] Generating krazorclipscommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krazorclipscommand.h:0: Warning: No relevant classes found. No output generated.
[ 14%] Generating krender.moc.cpp
[ 14%] Generating krendermanager.moc.cpp
[ 14%] Generating kresizecommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kresizecommand.h:0: Warning: No relevant classes found. No output generated.
[ 15%] Generating krollcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krollcommand.h:0: Warning: No relevant classes found. No output generated.
[ 15%] Generating kruler.moc.cpp
[ 15%] Generating krulermodel.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krulermodel.h:0: Warning: No relevant classes found. No output generated.
[ 15%] Generating krulersliderbase.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krulersliderbase.h:0: Warning: No relevant classes found. No output generated.
[ 15%] Generating krulertimemodel.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krulertimemodel.h:0: Warning: No relevant classes found. No output generated.
[ 15%] Generating kscalableruler.moc.cpp
[ 16%] Generating kselectclipcommand.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/kselectclipcommand.h:0: Warning: No relevant classes found. No output generated.
[ 16%] Generating kthumb.moc.cpp
[ 16%] Generating ktimeline.moc.cpp
[ 16%] Generating ktrackpanel.moc.cpp
[ 16%] Generating ktrackplacer.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/ktrackplacer.h:0: Warning: No relevant classes found. No output generated.
[ 16%] Generating ktrackview.moc.cpp
[ 17%] Generating listviewtagsearch.moc.cpp
[ 17%] Generating loadprojectfilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/loadprojectfilter.h:0: Warning: No relevant classes found. No output generated.
[ 17%] Generating loadprojectkinofilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/loadprojectkinofilter.h:0: Warning: No relevant classes found. No output generated.
[ 17%] Generating loadprojectnativefilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/loadprojectnativefilter.h:0: Warning: No relevant classes found. No output generated.
[ 17%] Generating monitormanager.moc.cpp
[ 17%] Generating newproject.moc.cpp
[ 17%] Generating newstuff.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/newstuff.h:0: Warning: No relevant classes found. No output generated.
[ 18%] Generating playlist.moc.cpp
[ 18%] Generating printproperties.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/printproperties.h:0: Warning: No relevant classes found. No output generated.
[ 18%] Generating projectformatmanager.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/projectformatmanager.h:0: Warning: No relevant classes found. No output generated.
[ 18%] Generating projecticonview.moc.cpp
[ 18%] Generating projectlist.moc.cpp
[ 18%] Generating projectlistview.moc.cpp
[ 19%] Generating rangelist.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/rangelist.h:0: Warning: No relevant classes found. No output generated.
[ 19%] Generating saveprojectfilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/saveprojectfilter.h:0: Warning: No relevant classes found. No output generated.
[ 19%] Generating saveprojectnativefilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/saveprojectnativefilter.h:0: Warning: No relevant classes found. No output generated.
[ 19%] Generating saveprojectscenelistfilter.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/saveprojectscenelistfilter.h:0: Warning: No relevant classes found. No output generated.
[ 19%] Generating snaptogrid.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/snaptogrid.h:0: Warning: No relevant classes found. No output generated.
[ 19%] Generating timecode.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/timecode.h:0: Warning: No relevant classes found. No output generated.
[ 20%] Generating titlewidget.moc.cpp
[ 20%] Generating trackpanelclipmovefunction.moc.cpp
[ 20%] Generating trackpanelclipresizefunction.moc.cpp
[ 20%] Generating trackpanelcliprollfunction.moc.cpp
[ 20%] Generating trackpanelclipslipfunction.moc.cpp
[ 20%] Generating trackpanelfunctionfactory.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackpanelfunctionfactory.h:0: Warning: No relevant classes found. No output generated.
[ 20%] Generating trackpanelfunction.moc.cpp
[ 21%] Generating trackpanelkeyframefunction.moc.cpp
[ 21%] Generating trackpanelmarkerfunction.moc.cpp
[ 21%] Generating trackpanelrazorfunction.moc.cpp
[ 21%] Generating trackpanelselectnonefunction.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackpanelselectnonefunction.h:0: Warning: No relevant classes found. No output generated.
[ 21%] Generating trackpanelspacerfunction.moc.cpp
[ 21%] Generating trackpaneltransitionmovefunction.moc.cpp
[ 22%] Generating trackpaneltransitionresizefunction.moc.cpp
[ 22%] Generating trackviewaudiobackgrounddecorator.moc.cpp
[ 22%] Generating trackviewbackgrounddecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewbackgrounddecorator.h:0: Warning: No relevant classes found. No output generated.
[ 22%] Generating trackviewdecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewdecorator.h:0: Warning: No relevant classes found. No output generated.
[ 22%] Generating trackviewdoublekeyframedecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewdoublekeyframedecorator.h:0: Warning: No relevant classes found. No output generated.
[ 22%] Generating trackviewmarkerdecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewmarkerdecorator.h:0: Warning: No relevant classes found. No output generated.
[ 23%] Generating trackviewnamedecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewnamedecorator.h:0: Warning: No relevant classes found. No output generated.
[ 23%] Generating trackviewtransitiondecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewtransitiondecorator.h:0: Warning: No relevant classes found. No output generated.
[ 23%] Generating trackviewvideobackgrounddecorator.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/trackviewvideobackgrounddecorator.h:0: Warning: No relevant classes found. No output generated.
[ 23%] Generating transitiondialog.moc.cpp
[ 23%] Generating transition.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/transition.h:0: Warning: No relevant classes found. No output generated.
[ 23%] Generating transitionpipwidget.moc.cpp
[ 23%] Generating transitionstack.moc.cpp
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/transitionstack.h:0: Warning: No relevant classes found. No output generated.
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Sat Feb 16, 2008 8:52 am

Same problem with today's build.

j-b-m
Registered Member
Posts
804
Karma
1

Re: Crash on startup

Sat Feb 16, 2008 9:03 am

Just to be sure, your development Mlt libraries are in installed in /usr ?

Kdenlive seems to be linked against /usr/lib/libmlt++.so.0, make sure that it is the development version and not an older install...



Does the crash happen on every startup or only sometimes ?

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Sat Feb 16, 2008 11:30 am

These are MLT new libraries, I removed the old libraries completely.



I suspect a problem when compiling MLT against shared libavcodec libraries.

MLT configure script does not seem able to choose between libavcodec versions.



# ls -lh /usr/lib/libavformat.*

-rw-r--r-- 1 root root 7,0M fév 15 09:59 /usr/lib/libavformat.a

lrwxrwxrwx 1 root root 21 fév 15 09:59 /usr/lib/libavformat.so ->

libavformat.so.52.7.0

lrwxrwxrwx 1 root root 25 sep 12 17:14 /usr/lib/libavformat.so.1d ->

libavformat.so.1d.51.10.0

-rw-r--r-- 1 root root 534K jui 10

2007 /usr/lib/libavformat.so.1d.51.10.0

lrwxrwxrwx 1 root root 22 nov 13 10:20 /usr/lib/libavformat.so.51 ->

libavformat.so.51.19.0

-rwxr-xr-x 1 root root 598K nov 8 11:41 /usr/lib/libavformat.so.51.18.0

-rw-r--r-- 1 root root 602K nov 12 15:42 /usr/lib/libavformat.so.51.19.0

lrwxrwxrwx 1 root root 21 fév 15 09:59 /usr/lib/libavformat.so.52 ->

libavformat.so.52.7.0

-rw-r--r-- 1 root root 569K déc 7 10:11 /usr/lib/libavformat.so.52.1.0

-rwxr-xr-x 1 root root 593K fév 15 09:59 /usr/lib/libavformat.so.52.7.0



Latest livavcodec is usr/lib/libavformat.so.52



Now:

ldd /usr/lib/mlt/libmltavformat.so

linux-vdso.so.1 => (0x00007fff045fe000)

libavformat.so.51 => /usr/lib/libavformat.so.51 (0x00002b96a681d000)

libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0x00002b96a6ab3000)

libz.so.1 => /usr/lib/libz.so.1 (0x00002b96a71ae000)



[...]



libmltavformat.so uses an old version of libavcodec.

How can I compile MLT agains a recent libavcodec.so.52?

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Sun Feb 17, 2008 10:11 am

j-b-m wrote:
Just to be sure, your development Mlt libraries are in installed in /usr ?

Kdenlive seems to be linked against /usr/lib/libmlt++.so.0, make sure that it is the development version and not an older install...



Sure.

j-b-m wrote:
Does the crash happen on every startup or only sometimes ?


Always.
g.marco
Registered Member
Posts
87
Karma
0

Re: Crash on startup

Sun Feb 17, 2008 12:27 pm

as i see from the gdb output mlt could not create "avcolour_space" filter (an ffmpeg thing)



so it is more a mlt problem



can you try this and report



BTW: did you start only kdenlive or with a project file as parameter ?



thx



EDIT: the configure -avformat-suffix= things will not work as expected.



so you can edit the makefile in mlt/src/modules/avformat


LDFLAGS+=-lavformat$(AVFORMAT_SUFFIX) -lavcodec$(AVFORMAT_SUFFIX) -lavutil$(AVFORMAT_SUFFIX) $(EXTRA_LIBS) -lmlt


to


LDFLAGS+=-l:libavformat$(AVFORMAT_SUFFIX) -l:libavcodec$(AVFORMAT_SUFFIX) -l:libavutil$(AVFORMAT_SUFFIX) $(EXTRA_LIBS) -lmlt


then you can (must) call


./configure --avformat-suffix=.so.52


jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 10:40 am

Thanks. I am experimenting variations of the script.

g.marco
Registered Member
Posts
87
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 11:38 am

then the best way would be


LDFLAGS+=-l:libavformat.so.52 -l:libavcodec.so.51 -l:libavutil.so.50 $(EXTRA_LIBS) -lmlt


or whatever they have.



not nice but should make what it should



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 11:42 am

As proposed, I modified :

svn diff Makefile

Index: Makefile
===================================================================
--- Makefile (révision 1074)
+++ Makefile (copie de travail)
@@ -17,11 +17,11 @@

LDFLAGS+=-L../../framework

-LDFLAGS+=-lavformat$(AVFORMAT_SUFFIX) -lavcodec$(AVFORMAT_SUFFIX) -lavutil$(AVFORMAT_SUFFIX) $(EXTRA_LIBS) -lmlt
+LDFLAGS+=-l:libavformat$(AVFORMAT_SUFFIX) -l:libavcodec$(AVFORMAT_SUFFIX) -l:libavutil$(AVFORMAT_SUFFIX) $(EXTRA_LIBS) -lmlt

ifdef SWSCALE
CFLAGS+=-DSWSCALE
- LDFLAGS+=-lswscale$(AVFORMAT_SUFFIX)
+ LDFLAGS+=-l:libswscale$(AVFORMAT_SUFFIX)
endif

ifdef LOCAL_FFMPEG


and I used for compilation

./configure --prefix=/usr --enable-gpl --avformat-swscale --avformat-suffix=.so --disable-mmx --enable-motion-est


Now compiling Kdenlive, will report later.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 1:29 pm

libmltavformat is still linked to libavformat.so.51 !



Quote:
debian:/usr/lib/mlt# ldd libmltavformat.so

linux-vdso.so.1 => (0x00007fffc0dfe000)

libavformat.so.51 => /usr/lib/libavformat.so.51 (0x00002abde9fec000)

libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0x00002abdea282000)

libz.so.1 => /usr/lib/libz.so.1 (0x00002abdea97b000)

liba52-0.7.4.so => /usr/lib/liba52-0.7.4.so (0x00002abdeab92000)

libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00002abdeac9d000)

libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00002abdeaeaf000)

libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00002abdeb0ef000)

libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00002abdeb2fc000)

libx264.so.57 => /usr/lib/libx264.so.57 (0x00002abdeb494000)

libdl.so.2 => /lib/libdl.so.2 (0x00002abdeb713000)

libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00002abdeb917000)

libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00002abdebb5b000)

libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00002abdebf33000)

libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00002abdec13f000)

libm.so.6 => /lib/libm.so.6 (0x00002abdec36b000)

libogg.so.0 => /usr/lib/libogg.so.0 (0x00002abdec5ea000)

libmlt.so.0 => /usr/lib/libmlt.so.0 (0x00002abdec7ef000)

libswscale.so.0 => /usr/lib/libswscale.so.0 (0x00002abdeca11000)

libpthread.so.0 => /lib/libpthread.so.0 (0x00002abdecc36000)

libc.so.6 => /lib/libc.so.6 (0x00002abdece51000)

libX11.so.6 => /usr/lib/libX11.so.6 (0x00002abded199000)

libXext.so.6 => /usr/lib/libXext.so.6 (0x00002abded3a2000)

/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

libXau.so.6 => /usr/lib/libXau.so.6 (0x00002abded4b4000)

libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002abded5b6000)

g.marco
Registered Member
Posts
87
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 3:27 pm

you can specify in the makefile also -l:libavformat.so.52 for the exact version you want to link against.



but this should be done automatic


marco@pc ~ $ ldd /usr/lib/libavcodec.so
linux-gate.so.1 => (0xffffe000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7ae3000)
libm.so.6 => /lib/libm.so.6 (0xb7abd000)
libz.so.1 => /lib/libz.so.1 (0xb7aab000)
liba52.so.0 => /usr/lib/liba52.so.0 (0xb7aa0000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7a2f000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb79f6000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb79ce000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb78d5000)
libx264.so.56 => /usr/lib/libx264.so.56 (0xb784c000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb7739000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7726000)
libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb76ed000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76d6000)
libc.so.6 => /lib/libc.so.6 (0xb75a6000)
/lib/ld-linux.so.2 (0x80000000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb75a1000)
marco@pc ~ $ ls -l /usr/lib/libavcodec.so*
lrwxrwxrwx 1 root root 21 4. Feb 22:16 /usr/lib/libavcodec.so -> libavcodec.so.51.40.4
lrwxrwxrwx 1 root root 21 4. Feb 22:16 /usr/lib/libavcodec.so.51 -> libavcodec.so.51.40.4
-rwxr-xr-x 1 root root 3398004 31. Dez 17:14 /usr/lib/libavcodec.so.51.40.4
marco@arbeit ~ $



so here is the same, not all .so are the same version



check with ldd which from av{codec,format,utils}.so is linked agains the old version



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 4:00 pm

Here is the make process:

make[2]: entrant dans le répertoire « /home/jmpoure/logiciels/mlt/mlt/src/modules/avformat »
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg -I../.. -DSWSCALE -c -o factory.o factory.c
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg -I../.. -DSWSCALE -c -o producer_avformat.o producer_avformat.c
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg -I../.. -DSWSCALE -c -o consumer_avformat.o consumer_avformat.c
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg -I../.. -DSWSCALE -c -o filter_avcolour_space.o filter_avcolour_space.c
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/usr/include/ffmpeg -I../.. -DSWSCALE -c -o filter_avresample.o filter_avresample.c
cc -shared -o ../libmltavformat.so factory.o producer_avformat.o consumer_avformat.o filter_avcolour_space.o filter_avresample.o -pthread -lavformat -lavcodec -lz -la52 -lfaac -lfaad -lgsm -lmp3lame -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -L../../framework -l:libavformat.so.52 -l:libavcodec.so -l:libavutil.so -lmlt -l:libswscale.so
make[2]: quittant le répertoire « /home/jmpoure/logiciels/mlt/mlt/src/modules/avformat »


Now after installation:

ldd /usr/lib/mlt/libmltavformat.so 
linux-vdso.so.1 => (0x00007fff7a1fe000)
libavformat.so.51 => /usr/lib/libavformat.so.51 (0x00002ab130af5000)
libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0x00002ab130d8b000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002ab131484000)
liba52-0.7.4.so => /usr/lib/liba52-0.7.4.so (0x00002ab13169b000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00002ab1317a6000)
libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00002ab1319b8000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00002ab131bf8000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00002ab131e05000)
libx264.so.57 => /usr/lib/libx264.so.57 (0x00002ab131f9d000)
libdl.so.2 => /lib/libdl.so.2 (0x00002ab13221c000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00002ab132420000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00002ab132664000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00002ab132a3c000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00002ab132c48000)
libm.so.6 => /lib/libm.so.6 (0x00002ab132e74000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x00002ab1330f3000)
libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00002ab1332f8000)
libmlt.so.0 => /usr/lib/libmlt.so.0 (0x00002ab13358c000)
libswscale.so.0 => /usr/lib/libswscale.so.0 (0x00002ab1337ad000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002ab1339d2000)
libc.so.6 => /lib/libc.so.6 (0x00002ab133bee000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ab133f35000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ab13413e000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ab134250000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ab134352000)


mlt is linked against libavcodec51 not 52.
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 4:22 pm

Same problem on startup.

g.marco
Registered Member
Posts
87
Karma
0

Re: Crash on startup

Mon Feb 18, 2008 5:51 pm

maybe the avutils or avcodec ist linked against 51 ?



i dont know exact what ld will make when you force a version of avformat and avutils uses another version



when you have a avutils or ..codec linked against the 52 and you force to use these version of av{codec,utils} ??



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Crash on startup

Wed Feb 20, 2008 8:51 am

I removed all previous installations and checked out a new version of ffppeg and mlt/mlt++ from SVN and compiled them again from scratch.

mlt: r1074

ffmpeg: r12157



cd ffmpeg
svn update
make clean
./configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=/usr/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-pp --enable-libtheora --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --enable-swscaler --extra-cflags="-Wall -g -fPIC -DPIC"


ffplay works like a charm:

ffplay mvi_2084.avi

FFplay version SVN-r12157, Copyright (c) 2003-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=/usr/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-pp --enable-libtheora --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --enable-swscaler --extra-cflags=-Wall -g -fPIC -DPIC
libavutil version: 49.6.0
libavcodec version: 51.50.1
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Feb 20 2008 10:09:30, gcc: 4.2.3 (Debian 4.2.3-1)


cd mlt
make clean
./configure --prefix=/usr --enable-gpl --avformat-swscale --disable-mmx --enable-motion-est


I am running a Debian SID 64 bits on an AM2 platform, with dual-core.



I would like to concentrate first on inigo.

What simple command line can I use to test inigo?



inigo mvi_2084.avi -profile dv_pal threads=2 -consumer sdl rescale=none



Does it work for your?

Not for me:



inigo raw_2007.09.20_17-58-11.avi -profile dv_pal  threads=2 -consumer sdl rescale=none
Usage: inigo [ -profile name ]
[ -serialise [ filename.inigo ] ]
[ -group [ name=value ]* ]
[ -consumer id[:arg] [ name=value ]* [ silent=1 ] [ progress=1 ] ]
[ -filter filter[:arg] [ name=value ]* ]
[ -attach filter[:arg] [ name=value ]* ]
[ -mix length [ -mixer transition ]* ]
[ -transition id[:arg] [ name=value ]* ]
[ -blank frames ]
[ -track ]
[ -split relative-frame ]
[ -join clips ]
[ -repeat times ]
[ producer [ name=value ]* ]+


What ffmpeg/MLT versions are you using?



Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]