To use a YouTube Live stream key with OBS for prerecorded video, create a Live event in YouTube Studio, give OBS the event’s stream URL and key, and send the intended video and audio feed from OBS. The stream key connects the encoder to the event; it does not select a video or create a YouTube playlist.
After the broadcast, YouTube may archive it, and you can add that finished recording to a playlist. That is a separate, post-stream organising task. Keep a local recording as a backup, particularly if the stream is long.
Understand what the stream key does
A stream key is the credential OBS uses to send a signal to the YouTube Live event. YouTube describes stream keys as “like your YouTube stream’s password and address”. The key is not the video file, a playlist, or a setting that tells OBS what footage to play. You need both the event’s ingest address and the key so the encoder can connect to the right destination.
Treat the key as confidential. Do not show it in screenshots, recordings, or a public chat, and do not paste it into a public document. If you think someone else has seen it, YouTube says to reset it in Live Control Room and replace the old value in the encoder. Only a channel owner or manager can reset a stream key. See YouTube’s guidance on stream keys before handling or replacing yours.
The workflow has three distinct jobs. YouTube Studio creates or schedules the event and supplies its connection details. OBS acts as the encoder: it connects to that event and sends video and audio. YouTube’s playlist tools organise the completed video afterwards. Keeping those jobs separate helps avoid a common misunderstanding: putting a recording in a playlist does not send it to a live event.
If you have not used OBS for a continuous programme before, the OBS and YouTube worship-stream setup guide may help you think through the broader encoder setup. This article focuses on one recorded programme sent through an event and what to do with the resulting archive.
Create or prepare the YouTube Live event
In YouTube Studio, open the live-streaming workflow and create a stream or use the management area to schedule one. YouTube’s current instructions describe creating a stream in the Stream tab or scheduling through Manage. The event page is where you set details such as its title, description, privacy and schedule. Check the current YouTube Live Control Room instructions for the interface and event options available to your channel.
Decide who should be able to watch before you connect the encoder. YouTube offers public, private and unlisted visibility, and the default visibility can differ according to the account holder’s age. Review the selected setting rather than assuming a previous event’s choice will suit this one. A public event is discoverable; an unlisted one is generally reached by people with its link; a private event has more restricted access. Check YouTube’s current explanation of visibility and audience settings if the distinction matters to your use case.
Prepare the recorded programme before the scheduled start. Confirm that the file is the version you intend to broadcast, that its picture and sound are present, and that you have a plan for what viewers will see if the programme ends before you stop the event. Do not assume that a video file’s duration or its placement in a YouTube playlist controls OBS playback. Those are different systems and need their own checks.
YouTube permits reuse of settings from a previous stream or creation of a new scheduled stream. Reuse can save setup time, but it also means you should inspect the copied title, privacy, description and other event details rather than carrying forward stale information. If your channel has a scheduled event, YouTube’s process is to connect the encoder when it is time, wait for the preview, then select Go live in Live Control Room.
Enter the YouTube ingest details in OBS
Once the event exists, copy its stream URL and stream key from the YouTube Live Control Room. In OBS, configure the streaming destination using the current version’s documented workflow. YouTube’s general encoder guidance says to choose a YouTube preset if the encoder provides one; otherwise, enter the stream URL in the server or RTMP field and the key in the stream-key field. Follow the current YouTube encoder setup guidance alongside the OBS documentation for the version you have installed.
OBS’s interface and labels can change. Do not rely on a menu name or sequence remembered from an older tutorial. Check the current OBS documentation for how that version handles a service preset, custom server details and stream key. This article does not assert a version-specific click path. The important result is that the OBS streaming configuration points to the event’s supplied ingest address and uses the matching key.
Copy the values carefully. A key from a different event or a mistyped URL can prevent the encoder from connecting to the intended event. Keep the key out of notes you share with collaborators who do not need it. If you reset the key, update OBS before the next connection; retaining the old value will not make the reset key work.
This configuration only establishes where OBS sends its output. It does not tell OBS which recorded file to play, whether playback should repeat, which scene should be visible, or how audio should be routed. Treat those as a separate programme-feed setup, and verify each using the documentation for your OBS version.
Route prerecorded content into the encoder feed
To stream a prerecorded video as a YouTube Live programme, OBS must send that video’s picture and sound as the encoder feed. YouTube’s setup information explains how to connect an encoder, but it does not document the current OBS-specific method for file playback, looping, scene selection or audio routing. Check OBS’s current documentation before following click-by-click instructions for these tasks; do not assume that a tutorial for another version describes your interface accurately.
Think through the feed as a viewer would experience it. The selected picture needs to show the intended video rather than a blank scene or desktop, and the audio reaching the encoder needs to be the programme audio rather than silence or an unintended device. A short private test can reveal a wrong source, muted track, unintended computer audio or an image cropped in a way you did not expect. The exact controls depend on your OBS version and chosen method, so verify the relevant source and output settings rather than guessing.
If the recording is meant to play once, establish what happens at its end and how you will stop the broadcast. If it is meant to repeat, confirm with current OBS documentation that your chosen playback method behaves as intended and test it before scheduling a public event. This article does not prescribe a particular playlist-replay technique: a local file, a sequence of files, and a YouTube playlist are not interchangeable merely because each contains video.
For a continuous station, a still image or visualiser may be part of the programme rather than a full-motion recording. The guide to making a YouTube radio livestream with a waveform visualiser offers a related format to consider, while the feed still needs to be checked in OBS. If you are instead building a long-running video loop, the FFmpeg fireplace stream guide covers a different encoder route. Neither changes what a stream key does.
Preview and start the broadcast
YouTube recommends testing the setup and checking the Live Control Room preview before starting. Connect OBS early enough to inspect the event, and for a scheduled stream, wait until YouTube shows the incoming preview before selecting Go live. This gives you a chance to catch a wrong event, unexpected picture, or missing audio before viewers are asked to watch. YouTube also recommends setting up encoders well before the event and starting them ahead of the planned time so there is room to inspect the preview.
Use the preview to check the actual signal reaching YouTube, not only what appears in OBS locally. Confirm that the expected recorded content is visible, that its audio is audible, and that the event is the one you intend to use. Monitor picture and sound during the broadcast, especially after the opening transition or any change in the programme. A local preview can look correct even when you have connected to the wrong event or selected an unsuitable output.
Keep a local recording if you need a dependable copy of the programme. YouTube recommends making a local archive as a backup. Before relying on it, check that the recording is being saved as intended and that the resulting file can be opened and played. A recording that was never enabled, stopped early, or saved somewhere unexpected is not a useful backup.
If you are investigating a connection warning, avoid changing several settings at once. Check the event, ingest details, key and the feed separately; note what changed, then test again. For a specific YouTube bitrate warning, use the practical bitrate warning troubleshooting guide as a starting point, while checking current YouTube and OBS documentation for the settings relevant to your situation.
Locate and retain the finished archive
After the stream ends, look for its recording in YouTube Studio’s content or live-stream management area. Processing and availability can take time, so do not promise yourself that the archive will appear immediately. Confirm that the recording is present, opens correctly, and contains the part of the event you expected before sharing it or relying on it as your sole copy.
There is an important duration caveat. YouTube says streams shorter than 12 hours can be automatically archived, while streams longer than 12 hours may not be captured at all. A stream near or beyond that threshold deserves particular care: do not treat automatic archiving as a guarantee. The current YouTube archive guidance explains the platform’s archive behaviour; check it before planning a long broadcast.
A local copy and YouTube’s archive serve different purposes. The platform copy is convenient for viewers and for later channel organisation, but it depends on YouTube’s capture and processing. A local file gives you another copy under your control, but you must make sure it is actually recorded and preserved. YouTube recommends a local archive backup, so for an important event check the saved file rather than merely assuming that the recording option worked.
| Copy | Useful for | Limitation to plan around |
|---|---|---|
| YouTube live archive | Watching, sharing and organising the finished stream on your channel | YouTube says streams longer than 12 hours may not be captured; availability is not a substitute for checking the result |
| Local recording | Keeping another copy and checking the programme independently | You need to confirm that it was recorded, saved successfully and can be played |
If the live recording matters for a service, class, local bulletin or business announcement, decide in advance who will check each copy and where the local file belongs. This is a simple handover, not a guarantee: a person should verify that the archive exists and that the saved recording is intact. If a broadcast disconnects while it is still live, consult the guide to restarting a disconnected stream from Live Control Room for that separate recovery situation.
Organise the archive in a YouTube playlist
Once the archived video is available, use YouTube’s video-management tools to add it to a playlist or create a playlist for a series of past broadcasts. You can organise the full recording alongside highlight clips if that suits the channel. YouTube’s guidance on creating and managing playlists covers the current playlist workflow; check it for the controls and permissions available on your account.
Choose a playlist structure that helps the viewer find the material. A devotional channel might group weekly satsangs by series, while a local news channel might separate completed bulletins by programme or topic. Use a clear title and description, and review the playlist’s visibility as well as the video’s visibility. A playlist does not override the archive’s own access settings, and adding an archive does not make it part of a live feed.
This distinction matters when you want a recorded programme to appear during a broadcast. YouTube playlist organisation is for arranging videos on YouTube after they exist as channel videos. The live event receives a feed from OBS; OBS must be configured separately to send the intended content. The research available for this workflow does not establish a specific OBS technique for replaying a YouTube playlist, so do not infer one from the fact that the archive can be added to a playlist.
Before sharing the finished playlist, open it as a viewer and check that the intended archive is included, the order makes sense, and the visibility is right. If you have edited a title or thumbnail, check those details too. That small review prevents a common handoff problem: the creator assumes the video is organised, while the audience reaches an empty, private or differently ordered playlist.
If the operational burden is keeping a computer on for a long-running file-based stream, StreamNeo addresses that particular burden by turning an uploaded video into a YouTube live stream that can run with your computer switched off. It does not remove the need to check the event, feed, archive or playlist separately.
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
How do I use a YouTube Live stream key with OBS?
Create or schedule the event in YouTube Studio, then use its stream URL and key in OBS according to the current OBS documentation. You must also configure OBS to send the intended video and audio feed; the key only connects the encoder to the event.
Can I stream a prerecorded video on YouTube Live?
Yes, if your encoder sends the prerecorded programme as the event’s video and audio feed. Confirm the current OBS method for file playback and any looping behaviour in OBS documentation, then check the YouTube preview before starting.
Will YouTube save my live stream?
YouTube can automatically archive streams shorter than 12 hours, but streams longer than 12 hours may not be captured. Check the current YouTube guidance and keep a verified local recording as a backup, particularly for an important or long broadcast.
How do I add a live stream recording to a playlist?
After the archive is available as a video in YouTube Studio, use YouTube’s playlist tools to add it to an existing playlist or create one. This organises the finished recording; it does not route the recording into an OBS live feed.