When playing the file in VirtualDub the sync is good but when I save as AVI the resulting video seriously/hugely lags audio. What am I doing wrong?
Thanks!
Bob
+ Reply to Thread
Results 1 to 6 of 6
-
-
PLEASE give all the DETAILS!!!!
What is your source audio format? Are you doing audio->direct stream copy or full processing?
Is virtualdub complaining about vbr audio when opening the video?
Or try edit with avidemux. -
For audio processing I tried both Direct Stream Copy and Full processing mode
Both result in very out of sync audio. It is like the video is in slow motion and the audio finishes way faster than the video.
For video compression I am using ...
ffdshow video codec
Encoder: MPEG-4
FOURCC: SVID
Mode: one pass - quality
Here is the Media info for the input file...
General
Complete name : C:\Program Files\CamStudio\982010_222_29.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 80.1 MiB
Duration : 26s 670ms
Overall bit rate : 25.2 Mbps
Video
Format : CamStudio
Codec ID : CSCD
Codec ID/Info : RenderSoft CamStudio lossless (LZO & GZIP compression)
Duration : 26s 670ms
Bit rate : 23.8 Mbps
Width : 564 pixels
Height : 428 pixels
Display aspect ratio : 4/3
Frame rate : 200.000 fps
Resolution : 32 bits
Bits/(Pixel*Frame) : 0.492
Stream size : 75.5 MiB (94%)
Title : ~temp.avi Video #1
Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Unsigned
Codec ID : 1
Codec ID/Hint : Microsoft
Duration : 26s 636ms
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 4.48 MiB (6%)
Interleave, duration : 100 ms (19.98 video frames)
Interleave, preload duration : 800 ms
Title : Microsoft Waveform: ~temp001.wav -
Did you check the encoded file for audio/video lengths? Frame rate : 200.000 fps may be related to the problem. The audio seems to be PCM, so nothing too odd. Are you converting that to MP3? Did you adjust the framerate to 25fps? (Assuming PAL video format.)
-
Where on Earth did your video file come from? Am I seeing something wrong? It appears to be encoded to MPEG-4 at a bitrate more suitable to DV. PCM audio at a 44.1 KHz sampling rate is fine for music CDs, but for your MPEG-4, an .mp3 with a 48 KHz sampling rate would be more appropriate. And like Redwudz noted, what's with that 200 fps frame rate?
There's a lot going on here that is way out of whack.
I don't think the problem lies with VirtualDub...not one bit. -
You are right. It is the 200 fps that is killing it. I am using CamStudio to record screen capture video and that was the fps that was recommended. So I have messed around and found how to capture at 30 fps and VirtualDub likes that alot more!
Thanks guys for helping me narrow down where the problem is.
Bob
Similar Threads
-
Newbie debugging sync audio video problem
By siocnarf in forum Video ConversionReplies: 3Last Post: 24th Apr 2012, 20:42 -
Audio - Video Sync Problem - VirtualDub
By cyberlion in forum EditingReplies: 13Last Post: 16th Jul 2010, 07:51 -
VirtualDub Filter for problem with "Horizontal Sync Issues"?
By lonerzzz in forum RestorationReplies: 6Last Post: 6th Apr 2009, 17:29 -
Problem with Append AVI in VirtualDub - Audio of Sync - How Fix?
By Chakra in forum Newbie / General discussionsReplies: 3Last Post: 6th Aug 2008, 18:00 -
Newbie question: Problem with synchronization
By ffabioo in forum SubtitleReplies: 2Last Post: 15th Jul 2007, 17:40