Facebook Live
Facebook Live Bitrate Too High, Laggy Stream or RTMPS Error: The Real Fixes
If Facebook keeps telling you the Facebook Live bitrate too high warning, flags your stream as "not optimal", or your broadcast simply looks laggy and keeps buffering for viewers, Facebook is comparing the numbers arriving at its ingest server with a published range for your resolution and frame rate. Nine times out of ten the cure is a lower, steadier bitrate and a fixed 2-second keyframe interval, not a faster connection. Here is what Facebook measures, every cause we have run into, the precise settings for OBS, Streamlabs, vMix and FFmpeg, and the RTMPS errors that get blamed on bitrate but are not.
rtmps://live-api-s.facebook.com:443/rtmp/ at roughly 75% of your measured upload. Restart the encoder to apply it; never change settings mid-broadcast.What the Facebook Live bitrate too high warning actually means
Facebook decodes the stream your encoder sends and samples it continuously. The same data that drives the stream health panel in Live Producer is exposed through the Live Video API as the ingest_streams field, refreshed every two seconds. The values Facebook reads back are specific: video_bitrate (measured, not what you typed into OBS), video_framerate, video_gop_size (frames between keyframes), video_width and video_height, and audio_bitrate.
So the warning is arithmetic, not an opinion: one of those measured values sits outside the range Meta publishes in its encoder requirements. Worth knowing, though, is that Meta's error reference defines no dedicated code for a bitrate that is too high. The only stream-level entry is the catch-all LIVE_VIDEO__LIVE_STREAM_ERROR. That is why the wording differs between Live Producer's health panel, a restreaming dashboard and your encoder vendor's own warning. The measured fields and the published ranges never change, so troubleshoot against those.
The same document states what happens to an out-of-range stream: unexpected termination, lower quality for viewers, or unexpected behaviour. There is no promise that Facebook will quietly re-encode a bad stream into a good one.
Why it happens
These are the real causes, most common first.
- Bitrate above the range for your resolution and frame rate. Meta publishes a range per resolution, and 720p30 tops out at 4,000 kbps. Push 8,000 kbps at 720p and Facebook objects.
- Resolution above 1080p. 1920x1080 is the ceiling, so a 1440p or 4K output gets flagged or refused no matter how low you set the bitrate.
- Variable bitrate instead of CBR, or a buffer set too large. Your average can look perfect while peaks on motion-heavy scenes land far above the range, and an FFmpeg
-bufsizeof three or four times the bitrate lets x264 run long bursts above target. Facebook samples every two seconds, so it sees the peaks you do not. - Keyframe interval not fixed. "Auto" keyframes, scene-cut keyframes or an interval above 4 seconds give an inconsistent
video_gop_size— the single most common cause of a stream that technically works but stutters and takes forever to start for new viewers. - Not enough upload headroom. A bitrate set to whatever a speed test showed leaves nothing for TCP retransmits, other devices on the line, or the evening slowdown. OBS's guidance is to start at about 75% of your stable upload.
- Audio out of spec, or missing. Audio above 256 kbps, a 32 kHz or 96 kHz sample rate, mono, or a non-AAC-LC codec. Meta's FAQ notes that distorted or dropped audio often comes from a total bitrate higher than the connection can sustain. And a silent loop or a mic-less camera means no audio track at all, which Meta is blunt about: the API requires audio, and video-only streams end.
- Wrong codec, level or scan type. HEVC, AV1 or VP9 instead of H.264, or H.264 above level 4.1 for 1080p30 and 4.2 for 1080p60. Interlaced sources and non-square pixels count too: Meta's Automatic Encoder Configuration API returns progressive scan, closed and fixed GOPs, and a
pixel_aspect_ratiowhere 1.0 means square pixels. - Encoder overload, not network. If your CPU or GPU cannot keep up, frames are lost before they reach the network and the stream looks laggy at a perfectly legal bitrate. The giveaway is that a local recording from the same encoder is also laggy.
- Plain RTMP instead of RTMPS. Meta's changelog records that RTMP stopped being supported on 4 November 2019. An old
rtmp://URL in a saved profile fails with a vague connection error people blame on bitrate. - Two encoders on one stream key. A second encoder, a phone app still running, or a backup ingest URL used as a second primary. Facebook treats only one ingest stream as master, and the result is visible stuttering.
- Settings changed mid-broadcast. Meta states flatly that settings must not change during a broadcast, so nudging the bitrate up while live reliably produces a warning. Wi-Fi, VPNs and ISP-bundled "optimiser" tools belong in the same bracket: OBS's guide names all of them as frequent causes of dropped network frames.
- Normal behaviour mistaken for a fault. Meta's FAQ puts the delay at about 4–5 seconds before your video appears, and a broadcast cannot exceed 8 hours. When Facebook ends a stream at the limit you get no useful explanation, and people go hunting through encoder settings for a problem that does not exist.
How to fix the Facebook Live bitrate too high error
1. Read the numbers before you change anything
Open Live Producer and look at the stream health panel while the encoder is running. Three questions:
- Is the reported bitrate close to what your encoder is set to? If yes and it is above the published range, lower it (step 2). If Facebook reports much less, your upload is the bottleneck (step 6).
- Is the line flat or jagged? Flat near target means CBR is working. A sawtooth means VBR, a large buffer, or congestion.
- Do the resolution and frame rate match what you intended? A scaled output in OBS or a quality profile in vMix can quietly send something else.
Through the API, poll GET /<LIVE_VIDEO_ID>?fields=ingest_streams and read video_bitrate and video_gop_size directly.
2. Set a bitrate inside Facebook's published range
These are Meta's encoder requirements as they stand. Pick your row, then aim low-to-middle in the range rather than at the top.
| Resolution / fps | Frame size | Meta's video bitrate range | What we would actually set |
|---|---|---|---|
| 1080p 60 fps | 1920x1080 | 4,500–9,000 kbps | 6,000 kbps, H.264 level 4.2 |
| 1080p 30 fps | 1920x1080 | 3,000–6,000 kbps | 4,500 kbps, H.264 level 4.1 |
| 720p 60 fps | 1280x720 | 2,250–6,000 kbps | 3,500 kbps |
| 720p 30 fps | 1280x720 | 1,500–4,000 kbps | 2,500 kbps |
| 480p 30 fps | 854x480 | 600–2,000 kbps | 1,200 kbps |
| 360p | 640x360 | 400–1,000 kbps | 800 kbps |
Three rules go with that table: resolution never exceeds 1920x1080, frame rate is 30 or 60 rather than 24, 25 or 50, and aspect ratio stays close to 16:9, because Meta warns that streams too far from it may not be supported.
In OBS: Settings → Output → Advanced mode → Streaming. Encoder x264 or NVIDIA NVENC H.264 (not HEVC, not AV1), Rate Control CBR, Bitrate from the table. Then Settings → Video: Output (Scaled) Resolution 1280x720 or 1920x1080, FPS 30 or 60. Streamlabs Desktop is the same under Output Mode: Advanced — but if you ran its "Optimize" wizard, it may have set a bitrate from a speed test rather than Facebook's range, so check by hand. In vMix, use the gear beside Stream to edit the quality profile, and make sure it is not on a 1440p or 4K preset.
3. Lock it to CBR and kill the bitrate spikes
This is the fix most guides skip. Being inside the range on average is not enough, because Facebook samples every two seconds and reacts to peaks. In OBS, CBR is a one-click change. In FFmpeg you need three flags pulling the same way: -maxrate equal to -b:v, and -bufsize at no more than twice the bitrate.
ffmpeg -re -i input.mp4 \
-c:v libx264 -preset veryfast -profile:v high -level 4.1 \
-pix_fmt yuv420p -r 30 -g 60 -keyint_min 60 -sc_threshold 0 \
-b:v 2500k -minrate 2500k -maxrate 2500k -bufsize 5000k \
-c:a aac -b:a 128k -ar 48000 -ac 2 \
-f flv "rtmps://live-api-s.facebook.com:443/rtmp/YOUR-STREAM-KEY"
-b:v, -minrate and -maxrate all equal gives you true CBR from x264. Leaving -minrate out produces the drooping, uneven graph that looks like a network problem but is not. And -bufsize at 2x the bitrate is the compromise we use: tighter and quality suffers on motion, looser and the peaks come back.
Meta's Automatic Encoder Configuration API is the best evidence for what it wants. Ask GET https://graph.facebook.com/{version}/video_encoder_settings with your input parameters and it returns a concrete recipe: H.264 High profile at level 4.1, progressive scan, CBR, a fixed and closed GOP, and a buffer of double the bitrate. No authentication needed, so it is a quick sanity check.
4. Fix the keyframe interval properly
Meta recommends 2 seconds and says not to exceed 4, and "fixed" matters as much as the number. At 30 fps that is a GOP of 60 frames; at 60 fps, 120.
- OBS / Streamlabs: Output → Streaming → Keyframe Interval:
2. Do not leave it on0(auto). - vMix: in the streaming quality profile, set the keyframe or GOP value to equal 2 seconds at your frame rate.
- FFmpeg:
-g 60 -keyint_min 60 -sc_threshold 0at 30 fps. The-sc_threshold 0is the important one: without it x264 inserts extra keyframes on every scene cut, your GOP size stops being constant, and Facebook sees exactly the irregularity it warns about. - Hardware encoders: look for "GOP length" or "I-frame interval", and set it in frames if that is what the box expects.
A long or ragged keyframe interval is the classic cause of a stream that holds a legal bitrate yet still buffers. Facebook cuts its segments on keyframes, so keyframes every 8 seconds mean 8-second segments: viewers wait longer to start, and any hiccup costs them a full segment.
5. Bring the audio back into spec
Audio is half the requirement list and gets a tenth of the attention.
| Audio setting | Meta's requirement | Set this |
|---|---|---|
| Codec | AAC low complexity (AAC-LC) | AAC, not Opus, not MP3, not AAC-HE |
| Bitrate | 128 kbps preferred, 256 kbps maximum | 128 kbps |
| Sample rate | 44.1 kHz or 48 kHz | 48 kHz |
| Channels | Stereo | 2 channels |
| Presence | Audio is required | Always send a track |
In OBS, set Settings → Audio → Sample Rate to 48 kHz and Channels to Stereo. If your source genuinely has no audio, generate a silent track rather than sending nothing. Add these arguments to the FFmpeg command above, after the input:
-f lavfi -i anullsrc=r=48000:cl=stereo -map 0:v:0 -map 1:a:0 -shortest
6. Leave upload headroom and stabilise the path
If Facebook reports a lower bitrate than you set, or the graph sags, this is your problem rather than an out-of-range setting.
- Measure your real upload at the time of day you stream, not at 3am, then set video plus audio to about 75% of that.
- Get off Wi-Fi. OBS's guide treats a wired connection as a first step, not a last resort. Also turn off VPNs, check security software and any ISP-bundled "optimiser" that deprioritises your encoder, and update network drivers.
- Try OBS's network options. Settings → Advanced → Network: leave Bind to IP on Default, and try network optimisations and TCP pacing on Windows. "Dynamically change bitrate to manage congestion" lowers bitrate instead of dropping frames, but it is a workaround, not a fix.
- Know the timeout. Meta reports a stream timeout after 4 seconds without data. If the feed drops, reconnect to the same stream URL within 2–3 minutes; past that you need a new key and URL.
- For real redundancy, use backup ingest. Create the live video with
enable_backup_ingest=true, or POST to/<LIVE_VIDEO_ID>/input_streamsbefore any data arrives, and you getsecure_stream_secondary_urlsalongside the primary. If the primary fails, Facebook switches to the backup and stays there until you switch back.
7. Fix RTMPS connection errors
RTMPS problems get blamed on bitrate constantly, because most encoders' error text is uninformative. The actual causes:
- You are still using
rtmp://. RTMP stopped being supported in November 2019. Usertmps://live-api-s.facebook.com:443/rtmp/exactly as Live Producer shows it. - The URL is not quoted in a shell script. Facebook stream keys contain
?and&. Unquoted, bash truncates the URL at the&and backgrounds the rest of the command, so the connection either fails or appears to succeed with nothing arriving. Always wrap the full URL in double quotes. - FFmpeg built without TLS. If FFmpeg reports an unknown or unsupported protocol for
rtmps, your build has no OpenSSL or GnuTLS support. Install a full build rather than a minimal package. - Port 443 outbound is inspected or blocked. RTMPS runs over TCP 443 so it usually passes, but corporate, campus and hotel networks that deep-inspect TLS will break a long-lived stream. Test once on a phone hotspot.
- Key in the wrong field, or a stale key. In OBS with Service set to Custom, the server ends with
/rtmp/and the key goes in Stream Key; in FFmpeg the two are concatenated with no space. And a standard key belongs to one live video and dies with it — for a persistent key, Meta's FAQ points to the Reset button atfacebook.com/live/create.
8. Rule out encoder overload
There is a category of "laggy Facebook Live" that no bitrate change will ever fix, because the frames are lost inside your machine. The test is quick: record locally from the same encoder at the same settings and watch the file. If the recording is also laggy, the computer is the bottleneck and the network is irrelevant. In OBS, check the status bar for frames skipped due to encoding lag, and the log for "Encoding overloaded".
The fixes, in order: switch from x264 to hardware encoding (NVENC, Quick Sync, AMF); move the x264 preset down to veryfast; drop the output to 720p; reduce frame rate from 60 to 30; and close browser sources you are not using, because each one is a full Chromium instance.
9. Stop two encoders sharing one key
If the stream judders rhythmically — a second of smooth video, a stutter, repeat — check whether something else is still streaming to the same key: a phone app left running, an OBS instance on another machine, or a backup ingest URL being fed as a second primary. Facebook marks one ingest stream as master via is_master and does not expect two independent sources on one ingest. End every broadcast properly so a persistent key is released, and keep Live Producer open in one tab, on one device.
10. Know what is normal before you call it lag
Three things get reported as lag that are not faults: the 4–5 second delay Meta's own FAQ describes between going live and your video appearing; viewer-side buffering on a stream whose health panel is flat and green, which is a playback problem at their end rather than your encoder; and the 8-hour cut-off.
The last one is worth being concrete about, because it is the mistake we see most often. We streamed a 21-minute 720p video on a loop to a Facebook Page from our own cloud server, at roughly 1.9 Mbps with keyframes every 2 seconds. It ran 8 hours 0 minutes with zero drops, and then Facebook itself ended the broadcast. Nothing in the encoder had changed and nothing was out of range — that is Facebook's 8-hour limit arriving on time. The same test is the practical proof of the settings here: 720p, about 1.9 Mbps and a fixed 2-second keyframe interval, all inside Meta's published range, held a stable stream for the full eight hours. (We run 24/7 loop streams from the cloud at StreamLivestic, and on Facebook that 8-hour ceiling is a hard stop you plan around; we do not auto-restart a Facebook live after it.)
One honesty note if you loop pre-recorded video to a Page: Meta's Live Video API FAQ says pre-recorded clips are discouraged, and Facebook has historically reduced distribution for "live" videos that are really loops. It works technically. Treat the reach accordingly.
Symptom, cause and fix at a glance
| Symptom | Likely cause | Fix |
|---|---|---|
| Facebook says the video bitrate is too high | Bitrate above the range for your resolution and fps | Use the table in step 2; aim low-to-mid, not top of range |
| Warning appears only during fast motion | VBR peaks, or -bufsize too large | Switch to CBR; set -minrate = -maxrate = -b:v, -bufsize 2x |
| Facebook reports far less bitrate than you set | Upload saturated, Wi-Fi, VPN or congestion | Wired connection; cap at 75% of measured upload |
| Stream is legal but viewers buffer and start slowly | Keyframe interval long, auto, or not fixed | Fixed 2 s keyframes; -g 60 -keyint_min 60 -sc_threshold 0 |
| Video stutters while bitrate graph is flat | Encoder overload inside your machine | Record locally to confirm; move to NVENC, veryfast, 720p30 |
| Rhythmic judder every second or two | Two encoders on one stream key | Stop the second source; end old broadcasts; one tab, one device |
| Stream ends by itself soon after starting | No audio track — video-only streams end | Add AAC audio, silent via anullsrc if needed |
| RTMPS refuses, times out, or unknown protocol | rtmp:// URL, blocked 443, unquoted URL, or no TLS in FFmpeg | Quote the RTMPS URL; test on a hotspot; use an OpenSSL build |
| Broadcast ends at exactly 8 hours | Facebook's duration limit | Expected; start a fresh live video |
| 1440p or 4K source refused or flagged | Above the 1920x1080 maximum | Scale output to 1080p or 720p |
How to stop it coming back
These habits keep the Facebook Live bitrate too high warning, and the lag that goes with it, from returning.
- Save one encoder profile per resolution: H.264, CBR, bitrate from the middle of Meta's range, fixed 2-second keyframes, AAC-LC 128 kbps at 48 kHz stereo. Use it every time instead of improvising.
- Cap your bitrate at 75% of your worst measured upload, not your best, and stream over Ethernet.
- Never change settings mid-broadcast. Meta's requirements say so explicitly, and it is an easy warning to self-inflict.
- Always send an audio track, silent if necessary, because video-only streams end. Always quote RTMPS URLs in scripts, and never store an
rtmp://URL in a saved profile. - Check the stream health panel in the first 60 seconds of every broadcast, before an audience builds up.
- Enable backup ingest at creation time for anything that matters, because you cannot add it once data is flowing. And plan around the 8-hour limit rather than discovering it live.
- Bookmark the primary sources: Meta's encoder requirements, the Automatic Encoder Configuration API, Backup Streams, the Live Video API changelog for the RTMPS cut-over, and OBS's stream connection troubleshooting guide.
FAQ
Why does Facebook say my video bitrate is too high?
Facebook measures the bitrate arriving at its ingest server and compares it with the published range for your resolution and frame rate. 720p at 30 fps should sit between 1,500 and 4,000 kbps, so an 8,000 kbps 720p stream gets flagged even though your connection can carry it.
What is the maximum bitrate for Facebook Live?
The highest range Meta publishes is 4,500 to 9,000 kbps, and that is only for 1080p at 60 fps. There is no benefit to exceeding it, because 1920x1080 is also the maximum resolution Facebook Live accepts.
What keyframe interval does Facebook Live need?
Two seconds is recommended and you should not exceed four. Set it as a fixed interval rather than auto, which means a GOP of 60 frames at 30 fps or 120 frames at 60 fps.
Does Facebook Live still support RTMP, or is RTMPS required?
RTMPS is required. Meta's changelog records that RTMP stopped being supported on 4 November 2019, so every broadcast now uses rtmps://live-api-s.facebook.com:443/rtmp/ over TCP port 443.
Why is my Facebook Live laggy when my internet is fast?
Usually the keyframe interval is too long or not fixed, or your encoder is overloaded rather than your connection. Record locally at the same settings: if the recording is laggy too, the computer is the bottleneck, not the network.
Why did my Facebook Live stop after 8 hours?
A single Facebook broadcast cannot exceed 8 hours. In our own test a 720p stream at about 1.9 Mbps ran 8 hours 0 minutes with zero drops before Facebook ended it, which was the duration limit rather than any bitrate fault.
Can I reuse a Facebook stream key after a bitrate error?
A standard key belongs to one live video and cannot be reused once that broadcast ends. A persistent key can be reused, and Meta's FAQ points to a Reset button at facebook.com/live/create if it needs replacing.
Sources & official docs
- Meta Live Video API reference (encoder requirements, bitrate ranges, 8-hour limit)
- Meta Live Video API: Automatic Encoder Configuration API (CBR, closed GOP, progressive scan)
- Meta Live Video API: Streaming guide (ingest_streams health fields, 4-second timeout)
- Meta Live Video API: Backup Streams
- Meta Live Video API changelog (RTMP no longer supported, 4 November 2019)
- Meta Live Video API support FAQ (4-5 second delay, audio required, reconnect window, key reset)
- OBS Studio: Stream connection troubleshooting (75% upload rule, dynamic bitrate, TCP pacing)


