Hi,
I'm trying to convert a captured MPEG2 file to AVI (Panasonic DV codec or Huffy, not DivX or Xvid). When i import the MPEG2 file into VirtualDub the audio is horrible off sync.
What audio/video settings should i have in VirtualDub to resolve this? Is there a better program to use to convert MPEG2 to AVI?
I've checked the guides but nothing seems to address MPEG2 to AVI conversion...
Thanks
+ Reply to Thread
Results 1 to 20 of 20
-
The distance between genius and insanity is measured only by success...
-
The audio is captured as 48KHz PCM.
Currently i'm trying just a direct stram copyThe distance between genius and insanity is measured only by success... -
Sounds like audio offset more than 100ms
You can adjust the audio offset at Audio - Interleaving - Audio skew correctionLa Linea by Osvaldo Cavandoli
-
VirtualDub lets you skew the audio if it is off for some reason. On the Audio menu select Interleaving. In the "Audio skew corretion" box set the "Delay audio track by" value. You can delay or advance the audio by using positive and negative values.
-
junkmalle,
I'll take a look at that audio skew. but i font know how the audio could have gotten offset. the original mpeg2 is perfectly synched. i dont do any editing in virtualdub, i just save as AVI and in teh resulting file is off by minutes...
daamon,
i've tried DVD2AVI. I save as AVI and all my output files are always scrambeled...The distance between genius and insanity is measured only by success... -
I'm beginning to think that something is wrong w/ the source file. The file i am working with is 3 hours long. I;ve tried virtualdub and virtualdubmod and the audio is always off. but if i try a shorter mpeg2 clip (1 min) it seems to output to AVI fine. Does anyone know if VirtualDub has issues with large files?
The distance between genius and insanity is measured only by success... -
Don't know. Is the audio offset the same throughout the whole capture with the longer ones? If so, then the audio skew will help. If it's not, there's little hope of getting it perfectly synced unless you spend an inordinate amount of time on it.
I had sync issues once and attempted: demux to elementary streams>convert audio to WAV>resampled the audio with a cmd line applet ...changing the length of the audio, using PVAStrumento's PTS time stamp dump as the cal factor>convert audio back to MP2>remux. I ended up with butchered, out-of-sync files :P -
Don't know. Is the audio offset the same throughout the whole capture with the longer ones?
I'm gonna try to demux the audio and export it to WAV, then output the video an the AVI. And import both streams seperatly into Premiere for editing and see of they synch up....The distance between genius and insanity is measured only by success... -
Are you converting from NTSC to PAL or PAL to NTSC? There are always issues with cross format conversions.
-
Are you converting from NTSC to PAL or PAL to NTSC? There are always issues with cross format conversions.
I didnt think it would be this complicated
Of course the simplest this would be just to capture as an AVI, but when i tried that i drop frames and the audio not synched...
I'm using an ATI AIW 9600XT for capture which has a hardware MPEG2 encoder. SO i get much better quality capturing to MPEG2....The distance between genius and insanity is measured only by success... -
Originally Posted by trickyman
VirtualDUB has no issue with large files. With large I mean 6-8 hours long. With more than 12 hours at 12Mbps capture VirtualDUB will produce an "Out of memory" error after parsing the MPEG file.
If your option to demux the audio to WAV and separately process the video doesn't work, try something else: Demux the MPEG stream into ES using MPEG tools within Tmpgenc Encoder. This will give you an MP2 audio file and an M2v video. Try using Restream with the video file to "fix broken GOPs and reset time stamps".
More importantly, try to find what's wrong in the capture settings. I have found that if the capture settings are for "DVD compliant streams" then I have no problems with audio out of sync.The more I learn, the more I come to realize how little it is I know. -
Originally Posted by trickyman
If it's DV cam, by far the most reliable way to "capture" (actually, it's a transfer) to AVI is via firewire using something like DVIO, AVI_IO, WinDV or Scenalyzer Live.
If it's VCR and you're getting dropped frames / audio sync problems, perhaps something like a Canopus ADVC-100 is what you need. Check out lordsmurf's site www.digitalfaq.com for capturing.There is some corner of a foreign field that is forever England: Telstra Stadium, Sydney, 22/11/2003.
Carpe diem.
If you're not living on the edge, you're taking up too much room. -
I'm pretty sure the All In Wonder 9600XT does not have a hardware MPEG encoder -- it's doing the conversion in software. You may have to capture directly to an AVI file with HuffYUV or MotionJPEG codecs. Then convert to DV later.
I capture with a Hauppauge WinTV PVR 250 which definitely is a hardware MPEG capture device. I convert those MPEG files to AVI (Xvid) all the time with VirtualDubMpeg and never have audio sync problems. -
ATI cards after 9500, including 9600, do use some limited hardware encoding. They use some of the GPU functionality to assist. (by the way, do not have a screen saver that uses 3d when capturing with ati. found that out the hard way. makes sense, but forgot about my screen saver as I was capturing).
You can confirm dropped frames during capture by right clicking on the capture control panel and select frames captured/dropped, instead of time recorded / remaining.
I capture with an ATI TV Wonder Pro with an ATI 9500 Pro and can capture 720x480 at 15M bit rate and only use about 60-70% of a 2GHz processor. Tried to capture at 720x480 at 8M bit rate with Compro TV card and it pegged my CPU. -
There is a fix for your problem, it's very easy and fast, and does not require a reencoding of your source file.
Follow this thread for fixing av sync PRIOR to reencoding. Do what this thead says and you will be good to go.
Cheers!
https://www.videohelp.com/forum/viewtopic.php?t=228458 -
Thanks for the imput everyone.
I've had a read through and don't think you say where you're capturing from - DV cam, VCR?
I'm pretty sure the All In Wonder 9600XT does not have a hardware MPEG encoder -- it's doing the conversion in software.The distance between genius and insanity is measured only by success... -
I still think stoik video converter with the right codecs does a better job, and faster. Only need one pass with this tool.
-
never mind Stoik still fails. Having audio/video synchronization issues, consistantly.
Similar Threads
-
mpeg2 ts file convert to mkv or mpeg2 ts......change only video bitrate...
By jrblack in forum Video ConversionReplies: 4Last Post: 24th Jan 2011, 18:45 -
Merging MPEG2 stream with its AC3 audio... or converting MKV to MPEG2
By cwt in forum Video ConversionReplies: 2Last Post: 5th May 2010, 14:18 -
MPEG2 to AVI or whatever VirtualDub will use
By bpatters69 in forum Video ConversionReplies: 4Last Post: 1st Nov 2009, 19:19 -
Problem with Virtualdub-MPEG2
By deepakOne in forum Video ConversionReplies: 2Last Post: 5th Oct 2007, 02:35 -
Please Help! Can't Get VirtualDub-MPEG2 file size down!
By dano187 in forum DVD RippingReplies: 2Last Post: 26th Jun 2007, 19:15