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

Ubuntu 12.04 64 bit issues with audio sync/melt

Tags: None
(comma "," separated)
krisbee
Registered Member
Posts
6
Karma
0
OS
I have been having issues with kdenlive 0.8.2.1 and Melt 0.7.7 (which are in the standard repos)... when I go to render, the audio is just a hair off - just enough where lips look rubbery. I did try upgrading using Sunab's repos, and while kdenlive is GREAT there, when I go to render it will actually cause a runaway process or memory leak or something where the HD thrashes and the system becomes completely unusable (can't even kill the process - sometimes have to do a hard power off!)... so the version of Melt obviously has some issue with my machine/setup.

So, I was wondering if there are intermediate versions of melt and/or kdenlive in the repos (Sunab or otherwise) that I can specifically try the other version/combinations to see if I can find a version where I don't run into either issues (bad sync or CRASH!)... or if you can recommend a version of Melt I should compile (though I'd rather just download a precompiled version).

I've tried this with several projects, so it is consistently an issue. I have also tried with many different codecs, and still have the issue. So far, for best rendering time on my machine, I use HDV and then transcode later with handbrake, otherwise the system becomes super sluggish when rendering to h264 using melt. I don't mind the intermediate step...

Thank you so much in advance!
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
This PPA https://launchpad.net/~sunab/+archive/u ... ve-release
has
kdenlive 0.9.10-0ubuntu0~sunab~precise1 and
mlt 0.9.3+git20140926.bbf724b6-0ubuntu0~sunab~precise1

that you could try.

kdenlive 0.8.2.1 and Melt 0.7.7 are very old. kdenlive 0.9.10 is a good version.
krisbee
Registered Member
Posts
6
Karma
0
OS
ttguy wrote:This PPA https://launchpad.net/~sunab/+archive/u ... ve-release
has
kdenlive 0.9.10-0ubuntu0~sunab~precise1 and
mlt 0.9.3+git20140926.bbf724b6-0ubuntu0~sunab~precise1

that you could try.

kdenlive 0.8.2.1 and Melt 0.7.7 are very old. kdenlive 0.9.10 is a good version.


