Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum
Home
Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section > Tutorials
Best Porn Sites Live Sex Register FAQ Members List Calendar Mark Forums Read

Notices
Tutorials Step by step Guides and How to's with screengrabs.


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old September 18th, 2011, 06:50 PM   #1
Denaniel
Administrator
 
Denaniel's Avatar
 
Join Date: Dec 2006
Location: Rocinante Ops Deck
Posts: 13,908
Thanks: 114,734
Thanked 425,506 Times in 13,433 Posts
Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+Denaniel 1000000+
Default Fixing out of sync audio in AVI files

You downloaded a vid, but the audio and video are out of sync; i.e. the audio is either too early or too late.

Example: if you hear someone speaking, but you don't see their lips moving until a second or two after you hear the words, then the audio is early and needs to be delayed.

There are freeware apps that can time shift the audio for you without re-encoding, and normally it only takes a few minutes to fix. The app that I'm most familiar with is called VirtualDub.

Download VirtualDub here.

Play your vid in your favorite media player and try to find a scene with a short, sharp sound. Like a door or car door or kitchen cabinet slamming shut, something exploding, a dropped object hitting the floor, etc. Estimate the number of seconds the audio is early or late, and write down the runtime of that moment with the short, sharp sound.

Open the AVI file in VDub: File menu > Open video file...

Drag the little rectangle at the bottom of VDub from left to right and watch the frame number and elapsed time increase until you get to the runtime that you wrote down.



In the example above, the runtime I'm looking for is two minutes (00:02:00).

Click on the button at the bottom with the little yellow key and a left arrow above it (circled in red above). This will take you back to the previous keyframe. (When you use VDub to save a clip, you must always begin the clip with a keyframe. Note the little "K" in brackets to indicate the key frame.)

Hit the Home key on your keyboard to mark this frame. (Or Edit menu > Set selection start.)

Now, click the right arrow button with yellow key a few times until you've advanced beyond the runtime of your short, sharp sound.

Hit the End key on your keyboard to mark this as the end frame of your clip. (Or Edit menu > Set selection end.)



Note the short section of timeline highlighted in blue (circled in red above). I made this clip longer than necessary to make it easier to see the highlighted section. For resynching audio, you only need ten seconds or less.

Go to the Video menu and select "Direct stream copy":



Go to the Audiomenu and select "Interleaving":



Under "Audio skew correction", enter a number in the box next to "Delay audio track by..." If your audio is early, enter a positive number of milliseconds (1000 x seconds). If the audio is late, enter a negative number.



In the example above, I entered 1500, because my audio was about a second and a half early (1000 x 1.5 seconds).

Click OK.

Go to the File menu and select "Save as AVI" (or hit F7).

Enter a Filename and click Save. (I usually add the number of milliseconds, e.g. "1500" to the filename, to help me remember the setting in case I have to alter it later.)

Open the new AVI clip in your media player and see if the audio is now in sync. If it's still off, estimate a new delay and go back to the Audio menu > Interleaving and change the number of milliseconds, then save a new clip with a new name. Continue until you get it right.

Now, reopen your AVI (File menu > Close video file or Ctrl-W, then Open video file or Ctrl-O), again go to Video menu > select Direct stream copy, then Audio menu > Interleaving and enter the final number of milliseconds that worked, back to File menu > Save as AVI (or F7), choose a new Filename and click Save.

Listen to your new vid and see if the sound is in sync throughout the movie. If it is, congratulations: you're done!


Fixing audio sync if delay increases/decreases during play

If the audio is in sync but gradually gets out of sync as the runtime increases, or if the audio is early at the beginning and late at the end, or vice versa, then you still have a chance of fixing it using VDub.

With your vid opened in VDub, and Video set to Direct stream copy, go to Video menu and select Frame Rate...



Under Source rate adjustment, the default is "No change (current: xxx fps)".

Note the number of fps (frames per second).

Click the radio button "Change frame rate to (fps)" and enter a number in the box that is 0.01 higher or lower than the current fps. In the example above, the current fps is 29.970, and I entered 29.960, which is 0.01 less.

In this example, my new vid will have slightly slower video, so if the audio is gradually running later as the runtime increases, my new vid will compensate for that with slower video. If your audio gradually gets earlier, then increase the fps instead of decreasing it.

Save a clip from the beginning, middle and end of your vid and see if the audio is back in sync. If not, adjust the frame rate accordingly and try again.

If you already delayed the audio as described in the first part above, and you can't get the movie back in sync, then you may have to start over with the original vid and adjust the framerate before adding a delay to the entire vid. Experiment and see what works.

Good luck!
__________________

Please PM me if any of my links are dead.

Don't post your thanks, hit the "Thanks" button!



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
...
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
...
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Denaniel is online now   Reply With Quote
The Following 19 Users Say Thank You to Denaniel For This Useful Post:


 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 05:23 AM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.