Skip to content
streamneo.
Setup Guides12 min read

How to Stream a Pre-Recorded Video from a Synology NAS to YouTube Live

Use a separate encoder to play a video stored on your Synology NAS and send it to YouTube Live, with setup and testing steps.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

A Synology NAS can store the video, but a separate encoder must play it and send a live feed to YouTube. The practical route is to make the file available to an encoder, enter YouTube’s stream URL and key there, then check the preview before starting the broadcast.

Surveillance Station’s documented YouTube broadcast feature is for camera streams, not prerecorded files. The distinction matters: the NAS is the media store in this workflow, not a video player that turns a file into a live broadcast by itself.

How the NAS-to-YouTube workflow works

Think of the setup as three jobs. The NAS holds the source video; an encoder reads and plays that video while producing a live audio-and-video feed; YouTube Live receives that feed over a supported streaming protocol. The encoder may run on a computer on the same network, or the file may be moved to a cloud service that performs playback and streaming. In either case, some component other than the NAS file share has to generate the live output.

For a local workflow, the encoder needs access to the file. It might open a mounted network folder or a copy stored on the computer. It then sends its output to YouTube using the stream URL and key from YouTube Studio. The computer performing playback and encoding must remain on and connected for the duration of the broadcast. A NAS being available on the network does not keep that separate encoder running if the computer sleeps, reboots, or loses its connection.

The file can be a single programme or a longer compilation, but do not assume that a particular player will repeat it automatically. Looping, scheduled start and restart behaviour depend on the chosen encoder or service. Decide whether you need one broadcast of a fixed duration, a repeated file, or a continuously managed channel before selecting the playback method.

This architecture is different from streaming a camera feed. A camera workflow provides live images at its source; a prerecorded workflow has to open a media file and play it in real time while encoding. For more context on planning a continuous channel, see how an always-on Indian music channel is set up for Smart TVs.

What Surveillance Station’s broadcast feature does

Synology’s Surveillance Station help describes a camera-to-YouTube process: enable the application, provide the YouTube RTMP path and stream key, then choose a camera and stream profile. Its documentation says that YouTube Live supports H.264 video for this feature. Synology’s DSM 7.4 specifications also describe Live Broadcast in terms of live camera streams.

That documented process does not establish that Surveillance Station can select a prerecorded video from a NAS folder and play it to YouTube. Do not choose the camera broadcast feature expecting it to behave like a file player. If you already use Surveillance Station, its camera stream may be useful for a different broadcast, but it is not the described route for a stored video.

You can check the Synology Surveillance Station Live Broadcast documentation for its current steps and scope. Product documentation can change between software versions, so check the help for your installed version rather than relying on a menu name or procedure from another release. The relevant question is whether the interface offers the source you need: a camera selection is not a prerecorded-file selection.

Choose an encoder that can play the NAS file

Select the playback and encoding method before you configure YouTube. For a locally managed setup, use an encoder that can open the file format and audio track you have, produce settings YouTube accepts, and send an RTMPS or RTMP feed to the destination. The encoder may be a desktop application or another suitable device; this article does not verify compatibility for a particular Synology model, container, command, or hardware-acceleration feature.

There are two common ways to give a local encoder access to the source. You can mount a NAS shared folder on the computer and open the file over the local network, or copy the file to the computer first. A mounted share avoids keeping a second media copy, but playback depends on the NAS, network and share remaining available. A local copy reduces dependence on network reads during playback, but takes storage space and needs to be kept in step with the NAS version.

Before settling on a tool, confirm that it can do the whole job rather than only send a stream. A capture encoder that expects a camera or screen as input may not be able to play a file directly. Check that the software can play the intended video and audio, loop it if required, and reconnect or restart in the way your schedule requires. If it cannot manage unattended operation, you will need to supervise it or choose another arrangement.

For a one-off broadcast, a computer you can watch may be enough. For an overnight or continuous channel, account for sleep settings, operating-system updates, application prompts, power interruptions and the person who will notice a failure. A useful comparison is the options for keeping a 24/7 stream running when SSH disconnects: the underlying lesson is to decide who or what is responsible for recovery, not to assume that a connection stays alive on its own.

Prepare the video and network share

Start with a known-good source file. Play it from beginning to end, or at least inspect the sections that matter, and confirm that the picture, sound, aspect ratio and duration are what you intend to broadcast. If the file is meant to repeat, test the end-to-start transition. A black gap, abrupt audio change or unintended credits sequence can be more noticeable when the same programme loops for hours.

Place the file in a NAS shared folder with permissions that allow the encoder’s account to read it. If you mount the share on a computer, use the NAS name or network path consistently and verify that the mount survives a sign-out or restart if the broadcast depends on it. Avoid storing the stream key alongside a shared media file or in a public folder. The key is a credential for the YouTube destination, not part of the video asset.

Test playback over the same route you intend to use during the broadcast. Scrub forward and play for a while; a folder listing proves that the file exists, not that the encoder can read it steadily. If playback stutters, try a local copy or investigate the network path before taking the feed live. Do not mistake a buffering playback window for a stable live output.

The NAS and encoder also depend on the home or business network and its internet connection. For a local encoder, the relevant upload is from the site to YouTube, not merely the speed at which a device can download a file. YouTube’s encoder settings and bitrate guidance gives recommended settings by codec, resolution and frame rate. For example, the current table lists H.264 720p at 30 frames per second with a recommended bitrate range of 3–8 Mbps, and H.264 1080p at 30 frames per second with a range of 5–14 Mbps. These are YouTube’s recommendations, not a promise that every connection can sustain them; choose a profile the encoder supports and your upload can carry reliably.

