Skip to content
streamneo.
Setup Guides11 min read

How to Send a Prerecorded YouTube Stream to Primary and Backup RTMP Ingest URLs

Set up a prerecorded YouTube Live event, identify its RTMP destination, preview the feed and test failover without confusing RTMP with HLS.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

To send a prerecorded video to YouTube Live, create or schedule the event in YouTube Studio, then connect an encoder using the stream URL and key shown in Live Control Room. If you need a backup path, verify that your encoder or second encoder can actually deliver it and test the player’s rollover before relying on it.

One important limit: YouTube’s explicit “Backup server URL” instructions found in its help material are for HLS ingestion, not a general dual-RTMP procedure. Do not paste an HLS backup URL into an RTMP workflow or assume that entering two RTMP destinations guarantees failover or uninterrupted playback.

Create or schedule the YouTube Live event

Open YouTube Studio and choose Create → Go live. In Live Control Room, create a new stream or select the event you have scheduled. The exact layout and labels can change, so use the current controls in your account rather than relying on an old screenshot or someone else’s stream key.

A scheduled event is useful when viewers need a watch page ahead of time and you want to prepare its title, visibility and other details before transmission. A stream started without advance scheduling may suit a simpler test or a channel that does not need a public event page early. Either way, distinguish the event in YouTube from the feed generated by your encoder: creating an event does not itself start the video file playing.

Check that the channel can live stream and that the selected event is the one you intend to use. If you are setting up a channel that has not streamed before, review the current YouTube live-streaming eligibility requirements before planning a broadcast around a newly created account. Eligibility and account status are separate from the encoder’s ability to send a feed.

For a scheduled encoder stream, YouTube’s documented sequence is to connect the encoder, wait for the preview to appear, and then use Go live in Live Control Room. Keep that distinction in your run sheet: sending video to YouTube can make a preview available without yet making the event live to viewers. See YouTube’s encoder setup instructions for the current broad workflow.

Find the primary and backup RTMP destinations

In Live Control Room, open the Stream tab and locate the stream URL and stream key. The URL tells the encoder where to send the feed; the key identifies the stream associated with your YouTube setup. Treat the key like a password: do not paste it into a public document, screen recording or support post. The guide to keeping a YouTube stream key out of FFmpeg command history is useful if your workflow uses command-line tools.

YouTube’s general encoder setup explains the stream URL and key, but the official material reviewed for this article does not establish a universal way to obtain and use a second, backup RTMP URL for every event or encoder. Check the current Live Control Room and YouTube’s documentation for the protocol and fields available to your account. Also check your encoder’s documentation to see whether it supports a backup endpoint, a second encoder, or multiple simultaneous destinations for a prerecorded source.

Keep protocol names precise. RTMP and RTMPS are related ingest options; YouTube describes RTMPS as RTMP over TLS/SSL. The RTMPS URL can be revealed in Live Control Room using its lock control where that option is offered. This is a secure endpoint choice, not a separate failover method. See YouTube’s RTMPS guidance and confirm which URL your encoder is meant to use.

Do not transfer YouTube’s HLS setup steps into RTMP. The HLS guidance refers to selecting HLS and, where provided, copying a Backup server URL. HLS also has protocol-specific requirements and behaviour. That does not show that an RTMP event has the same backup field, nor that an HLS address can stand in for a second RTMP destination. Read YouTube’s HLS setup instructions only if you have deliberately chosen HLS and your encoder supports it.

If YouTube does not show a distinct backup RTMP destination for your event, do not invent one by editing the primary URL or borrowing a value from an HLS screen. Pause and confirm the current supported route with YouTube documentation and the encoder maker. A reliable procedure starts with verified addresses, not a plausible-looking URL.

Configure the prerecorded source in the encoder

Choose an encoder that can play the file you intend to broadcast and connect to YouTube using the stream URL and key. Some software offers a YouTube sign-in or service selection; other tools ask you to enter the server URL and key in separate fields. Field names differ, so follow that encoder’s documentation and check the destination before starting transmission.

Load the prerecorded file as the source. Depending on the software, this may be a media source, a playlist, or a file-playback feature. Confirm that it is set to repeat only if you want a loop; a file that reaches its end may otherwise stop sending video. If you need a sequence of different recordings, check how the encoder handles transitions, audio continuity and end-of-file behaviour. The OBS media source versus VLC playlist comparison can help you think through those source choices, but verify the current controls in the version you use.

For a backup design, document exactly how the second feed is produced. It might be a feature in the encoder, or a separately configured backup encoder; the correct option depends on the software and YouTube’s currently available ingest setup. Do not assume that running two encoder windows means both are connected correctly, that both can use the same key, or that YouTube will switch viewers between them. Those behaviours must be verified for your own configuration.

Before sending the file, make a small run sheet with the event name, intended protocol, primary destination, backup destination if confirmed, source file, key-handling method, and who will watch the preview. Store the key in the encoder’s protected settings where possible rather than a shared note or command history. Avoid putting the key in screenshots when asking for help.

Match the feed settings across destinations

If your design sends a primary and backup feed, configure them to represent the same programme. Compare resolution, frame rate, video encoding, audio format and the prerecorded source itself. The goal is to avoid a visible or audible jump when the player changes feeds. YouTube’s supported settings depend on its current recommendations; use YouTube’s live encoder settings guidance rather than treating a generic preset as universally correct.

The encoder’s support for multiple destinations is not enough by itself. Check whether the feature can send the same file to both destinations at once, whether it expects separately started encoders, and whether the backup stays ready to take over. A backup that starts only after a long manual setup may not behave like a warm standby. These are encoder-specific questions, not properties guaranteed by the RTMP protocol.

