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

certain video files crash Kdenlive

Tags: None
(comma "," separated)
DavePhillips
Registered Member
Posts
71
Karma
0

certain video files crash Kdenlive

Mon Oct 12, 2009 10:32 am
I've been building Kdenlive and MLT from sources recently. At revision 3999 of Kdenlive I had a very stable app. I recently upgraded both Kdenlive and MLT to the latest repo versions. Alas, some of the AVI and MOV files that worked fine no longer and will crash Kdenlive if I try to select them, either via Add Clip or from an existing layout (i.e. I can load a layout that contains the offending files but the app segfaults if I select the files for any reason).

Now for the strangeness. I reverted MLT and Kdenlive to the earlier revisions that had worked fine, but I still have the problem. It may be due to an upgrade of FFmpeg (from 3.0 SVN to 4.05 SVN) through the Ubuntu Jaunty repos.

Has anyone else seen this problem ? If so, is there a known fix ? My projects are unusable until I can reload and edit the "bad" files. I appreciate any & all advice and suggestions, and I'm quite willing & able to rebuild any component from sources.

Best,

dp
j-b-m
Registered Member
Posts
804
Karma
1
Whenever you encounter a problem with a specific file in Kdenlive, please follow the instructions for bug reporting described here: http://kdenlive.org/bug-reports

Basically you should:

1) try playing your video with ffmpeg:
ffplay myvideo.avi

2) try playing your video with MLT:
melt myvideo.avi

If both steps work, try seeking in the file while playing (using arrows with ffplay and 'h' and 'l' in MLT).
If everything works as expected in FFmpeg, you will need to open a bug report and attach a sample video file with instructions on how to reproduce the crash.
DavePhillips
Registered Member
Posts
71
Karma
0
@j-b-m - Thanks for the note. I tried to create a Mantis account but it keeps rejecting my p-word. Oh well.

You wrote:

"1) try playing your video with ffmpeg:"

The file plays and seeks with ffplay, no troubles.

"2) try playing your video with MLT:"

The file segfaults melt immediately.

So offhand I'll guess the problem is with MLT (0.4.7 from the latest git sources).

Meanwhile I've built FFmpeg here myself (following the suggestions from the Kdenlive site) and will rebuild everything for Kdenlive. I'll also keep trying to get my Mantis account activated.

[edit]: No joy with the latest FFmpeg build, Kdenlive fails to load or play the files, generates the same errors (fd usage error 15, fd usage error 13). Again, ffplay worked fine, melt segfaults with the same file.

Best,

dp

j-b-m
Registered Member
Posts
804
Karma
1
Ok, then the problem is in your MLT install

I have seen such crashes when there were several different installs of FFmpeg's libavformat. Check in /usr/lib and /usr/local/lib that you don't have several versions of libavformat, libavcodec, libavutil and libswscale...

Can you play a simple mpeg file with melt or does it crash on any file?

By the way, I just tested the creation of a new user in bugtracker and it works... beware that the user name and pass is case sensitive...
geoffrey
Registered Member
Posts
100
Karma
0
I am also having problems along these lines with kdenlive0.7.6 and mlt 0.4.6.

However, I'm using Ubuntu Karmic and wonder if that could be part of the problem. Before with Jaunty and kdenlive 0.7.5 with a few svn/upgrades of dependencies everything was working great.

I spent a little time trying to remove and reinstall related dependencies but it still crashes on some files (mostly been trying .mt2 HDV files).

I hope to do some more testing using ffplay and melt sometime this week and will report what I find. I'm also following the PPA from sunab, but I have the same issues when I compile myself.

Geoff



DavePhillips
Registered Member
Posts
71
Karma
0
j-b-m wrote:

"I have seen such crashes when there were several different installs of FFmpeg's libavformat. Check in /usr/lib and /usr/local/lib that you don't have several versions of libavformat, libavcodec, libavutil and libswscale..."

Everything is in order as it should be. Nothing extra anywhere.

"Can you play a simple mpeg file with melt or does it crash on any file?"

I test with ffplay and melt, and so far I've had no trouble with MPEG, MP4, FLV, and other AVI files.

"By the way, I just tested the creation of a new user in bugtracker and it works... beware that the user name and pass is case sensitive..."

I'm registered now and the bug report (0001206) has been filed.

Best,

dp

ddennedy
Registered Member
Posts
1315
Karma
1
If you need something working then do not use the HEAD/0.4.7 version of MLT. I have committed some big changes to MLT after the 0.4.6 release. You get what you deserve for playing with sharp knives. However, if you want to help with the testing and debugging of my changes, then feel free to stay there and submit good bug reports.


DavePhillips
Registered Member
Posts
71
Karma
0
ddennedy wrote: "You get what you deserve for playing with sharp knives. However, if you want to help with the testing and debugging of my changes, then feel free to stay there and submit good bug reports."

Hopefully the report I filed lives up to your expectations, let me know if there's more needed. And no, I don't mind playing with sharp knives. I know what I'm dealing with, I'm not doing any production work, so I'll be happy to put in some testing/debugging time.
DavePhillips
Registered Member
Posts
71
Karma
0
A quick note to thank the devs for their attention to this problem and for the quick fix. As far as I can tell, the problem is resolved. Very cool, you guys rock. :)


Bookmarks



Who is online

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