Guides › vMix

vMix disconnects: "av_interleaved_write_frame()" error fix

Fix vMix "av_interleaved_write_frame(): Unknown error / Input/output error" stream disconnects: internet outages, provider drops, antivirus and bitrate.

What it looks like in your log

av_interleaved_write_frame(): Unknown error
Error writing trailer of rtmp://...: Input/output error

Why does my vMix stream keep disconnecting?

The connection to the streaming server broke. vMix lists four causes: a local internet outage, an outage at the streaming provider, the provider closing the stream, or third-party antivirus/security software interrupting the connection.

How to fix it

  1. Use wired Ethernet and check your router/ISP logs for drops.
  2. Lower bitrate below 75% of upload.
  3. Add vMix and ffmpeg.exe as exclusions in antivirus/firewall.
  4. Check the platform dashboard for why the stream ended (e.g. event ended, duplicate key in use).
  5. Turn on automatic reconnect in vMix stream settings.

Not sure this is your problem?

Upload your vMix streaming log and StreamRx will tell you exactly what is wrong in 60 seconds, free.

Diagnose my log

📬 The StreamRx newsletter

One short email with OBS fixes, settings for Twitch/YouTube/Kick, and new StreamRx features. Unsubscribe anytime with one click.

No spam. Every email has an unsubscribe link, or reply "unsubscribe" to [email protected].

Related guides