Plan network capacity for both outbound feeds if they are transmitting simultaneously. YouTube’s streaming tips recommend allowing bandwidth for the primary feed, the backup, and 20% headroom. Treat that as YouTube’s operational guidance, not a promise that any particular connection will carry your setup. Check available upload capacity at the location and consider other devices sharing it. If you cannot sustain both feeds and headroom, the design may need a different connection or a different backup arrangement.

Setup choice What to confirm Main trade-off
One encoder, one RTMP destination The URL, key, file playback and stream health Simpler to configure, but no second-feed path is established
Encoder with verified dual-destination support It can send the same prerecorded source to both confirmed endpoints Convenient when documented, but uses more upload capacity and still needs a rollover test
Primary and separate backup encoders Both are correctly configured and YouTube supports the intended arrangement Separates the backup process, but adds setup and operational checks
HLS with its own documented backup option The event and encoder are deliberately configured for HLS Different protocol and requirements; HLS instructions do not configure RTMP

This comparison is a checklist, not a product recommendation. The sources reviewed do not verify any particular encoder model for simultaneous prerecorded dual-RTMP transmission. Choose based on the exact capabilities documented for your software or hardware, and confirm that YouTube currently supports the endpoints you plan to use.

Preview before going live

Start the encoder and wait for Live Control Room to show an incoming preview. Check that the intended file is playing, not a desktop capture or an empty source. Listen for audio, confirm that the picture is stable, and inspect the stream health indicators available in the current interface. A preview is a chance to catch a wrong event, a muted source or a mistaken destination before viewers see it.

If both feeds are meant to be active, check their status separately where your encoder and YouTube controls allow it. A preview from the primary does not prove that the backup is connected, and two “running” labels do not prove that YouTube’s player will roll over. Record what you can actually verify and leave unresolved behaviours as unresolved until tested.

For a scheduled event, follow YouTube’s sequence: wait until the preview is present and then click Go live in Live Control Room. Check the event page from a separate viewer account or device if practical, so you can distinguish the operator preview from what a viewer can see. Keep an eye on sound as well as picture; a video can look correct while the prerecorded file has no audio or the wrong track.

A short pre-event checklist is more useful than a last-minute guess: correct event, correct file, correct key, intended protocol, expected preview, and an operator available to watch the transition. If the show includes a playlist or a long ambience file, make sure the chosen source behaves at its end as intended. For ongoing audio issues, the guide to fixing crackling in a 24/7 rain stream offers a separate troubleshooting path.

Test primary-to-backup failover

Run the test before the broadcast matters, ideally with a private or otherwise controlled test event and a viewer device observing the player. First confirm the primary feed is visible. Then follow YouTube’s failover test guidance: stop the primary encoder or disconnect its network connection and check whether the player rolls over to the backup. YouTube’s instruction is about verifying what the player does, not merely checking that the backup encoder process is running.

Write down what happened: whether the player continued, paused, showed an error, or recovered only after manual action. Check whether audio and picture resumed at the expected point. Repeat the test after meaningful changes to the encoder, network, stream key or event configuration. Do not infer success from a test performed on a different event or from a status icon alone.

The test may show that your particular arrangement does not switch automatically, or that the backup takes time to become available. In that case, decide whether a manual restart procedure is acceptable for your channel and write down who will perform it. Do not describe the setup to viewers or collaborators as uninterrupted just because two destinations have been entered.

If you do not have a confirmed second RTMP URL, you cannot complete a valid test of primary-to-backup RTMP rollover. Return to the current YouTube and encoder documentation to establish a supported configuration first. The explicit backup URL page for HLS is not a substitute; changing protocols requires an intentional HLS setup and encoder support.

Monitor the live stream

Once live, keep Live Control Room and the encoder visible to an operator. Watch for stream-health warnings, unexpected stops, audio loss and changes in the preview or player. If failover occurs, confirm the viewer-facing player has recovered rather than assuming it did so because the encoder reports a connection. Keep a note of any intervention so you can improve the next run.

For a long prerecorded broadcast, plan who will monitor it and how they will contact the person with access to the channel. A 24/7 channel has different operational demands from a one-off event: the source may loop, the connection can change, and the person who knows the key may not be present throughout. YouTube notes that streams under 12 hours are automatically archived; check the current YouTube encoder streaming guide and your event settings when planning a longer broadcast. Do not assume that an archive or a working preview replaces live monitoring.

If maintaining a computer and encoder overnight is the specific problem, StreamNeo can remove the need to leave your own computer running for a file-based YouTube stream; that does not replace checking the event, feed and failover behaviour you need. Keep your support plan tied to what you have tested, and do not represent any setup as guaranteed to stay live.

Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.

FAQ

Can I use the HLS backup server URL as my RTMP backup?

No. YouTube’s backup server URL instructions cited here are specifically for HLS ingestion. Use only endpoints and procedures confirmed for your selected protocol in the current YouTube and encoder documentation.

Does entering two RTMP URLs guarantee automatic failover?

No. A second destination does not prove that YouTube will switch the viewer-facing player or that playback will be uninterrupted. Test the arrangement by stopping the primary and observing the player, as YouTube recommends.

Can one prerecorded file feed both destinations?

That depends on the encoder and on a verified YouTube setup for the event. Confirm that the software can send the same source to both destinations and that your upload capacity can carry both feeds with headroom; do not assume a specific model supports it.

When should I click Go live for a scheduled encoder stream?

Connect the encoder and wait for the preview in Live Control Room first. Then use its Go live control, and continue monitoring the viewer-facing stream after it starts.

YOU’VE REACHED THE END

Keep the ideas coming.

More guides, useful tools and a little help for your next broadcast.

Back to the journal ↗
YOUR NEXT READ

A little more to explore.

More Setup Guides guides ↗ · All topics ↗