PDA

View Full Version : MPEG Layer 2 audio?


yawnmoth
25th October 2002, 07:54
I'm using a Hauppage WinTV PVR-250 to capture some TV episodes - it can capture in either MPEG1 or MPEG2, and the audio is always captured in MPEG Layer 2. Anyways, when I load the newly created file in DVD2AVI, and compress it I get a *.mpa file. I load the file in winamp and use Winamp's disk writter plugin to get an mp3 file. However, when I try to mux the audio in with Virtual Dub, I find the audio isn't in sync, even though I set the delays to what the *.mpa's title said. So... how do I get the audio in sync with MPEG Layer 2 audio?

Something else that's odd that I've noticed... when I use DVD2AVI to do different segments of the same video, I get different delay's. And each one of them is different from the delay I get when I do the whole thing. Why is this? Could this be why my audio is always out of sync when I try to mux it in with Virtual Dub? If so, how could I fix this?

JuanC
26th October 2002, 05:28
Originally posted by yawnmoth
However, when I try to mux the audio in with Virtual Dub, I find the audio isn't in sync, even though I set the delays to what the *.mpa's title said. So... how do I get the audio in sync with MPEG Layer 2 audio?
I have had this same problem, specially when forcing FILM (23.976 fps, I use DVD2AVI 1.86 Modified by Gloval), but since VirtualDub previously reported that the AVS had strange fps like 23.975, I decided to use AssumeFPS(24000,1001,false), or AssumeFPS(30000,1001,false) when not using forcing film (i.e. 29.97fps), in the AVS script. I have got better results after this.
Originally posted by yawnmoth
when I use DVD2AVI to do different segments of the same video, I get different delay's. And each one of them is different from the delay I get when I do the whole thing. Why is this? Could this be why my audio is always out of sync when I try to mux it in with Virtual Dub? If so, how could I fix this?
I don't use DVD2AVI to do different segments of the same video. Instead, I use trim in the AVS script or select and delete unwanted segments in VirtualDub.

yawnmoth
26th October 2002, 07:13
I've noticed the strange fps, too, with DVD2AVI 1.86! I've been using an AVI frame rate changer to change the fps to 23.976, which seems to help with DVD rips, with AC-3 audio that's being decoded by DVD2AVI, but since DVD2AVI can't decode layer 2 audio, I'm out of luck. Of course, even with AC-3, I still have to adjust the frame rate. With MPEG Layer 2 audio, that doesn't seem to work... maybe using AVS will help! :) Thanks! :)