LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2018, 05:49 PM   #1
SUSESailor
Member
 
Registered: Jul 2015
Posts: 85

Rep: Reputation: Disabled
kdenlive: "clip is invalid" for EVERY clip


Hello, all.

In the ongoing effort to finally rid my computer of the vile heinousness that is PulseAudio, I just recompiled my KDEnlive without pulse support. The program launches and seems to be operating as normal, but when I open any project, or try to add clips to a new project, it gives me an error saying "Clip is invalid and will be removed from project" and removes literally every clip from the project. Well, it saves the color clips that were created inside KDEnlive, but every clip, sound or video, that was imported from an external source gets removed.

Now, KDEnlive used to work just fine before I removed pulseaudio. Then, it would complain about the missing libraries. So, I went about re-compiling it. The compile crashed when it tried to link against libphonon which was still looking for some pulse library. So, I recompiled libphonon. That seemed to work perfectly. And then when I recompiled KDEnlive, it seemed to go perfectly well too.

So, what's wrong? Working with a locally compiled binary of a program that used to work just fine. Any ideas?

Thank you!
 
Old 08-19-2018, 07:48 PM   #2
SUSESailor
Member
 
Registered: Jul 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
Okay, I went ahead and reinstalled the version that came with the distribution. When I tried to launch it it acted like it was newly upgraded (even though it was an older version) and in the little setup wizard it showed a red X next to Avformat. I checked and I have two versions of libavformat in /usr/lib64

Why would it no longer be seeing libavformat? I did an ldd on both libavformats and neither one showed any missing dependencies.
 
Old 08-21-2018, 11:57 AM   #3
SUSESailor
Member
 
Registered: Jul 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
apulse is the answer...again!

Okay, it turns out that KDEnlive is heavily dependent on MLT, and in my computer's case it's MLT-6. I learned from a post on some other site to do an ldd on libmltavformat.so, which showed me that it was still looking for a pulseaudio library, all of which have been eradicated from my computer.

My initial response to that, of course, was to recompile MLT-6. That crashed with a nasty-looking error that felt like it would be way too much effort to correct, so I just went ahead and tried launching KDEnlive with apulse

Code:
# APULSE_PLAYBACK_DEVICE=plugequal apulse /usr/local/bin/kdenlive
and that worked. It's now using the recompiled binary that I created earlier, and it works just like it did before.

So, the moral of the story is, if you want to get KDEnlive to see libavformat, check your MLT installation. If you want to get KDEnlive running without PulseAudio on your machine, and you can't get MLT to compile, try apulse. It seems to work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mega-victory: Kim Dotcom search warrants "invalid," mansion raid "illegal" LXer Syndicated Linux News 0 07-11-2012 02:30 AM
LINUX SW for editing "white balance" of AVI clip? kaza Linux - Software 6 02-05-2012 04:12 AM
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
Need to edit AVI movie clip SOUND ONLY and re-save to original movie clip Balarabay1 Linux - Software 1 02-06-2008 01:49 PM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration