Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk6 min

How to Stream Portrait Video in a Landscape FFmpeg YouTube Live Layout

Keep portrait footage natural in a landscape YouTube Live stream: use FFmpeg to fit it on a 16:9 canvas, choose side areas, and configure ingest settings.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To stream a 9:16 portrait video in a 16:9 YouTube Live player without distorting it, scale the portrait image to fit inside a landscape canvas, then fill the unused side areas with black, designed panels, or a blurred copy of the video. In FFmpeg, use scale and pad for the simplest layout, or a filter graph with overlay for a background-and-foreground composition.

Choose how to use the landscape space

A 16:9 output canvas is wider than portrait footage. There are three basic ways to compose it; choose based on whether preserving the whole image or filling the screen matters more.

As an Amazon Associate I earn from qualifying purchases.

Layout What happens Best when
Fit with side space The full portrait frame remains visible, with unused space on the left and right. The space can be black or designed panels. You need to preserve all of the original image.
Blurred background An enlarged, cropped copy fills the 16:9 canvas behind a fitted portrait foreground. You want a full landscape composition while keeping the main portrait image intact.
Crop to fill The portrait image is enlarged until it fills the landscape canvas, cutting off part of the top and bottom. The subject remains visible after cropping and edge-to-edge fill is more important than showing the whole frame.
Stretch The portrait image is expanded to the landscape proportions, making people and objects unnaturally wide. Usually avoid this; use it only if distorted proportions are intentional.

FFmpeg’s filter documentation describes the scale, pad, crop and overlay operations used for these compositions. The blurred-background approach is a composition choice, not a YouTube requirement.

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

Make a basic 16:9 canvas with FFmpeg

Fit the portrait video and add black side areas

For a 1920×1080 landscape output, scale the source down so it fits within those dimensions while preserving its aspect ratio, then pad the result to the full canvas:

#1 Best Overall
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS | Capture Card for Streaming, Compatible with iPad Mac OS Windows, Quest 3, OBS, PS5/4, Switch2/1, Xbox, Camera (Silver)
  • 【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
