Question / Help Every single lengthy recording via AMF has audio-video desync

subj. If recording is longer than 1-2 hours then audio will be desynced and reported FPS would be floating instead of constant 60 FPS.

I've used to stream and record via AMF but had to transcode resulted recordings so video editing software won't get mad (VLC would play sound and video in sync, tho Adobe Premiere would have massive desyncs and DaVinchi Resolve would either just crash or have desync too).

Example transcode subject log – https://pastebin.com/HwDN4mYh
Notable part:
Code:
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 51.594 fps
...
[11:49:58]  * video track
[11:49:58]    + decoder: h264
[11:49:58]      + bitrate 4668 kbps

This particular recording dates to January, 2017. It was done with "constant 60 FPS" options.
I've stopped recording via AMF since then as CPU recordings have no such problem.

Recently I've started downloading Twitch recordings. Those ones which streamed via CPU have no desync. Ones streamed via AMF have it and FPS is floating around 59. So I think the problem persists to this day.

I've contacted Xaymar on Twitter, but he recommended to post on forums or IRC, so here I am.

[UPD]
Specs on January 2017 were – Windows 10, most recent OBS Studio, Radeon 7870 XT.
Current specs are – Windows 10, OBS Studio 20.0.1, RX 480.

[UPD2]
Recent stream transcode log – https://pastebin.com/5yXZUAn4
Notable part (notice bitrate is not 6k flat and FPS is not 60 FPS flat):
Code:
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 59.828 fps
...
[12:02:30]  * video track
[12:02:30]    + decoder: h264
[12:02:30]      + bitrate 5992 kbps
 
Last edited:
Do you have CoreAudio installed? It the first thing to do in case of audio desync. Obs will use it automagically. Updating audio driver may help also
To install proper audio codecs download Apple iTunes installer, but do not run it. Extract the archive with winrar or 7zip and run both 32bit and 64bit installers called AppleApplicationSupport.msi
 
Top