I'll use "BadFrames" in this clip to fix the vertical shake that happens for a single frame here and there. This way I can select only the frames which need to be corrected. Now I face another problem...I can't seem to sync the audio to my video properly. If I get the first half of the video in sync then the second half is out of sync and visa versa Please help
Video:http://www.mediafire.com/?n8o7d1s60t37r61
Audio: http://www.mediafire.com/?z2qiaziohmxyb5v
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 27 of 27
Thread
-
Last edited by Cherbette; 18th Jan 2012 at 10:20.
-
badframes won't change the framecount so sync will be unaffected
was it in sync to begin with ?
was there a delay value when you demuxed it ? if so, you need to use that value when remuxing -
It's a lip synced performance...and the audio on the VHS tape is crap so I wanted to sync it with the CD audio....which is the WAV I provided.
-
I haven't looked at it yet, but syncing from different sources can be extremely difficult and time consuming. Sometimes , if the versions don't match exactly, it's even more difficult
Audio drift means you usually have to open it up in a NLE (with a timeline and audio waveforms visible) and manually sync up sections. It might take a few hours just to fix a one minute section. Sometimes it never syncs up properly -
I'm thinking the original audio in the VHS must have either been sped up slightly OR there is a 1 or 2 second edit at some point...
-
I've determined DelayAudio(-0.5) works to keep the beginning in sync and DelayAudio(-1.0) works to keep the end in sync. Now I just have to figure out what to do with the two? lol
-
This is roughly close, but you'll have to fiddle with the timestretch and delayaudio values to get it closer.
Also it looks like the last chorus , Cher doesn't do a good job of lip syncing (after about 2:18) - it will be almost imposible to fix with linear tools without a glitch - because you have to shrink just that section - it's hard to do with avisynth . If you have a NLE (eg. vegas) you can use something like a velocity curve
Or you can do a creative edit to the video, eg. insert some graphics, animation, that sort of thing over that last section
Code:vid=MPEG2Source("gypsies.d2v") aud=wavsource("gypsies.wav").timestretch(rate=100.2) audiodub(vid,aud) delayaudio(-0.58)
Last edited by poisondeathray; 16th Jan 2012 at 12:58.
-
That is definitely much better...let me try and capture the VHS audio as it may serve as some sort of guide to perfect the ending. I don't think her lip syncing is off so much as the audio may actually be sped up toward the end or there may be a brief edit. Thank you for your assistance as always poisondeathray!!! And I've got MPEG Video Wizard 5.0 (I don't know if that will work with AVS files or not) but I have no idea how to achieve what you mentioned. Let me see what a search turns up...
Last edited by Cherbette; 16th Jan 2012 at 14:00.
-
I managed to make an edit in the audio using Izotope RX and here's the resulting audio:
http://www.mediafire.com/?494kwiw37aa72hh
Script:
vid=AviSource("gypsies.avi").AssumeTFF.Trim(4284,8 959)
aud=wavsource("gypsies2j.wav").timestretch(rate=10 0.2)
audiodub(vid,aud)
delayaudio(-0.58)
#BadFrames(0, blend=true)
ConvertToRGB32(matrix="Rec601",interlaced=true)
I think that is about as in-sync as I'm going to be able to get it but I'm open to suggestions I knew there was a brief edit there somewhere causing the last part of audio to be out of sync...
There's a few second right before I made the edit that are still out of sync...so perhaps the edit happens earlier on. Not sureLast edited by Cherbette; 16th Jan 2012 at 14:14.
-
I don't have "gypsies.avi" , so I cannot test the audio in that script
The other option is to fix the video, so it syncs to the audio . Usually this is what people do, or some combination, because even a small change in audio over short period of time is more easily discernable to average viewer/listener -
"gypsies.avi" should be the same as "gypsies.d2v"...I just compressed it to post here for the sake of file size and already trimmed...so the "Trime" line can be "#".
The other option you mention is worth a shot. What function would I use to do such?Last edited by Cherbette; 16th Jan 2012 at 15:29.
-
It's harder to do in avisynth, because you need curves and non linear functions
But in NLE's , AE, those sorts of programs, you just draw a curve where you want it to speed up or slow down in that section . If you don't do it with a gradual curve (either ramping audio or video), there will be noticable glitch where you did the ramp - because the speed changes too suddenly -
If you wanted to input avs directly you can use premiere avs import plugin
cs4 and below
http://videoeditorskit.sourceforge.net/
cs5+
http://pwolfamv.com/programs/csavs64/
Or you can load the video in directly (save out wav from the script using soundout() or vdub) -
I don't know what that the ".exe" on this page http://sourceforge.net/projects/videoeditorskit/files/PremiereAVSPlugin/1.95/ did but now I'm unable to open AVS with VirtualDub or Premiere lol
-
Not sure, but that version is very stable. I think all it does is place a plugin in one of the adobe folders, plus add some registry changes so it can be installed/uninstalled
I used it for a few years back in CS4 , and I know quite a few people used successfully it in CS3 + CS4 for that time as well without any problems
Maybe try uninstalling / reinstalling ? -
Uninstall and reinstalled PremiereAVSPlugin-v1.95.exe and still having an issue. Even uninstalled and reinstalled virtualdub and avisynth and did a registry clean with ccleaner...still no luck strange because avspmod still works. I don't understand...virtualdub opens for just a half of a second then crashes when I try to open avs with vdub. I'm wondering if it has something to do with huffyuv or this line from its website:
"For the technically minded: dependence on virtualdub is now gone and all resizing/conversions are done using Avisynth internals"Last edited by Cherbette; 16th Jan 2012 at 17:31.
-
Sorry not sure what's going on. Sourceforge is a reliable source. Unless someone hacked them or something like that
I have that same version installed on one of my computers without issues, and I know a few other folks here and on Doom9 do as well
To my knowledge it shouldn't affect any other programs, except Adobe ones
Did you try leaving it uninstalled ? Do you have a restore point ? -
It is currently left uninstalled.
Unfortunately I don't have a restore point on this bare-bones version of XP I'm using -
There's also a chroma shift in my video (http://www.mediafire.com/?n8o7d1s60t37r61) (of which I'm using the uncompressed AVI and have just posted the MPG here for size's sake) which I've attempted to correct with ChromaShift(c=12, v=-8) which looks fairly accurate to me but I'm still learning and any feedback would be much appreciated
-
Best advice for ccleaner (and similar registry "cleaners"): NEVER use it! You might also check this:
http://www.piriform.com/docs/ccleaner/troubleshooting/problems-after-you%27ve-run-ccleaner
TMPGenc can be uninstalled/reinstalled to restore its registry entries.
If you uninstalled the Adobe plugin, the uninstaller would have changed your registry in several ways. I don't know why reinstalling avisynth, etc., shouldn't work. In fact I don't see how the plugin would affect those other apps, it's not known to do so AFAIK - unless its installer changed some file associations. I looked up the installer pages on the 'net, I don't see any instructions at all. All I found was this: http://www.animemusicvideos.org/guides/avtech/videogetbmeth2.htmlLast edited by sanlyn; 21st Mar 2014 at 08:13.
-
Last edited by sanlyn; 21st Mar 2014 at 08:13.
-
oh lol...I guess I never have heard that expression. I thought perhaps you might have been referring to my clip
Similar Threads
-
Chroma shift after field-matching
By drawar in forum EditingReplies: 4Last Post: 25th Apr 2012, 04:07 -
Time shift from camcorder in PC
By petran63 in forum Newbie / General discussionsReplies: 0Last Post: 2nd Feb 2012, 15:32 -
ADVC-55 and color shift?
By pgoelz in forum CapturingReplies: 28Last Post: 16th Mar 2010, 17:10 -
Shift the subtitle
By cheerful in forum Newbie / General discussionsReplies: 4Last Post: 9th Nov 2007, 16:13 -
Hardware to correct Chroma Shift?
By durieux in forum RestorationReplies: 1Last Post: 10th May 2007, 03:26