Log in

View Full Version : Out of sync videos (Fraps and x264)


Perenista
28th December 2016, 02:22
I am having the following problems here:

- I used epsXE and played a game, then FRAPS to save it.

Fraps 3.5.99 build 15618 is currently using these settings:

Video capture settings: Full size, 30 fps.
Split movie every 4 GB
Record win7 sound, Stereo
Hide mouse cursor in video

And I have a Windows 10, Pro, 64 bit, plus the SAPPHIRE R7 265 AMD video card.

Epsxe 2.0.5 uses:

http://i.imgur.com/PRbxvNj.png

OK, file saved with these settings:

Video
ID : 0
Format : Fraps
Codec ID : FPS1
Duration : 2 min 59 s
Bit rate : 100 Mb/s
Width : 1 400 pixels
Height : 1 050 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 FPS
Color space : YUV
Bit depth : 8 bits
Bits/(Pixel*Frame) : 2.279
Stream size : 2.10 GiB (98%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 3 min 0 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 33.0 MiB (2%)
Alignment : Aligned on interleaves
Interleave, duration : 997 ms (29.90 video frames)

About the FRAPS AVI file: it has 2.13 GB and 2m59s. There are no issues when it comes to audio sync, so everything is 100% fine.

Using VirtualDub 1.10.4, I opened the AVI and used these settings:

http://imgur.com/a/KXOpL

For audio, just direct stream copy.

To my surprise when I try to play the new AVI (with 267 MB) the audio is out of sync, I believe for a difference of 1 second.

I even tried extracting as a WAV the PCM audio from the original file and inserting in the 267 MB x264 version. Didn't work.

So what is going on here?

BTW, what are the best settings for saving these FRAP files, using x264, in the best possible quality (for the video only, if possible I would like the audio to remain lossless)?

What settings would you change for x264, while using VirtualDub?

********

P.S. I found the answer:

http://technotesandthings.blogspot.com.br/2011/04/fraps-vegas-x264vfw-codec-and.html

BTW, what do you think I should modify for x264?

P.P.S. This really worked, now the audio is not out of sync.

raffriff42
28th December 2016, 05:11
About the FRAPS AVI file: it has 2.13 GB and 2m59s. There are no issues when it comes to audio sync, so everything is 100% fine.

Are you sure? Because this looks wrong Video
...Duration : 2 min 59 s

Audio
...Duration : 3 min 0 s

It's possible the video was not captured at exactly 30.000 FPS, but at 29.97 or some other rate; try VirtualDub's frame rate control option, "change so video and audio durations match."

Other than that, your settings seem fine to me.