Skip to content
streamneo.
Setup Guides13 min read

How to Connect OBS to YouTube Live for a Pre-Recorded Stream

Send a recorded video through OBS to YouTube Live, or choose a Premiere, with the right event, stream key and preview steps.

sn.
StreamNeoPublished 3 October 2026
Worth sharing?

A pre-recorded video can appear as a YouTube Live broadcast when OBS plays it and sends the resulting feed to a YouTube encoder stream. A YouTube Premiere is a different route: you upload the finished video to YouTube and schedule a shared viewing page, without using OBS as the encoder.

For an OBS stream, create or schedule the event in YouTube Studio, copy YouTube’s server URL and stream key, add the video to OBS, then check the preview before publishing the broadcast. The connection sends the feed, but it does not by itself schedule, approve or publish the event.

Prerecorded live stream or YouTube Premiere?

Start by deciding what viewers should experience. If you want the video to be presented through a live event, with OBS scenes, overlays, transitions or other encoder controls, use an OBS encoder feed. OBS reads your video and sends it to YouTube as the broadcast input.

If you simply want people to watch an uploaded file together at a chosen time, a Premiere may be the better fit. You upload the video in YouTube Studio and choose an instant or scheduled Premiere. YouTube provides a shared watch page where viewers can set reminders, chat and comment while the video plays.

The important distinction is that a Premiere is an uploaded-video feature, not an OBS encoder connection. Connecting OBS to YouTube will not turn an uploaded file into a Premiere, and scheduling a Premiere will not give OBS a live encoder event to connect to.

Option Best for What you do Main distinction
OBS encoder feed to YouTube Live A live event using a recorded programme, OBS overlays or Live Control Room controls Create or schedule a YouTube stream, then send the file through OBS YouTube receives a live encoder feed and may require a separate Go live action
YouTube Premiere A finished upload that viewers should watch together Upload the video and choose an instant or scheduled Premiere The video is uploaded to YouTube and does not use OBS as an encoder

A Premiere also has its own restrictions. YouTube’s Premiere guidance says Shorts are not supported as Premieres and that output above 1080p is unsupported. Check the current guidance for the format you have rather than assuming that a file suitable for OBS is also suitable for a Premiere.

For a devotional loop, local bulletin, study session or ambience programme that needs encoder-style presentation, the OBS route is usually the relevant one. If the purpose is a one-time group viewing of one completed upload, the Premiere route avoids running OBS at all.

Create or schedule an encoder stream in YouTube Studio

Sign in to YouTube Studio and open Create, then Go live. YouTube’s current Live Control Room layout may change, but the workflow is based on choosing the encoder stream rather than uploading a video for Premiere.

For an immediate broadcast, use the stream setup in Live Control Room and create the stream if you do not already have one. For an event you want to announce in advance, open the Manage area and schedule it. Scheduling gives you a shareable page and allows viewers to set reminders, but it does not start the encoder feed.

Choose the details that match the programme you are actually sending. Give the event a clear title, write a description that tells viewers what the loop or programme contains, and select the visibility that fits your launch plan. If viewers need a public page before the event, scheduling is more useful than creating an unannounced stream at the last moment.

YouTube’s live-stream setup instructions distinguish between setting up an encoder and starting the event. Follow the options shown in your account, since access to live features and some controls can depend on the channel’s current status.

If live streaming is not available, solve that before spending time configuring OBS. You may need to complete channel verification, enable live streaming or wait for a restriction to clear. This is separate from the file and separate from OBS. The channel verification and 2SV checklist covers the account steps that commonly get overlooked.

For a scheduled stream, note the event time and time zone carefully. A calendar entry for the YouTube event does not cause your computer to begin sending video. You still need to launch OBS, connect it to the event and confirm the preview before you publish the broadcast.

Copy the stream URL and key

In Live Control Room, open the connection details for the encoder stream. YouTube supplies a stream URL and a stream key. The URL tells OBS where to send the feed; the key identifies which YouTube stream should accept it.

YouTube Help describes stream keys as being like the stream’s password and address. Treat the key as a credential. Do not put it in a public screenshot, paste it into a forum post or include it in a screen recording that will be uploaded later.