Those were the versions I tried I wrote about in the first post (I didn't make that clear, that I had downloaded them from the sunab repo)...

Unfortunately with THOSE versions, while kdenlive was awesome, melt would actually freeze the whole computer and I never could render.

In the end I discovered that any video was off by 30ms that I made in kdenlive, so I just load the rendered version into avidemux and re-encode the audio with that shift. I render in HDV to make it go quicker, and the avidemux goes pretty quick. Then I take that mpeg file and run it in ffmpeg or handbrake to make my final .mp4. It is an extra two steps, but I don't mind... I don't edit enough videos where it will be an issue. I am holding off uprgrading from 12.04 since I run mythtv on the server and front ends and to upgrade both is a huge disruption to the household, and doesn't go quickly due to all the little tweaks I have done over the years... :)
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Might be a ffmpeg/avconv problem
You could try a prebuilt binary as described here https://userbase.kde.org/Kdenlive/Manua ... d_Versions
eg http://builds.meltytech.com/kdenlive/kd ... 03.tar.bz2
contains the following packages
vid.stab: commit 97c6ae2719faac74687fe409b5a7258eab06b22e Date: Fri May 29 22:56:28 2015 +0200
lame: Warning: No http-tgz information found in /root/BuildAgent/work/c96c9fc88c6766e4/src/lame.
libvpx: commit b8c2a4eb0c47b633096f5c428b70607e7bf8d570 Date: Mon Dec 28 18:17:03 2015 +0000
x264: commit 75992107adcc8317ba2888e3957a7d56f16b5cd4 Date: Thu Oct 1 01:02:16 2015 +0300
libepoxy: commit 8bbc0d40c6c4e023e71ac8bfe7f5898005cac920 Date: Thu Jul 16 11:24:34 2015 -0700 my code when I committed the library support.
eigen: Warning: No http-tgz information found in /root/BuildAgent/work/c96c9fc88c6766e4/src/eigen.
movit: commit 0830ff087940468a6601b12e6bea8893b722ddcb Date: Thu Dec 24 22:31:47 2015 +0100
frei0r: commit 954fbe3e324e05f36aa1ae84f7fed4f87d6c9176 Date: Tue Dec 29 12:39:03 2015 -0800
FFmpeg: commit 35b0c7efda525acb7054f40e934cd487c90139c3 Date: Sun Jan 3 02:09:02 2016 -0300
mlt: commit 9e04d460e65ce673a868bb24eda81e7975eae0e5 Date: Wed Dec 23 21:15:35 2015 -0800
kdenlive: commit ad314e933843cd0658213a6954f22660bf54fe2d Date: Mon May 4 20:44:45 2015 +0200 < a version 0.9.10 version

and this runs on my 14.04 version of ubuntu.
Advantage of this method - the ffmpeg version is up to date and is properly linked to the kdenlive version.
And you can run this version independently from your main version
krisbee
Registered Member
Posts
6
Karma
0
OS
ttguy wrote:Might be a ffmpeg/avconv problem
You could try a prebuilt binary as described here https://userbase.kde.org/Kdenlive/Manua ... d_Versions
eg http://builds.meltytech.com/kdenlive/kd ... 03.tar.bz2
contains the following packages
vid.stab: commit 97c6ae2719faac74687fe409b5a7258eab06b22e Date: Fri May 29 22:56:28 2015 +0200
lame: Warning: No http-tgz information found in /root/BuildAgent/work/c96c9fc88c6766e4/src/lame.
libvpx: commit b8c2a4eb0c47b633096f5c428b70607e7bf8d570 Date: Mon Dec 28 18:17:03 2015 +0000
x264: commit 75992107adcc8317ba2888e3957a7d56f16b5cd4 Date: Thu Oct 1 01:02:16 2015 +0300
libepoxy: commit 8bbc0d40c6c4e023e71ac8bfe7f5898005cac920 Date: Thu Jul 16 11:24:34 2015 -0700 my code when I committed the library support.
eigen: Warning: No http-tgz information found in /root/BuildAgent/work/c96c9fc88c6766e4/src/eigen.
movit: commit 0830ff087940468a6601b12e6bea8893b722ddcb Date: Thu Dec 24 22:31:47 2015 +0100
frei0r: commit 954fbe3e324e05f36aa1ae84f7fed4f87d6c9176 Date: Tue Dec 29 12:39:03 2015 -0800
FFmpeg: commit 35b0c7efda525acb7054f40e934cd487c90139c3 Date: Sun Jan 3 02:09:02 2016 -0300
mlt: commit 9e04d460e65ce673a868bb24eda81e7975eae0e5 Date: Wed Dec 23 21:15:35 2015 -0800
kdenlive: commit ad314e933843cd0658213a6954f22660bf54fe2d Date: Mon May 4 20:44:45 2015 +0200 < a version 0.9.10 version

and this runs on my 14.04 version of ubuntu.
Advantage of this method - the ffmpeg version is up to date and is properly linked to the kdenlive version.
And you can run this version independently from your main version


When I try to run I get this: kdenlive: error while loading shared libraries: libkrossui.so.4: cannot open shared object file: No such file or directory

If I try running the ubuntu x86 version, I get this: kdenlive: error while loading shared libraries: libkdeui.so.5: wrong ELF class: ELFCLASS64
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Yep - x86 version is for 32 bit installs and "wrong ELF class" is what you get when you run on wrong bitness.
So you definitely want the kdenlive-ubuntu14.04-x86-YYYYMMDD.tar.bz2 (no 64 in the name )

But it looks like I have led you down a dead end - because I note from the doco that these files are "for 32-bit Ubuntu—(release 14.04 or higher) or other Debian-based distros."

So you might want to consider upgrading your distro. I am not saying this is going to fix your issue. But bug fixes do move on in kdenlive so it can pay to be more up-to-date than 3years ago to take advantage of this sort of thing.
krisbee
Registered Member
Posts
6
Karma
0
OS
Yup... I agree. At least I have the avidemux workaround until I get time enough to do all the upgrades to the household. Will have to happen at some point :) When computers involve your TV for the household, upgrades just go so much slower because if there is a hitch, the family makes a BIG point about it...

Thank you so much for your help. I appreciate it!
TheDiveO
Registered Member
Posts
595
Karma
3
OS
Why not keeping your TV system as is and adding a separate Kdenlive/video editing system? This way your family will be happy, and you can be happy to working with the newest Kdenlive that also gets bug fixes. Maybe keeping the TV system is the carrot to get a separate video editing system...? ;)


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]