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

Audio out of sync

Tags: None
(comma "," separated)
vjoe
Registered Member
Posts
9
Karma
0

Audio out of sync

Fri Jan 30, 2015 2:56 pm
Hey guys,

I have seen a couple of threads about this, but none of them had a definite fix, so I was wondering if there are new developments on this issue.

Essentially, sometimes, the videos in kdenlive have the sound slightly "in advance", when playing on the preview window and when rendering. It does not happen all the times, just sometime. However, it is enough to make a 5minute video edit job take 30min because of having to split the audio from the video, ungroup them, and then try to "play around" with the audio stream to make it sync with the video.

I have read that this could be due to pulse audio. However, this problem only started occurring a few months ago, and I had pulseaudio before. In addition, the fact that it occurs intermittently, suggests that there might be something else going on.

Does anyone know something about this and how to fix it?

Thanks!
vjoe
Registered Member
Posts
9
Karma
0

Re: Audio out of sync

Sun Feb 01, 2015 8:23 pm
Hey guys

Does anyone know anything about this issue?

Thanks!
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Audio out of sync

Sun Feb 01, 2015 8:39 pm
What versions of kdenlive, mlt and ffmpeg/avconv do you have? What OS are you on? What method did you use to install Kdenlive?
What type of video do you have for a source?
Will this source video play ok with the melt player - at a command prompt in the terminal type:
melt myvideo.mpg
vjoe
Registered Member
Posts
9
Karma
0

Re: Audio out of sync

Sun Feb 01, 2015 8:55 pm
ttguy wrote:What versions of kdenlive, mlt and ffmpeg/avconv do you have? What OS are you on? What method did you use to install Kdenlive?
What type of video do you have for a source?
Will this source video play ok with the melt player - at a command prompt in the terminal type:
melt myvideo.mpg


Thanks for the reply ttguy!

- kdenlive version is 0.9.8
- avconv version is 11.06:11-1
- The OS is Ubuntu 14.10
- I installed kdenlive through the repositories
- The source is a AVI video from a Sony Cybershot DSC-W620

I don't seem to have ffmpeg installed. I had a look a this and it seems that Ubuntu has replaced ffmpeg with avconv.

The is also out of sync with melt. Not with Totem, though...
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Audio out of sync

Tue Feb 03, 2015 12:04 pm
You are on a version behind for kdenlive.
I think you should try a daily build version of kdenlive. You can run a daily build version and still keep your main installed version.
https://userbase.kde.org/Kdenlive/Manua ... ily_builds

A daily build version will bring its own kdenlive, melt and ffmpeg version that will run in a sandbox away from the main versions.
vjoe
Registered Member
Posts
9
Karma
0

Re: Audio out of sync

Thu Feb 05, 2015 10:18 am
Thanks ttguy.

I will give it a go today. :)
vjoe
Registered Member
Posts
9
Karma
0

Re: Audio out of sync

Sat Feb 07, 2015 10:00 pm
I am trying now, but I am getting this problem.

Do you know how to solve it?

Thanks!
vjoe
Registered Member
Posts
9
Karma
0

Re: Audio out of sync

Wed Feb 11, 2015 4:03 pm
By the way ttguy, I updated to the new kdenlive version through the software manager, after adding kdenlive's repository, and the problem is now solved!

Audio is still out of sync in the preview window, but the rendered video is fine. No more tricks with audio sync.

I have only edited two videos since I updated kdenlive, and they were quite short, so I am still testing. But so far so good :)

Thanks a lot for your help!
User avatar
qubodup
Registered Member
Posts
142
Karma
0

Re: Audio out of sync

Sun Mar 22, 2015 8:54 am
1. I had the issue with the audio image in a video being out of sync, which I solved by splitting the audio.

2. I had the issue with a music track being completely out of sync in kdenlive and converting it to wav and using that instead solved it.

3. Sometimes the video preview is out of sync (keyframe issues I'm sure) but when I split the video and have the thumbnails on, the thumbnails will show the real images


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]