October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
1080p streaming

Best FFmpeg Settings for a 24/7 YouTube Stream at 1080p

Use H.264 CBR at 14 Mbps for 1080p30 or 17 Mbps for 1080p60, with two-second keyframes, AAC audio and RTMPS. Includes a looping FFmpeg command and reliability checks.

By DocumentaryTube Team 6 min read
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a conventional 1080p SDR stream to YouTube, use H.264 with constant bitrate (CBR), a two-second keyframe interval, AAC stereo audio at 128 Kbps and 44.1 kHz, and RTMPS. Set the video bitrate to 14 Mbps at 30 fps or 17 Mbps at 60 fps. Choose the frame rate that matches the source: 60 fps can preserve fast motion, but it demands more encoding capacity and bandwidth.

Those settings configure the stream; they do not make it reliable by themselves. A 24/7 broadcast also depends on a continuous media source, an encoder and host that keep running, and upload bandwidth sufficient for the stream. YouTube recommends testing representative audio and motion and monitoring stream health. YouTube’s encoder settings guidance and streaming tips were checked on October 3, 2026.

Recommended 1080p settings

YouTube’s current H.264 ingest recommendations distinguish 30 fps from 60 fps. The frame counts in the keyframe column are calculated from the two-second interval at each frame rate.

Setting 1080p30 1080p60
Video codec H.264; libx264 is a common software encoder when included in the FFmpeg build H.264; libx264 is a common software encoder when included in the FFmpeg build
Recommended video bitrate 14 Mbps 17 Mbps
YouTube-listed minimum video bitrate 5 Mbps 6 Mbps
Rate control CBR CBR
Keyframe interval 2 seconds; 60 frames 2 seconds; 120 frames
Audio AAC, stereo, 128 Kbps, 44.1 kHz AAC, stereo, 128 Kbps, 44.1 kHz
Contribution protocol RTMPS RTMPS
SDR picture properties Progressive, square pixels, Rec. 709, 8-bit Progressive, square pixels, Rec. 709, 8-bit
Recommended H.264 advanced flags 2 B-frames, 1 reference frame, CABAC 2 B-frames, 1 reference frame, CABAC

These settings follow YouTube’s encoder settings guidance. The 60- and 120-frame keyframe counts are arithmetic conversions of its two-second interval recommendation; YouTube says not to exceed four seconds. Treat its listed minimum bitrates as minimum guidance, not the quality target when the connection can sustain the recommended rate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Choose 30 or 60 fps based on the source

  • Use 30 fps for static or low-motion material when it represents the source adequately. It requires the lower recommended video bitrate and fewer frames per second for the encoder to process.
  • Use 60 fps when the source genuinely contains fast motion and preserving that motion detail matters. It raises the recommended bitrate from 14 to 17 Mbps and doubles the frame-processing workload compared with 30 fps; that workload comparison is an engineering implication, not a benchmark for a particular computer.
  • Do not convert 30 fps footage to 60 fps just to claim a higher frame rate. Duplicating frames does not create genuine motion detail.

The 1080p60 configuration is appropriate only if the actual encoder and connection can sustain it continuously. The recommended bitrate is an ingest setting, not a guarantee of picture quality or uninterrupted delivery.

FFmpeg command for a looping 1080p30 file

This adaptable example loops a local file with audio, scales its full image into a 1920×1080 frame, encodes H.264 with libx264, and sends the output over RTMPS. Replace the input path and ingest URL/key with the values shown for your broadcast in YouTube Live Control Room. Never publish a real stream key.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
ffmpeg -re -stream_loop -1 -i input.mp4 
  -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,fps=30,format=yuv420p" 
  -c:v libx264 -preset veryfast -tune zerolatency 
  -profile:v high -pix_fmt yuv420p 
  -b:v 14M -minrate 14M -maxrate 14M -bufsize 28M 
  -g 60 -keyint_min 60 -sc_threshold 0 
  -bf 2 -refs 1 -coder cabac 
  -color_primaries bt709 -color_trc bt709 -colorspace bt709 
  -c:a aac -b:a 128k -ar 44100 -ac 2 
  -f flv "rtmps://YOUR_YOUTUBE_INGEST_URL/YOUR_STREAM_KEY"

The scale-and-pad filter fits the entire source image inside 1920×1080 and adds borders as needed; it does not crop to fill. Change the filter if that is not the intended framing. The example assumes a compatible SDR source with audio and an FFmpeg build containing libx264.

