FS#8531 - Kdenlive-svn crashes on start after upgrade
Attached to Project:
Community Packages
Opened by Alberto Gonzalez (Luis) - Tuesday, 06 November 2007, 15:49 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 28 January 2008, 12:57 GMT
Opened by Alberto Gonzalez (Luis) - Tuesday, 06 November 2007, 15:49 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 28 January 2008, 12:57 GMT
|
Details
Description: After upgrading Kdenlive-svn (with
dependencies) to version 1719-1, it crashes on start with
the following message:
Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert KCrash: Application 'kdenlive' crashing... Any help appreciated. Thanks. |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Monday, 28 January 2008, 12:57 GMT
Reason for closing: Won't fix
Additional comments about closing: moved to unsupported
Monday, 28 January 2008, 12:57 GMT
Reason for closing: Won't fix
Additional comments about closing: moved to unsupported
I'll fix the replaces to conflicts now, tardo :)
Thanks for your help!
FS#7943, and confirm it works ;)I use "ffmpeg 20071204-1" from extra and Kdenlive gives me this:
"Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
KCrash: Application 'kdenlive' crashing..."
Should I recompile ffmpeg with --enable-swscaler option?
Moreover, I tried the newest mlt-svn (1050) and kdenlive-svn (1803)... still with no success...
FS#7943). :-/So at least libquicktime should be rebuilt with the latest ffmpeg, not sure if other rebuilds are required.
FS#7943, can you give more info here?Also, kdenlive-svn is orphaned, so you can change it yourself (or adopt it).
1. I rebuilt libquicktime in version 1.0.2, I reinstalled it and tried to run Kdenlive. Result: The problem didn't disappear.
2. I rebuilt mlt-svn in version 1050 (latest), I reinstalled it and tried to run kdenlive. Result: As above. (libquicktime 1.0.2 - rebuilt, ffmpeg from extra)
3. I rebuilt mlt++ in version 0.2.2, reinstalled and tried to run kdenlive. Result: As above. (ffmpeg from extra, libquicktime 1.0.2 - rebuilt, mlt-svn 1050 - rebuilt)
4. I rebuilt kdenlive-svn in version 1803 (latest), reinstalled and tried to run it. Result: As above (all packages rebuilt)
I've no idea...
I wonder, when I opened this bug report I was using ffmpeg from testing (now moved to extra), and the maintainer said above that the bug was because of that ffmepg package. Now it seems that the package was meant to solve some kdenlive bugs, but it was known not to work with kdenlive! So what was the point?
Anyway, does anyone know if the problem with ffmpeg's new package is the "--enable-swscaler" option or just because of the newer version?
Paul, any ideas here?
Was that option only meant to solve kdelive bugs or did it solve other problems in other apps?
I can confirm that...
weird :|
1) mlt needs to be recompiled to link against the new libavformat.
2) when building mlt, the configure script screws up somewhere, so the flags for swscale aren't passed and results in your img_convert problems.
the fix:
- make sure you're running configure with --avformat-swscale
- do not source qt3/kde3 profiles. it's advisable not to build qimage (relies on img_convert)
- add these two lines after configure
-----
echo "CFLAGS+=-DSWSCALE=1" >> src/modules/avformat/config.mak
echo "LDFLAGS+=-lswscale" >> src/modules/avformat/config.mak
------
and then maybe it will start. I'm not running kde3 so I can't test it properly, but it runs fine, then crashes because i'm not running dr. konqi (which i assume is kde3).
But then I've realized that opening any video file Kdenlive crashes. Maybe the other parts (mlt++, libquicktime and kdenlive need to be rebuilt too?).
e.g. strace /opt/kde/bin/kdenlive &> kdenlive.output
Run the program like you normally do, then when it crashes, pastebin the kdenlive.output.
1) mlt needs to be recompiled to link against the new libavformat.
2) when building mlt, the configure script screws up somewhere, so the flags for swscale aren't passed and results in your img_convert problems.
the fix:
- make sure you're running configure with --avformat-swscale
- do not source qt3/kde3 profiles. it's advisable not to build qimage (relies on img_convert)
- add these two lines after configure
-----
echo "CFLAGS+=-DSWSCALE=1" >> src/modules/avformat/config.mak
echo "LDFLAGS+=-lswscale" >> src/modules/avformat/config.mak
------
and then maybe it will start. I'm not running kde3 so I can't test it properly, but it runs fine, then crashes because i'm not running dr. konqi (which i assume is kde3).
http://pastebin.archlinux.org/24778
The thing is that before upgrading ffmpeg it worked. And I've now even downgraded ffmpeg and it works fine with that same WMV file. So who knows where the bug really is (it's not about swcaling, since I already tried to rebuild ffmpeg and mlt without it but it still crashes). I'll keep trying by rebuilding other packages.
-rebuild mlt-svn against the new ffmpeg enabling the option "--avformat-swscale" (the echo statements don't seem to be needed here).
-rebuild kdenlive-svn (only small change in PKGBUILD is to update /etc/profile.d/qt.sh to /etc/profile.d/qt3.sh).