Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A possible fix for out-of-sync video files Apps
I've noticed that some videos I download have out-of-sync audio and video. The sound and video tracks play at slightly different rates building up a worsening discrepancy as the video goes on.

On a 3ivx avi video, I recently discovered a surprisingly easy fix using qt player with QuickTime Pro. Open the movie in QuickTime Player and go to Edit -> Extract tracks, select the sound track and hit Extract. This creates a new audio only movie. Using this, Edit -> Select All and then Edit -> Copy to put the sound track onto the clipboard.

Go back to the original movie and select Edit -> Add Scaled, which will create an additional audio track which, at least with the video I tried this on, is properly synced.

Then to clean up you can use Edit -> Delete tracks and remove sound track 1 (the original out-of-sync one). At this point you can test the result and, if all went well, save the repaired video.
    •    
  • Currently 2.60 / 5
  You rated: 4 / 5 (5 votes cast)
 
[55,922 views]  

A possible fix for out-of-sync video files | 7 comments | Create New Account
Click here to return to the 'A possible fix for out-of-sync video files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A possible fix for out-of-sync video files
Authored by: diamondsw on Oct 10, '03 10:55:42AM

The sync problem is a long-standing one, and this method has been tried. It may work sometimes, but I strongly doubt this is the final word.



[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: klubkid on Oct 10, '03 02:38:39PM

Has never worked for me. I've found that the only cure is using a different video player (highly recogmend mplayer) and making sure that you have a fairly fast computer depending on the video size.



[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: mrbiiggy on Oct 11, '03 06:03:06PM

Maybe you should just try a video player that plays movies correctly. Try vlc and mplayer.



[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: wesley_willis on Oct 11, '03 10:45:13PM
For out of sync movies use "Sync-Hole"

http://nsorscher.home.comcast.net/apps/Sync.html

This program attempts to sync your quicktime movies by changing the framerate of sections of the video track(s), or changing the offset of the audio track, and it works great! It only save a move with dependencies, so once the audio is synced the way you want it then open the movie with dependencies in quicktime and then "save as" a standalone movie and the movie you save will be in sync.

[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: bantha on Feb 08, '04 05:40:40PM
Hi. I am the author of Sync Hole and I was just googling my page because I've recently moved and had to change my comcast identity.
The new url: http://nasorscher.home.comcast.net/apps/Sync.html
also a more permanent mirror:
http://www.applesolutions.com/bantha/Sync.html
And one more thing, you can set it to make stand-alone movies in the preferences, which I guess nobody ever looks at.

And really one more thing, if you do go the Add Scaled route, whatever you do make sure you add the VIDEO scaled to the AUDIO, not vice versa. Scaling the audio changes the pitch and also the sample-rate, which means that the cpu must resample on the fly back to a rate supported by the sound card in hardware. This will increase playback requirements of the movie and also often causes "soft sync" problems where the sync gradually gets worse, but pausing/resuming fixes it (which doesn't sound so bad, but if you think about it it means the sync problem can never be fixed for that movie)

[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: ericstephenvorm on Oct 16, '08 03:43:04PM

I would also point out that Sync Hole often doesn't work when I first open up an AVI file. Instead of showing the movie, it's a blank screen. To make it work when it does this, go to file/add movie to get the movie to show up. Then you can fiddle with the A/V settings.

Another tip, make tiny adjustments. I always start between .25 and .5 seconds as adjustments. It's almost always somewhere in that range that makes the movie perfect.

Good luck!

ESV
eric@esvphotography.com



[ Reply to This | # ]
A possible fix for out-of-sync video files
Authored by: klasseng on May 10, '10 06:20:31PM

If you have QuickTime Pro (not the latest QuickTime Player 10.x), you can fix it manually:
1. Open the movie in QuickTimePro
2. Choose "Show Movie Properties" from the "Window" menu
3. Click on the video track, click on the "extract" button
4. Click on the audio track, click on the "extract" button
5a. If the video lags the audio, delete some small time (start with .25 if it's minor) from the beginning of the new video only movie; delete the same amount of time from end the audio only movie
or
5b. If the audio lags the video, delete some small time (start with .25 if it's minor) from the beginning of the new audio only movie; delete the same amount of time from end the video only movie
6. Select all the audio, copy it
7. Activate the video movie, choose "Add to Movie" from the "Edit" menu
8. Play it to see if it was enough or play with the times deleted in steps 5a or 5b.
9. When you've got it, save the movie.



[ Reply to This | # ]