If another person has seen the key, reset it in Live Control Room and replace the old value in OBS. YouTube states that only channel owners or managers can reset the key. A reset invalidates the value you previously copied, so plan to update OBS before the next connection.

When YouTube shows both RTMP and RTMPS choices, prefer RTMPS when your encoder supports it. YouTube defines RTMPS as RTMP over a Transport Layer Security connection, which encrypts the connection between the encoder and YouTube. Its RTMPS documentation explains where to find the encrypted server URL in Live Control Room.

The ordinary URL may be shown by default, so look for the option that reveals or selects the RTMPS value. Copy the complete URL rather than typing it from memory. A missing character, an extra space or a key copied from a different event can result in OBS appearing to connect to the wrong destination or failing to connect.

Keep the YouTube window open while you configure OBS, or place the URL and key somewhere private for the duration of the setup. Do not confuse the stream key with the public video URL. The public URL is for viewers; the stream key is for the encoder.

Add and configure the prerecorded source in OBS

Open OBS and create or select the scene that will send the programme. Add the recorded file as a media source, then browse to the file on your computer. The precise labels can vary between OBS versions, but the source needs to play the video rather than show a single still image.

If the file should repeat, enable looping in the media source. If it should play once and then stop, leave looping disabled and decide how you want OBS to behave when the file ends. A broadcast that stops sending when the file ends is not the same as a continuous channel, so check this before using the setup for a long programme.

Watch the source in the OBS preview. Confirm that the picture fills the canvas as intended and that the audio meter moves when the file contains sound. A black preview, a cropped portrait video or a silent meter is easier to fix before you connect to YouTube than after the event is public.

For a single recorded programme, you may only need one scene. For a devotional channel or local news loop, you might add a second scene containing a holding card, an announcement or a transition between files. Keep the design practical. Every extra source is another thing to test, and an overlay that looks fine in a small OBS preview may obscure subtitles or the corner of a news frame.

The file’s local playback and the transmitted stream are separate checks. A video can play smoothly in a media player but still overload OBS when it is decoded, scaled and encoded at the same time. Use a resolution and frame rate your computer can sustain, and watch OBS’s status indicators during a test.

YouTube’s encoder guidance covers the formats and settings it accepts, including H.264, H.265/HEVC or AV1 video, AAC or MP3 audio, constant bitrate encoding and frame rates up to 60 frames per second. It recommends a two-second keyframe interval and says the interval should not exceed four seconds. Use the current YouTube encoder settings for your chosen resolution and frame rate rather than copying a setting from an unrelated tutorial.

Your upload connection also matters. The bitrate must be low enough for the connection to sustain continuously, with enough headroom for ordinary network variation. Run the bitrate check before going 24/7 using a representative part of the programme, including the loudest audio and the busiest picture.

A recorded file does not remove the need for monitoring. It only makes the content predictable. The computer still has to decode the file, render the scene, encode the output and upload it for as long as the broadcast runs.

Connect OBS to YouTube Live

In OBS, open Settings, then Stream. If YouTube is available in the service list, select it and sign in or choose the YouTube service preset according to the version of OBS you are using. If the preset is not available or you are following a manual setup, enter the YouTube stream URL in OBS’s server field and paste the stream key into the stream key field.

Check the selected account and event before starting. If OBS is using a remembered key from another channel or an earlier broadcast, it may send the feed to the wrong destination. A clean way to avoid this is to copy the URL and key directly from the Live Control Room event you have just created, then verify the title shown in YouTube when the preview arrives.

Save the settings and return to the main OBS window. Start the media source if it does not begin automatically, then click Start Streaming. Starting OBS sends the encoder feed. It is not, by itself, the same action as making a scheduled YouTube event public.

YouTube should begin receiving the feed and show a preview in Live Control Room. The arrival time can vary, so do not repeatedly restart OBS just because the preview does not appear immediately. Check the connection status in OBS and the messages in Live Control Room first.

