Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Mountain View desk6 min

CBR Bitrate Settings for FFmpeg YouTube Live Streaming

Use YouTube’s CBR recommendation for your ingest format, calculate a two-second GOP from frame rate, and validate the full stream before going live.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For FFmpeg YouTube Live, set bitrate encoding to constant bitrate (CBR), choose the target YouTube recommends for your ingest codec, resolution, and frame rate, and use a two-second keyframe interval. For H.264, that means 10 Mbps at 1080p30 or 12 Mbps at 1080p60. Test with representative audio and motion before going live, then monitor YouTube’s stream health. These settings describe the feed sent to YouTube; YouTube transcodes it for viewers.

Choose a bitrate for your codec, resolution, and frame rate

YouTube’s English-language encoder guidance lists CBR as the bitrate mode. Its bitrate recommendations vary with the codec, output resolution, and frame rate, so select the row for the signal FFmpeg will actually send—not just the quality you expect viewers to watch. The figures below are YouTube’s published ingest targets; they are not viewer playback bitrates.

Ingest format YouTube recommended bitrate YouTube minimum
H.264, 1080p30 10 Mbps 14 Mbps
H.264, 1080p60 12 Mbps 17 Mbps
H.264, 720p30 or 720p60 6 Mbps Not stated here; check YouTube’s full table
AV1 or H.265/HEVC, 1080p30 10 Mbps 4 Mbps
AV1 or H.265/HEVC, 1080p60 12 Mbps 4 Mbps

Source for recommendations and minimums: YouTube Help’s live encoder settings. The complete official table covers 360p through 2160p; check it for other output formats. Note that the H.264 minimums are distinct from its recommended values: at 1080p30 the listed minimum is 14 Mbps, and at 1080p60 it is 17 Mbps. Do not substitute a minimum for a recommended target or apply the H.264 column to AV1 or H.265.

Allow upload capacity for the video target, audio, and network overhead. YouTube advises using a reliable upload connection and recommends an upload-speed test. A connection whose measured upload rate only just matches the video target may not sustain a stable live feed.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS
  • 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
  • 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
  • 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
  • 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
  • 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0

Set the two-second keyframe interval correctly

YouTube recommends a keyframe every two seconds and says the interval should not exceed four seconds. In FFmpeg, the GOP length is measured in frames, so calculate it from the output frame rate:

  • At 30 fps: 30 × 2 = 60 frames, so use -g 60.
  • At 60 fps: 60 × 2 = 120 frames, so use -g 120.

Using -g 60 at 60 fps would create a one-second GOP, not two seconds. The example also sets -keyint_min to the same frame count and uses force-cfr=1 to request constant frame rate.

Rank #2
Sale
Capture Card, 4K HDMI Video Capture Card, Game Capture Card, 1080P 60FPS Video Capture Device, HDMI to USB 3.0 Capture Card for Streaming, Work with Camera/Xbox/PS4/PS5/PC/OBS
  • 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
  • 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
  • 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
  • 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
  • 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.

Example FFmpeg command for H.264 at 1080p30

This is an illustrative RTMPS starting point for a 1080p30 H.264 feed. Replace the input and stream key, and adapt input, audio, scaling, and other options to your production. The example targets YouTube’s 10 Mbps recommended H.264 bitrate for 1080p30.

ffmpeg -re -i INPUT 
  -c:v libx264 -preset veryfast -tune zerolatency 
  -b:v 10M -minrate 10M -maxrate 10M -bufsize 20M 
  -x264-params "nal-hrd=cbr:force-cfr=1" 
  -r 30 -g 60 -keyint_min 60 
  -c:a aac -b:a 128k -ar 44100 
  -f flv "rtmps://a.rtmps.youtube.com/live2/STREAM_KEY"

Use a YouTube stream key from the live stream setup in YouTube Studio; keep it private, because anyone who obtains it could send a feed to your channel. The command is not a guarantee of strict wire-rate behavior or universal suitability. FFmpeg options and available encoders vary by build, and the selected encoder affects rate-control behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P60FPS HDMI Capture Card for Streaming, Gaming, Video Recording Compatible with Switch, Xbox, PS4/5, OBS,iPad Mac OS Windows,Camera, Zoom(Silver)
  • 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
  • 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
  • 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
  • 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
  • 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.

What the rate-control options mean

  • -b:v sets the target video bitrate in bits per second.
  • -minrate and -maxrate set rate-control bounds; setting both to the same target expresses CBR intent. Do not call a configuration strict CBR if its maximum differs from its target.
  • -bufsize sets the rate-control buffer size in bits. The example’s 20M buffer is a chosen value, not a YouTube requirement; validate it with your encoder build and stream behavior.
  • -x264-params "nal-hrd=cbr:force-cfr=1" asks libx264 for CBR HRD signaling and constant frame rate. FFmpeg’s documentation says this signaling requires a VBV buffer size and is not allowed in an MP4 container. This example outputs FLV for RTMPS ingest.

FFmpeg documents b as the bitrate, maxrate as a maximum bitrate tolerance that requires bufsize, and bufsize as the rate-control buffer size. minrate is most useful when configuring CBR. Exact output behavior depends on the encoder and build; verify the resulting stream rather than assuming the flags guarantee a perfectly constant wire rate.