[0:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1[outv]

The scale filter fits the whole portrait image inside the canvas. pad adds the remaining space around it; the default padding color is black. The centered offsets place the video in the middle. setsar=1 sets the output sample aspect ratio to square pixels.

Use a blurred copy as the background

To fill the side areas with a soft enlarged version of the video, split the input into background and foreground branches. Crop the enlarged background to landscape dimensions, blur it, fit the foreground inside the same canvas, then overlay it in the center:

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.
[0:v]split=2[bgsrc][fgsrc];
[bgsrc]scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080,boxblur=20:10[bg];
[fgsrc]scale=608:1080:force_original_aspect_ratio=decrease[fg];
[bg][fg]overlay=(W-w)/2:(H-h)/2,setsar=1[outv]

Here the foreground is limited to 608×1080, an example portrait region on a 1920×1080 canvas. Adjust it to suit the source and design. The background branch enlarges until the landscape canvas is covered, then crops to its dimensions; the foreground branch preserves the full portrait image. The filter graph is illustrative, not a tested, universal command: FFmpeg build, filter availability, source dimensions and accepted options can vary.

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

Connect the filter graph to your live command

Use the filter graph as part of your FFmpeg command, map its output video label, and map audio from the input if it has an audio stream. A schematic command structure is:

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.
ffmpeg -re -i input.mp4 -filter_complex "[0:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1[outv]" -map "[outv]" -map 0:a? ...

The ellipsis is not a runnable option: you must supply the encoder settings and YouTube ingest destination appropriate to your setup. For the blurred version, substitute its full filter graph for the simple filter graph. Do not expose your stream key; treat it like a password. Enter your own YouTube server URL and stream key in the command or encoder configuration you use, and keep the key private.

Set YouTube-compatible live encoder settings

YouTube’s live encoder guidance lists RTMP/RTMPS ingest, H.264, H.265/HEVC and AV1 video, frame rates up to 60 fps, CBR, and AAC or MP3 audio. These are platform options and guidance, not a guarantee that your computer or internet connection can sustain a particular stream.

Rank #4
Sale
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device | Audio Video Capture, 4K HDMI Loop-Out, Work for PS5/PS4/Switch/Xbox/PC/Camera/OBS, Game Screen Recorder Streaming Equipment
  • 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
Setting Guidance
Protocol RTMP or RTMPS, using the server and stream key shown in YouTube Live Control Room.
Rate control CBR.
Keyframe interval 2 seconds recommended; do not exceed 4 seconds.
H.264 at 1080p30 5 Mbps minimum and 14 Mbps recommended, according to YouTube’s encoder table. Other resolutions, frame rates and codecs have different guidance.
Audio AAC or MP3.

Pick resolution, frame rate, codec and bitrate as a set, then make sure your reliable upload capacity can sustain the chosen bitrate with room for normal network variation. YouTube says it transcodes live streams into multiple output formats for viewers on different devices and networks; that does not remove the need for a stable incoming feed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Start the stream and check it before going public

  1. Get the ingest details. In YouTube Live Control Room, set up the live stream and retrieve the server URL and stream key. Keep the key secret.
  2. Configure FFmpeg. Add the chosen scale-and-pad or overlay filter graph, map the output video label, map input audio if present, and set your encoder, bitrate, frame rate, keyframe interval and ingest destination.
  3. Run a representative test. Check that the video has the intended framing and that motion, audio and synchronization are correct. YouTube recommends testing before the live broadcast; see its recommended upload encoding settings.
  4. Monitor stream health. Watch Live Control Room for ingest or quality warnings while the encoder is running. If the stream is unstable, reduce the selected quality or bitrate to a level your connection can reliably carry.

One landscape output is not a separate vertical stream

This workflow sends one landscape composition. YouTube also documents workflows for horizontal and vertical live streams together. Its Live Control Room vertical layout choices include center crop, fit to phone width and stacked. For third-party dual streaming, YouTube’s live-stream setup directions describe RTMP(S), a separate vertical stream key and sending the correct content format to each key. A single FFmpeg landscape output does not create that additional, separately composed vertical feed.

Troubleshoot common layout and ingest problems

  • Portrait footage looks wide. The filter graph may be stretching the source. Use force_original_aspect_ratio=decrease to fit it and pad the remaining canvas instead.
  • The subject is cut off. A fill-the-frame scale-and-crop layout removes part of the source. Switch to fit-and-pad, or adjust the crop only if losing that portion is acceptable.
  • There are black bars instead of a blurred background. That is the expected result of the simple pad layout. Use the split, background scale/crop/blur and overlay graph if you want the side areas filled with a blurred copy.
  • FFmpeg rejects a filter or option. Filter availability and accepted options depend on the installed build. Check the local FFmpeg filter documentation and adapt the graph to the build rather than assuming every installation supports the same options.
  • YouTube reports poor stream health or the feed drops. Check the ingest details and connection, then lower bitrate, resolution or frame rate to a combination your upload can sustain. Confirm settings and stream health in Live Control Room.
  • The stream has no audio. Verify that the input contains audio and that the command maps it. The illustrative filter graph processes video only; it does not create or route an audio stream.

Or let it run in the cloud

If your goal is a YouTube channel that stays live from uploaded videos, rather than a one-off FFmpeg broadcast, StreamNeo runs the loop from the cloud: upload a recording or build a playlist, add your YouTube stream key once, and go live. Your computer and home connection do not have to stay on. Every slot streams uploads as made, up to 4K 60fps, at one flat price per slot; it also includes 10 GB storage per slot (pooled across active slots), playlists, automatic recovery if YouTube drops the stream and StreamNeo team support. StreamNeo is for uploaded video, not camera input, and streams to YouTube only.

There are no quality tiers. The first day is free with no card, one free day per account; monthly billing is $9.99 per month. You can also choose a day, week, six months or year, and cancel any time. UPI and cards are available in India; card checkout is available worldwide. Five or more slots: contact support.

Start your free first day with StreamNeo.

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.

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

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 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
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair 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.