YouTube recommends RTMPS, an encrypted extension to RTMP. The same settings page lists supported codecs for applicable RTMP/RTMPS streams, and guidance such as constant bitrate and a two-second keyframe interval. Treat those as configuration guidance to check against the current page and your encoder’s capabilities, rather than copying settings blindly. A higher resolution or bitrate is not useful if the connection drops frames or the encoder cannot produce it consistently.

Get the YouTube Live URL and key

In YouTube Studio, open Live Control Room and create a stream or schedule one. YouTube’s guide to creating a live stream with an encoder explains how to set up the stream and find the connection details. Copy the stream URL and stream key into the encoder’s streaming destination fields. The URL identifies where the feed goes; the key lets YouTube accept it for the selected stream.

Treat the key like a password. Do not include it in a screenshot, a public support post, a sample command, or a shared configuration file. If you have exposed it, replace or reset it in YouTube Studio and update the encoder. Be especially careful if more than one person administers the channel: give access to the people who need it without circulating the key more widely than necessary.

A scheduled broadcast gives you a control-room preview and a public event page that can be shared ahead of time. YouTube notes that viewers can set reminders for scheduled streams. If you are using a scheduled stream, check that you have selected the intended event before sending the encoder output; a valid key for the wrong event will not put your programme in the place you expect.

Send the encoder output and check the preview

Configure the encoder to play the prepared file, select a profile it supports, and enter the stream URL and key from the correct YouTube event. Start the encoder before the planned start time so YouTube has a chance to receive the feed. Open Live Control Room and wait for the preview and stream health information. Do not treat the encoder’s “streaming” indicator as proof that the audience can see and hear a usable broadcast.

Check the actual picture and sound in the preview. Look for black frames, wrong orientation, unexpected borders, audio that is too quiet or distorted, and any delay or stuttering. If the programme includes speech, listen to a representative section; if it is music, check for silence at both the beginning and any loop point. A file can play correctly on the NAS but still be cropped, muted or converted differently by the encoder.

For a scheduled stream, click Go live in the control room when the preview is ready and you intend to begin. YouTube’s encoder workflow distinguishes sending the feed from starting the public broadcast. Follow the status in Live Control Room after launch and keep an eye on the encoder and its source file. YouTube recommends testing the setup in advance and monitoring audio and video quality; its streaming tips are a useful checklist for the test and the live session.

Do a rehearsal with the same file, network route and output profile you plan to use. Confirm that the start procedure is clear, that the selected audio track is right, and that the computer will not sleep halfway through. If you plan a long broadcast, consider what happens when the encoder stops at the end of the file, when the NAS share disconnects, or when the computer restarts for an update. YouTube says streams under 12 hours are automatically archived; do not infer from that that an arbitrarily long stream will be archived in full. Check current YouTube guidance if archive retention matters to you.

When a cloud service may be a better fit

A local encoder keeps playback and encoding under your control, but the machine running it must stay available and the site’s upload connection carries the feed continuously. That can suit a short programme, a test, or a channel where someone is present to monitor the computer. It is a less convenient fit if your aim is an unattended loop while the NAS and local computer are not being actively watched.

A cloud streaming service is a separate category: the file is provided to that service, and its service handles playback and delivery to YouTube. Gyre describes a cloud service for looping prerecorded videos and sending a standard RTMP stream. That is a vendor’s description of its own product, not a Synology feature and not an independently verified guarantee. Check the vendor’s current capabilities, supported formats, terms and price before choosing it.

Consideration Local encoder reading from the NAS Cloud streaming service
Where playback and encoding happen On your computer or another local encoder With the service, according to its current product description
What must stay available Encoder machine, network path to the file, and site upload connection Account and service access, plus the file and a working YouTube connection through the service
Hands-on control Direct control of local playback and encoder settings Depends on the service’s tools for scheduling, looping and recovery
Main checks File access, computer sleep and updates, upload capacity, encoder settings Current plan terms, file limits, supported output and what happens if a stream stops
Best question to ask Can this machine play and encode this file for the full intended session? Does this service currently support the exact loop and YouTube workflow I need?

The cloud route moves some work away from your premises; it does not remove the need to check the stream, permissions, YouTube settings or content rights. For a broader view of recorded-video workflows, compare services for streaming recorded videos from the cloud to YouTube Live in India. If you specifically want one uploaded file to become a continuously managed broadcast without leaving a local computer running, StreamNeo can remove the need to keep that computer on; it is YouTube-only, so check that its workflow fits your file and channel before relying on it.

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 Surveillance Station stream a video file from my NAS to YouTube?

Synology’s documented Live Broadcast steps use a selected camera and a stream profile. They do not document Surveillance Station as a prerecorded-file player, so use a separate encoder or a suitable cloud workflow for a stored video.

Does the NAS itself send the live stream?

In the workflow described here, the NAS stores and serves the media file. An encoder must read and play it, encode the feed, and send it to YouTube using the stream URL and key.

Should I stream from a mounted folder or copy the file first?

A mounted folder avoids maintaining another full copy, but playback depends on the NAS and network share staying available. A local copy uses computer storage and can avoid network reads during the broadcast; test whichever route you plan to use.

What should I check before the broadcast starts?

Confirm that the encoder can play the intended file with sound, that the stream URL and key match the right YouTube event, and that the preview looks and sounds right. Test in advance and plan for the computer, NAS share and internet connection to remain available for the intended duration.

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 ↗