October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
FFmpeg

How to Rotate Property Tour Videos with FFmpeg for YouTube Live

Rotate a property-tour video with FFmpeg, choose a deliberate portrait or landscape frame, and match YouTube’s current ingest settings before going live.

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

Use FFmpeg’s transpose video filter to rotate a property-tour feed before it is scaled and encoded, then send that feed to the current RTMPS ingest address and stream key shown in YouTube Live Control Room. Choose the rotation and final frame shape from the footage itself: rotation changes orientation, but it does not automatically create both portrait and landscape versions.

Decide what the finished frame should look like

First inspect the recording and decide whether it is actually sideways, whether the intended live composition is portrait or landscape, and how much of the room must remain visible. A quarter-turn swaps the image’s effective width and height. It does not decide how the result should be framed for YouTube.

  • Rotate only when needed. Camera orientation metadata and recording conventions vary. If the source already displays upright, an extra transpose will make it wrong.
  • Choose the target canvas deliberately. Portrait framing can suit a mobile-first presentation; landscape can retain more of a room’s width and context. These are composition trade-offs, not guarantees about reach or recommendations.
  • Choose fit, crop, or padding. Fitting the whole image inside the target canvas preserves its proportions but may leave bars. Cropping fills the canvas but can remove room details. Do not stretch a wide room into a narrow frame.

Preview the complete result before going live. Check that doors, windows, text, and room geometry are upright and that the framing does not discard useful details.

Build a single-output FFmpeg command

This example rotates clockwise, fits the image within a portrait 1080×1920 canvas without stretching, and pads any unused space. It is an adaptable example, not a tested command or a guarantee that every FFmpeg build includes libx264.

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.
#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.
ffmpeg -i INPUT 
  -vf "transpose=clock,scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2" 
  -c:v libx264 -pix_fmt yuv420p 
  -c:a aac -b:a 128k -ar 44100 
  -f flv "$INGEST_URL/$STREAM_KEY"

Replace INPUT with the recording, and set INGEST_URL and STREAM_KEY to the current RTMPS ingest address and stream name/key supplied for your YouTube stream. Do not copy an example key or expose a real key in a public command, screenshot, or log. Confirm how your encoder expects the URL and stream name to be combined.

Adjust direction and framing

  • transpose=clock rotates a quarter-turn clockwise; use transpose=cclock for the opposite direction. Remove the filter if the source is already upright.
  • For another target shape, change both canvas dimensions in scale and pad. A landscape canvas might be 1920×1080; select dimensions that match the intended final composition.
  • The example fits and pads. If you use a crop instead, review the crop for clipped windows, room edges, signs, and other useful details.

Map streams and audio intentionally

For production use, inspect the input with ffprobe, then explicitly map the intended video and audio streams. If audio comes from a separate input, provide that input and map it deliberately. If the recording has no audio, supply or map an appropriate audio input; missing audio can appear as a stream-health issue. A video filter requires decoding and re-encoding, so -c:v copy cannot be used for the rotated video.

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.

Match encoding to YouTube’s current ingest guidance

YouTube’s encoder-settings guidance, accessed in 2026, lists RTMP/RTMPS ingestion and supports H.264, H.265, or AV1. It recommends constant bitrate encoding and a two-second keyframe interval, with keyframe spacing no longer than four seconds. YouTube recommends RTMPS as the encrypted option. Select the bitrate for the chosen codec, resolution, and frame rate rather than treating one number as universal.

Output and codec YouTube-recommended video bitrate
720p at 30 or 60 fps, H.264 8 Mbps
720p at 30 or 60 fps, AV1 or H.265 6 Mbps
1080p at 30 fps, H.264 14 Mbps
1080p at 30 fps, AV1 or H.265 10 Mbps
1080p at 60 fps, H.264 17 Mbps
1080p at 60 fps, AV1 or H.265 12 Mbps

These are YouTube’s recommended ingest rates, not a guarantee that a particular connection or recording can sustain them. Test upload capacity and select a rate your connection can reliably provide. Camera movement and fine architectural detail can make compression artifacts conspicuous, so inspect the Live Control Room preview using representative motion.

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.