Match the rest of YouTube’s ingest settings

YouTube’s current English-language encoder page lists RTMP/RTMPS protocols and recommends RTMPS. It supports H.264, H.265/HEVC, and AV1 video, with frame rates up to 60 fps. Match the output to the selected codec and YouTube table row.

Rank #4
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device
  • High-Quality Video Capture, 4K HDMI Capture Card Ready: Capture smooth and vibrant video with this 4K HDMI capture card, engineered for gamers and content creators who demand crisp 1080P 60FPS video quality. Whether you're streaming to Twitch or recording gameplay for YouTube, your footage will look professional and detailed
  • Plug-and-Play USB Capture Card, No Drivers Needed: Designed as a USB capture card for streaming, this device works instantly out of the box, just plug into your PC or laptop and start capturing. Fully compatible with popular software like OBS Studio, Streamlabs, and XSplit, making setup quick and stress-free for beginners and pros alike
  • Universal Compatibility PS5, Xbox, Switch & More: Stream or record gameplay from virtually any HDMI-enabled device including Nintendo Switch, PS5, Xbox Series X, DSLR cameras, and PCs. The video capture card for gaming supports seamless passthrough so you can play without lag while your audience watches every frame in real time
  • Low-Latency Performance for Smooth Streaming: This capture card for streaming minimizes delay between gameplay and broadcast, so you get reliable, low-latency capture that works well for competitive gaming, live broadcasts, and podcast sessions. Suitable for those building their channel with high-quality, engaging content
  • Compact & Portable Design for Content Creators: Lightweight and portable, this USB 3.0 capture card works well for creators who travel or switch gaming setups often. Throw it in your bag and stream or record wherever you are, at home, events, LAN parties, streaming or studio sessions
  • Use progressive scan and square pixels.
  • For the published H.264 guidance, use two B-frames and one reference frame, with CABAC.
  • For SDR, use Rec. 709.
  • YouTube recommends AAC stereo audio at 128 Kbps; it also lists AAC 5.1 at 384 Kbps. The command uses AAC stereo at 128 Kbps.

See YouTube’s encoder settings for the full codec-specific guidance and bitrate table. Availability of a codec in your FFmpeg installation depends on how that build was compiled and on the encoders available to your system.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Preflight and monitor the live stream

  1. Choose the actual output. Confirm resolution, frame rate, and ingest codec, then use the corresponding YouTube recommended bitrate. Check that sustained upload capacity can carry video, audio, and overhead.
  2. Configure CBR and GOP. Set the target bitrate and a two-second GOP based on output frame rate. For libx264, review the CBR HRD and VBV caveats above.
  3. Test privately or in another safe way. Include audio and movement like the real stream, not just a static image. YouTube Help explicitly advises: “Make sure to test before you start your live stream. Tests should include audio and movement in the video similar to what you’ll be doing in the stream.”
  4. Check stream health. Review YouTube’s health status and encoder warnings during the test; reduce or adjust settings if the computer or uplink cannot sustain them.
  5. Keep monitoring during the event. Watch stream health and messages so that an ingest or connection problem is visible while you can still respond.

Guidance on testing and monitoring: YouTube Help.

Common FFmpeg YouTube Live problems

  • Keyframes arrive too frequently or infrequently: recalculate GOP length as output fps × 2. Use 60 at 30 fps and 120 at 60 fps; YouTube recommends two seconds and no more than four.
  • Stream health reports bitrate or connection trouble: verify the chosen codec/resolution/frame-rate target, include audio and overhead when assessing upload capacity, and test at the actual event settings. If the uplink cannot sustain the target, adjust the output and consult the matching YouTube table row.
  • The output is not behaving like CBR: inspect -b:v, -minrate, -maxrate, and -bufsize together. A mismatched maximum is not the same as strict CBR intent; encoder implementation and build also matter.
  • libx264 rejects HRD CBR settings: check that VBV buffer size is set and that you are not trying to use nal-hrd=cbr in an MP4 container. The example sends FLV to RTMPS, not MP4.
  • FFmpeg reports an unknown option or encoder: check the installed FFmpeg build and its available encoders; options and codec support vary by build.

Or let it run in the cloud

If your goal is to keep a YouTube channel live from uploaded videos without leaving a computer running, StreamNeo runs the loop from the cloud. Upload a recording or build a playlist, add your YouTube stream key, and go live. It plays uploaded videos, not a live camera feed, and streams to YouTube only.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Nothing has to stay powered on at home; the stream keeps going with your computer off.
  • Videos stream as uploaded, up to 4K 60fps, at one flat price per slot; there are no quality tiers or re-encoding.
  • Automatic recovery is included if YouTube drops the stream.
  • The first day is free with no card, one free day per account.

Monthly: $9.99 per month. A slot includes one always-on stream, 10 GB storage per slot pooled across active slots, looping and playlists, automatic recovery, and StreamNeo team support. Other billing lengths are available; UPI and cards are accepted in India, and card checkout is available worldwide.

Start your free StreamNeo day.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.