ALL I am trying to do is slow down an avi file so that it plays a few minutes longer with the audio still in sync. After a very long step by step process that took several days that involved changing framerates and importing the audio into audacity, I STILL can't get the slowed down audio and video to be in perfect sync with eachother. The weird thing is, the audio and video are only out of sync for the first few minutes of the video, after that it's synced perfectly. What is going on? And I've been able to do this before without any problems.
+ Reply to Thread
Results 1 to 4 of 4
-
-
You probably need to split into 2 or more sections . Separate first few minutes that still has a problem and work on that separately
-
Yes, and don't slow the video but speed up the audio (in my opinion). Or work on just the audio in an audio editor such as Audacity where you can adjust only the part needing adjusting, while leaving the rest alone.
One might ask how it came to be that way? It was like that when you downloaded it and you never had a chance to get the source? Or you did it and the source was fine but somehow you messed it up? Might there be VFR video involved (like a phone video, perhaps)? -
I know that the input is an avi, but assuming the input file was an mp4 file one could also just change the time stamps by using something like:
Code:ffmpeg -i "path to inpu file" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" "path to output file"
Note: 0.5 is the inverse of 2.0 (so if you use other numbers keep in mind that atempo needs to be the inverse of the pts multiplicand)
Why I write this: This might also work for avi.(but I never tried it)
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
Problem with out of sync audio
By Dannyboy1985 in forum Newbie / General discussionsReplies: 7Last Post: 18th Nov 2016, 18:35 -
audio sync problem
By Skeeterleg in forum Authoring (DVD)Replies: 1Last Post: 7th Feb 2016, 16:28 -
Audio sync problem
By JoeU in forum Newbie / General discussionsReplies: 1Last Post: 22nd Aug 2015, 18:36 -
audio sync problem - progressively out of sync during playback - MPEG 2
By TheShortStraw in forum Newbie / General discussionsReplies: 4Last Post: 20th May 2013, 07:36 -
Audio sync problem...
By Din Viesel in forum MacReplies: 5Last Post: 7th Jun 2012, 03:27