Adapt it for 1080p60

For a genuine 60 fps source, change fps=30 to fps=60, set -g 120 -keyint_min 120, and replace the video rate-control values with -b:v 17M -minrate 17M -maxrate 17M -bufsize 34M. The 34M buffer is two seconds of the target bitrate, as is 28M in the 30 fps example; those are command-design choices, not buffer values mandated by YouTube.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

What the example does not cover

  • -preset veryfast is an illustrative x264 speed/quality choice, not a universal best setting. Sustained performance depends on the host, source, FFmpeg build and encoder. Verify that encoding stays in real time before relying on it.
  • -re paces file input at real-time speed. FFmpeg describes it as equivalent to -readrate 1 and useful when streaming a file. Do not add it blindly to a real capture device or live network input; FFmpeg warns that pacing those sources this way may cause packet loss.
  • For a file that should play only once, remove -stream_loop -1. For a live input, replace the file input and omit -re unless that source specifically requires pacing.
  • If the source has no audio, decide whether the output should include silence or omit audio, then test the actual result. This command assumes audio is present.
  • Unusual aspect ratios, HDR sources, hardware encoders and other input types may need a different filter or encoding configuration. Inspect and test the loop point too: a file can have a visible or audible discontinuity each time it restarts.

FFmpeg options and encoder availability depend on the installed version and build. Consult the FFmpeg documentation and verify options against the local installation; this command is a template, not a tested universal recipe.

Make the stream suitable for continuous operation

  1. Confirm the source stays available. Check that the file loops or the live input continues to deliver video and audio, and inspect timestamps and transitions.
  2. Test representative material. YouTube recommends testing with audio and movement similar to the real broadcast. Check resolution, frame rate, audio and stream health in Live Control Room.
  3. Verify real-time encoding. Confirm that the output maintains its intended frame rate rather than repeatedly falling behind. Results vary by host, preset and encoder; no single machine benchmark follows from the settings alone.
  4. Check upload capacity under real conditions. The total bitrate sent must not exceed available upload bandwidth, according to YouTube’s streaming tips. Allow practical margin for network variation, but do not rely on a universal headroom percentage.
  5. Monitor YouTube stream health. Watch Live Control Room feedback and review any messages during the broadcast, rather than assuming a successful command start means a healthy stream.
  6. Keep the stream key private. Enter it locally or use an appropriate secret-management method; do not expose it in a public script, screenshot or article.
  7. Plan recovery separately. FFmpeg flags alone do not supervise a process, restart a failed host, provide power backup or recover a broken network connection. Those require separate operational planning.

Common problems and what to check

  • YouTube reports a weak or unstable stream: Check the actual outgoing bitrate and whether upload capacity is sufficient for the total stream bitrate. Inspect network variation, then compare the selected resolution and frame rate with the recommended values.
  • The picture stutters or falls behind: Check whether the host can encode the chosen frame rate in real time. Test sustained encoding on the actual machine; a preset name does not guarantee capacity.
  • The stream starts but has no sound: Confirm the input contains audio and that the output’s AAC settings match the intended channels and sample rate. If the source is silent, deliberately choose a silence track or an audio-free output and test it.
  • The image has bars or unwanted framing: The example preserves the complete image and pads it to 16:9. Adjust the scale/pad or crop strategy to fit the source and intended presentation.
  • The loop has a jump, gap or audio click: Inspect the media around its end and beginning. The encoding flags cannot remove a discontinuity in the source.
  • The process stops and the broadcast ends: Check the source, FFmpeg process, host and connection independently. The command does not include process supervision, host restart or network failover.
  • The command rejects an encoder or option: Confirm that the installed FFmpeg build includes libx264 and supports the options used. Build configurations differ, so check the local FFmpeg help and documentation.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If the goal is a pre-recorded YouTube stream that keeps running without leaving a home computer on, StreamNeo is a cloud option. Upload a recording or build a playlist, add your YouTube stream key once, and go live; StreamNeo loops uploaded video from the cloud. It streams to YouTube, not from a live camera.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  • Nothing at home has to stay on for the stream to keep running.
  • Each slot has one flat price for any uploaded quality up to 4K 60fps, with no re-encode or quality tiers.
  • It automatically recovers if YouTube drops the stream.
  • The first day is free, with no card required.

Monthly: $9.99 per month.

Start a 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 *

Free tools Windows power users keep installed

One-click scans. No signup required.

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

More from the Screening Room

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.