This is sort of a "for next time" question since I found a work-around and the clips are done but...
I had a 1 minute clip I needed to turn upside-down and backwards(mirrored) for a "driving in Australia" joke. I also had an audio clip that I wanted to add to the video....which was within 5 seconds duration of the video clip's duration. The clip was already sped up in AviDemux(the only thing I have that opens MJpeg clips reliably), outputted as HUFFYuv so VDub would accept it. I just need to adjust the framerate again to match the audio duration. The only problem is...the audio speed/pitch changed as well. I checked and unchecked the "Sync To Audio" box....nothing changed....the audio(44.1 WAV) was still playing very slowly. What did I do wrong? I also tried to remove the audio...then add it again hoping that would make it ignore the framerate change....nothing.
My workaround was to get the audio clip and video to end precisely at the same time....remove the audio then output video only as a new file....then open the new file and re-add the audio(then of course to Xvid for uploading).
Not vitally important that this is resolved....it's just bugging me. Thank goodness for big hard drives....![]()
+ Reply to Thread
Results 1 to 6 of 6
-
-
Code:
V=AviSource("video.avi") A=DirectShowSource("audio.wav") length=AudioLengthF(A)/AudioRate(A) frames=FrameCount(V) V FlipHorizontal() FlipVertical() AssumeFPS(frames/length) AudioDub(A)
Last edited by AlanHK; 10th Dec 2010 at 03:11.
-
I would have done it AlanHK's way too, but to answer the question re VirtualDub, it should work if you simply select, in the Video Frame Rate dialog, the option "Change so video and audio durations match", no more, no less.
I don't see a "Sync to audio" box (using version 1.8.6), but maybe that's the same thing in your version.
EDIT: There is a 'sync to audio' under the Options menu, but that's just for playing the preview within VirtualDub and doesn't affect the output.Last edited by Gavino; 10th Dec 2010 at 05:00.
-
-
Similar Threads
-
need to replace audio source with a different source
By sec1968 in forum AudioReplies: 0Last Post: 6th Mar 2011, 22:59 -
Audio Synching issue in Sony Vegas - What is the best way to solve my issue
By pandeyrajiv in forum EditingReplies: 2Last Post: 19th Dec 2010, 22:53 -
Directshow Source Filter Issue
By kakskulkarni in forum ProgrammingReplies: 0Last Post: 30th Jun 2010, 18:25 -
Working with VOB2MPG: speed issue hint
By cdgmol in forum SVCD2DVD & VOB2MPGReplies: 0Last Post: 31st Jul 2009, 17:57 -
mpeg2enc issue with OSX 10.5 or source file
By ca1amity in forum ffmpegX general discussionReplies: 4Last Post: 10th Jun 2008, 00:48