If there is no preview, work through the simple causes in order. Confirm that the URL is from the intended event, that the stream key has not been reset, that the media source is visible, and that the computer has a working upload connection. If you changed the key, paste the new one into OBS rather than relying on a saved value.

For a scheduled event, wait until YouTube shows the incoming preview and the controls indicate that the stream is ready. Then click Go live in Live Control Room at the intended time. This is the point that publishes the encoder feed as the live event. OBS is sending the content, while YouTube controls whether the scheduled event is released to viewers.

When you finish, follow the current Live Control Room workflow to end the event, then stop streaming in OBS. Do not assume that closing a laptop lid or closing an OBS window is a complete end-of-broadcast procedure. YouTube says encoder streams under 12 hours are automatically archived, but an archive is not a reason to ignore the end controls or the event’s final state.

For a longer loop, consider what should happen when the programme ends. OBS can replay a media source if looping is enabled, but it cannot fix a computer that sleeps, loses its network connection or runs out of storage. If your goal is an always-on channel rather than a single event, compare the practical differences in streaming a playlist on YouTube Live before choosing a workflow.

Check preview and stream health before going live

YouTube recommends preparing the encoder in advance and starting it before the scheduled event. Its guidance suggests setting up at least two hours before a stream and starting the encoder at least 15 minutes before the scheduled time. These are preparation recommendations, not a promise that a connection will work or a technical minimum that every setup must meet.

Use the early period to watch the actual signal. The Live Control Room preview should show movement, framing and the correct programme. Listen for audio in the preview if available, and compare it with the OBS audio meters. A moving meter proves that OBS is receiving audio, not necessarily that the audience will hear it at a sensible level.

Test with representative material. If the broadcast is a bhajan loop, include a section with vocals and quieter passages. If it is a local news loop, check clips with speech, graphics and transitions. If it is a study or ambience stream, listen for low-volume audio that may disappear when the encoder or player changes levels.

Watch stream health while the preview is running. Look for warnings about bitrate, dropped frames, encoding or network stability. YouTube recommends testing both audio and video movement similar to the real stream, checking the Live Control Room preview and monitoring health during the broadcast.

Do not increase bitrate simply because the picture looks soft in a local OBS preview. First check the output resolution, scaling and encoder load. If the upload connection cannot sustain the chosen bitrate, a sharper theoretical setting can produce interruptions or dropped frames. The reliable setting is the one your connection and computer can maintain for the intended duration.

A short private or unlisted test can reveal problems without sending an unfinished setup to the public channel. Confirm the title, thumbnail, visibility, time and description separately from the technical signal. YouTube’s preview can be correct while the wrong event metadata is attached.

Also check the first and last minutes of the file. A recorded programme may begin with a silent lead-in, show a desktop notification or end without a clean loop point. These details are especially noticeable when viewers join a live page and expect the programme to have already started.

For a 24/7 plan, test the unattended period rather than only the first few minutes. Disable sleep settings as appropriate, prevent automatic updates from restarting the machine during the event and make sure the source file remains available at its original path. A spare-PC workflow is explained in how to keep a YouTube live stream running from a spare PC, but the same checks apply to a main computer.

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

Does connecting OBS automatically start a scheduled YouTube stream?

No. Starting OBS sends the encoder feed to YouTube, but a scheduled event normally still requires you to check the preview and select Go live in Live Control Room. Treat the encoder connection and the publication of the event as two separate steps.

Is a YouTube Premiere the same as streaming a file through OBS?

No. A Premiere begins with a video uploaded to YouTube and creates a shared watch page for viewers. An OBS prerecorded stream sends the file as an encoder feed to a YouTube Live event, so it uses the stream URL, stream key and Live Control Room preview.

Should I use RTMP or RTMPS in OBS?

Use RTMPS when your OBS version and connection details support it. YouTube describes RTMPS as RTMP over an encrypted TLS/SSL connection, so select the RTMPS server value shown in Live Control Room rather than guessing the URL.

What should I do if the YouTube preview is blank?

First check that OBS is sending the intended scene and that the media source is visible and playing. Then verify the event’s server URL and stream key, check for a reset key, and review the connection and stream-health messages in YouTube before restarting the encoder.

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 ↗