YouTube’s guidance gives stereo audio as 128 Kbps at a 44.1 kHz sample rate. The command’s audio options reflect those figures. For a 30 fps H.264 output, an illustrative starting point might include -b:v 8M -maxrate 8M -bufsize 16M -g 60; this is not a universal bitrate recommendation. YouTube’s table specifies other rates for different codecs and resolutions, and FFmpeg encoder behavior varies by build. Configure rate control appropriately for CBR and check the resulting stream-health report.

Get the live ingest details without exposing the key

  1. In YouTube Live Control Room, set up the intended live stream and use the ingest address and stream name/key shown for that stream. Do not reuse a key from an unrelated setup without confirming it is the right one.
  2. Set the FFmpeg destination using those current values. Keep the key out of public examples, screen captures, and shared logs.
  3. Start the encoder and check the Live Control Room preview and stream-health status before the event.

The YouTube Live Streaming API distinguishes stream configuration, such as ingestion type, address, resolution, and frame rate, from the broadcast resource. Its health status can report configuration issues; use the reported issue to guide diagnosis rather than assuming rotation is the cause.

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
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

One orientation or two

A single filtered FFmpeg output produces one encoded feed in one orientation and frame shape. Rotation does not create a simultaneous second feed. If you need both portrait and landscape, configure the corresponding outputs and stream setup explicitly, then inspect each preview and composition. YouTube’s vertical-live material describes encoder-controlled vertical output and a third-party dual-stream workflow, but available options and interface details can change. Check the current Live Control Room setup rather than assuming a particular channel has a specific dual-stream option.

For property footage, make separate framing decisions for each output. A crop that works for a portrait room view may remove too much context in landscape, or vice versa.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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.

Test before the property tour

  1. Run the full command with representative footage, camera movement, and audio—not just a still frame.
  2. Check that the result is upright, correctly proportioned, and framed as intended; confirm that no important room detail is clipped.
  3. Confirm that YouTube receives video and audio and that the preview looks acceptable at the selected resolution and frame rate.
  4. Review stream health and resolve any reported codec, bitrate, keyframe, frame-rate, or resolution issue before the live event.

Troubleshoot common failures

Symptom Likely cause What to check
The picture is sideways or upside down The transpose direction is wrong, the source was already upright, or orientation metadata affects interpretation. Preview the input and output; swap clock and cclock or remove the filter as appropriate.
The picture is upright but important room details are missing The crop or target aspect ratio is too aggressive. Revise the target dimensions and fit/pad/crop strategy; inspect the whole frame for clipped context.
YouTube reports a bitrate or keyframe issue Encoder output does not match the selected ingest format or current YouTube recommendations. Match the codec, resolution, frame rate, bitrate, and two-second keyframe interval to the relevant YouTube guidance; do not exceed four seconds.
YouTube reports missing audio The recording has no audio, the wrong stream was mapped, or no audio input is being sent. Inspect and map the intended audio stream, or provide an appropriate audio input.
YouTube receives no feed The encoder is not delivering data, or the destination uses an incorrect or outdated ingest address or key. Verify the current stream details in Live Control Room and confirm FFmpeg is sending to them. Keep the real key private.
The image looks stretched Scaling changed the image proportions. Use a fit-and-pad approach or an intentional crop instead of stretching a wide frame to a narrow canvas.

Or let it run in the cloud

If the goal is a YouTube channel that stays live with uploaded property-tour footage, StreamNeo runs the loop in the cloud after you upload a recording or build a playlist, add your YouTube stream key, and go live. Nothing has to stay on at home. It streams the uploaded video at its original quality up to 4K 60fps for one flat price per slot, and can recover automatically if YouTube drops the stream. The first day is free with no card. The Monthly price is $9.99 per month.

StreamNeo is for uploaded videos streamed to YouTube, not a live camera feed. Learn more at StreamNeo, or start the free first 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 Screening Room

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.