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

Floating out of a-v sync, way to fix?

Tags: None
(comma "," separated)
sspphheerraa
Registered Member
Posts
23
Karma
0
OS
Hello there!
I have the film which is out of a-v sync. The worse thing is that out of sync is floating. So correcting that is possible (as I think) by cutting audio track into pieces and stretch/squeeze (time duration) each of them according to picture.
Is there way to do it in kdenlive?
capslock
Registered Member
Posts
699
Karma
4
OS
Yes, you can separate video and audio track, then ungroup them and edit the audio track.

If audio changes constantly over time, you can also use ffmpeg to demux the footage, adjust the audio to the correct length in audacity and mux video and audio again. This would have he advantage that you will not render and have no quality loss.
sspphheerraa
Registered Member
Posts
23
Karma
0
OS
The out of sync is FLOATING.
It means that in one places sound is ahead of video and in other places it falls behind.
Possibly the 'atempo' ffmpeg filter might be useful, but unfortunately it's absent in kdenlive...
vpinon
KDE Developer
Posts
708
Karma
6
OS
Hello,
FFmpeg(->MLT->Kdenlive) audio navigation is imprecise with VBR codecs (you might see its warning if running from a console)
Try to transcode your audio to WAV (either muxed with video or separate), cuts should now be much more precise.
sspphheerraa
Registered Member
Posts
23
Karma
0
OS
vpinon wrote:Hello,
FFmpeg(->MLT->Kdenlive) audio navigation is imprecise with VBR codecs (you might see its warning if running from a console)
Try to transcode your audio to WAV (either muxed with video or separate), cuts should now be much more precise.

It goes without saying.

Any ideas about topic subj?
vpinon
KDE Developer
Posts
708
Karma
6
OS
That's what I am speaking about: what is your audio source codec? video source?
I do transcode my source media to MOV/(WAV+MJPEG) (huge files) or DNxHD when I face A/V sync issues, it has always solved the problem.
sspphheerraa
Registered Member
Posts
23
Karma
0
OS
vpinon wrote:That's what I am speaking about: what is your audio source codec? video source?

avi(ffvhuff + pcm_s16le)
Video stream is from VHS and sound stream is from HDTV (The goal is to mux 4:3 fullscreen video from VHS with high quality sound from HDTV which is cropped 16:9 widescreen). These two different sources (VHS, HDTV) have two different stamps of time initially. So, the floating out of sync is not because of codecs.
User avatar
Stetsbequem
Registered Member
Posts
137
Karma
-2
OS
I would try another container first. (ffmpeg -i x.avi -c copy x.mkv)


The Social Credit System is a credit rating and blacklist being developed by the the ruling Chinese Communist Party. The goal is total control of the population by awarding points for desirable behavior, or withdrawing them for negative behavior.
sspphheerraa
Registered Member
Posts
23
Karma
0
OS
Stetsbequem wrote:I would try another container first. (ffmpeg -i x.avi -c copy x.mkv)

And what will it give?


Bookmarks



Who is online

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