obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

[BUG] Recording to an MP4 or a MOV file causes freezes in the video if the storage is slow

Open carbn opened this issue 6 years ago • 2 comments

Platform

Operating system and version: Windows 10 Pro 10.0.18362 OBS Studio version: 25.0.8 (64bit)

Expected Behavior

Recorded files should be smooth regardless of the format and storage used.

Current Behavior

When a recording is saved on a network drive and the format is set to MP4 or MOV the resulting video has frequent freezes/skipped frames. When the format is changed to FLV the resulting video is smooth without any dropped frames.

Steps to Reproduce

  1. Configure the recording path to be on a network drive
  2. Set the recording format to MP4
  3. Set the encoder to the new NVENC (not sure if this is needed)
  4. Record gameplay for ~30secs
  5. Observe that the resulting video will have frequent freezes. I got one every ~4 seconds.

Additional information

Previous discussion about the issue where a slow HDD causes encoding overload can be found here: https://obsproject.com/forum/threads/encoding-overload-is-tied-to-hdd-speed.113120/ It does not mention that changing the format has an effect on this. It seems that all output formats that are passed through ffmpeg have this problem, though I only tested MP4 and MOV.

Here's an obs-studio log from different test recordings: https://funkd.org/~samu/obs-studio-log.txt (check the file header for more information)

Workaround: set the recording format to FLV

carbn avatar May 07 '20 19:05 carbn

Please give #5717 a try to see if it resolves this.

notr1ch avatar Dec 30 '21 18:12 notr1ch

This is likely fixed by #5717.

sebastian-s-beckmann avatar Sep 28 '22 19:09 sebastian-s-beckmann