Posts: 10
Threads: 2
Joined: Jan 2011
Reputation:
0
Ok, my kids love them some FFX, so I have begun playing and recording to make a movie so that they can watch it at anytime. (For them, its the story, not the gameplay). Everything works fine, except the FPS drops to ~45 when recording. My problem is when I try to combine the video and audio, the output video and audio are slightly out of sync. The action happens, then you hear the video. What am I doing wrong? I have used Virtual dub, Sony Vegas, and Pinnacle but all have the same problem. Any help or suggestions would be greatly appreciated! BTW, I have searched the forums but can't seem to find anyone having this particular issue. If I missed it I apologize in advance. Thanks!
Posts: 243
Threads: 1
Joined: Apr 2012
Reputation:
9
Location: Germany
I assume you're using the built-in recorder?
And yeah, I've seen the same thing happen, the delay is roughly 300ms for me when this occurs. To get around this, when muxing or re-encoding the files you have to set the audio delay manually. In VirtualDub you can do this in Audio -> Interleaving (Ctrl+i), don't know with the other programs. You could try Avidemux as well.
Alternatively, you can set the delay during playback with media players that support this, mplayer and frontends or mpc and derivatives can all do that, and I'm sure others as well. Just look around for things like audio delay or timeshift.
Posts: 10
Threads: 2
Joined: Jan 2011
Reputation:
0
I forgot one very irritating aspect of this. The audio is synced at the beginning, but gets worse at the end. I tried your suggestion but there was little improvement. Any other ideas? Thanks again.
Posts: 243
Threads: 1
Joined: Apr 2012
Reputation:
9
Location: Germany
Are you re-encoding the files? If so, will it go out-of-sync with the original untouched files as well?
To check you can play them back with players that support loading of external audiotracks (again, the mentioned (s)mplayer or mpc-hc can do that) or you can just quickly mux the audio and video without re-encoding them. I like avimux_gui for that, does exactly what it says (and does support mkv, despite the name).
Posts: 10
Threads: 2
Joined: Jan 2011
Reputation:
0
I just tested with mpc-hc, and the same thing happens. In sync at the start, way off at the end. I am using the original h264 (avi) video and wav files created during the pcsx2 gameplay.
Posts: 128
Threads: 4
Joined: Jul 2010
Reputation:
8
How far into a video does it take before you begin to notice the audio getting out of sync?
And if it's alright with you, volntn2000, could you upload a recording that goes off sync onto youtube for us to examine?
Posts: 128
Threads: 4
Joined: Jul 2010
Reputation:
8
12-02-2012, 10:32 PM
(This post was last modified: 12-02-2012, 10:32 PM by patrickdinh.)
I'm guessing the framerate is a bit off. Probably a mismatch with 29.97 vs 30.00fps (or 54.94 vs 60.00).
(30.00 / 29.97) x 60 x 16 = 960.96 seconds
(29.97 / 29.97) x 60 x 16 = 960.00 seconds
So through the course of 16 minutes, nearly a second of lag is introduced because the framerate isn't exactly set.