If FFmpeg stays on “connecting” when you try to stream to YouTube from Hetzner Cloud, check the active YouTube stream URL and key first, then verify RTMPS settings and outbound firewall rules. After that, confirm your FFmpeg build supports the chosen protocol and use YouTube’s stream-health signals to distinguish a connection failure from a media-quality problem. Without your command and logs, there is no way to identify one specific cause; work through these checks in order.
1. Verify the active YouTube stream URL and key
-
Open YouTube Live Control Room and select the broadcast you are trying to start. Copy the stream URL for that stream rather than relying on an endpoint from an old command, another broadcast, or an unrelated example. YouTube’s third-party encoder troubleshooting advises checking the key in Live Control Room and updating it in the encoder when startup fails.
-
Check that the URL scheme matches the protocol you intend to use. For RTMPS, it must begin with
rtmps://, notrtmp://. Preserve the hostname supplied by YouTube. -
If FFmpeg needs an explicit port, use port
443for YouTube RTMPS. Google’s RTMPS ingestion documentation also explains that the server hostname is needed for SNI during TLS authentication; replacing it with an IP address can therefore break the TLS connection.Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.#1 Best Overall
ZowieBox, 4K HDMI NDI Video Encoder/Decoder, HDMI NDI- Compact but Powerful Design: ZowieBox is smaller than a phone, featuring a tally light and LCD screen for streaming status. Capture console gameplay in up to 4K with zero-lag HDMI passthrough, while the built-in video encoder converts video for IP streaming. The IP stream can also be decoded back to a 4K HDMI signal.
- Standalone Game Streaming: Just plug and play—ZowieBox enables PC-free live gaming without affecting gameplay. As an RTMP hardware encoder and HDMI streamer, it delivers stable streaming directly from your source, making it ideal for gaming, live events, and professional broadcasting.
- NDI|HX3 Converter Technology: ZowieBox converts HDMI signals to NDI|HX3/HX2/HX, functioning as an NDI video encoder, or NDI Video Decoder for flexible IP workflows. Certified NDI technology enables low-latency gameplay streaming through OBS/vMix. Note: Encoder and decoder modes cannot run simultaneously; full NDI signals are not supported.
- UVC to HDMI Conversion: Supporting up to 4K@30fps and 1080p@60fps decoding, ZowieBox enables flexible conversion for webcam and video workflows. As a video decoder and HDMI to IP converter, it expands connectivity options for professional video devices. Note: USB capture card functionality is not currently supported.
- All-around Configuration Options: Control ZowieBox through its web UI on a PC, phone, or tablet. Manage connected PTZ cameras, tally light, video/audio, OSD, work mode, streams, network, and system settings. Support for VISCA over IP encoder workflows enables flexible PTZ control, while the dashboard provides video preview and system status.
-
Refresh or re-copy the stream key if the encoder may be using a stale one. Treat it like a password: redact it from terminal captures, command examples, screenshots, and logs you share.
YouTube’s encoder settings and troubleshooting guidance recommends RTMPS for YouTube Live. A correct stream key cannot compensate for a wrong protocol, hostname, or port.
2. Check Hetzner Cloud Firewall egress
Inspect the firewall attached to the server running FFmpeg, and look at its outbound rules. Hetzner documents an important default change: without custom firewall rules, outbound new connections are allowed; once custom rules are present, outbound new connections are dropped unless explicitly allowed. Existing established or related traffic is handled separately. See Hetzner’s firewall overview.
Rank #2
- 【Innovative Product with Leading Technology】- Equipped with an advanced H.265 /H.264 dual encoding chip, supports 4K UHD (3840x2160) video input and output, with a maximum frame rate of 30fps at 4K resolution and up to 120fps at 2K and lower resolutions, delivering a smooth and detailed visual experience. It also supports HDCP 1.4 decryption, easily decoding various HDMI ultra HD video sources, delivering a cinematic visual experience for both professional live streaming and 4K ultra HD content transmission.
- 【Multi-protocol and Multi-platform Compatibility】- Fully compatible with streaming protocols such as HTTP, RTSP, RTMP(S), SRT, HLS(M3U8), MP4, Multicast(UDP, RTP, PTL), FLV, WebRTC, TRTC, ICECAST, it can simultaneously output 4 video streams with different protocols and push them to live streaming platforms such as YouTube, Facebook, Twitch, and Vimeo with one click. Simultaneous live streaming across multiple platforms can be achieved without additional equipment.
- 【Highly Customizable Settings to Meet Individual Needs】- It supports adding static text, scrolling captions, brand logos, and timestamps. Users can freely adjust core parameters such as video resolution, frame rate, and bitrate, and also perform personalized editing functions such as video cropping, rotation, flipping, and mirroring. It supports dual input of HDMI embedded audio and line-in audio, with adjustable sound quality, making your live stream content more distinctive and allowing you to create a unique brand live stream style.
- 【Stable and Efficient Transmission, Easy Operation】- Employing HDMI to Ethernet core connection technology, it ensures stable and reliable network transmission with low latency and no lag, adapting to various network environments. Equipped with an intuitive user interface and detailed instruction manual, no professional technical background is required; setup can be completed quickly after connecting the device. It is also compatible with multiple terminals such as computers and mobile phones for management, and the video stream status can be viewed in real time via a URL.
- 【Lifetime Free Warranty and Technical Supports】- All URayCoder video codecs come with a lifetime free warranty and technical supports, supporting secondary development and feature customization to meet enterprise-level personalized needs. Meanwhile, we providing many kinds of customization services such as shell pattern printing, logo addition, hardware and function development, ensuring reliable quality and worry-free after-sales service.
-
If you are using RTMPS, allow outbound TCP traffic to the endpoint’s required port, normally
443.Recommended Free Tools
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
If you use another endpoint or protocol, allow the outbound protocol and port that endpoint actually requires; do not assume RTMPS rules apply to it.
-
Check outbound rules on the firewall attached to the instance. An inbound allow rule does not open an outbound connection.
Rank #3
UNISHEEN 1080P60 HDMI Video Encoder, H.265/H.264 Live Streaming Encoder, HDMI to RTSP/RTMP/SRT/HLS/WebRTC IPTV Encoder for YouTube Facebook Live, Browser Setup, No PC Software Needed- 【Hardware H.265/H.264 Encoding at 1080P60】Dedicated hardware encoder delivers broadcast-quality 1080P60 streams with H.265/H.264 compression. Reduces bandwidth usage by up to 50% compared to legacy H.264-only solutions, while maintaining crisp, crystal-clear video output.
- 【Broad Protocol Support for IP Distribution】 Supports SRT, RTMP(S), RTSP, UDP, HTTP, HLS, WebRTC, TRTC, Icecast and SHOUTcast — integrate seamlessly with CDNs, surveillance NVRs, IPTV systems and browser-based monitoring dashboards. One device replaces multiple single-purpose streaming boxes.
- 【Browser-Based Setup in Minutes】 Set up in minutes through any browser — no software, drivers or OS compatibility issues. DHCP is enabled by default to prevent IP address conflicts on your network. Note: basic networking knowledge (IP address, RTSP/RTMP configuration) is recommended for advanced streaming setups.
- 【Compact Design with Flexible Deployment】Palm-sized form factor (approx. 90×54×29mm) fits easily behind monitors, on shelves, or in equipment racks. Low power consumption ensures reliable 24/7 operation for live events, remote monitoring, and digital signage.
- 【Professional Audio & OSD Overlay + 1-Year Warranty】 Supports HDMI embedded audio plus external 3.5mm input. Built-in OSD generator adds scrolling text, logos, or timestamps directly to the video stream — ideal for branding, event info, or security labeling. Backed by a 1-year warranty and 24/7 online technical support.
A timeout while establishing the connection makes egress, destination, and protocol checks especially relevant. Do not change inbound rules as a substitute for allowing the required outbound traffic.
3. Confirm FFmpeg can use the selected protocol
FFmpeg’s RTMP protocol documentation describes RTMP URL syntax, and its general documentation covers output options and muxing. Neither can establish which protocols are available in the particular binary installed on your Hetzner server. Check the installed build and the exact output command.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →-
Confirm the binary you are invoking is the one you expect, and inspect its version and build configuration.
Rank #4
Blackmagic Design Streaming Encoder 4K – 4K Ultra HD Live Streaming via SRT & RTMP, SDI Input, Ethernet + Mobile, Includes 6ft Power Cord (BDLKWEB/D/SED4K)- 4K & HD STREAMING IN H.264 AND H.265 – Self-contained processor supporting H.264 and H.265 encoding in HD or Ultra HD (up to 2160p60) via SRT or RTMP, streaming directly to YouTube, Facebook, X, Twitch, Zoom, Microsoft Teams, OBS, Wowza, and many more — no encoding PC needed.
- 12G-SDI INPUT WITH STANDARDS CONVERSION – Supports input resolutions up to DCI 4K60 with an SDI input and SDI loop output, plus Teranex-powered automatic standards conversion so any HD or Ultra HD source streams cleanly at any target resolution.
- DUAL MONITOR OUTPUTS – Features both SDI and HDMI monitor outputs with a user-configurable standards converter on both the 12G-SDI Out and 4K HDMI Out, so you can feed a confidence monitor or downstream device at any required format independent of your streaming standard.
- ETHERNET + 5G/4G MOBILE WITH AUTO-FAILOVER – Connect via Gigabit Ethernet (10/100/1000BASE-T) or tether a smartphone via USB-C for mobile data, with automatic switchover between connections — ensuring your stream stays on air even if the primary internet connection drops.
- CLOSED CAPTIONS, TIMECODE & REST API – Supports embedding CEA-608 and CEA-708 closed captions in live RTMP streams, source timecode over RTMP and SRT, and offers a REST API over Ethernet for external HTTP control — ideal for broadcast automation and accessibility-compliant workflows.
-
Confirm the output URL is YouTube’s current destination for the selected broadcast, with the intended scheme, hostname, and port.
-
Check that the command’s output muxer and stream mapping fit the media you are sending. A malformed or incompatible output command can fail even when network access is available.
Do not post an unredacted command if it contains the stream key. To diagnose a particular invocation, retain the complete FFmpeg stderr but replace the secret key with a marker before sharing it.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Best Value
- ⭐【Innovative Product with Leading Technology】- Equipped with an advanced H.265 /H.264 dual encoding chip, supports 4K UHD (3840x2160) video input and output, with a maximum frame rate of 30fps at 4K resolution and up to 120fps at 2K and lower resolutions, delivering a smooth and detailed visual experience. It also supports HDCP 1.4 decryption, easily decoding various HDMI ultra HD video sources, delivering a cinematic visual experience for both professional live streaming and 4K ultra HD content transmission.
- ⭐【Multi-protocol and Multi-platform Compatibility】- Fully compatible with streaming protocols such as HTTP, RTSP, RTMP(S), SRT, HLS(M3U8), MP4, Multicast(UDP, RTP, PTL), ONVIF, FLV, WebRTC, TRTC, ICECAST, it can simultaneously output 4 video streams with different protocols and push them to live streaming platforms such as YouTube, Facebook, Twitch, and Vimeo with one click. Simultaneous live streaming across multiple platforms can be achieved without additional equipment.
- ⭐【Highly Customizable Settings to Meet Individual Needs】- It supports adding static text, scrolling captions, brand logos, and timestamps. Users can freely adjust core parameters such as video resolution, frame rate, and bitrate, and also perform personalized editing functions such as video cropping, rotation, flipping, and mirroring. It supports dual input of HDMI embedded audio and line-in audio, with adjustable sound quality, making your live stream content more distinctive and allowing you to create a unique brand live stream style.
- ⭐【Stable and Efficient Transmission, Easy Operation】- Employing HDMI to Ethernet core connection technology, it ensures stable and reliable network transmission with low latency and no lag, adapting to various network environments. Equipped with an intuitive user interface and detailed instruction manual, no professional technical background is required; setup can be completed quickly after connecting the device. It is also compatible with multiple terminals such as computers and mobile phones for management, and the video stream status can be viewed in real time via a URL.
- ⭐【Lifetime Free Warranty and Technical Supports】- All URayCoder video codecs come with a lifetime free warranty and technical supports, supporting secondary development and feature customization to meet enterprise-level personalized needs. Meanwhile, we providing many kinds of customization services such as shell pattern printing, logo addition, hardware and function development, ensuring reliable quality and worry-free after-sales service.
4. Tell connection failure from stream-health trouble
“Connecting” and poor stream health are not the same problem. If FFmpeg cannot establish a connection, investigate the URL, hostname, port, protocol support, DNS or TLS behavior, and outbound firewall policy. If data reaches YouTube but the stream-health panel reports a problem, use YouTube’s encoder troubleshooting guidance to inspect the encoder output, error messages, CPU load, and outbound connection.
For media sent over RTMP(S), YouTube’s general encoder guidance lists H.264 video, CBR, AAC or MP3 audio, and keyframe intervals no longer than four seconds among its supported settings. These settings can help with media delivery and health, but they do not repair a TCP or TLS connection that never establishes. Confirm the viewer-facing preview is playable separately from confirming that the encoder connected.
5. Consider HLS only when you have a protocol requirement
YouTube documents HLS ingestion for HDR or codecs that RTMP does not support, provided the encoder supports HLS; see YouTube’s HLS ingestion guidance. HLS delivers segments rather than one continuous RTMP stream, so it has higher latency. It is an alternative when the media or encoder requires it—not a default remedy for an unexplained RTMPS connection failure.
6. Troubleshoot by symptom
| What you see | Check | Next action |
|---|---|---|
| FFmpeg never connects or times out | Active stream URL and key; scheme, hostname, and port; attached Hetzner firewall’s outbound rules; DNS/TLS and FFmpeg protocol support | Correct the endpoint or key, allow the necessary outbound traffic, and confirm the installed build and command support the selected protocol. |
| TLS or SSL error | Whether you are using rtmps://, YouTube’s hostname, and port 443 |
Use the selected broadcast’s current RTMPS URL and preserve its hostname for TLS/SNI. |
| FFmpeg connects, but YouTube reports poor stream health | Encoder output and errors, CPU load, outbound connection, and YouTube’s recommended media settings | Address the reported encoder or media issue; do not treat a media-setting change as a fix for a connection that never established. |
| Connection succeeds but the preview does not play correctly | Whether YouTube receives the expected audio and video streams and whether the output muxer and stream mapping are appropriate | Review the command and encoder output, then confirm the preview separately from the connection status. |
7. What to collect if the checks do not isolate it
The specific root cause cannot be verified without the sanitized FFmpeg command and stderr, FFmpeg version and build configuration, URL scheme/hostname/port with the key removed, DNS/TLS/connectivity test results, firewall rules attached to the instance, and the status shown in YouTube Live Control Room. Share these details with the key redacted if you need further diagnosis.
Free tools Windows power users keep installed
One-click scans. No signup required.
Or let it run in the cloud
If your goal is a continuous YouTube channel rather than diagnosing a self-managed FFmpeg connection, StreamNeo is a cloud service that loops uploaded videos to YouTube. Upload a recording or make a playlist, add your YouTube stream key once, and go live. Nothing has to stay on at home; it streams the uploaded quality up to 4K 60fps at one flat price per slot, and automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly: $9.99 per month. See StreamNeo or start the free day.
Quick Recap
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.




