How-to

How to make ambient videos for YouTube

An ambient video is a scene people leave on for hours: rain on a window, a fireplace, a forest, a city at night. The hard part is not the footage. It is making a loop nobody notices, at a size YouTube accepts, from footage you are allowed to use and that YouTube will still count as your own work. This guide covers each step, with commands we tested and YouTube's own numbers.

Short answer

  • Hide the seam with a crossfade: fade the last few seconds of the clip into its first few seconds, so the end of the file leads straight back into its start. The ffmpeg command below does it in one step; we tested it.
  • Then repeat the clip without re-encoding to reach 8, 10 or 12 hours. YouTube uploads stop at "256 GB or 12 hours, whichever is less".
  • 4K or 1080p: YouTube recommends 35 to 45 Mbps for a 4K upload and 8 Mbps for 1080p, at 24 to 30 fps. Ten hours of 4K comes to 160 to 205 GB, ten hours of 1080p to about 38 GB.
  • Your own footage is the safe choice. Free stock footage is licensed for this, but YouTube's reused content rule "applies even if you have permission from the original creator", so add something of your own.

From YouTube Help, the ffmpeg documentation and the Pexels, Pixabay and Creative Commons licence pages, checked on October 27, 2026.

1. Footage you are allowed to use

There are two questions here, and they are separate. Copyright decides whether you may use the clip at all. YouTube's monetization policy decides whether a channel built on it can earn. A clip can pass the first and fail the second.

Where ambient footage comes fromLicence terms quoted from each source, checked on October 27, 2026.
SourceCan you use it?What to watch
Footage you filmedYesRecognisable people and private property in shot; a tripod and a long take save a lot of editing
PexelsYes: "All photos and videos on Pexels are free to use", attribution "is not required""Identifiable people may not appear in a bad light"; you may not "redistribute or sell the photos and videos on other stock photo or wallpaper platforms"
PixabayYes, without having to attribute the authorYou "cannot sell or distribute Content [...] on a Standalone basis", meaning "where no creative effort has been applied"; "It is your responsibility to check whether you require the consent of a third party"
CC0 (public domain) clipsYes: you can use the work "even for commercial purposes, all without asking permission"CC0 does not cover "the rights that other persons may have in the work", such as the people in it
Clips from other YouTube channels or filmsNo, without the owner's written permissionEven with permission, it can count as reused content (below)

Pixabay's standalone rule matters for ambient channels in particular. A stock clip looped unchanged for ten hours is close to "substantially the same form as it exists on our website". Grading the colour, combining clips, adding your own sound design or overlays is the creative effort both the licence and YouTube look for.

2. What YouTube counts as your own work

YouTube's monetization policies have two rules that apply to ambient channels. The reused content rule covers channels that "repurpose content that's already on YouTube or another online source without adding significant original commentary, substantive modifications, or educational or entertainment value". And it is not a copyright rule: "This policy applies even if you have permission from the original creator."

The inauthentic content rule covers channels where "content feels interchangeable from video to video", including "Similar or repetitive content with low educational value, commentary, narratives, or minimal variation across videos". YouTube also says the reused content rule "applies to your channel as a whole", so a few problem videos can remove monetization from all of them.

In practice that points to three habits. Film your own scenes where you can. When you use stock, change it: edit, grade, layer, and build the sound yourself. And make each video different from the last, not the same rain with a new title. Our guide to inauthentic content and 24/7 channels goes through the wording in detail. The same habits apply if the scene is a desk with a person working at it, as in a study with me channel.

3. Make a loop nobody notices

Most footage does not loop. The water, the smoke or the traffic at the last frame is in a different place than at the first, and the viewer sees a jump every time the clip restarts. The fix is a crossfade: take the last few seconds of the clip and fade them into its first few seconds, so the file ends on exactly the frame it starts with.

ffmpeg has a filter for each half. xfade is documented as "Apply cross fade from one input video stream to another input video stream", and acrossfade does the same for audio. This command takes a 12-second clip and a 2-second fade:

ffmpeg -ss 2 -i clip.mp4 -t 2 -i clip.mp4 -filter_complex \
  "[0:v][1:v]xfade=transition=fade:duration=2:offset=8,format=yuv420p[v];[0:a][1:a]acrossfade=d=2[a]" \
  -map "[v]" -map "[a]" -c:v libx264 -crf 18 -c:a aac -b:a 192k seamless.mp4

How it works: the first input is the clip from second 2 to the end, the second input is its first 2 seconds. offset ("Set cross fade start relative to first input stream in seconds") starts the fade 2 seconds before the first input ends, so its tail dissolves into the clip's opening. The result is 10 seconds long and its last frame leads into its first. For your own clip, set -ss, -t and duration to the fade length, and offset to the clip length minus twice the fade length.

We tested it on our server on October 27, 2026, with a clip that changes colour steadily from start to end. In the original, the colour jumped from one end of the scale to the other when the clip restarted. In the crossfaded file, the last and first frames were within 3 levels of each other. The clip has no audio? Drop the [0:a][1:a]acrossfade part and the second -map.

  • Pick a slow fade for slow scenes. 2 to 5 seconds suits rain, snow or clouds. Fast motion, such as traffic, can show the dissolve as ghosting; a cut on a moment of similar movement may look better there.
  • Keep the camera still. A handheld or panning shot will show the fade as a double image. Static shots loop best.
  • Watch out for things that pass through. A car or a person who appears only in the last seconds will fade out in the middle of the frame.

4. Turn the loop into a long video

Once the short loop is seamless, repeat it to the length you want. This does not re-encode anything, so it takes seconds even for ten hours:

ffmpeg -stream_loop -1 -i seamless.mp4 -t 36000 -c copy -movflags +faststart ten-hours.mp4

-stream_loop -1 repeats the input without end and -t 36000 stops at 10 hours (36,000 seconds). -movflags +faststart puts the index at the start of the file, which is YouTube's recommended "moov atom at the front of the file (Fast Start)". In our test the output was the length we asked for and decoded without errors.

A longer source loop hides repetition better than a short one. Viewers who stay for hours notice a 10-second cycle; a 5 or 10 minute loop built from several shots is much harder to spot. YouTube's verified-account limit is "256 GB or 12 hours, whichever is less", and our guide to sleep sounds channels compares long uploads with a 24/7 stream for this kind of content.

5. 4K or 1080p, and how big the file gets

YouTube's recommended upload settings are MP4, H.264, "Closed GOP. GOP of half the frame rate", AAC or Opus audio at 48 kHz, and a variable bitrate with "No bitrate limit". For the bitrate, it gives these figures for SDR video:

Upload bitrates and what 10 hours weighsBitrates from YouTube Help (recommended upload encoding settings), stereo audio at YouTube's recommended 384 kbps. File sizes are our arithmetic.
ResolutionVideo at 24, 25 or 30 fpsVideo at 48, 50 or 60 fps10 hours at 30 fps, about
2160p (4K)35 to 45 Mbps53 to 68 Mbps160 to 205 GB
1440p (2K)16 Mbps24 Mbps74 GB
1080p8 Mbps12 Mbps38 GB
720p5 Mbps7.5 Mbps24 GB

At those rates a 12-hour 4K upload at 45 Mbps comes to about 245 GB, just inside the 256 GB limit. A 12-hour upload at 60 fps in 4K would not fit; at that length, use 24 or 30 fps, which is what slow ambient scenes need anyway. YouTube's own advice is that "Content should be encoded and uploaded in the same frame rate it was recorded".

Is 4K worth it? Only if the footage was shot in 4K: scaling 1080p up adds size, not detail. If it was, a 4K upload lets viewers on large screens watch in 4K, though YouTube notes that to watch "new 4K uploads in 4K, use a browser or device that supports VP9". For a 24/7 live stream the trade-off is different: YouTube recommends 42 Mbps for a 4K stream at 30 fps with H.264, against 14 Mbps for 1080p, and a 4K stream runs at normal latency only. Most ambient streams run at 1080p.

6. Run it as a 24/7 stream instead

A long upload is one video. A live stream of the same loop sits in the Live tab around the clock and can be found while it is on. Many ambient channels do both. The stream needs a sender that never stops: a PC, a rented server, or a hosted service that plays your file on repeat. Our guide to making a 24/7 lofi stream compares the three, with YouTube's encoder settings.

Before you upload

  1. The footage is yours, or its licence allows video use without attribution or with the credit you give, and nobody recognisable is shown in a bad light.
  2. You changed stock footage: edited, graded, layered or combined, with your own sound.
  3. This video is clearly different from your last one.
  4. You watched the end of the file run into its start and could not see or hear the join.
  5. The source loop is minutes long, not seconds, if the video runs for hours.
  6. The file is under 12 hours and 256 GB, at the frame rate you filmed in, with the index at the start.

FAQ

How do I make a video loop seamlessly?

Crossfade the last few seconds of the clip into its first few seconds, so the file ends on the frame it starts with. The ffmpeg command in this guide does it with the xfade and acrossfade filters, and any video editor can do the same with a cross dissolve.

Can I use Pexels or Pixabay videos for an ambient channel?

The licences allow it without attribution. But looping a stock clip unchanged is risky twice over: Pixabay does not allow distribution "on a Standalone basis" with no creative effort, and YouTube's reused content rule "applies even if you have permission from the original creator". Edit and combine the footage and add your own sound.

Should I upload ambient videos in 4K?

If the footage was shot in 4K, yes for uploads: YouTube recommends 35 to 45 Mbps at 24 to 30 fps. A 12-hour 4K file at that rate is about 245 GB, close to the 256 GB limit, so keep the frame rate at 24 or 30. Upscaled 1080p gains nothing.

How long can an ambient video on YouTube be?

Verified accounts can upload "256 GB or 12 hours, whichever is less". For anything longer, use a 24/7 live stream of the same loop.

Do ambient channels get monetized?

They can be, but YouTube's inauthentic content rule names "Similar or repetitive content with low educational value, commentary, narratives, or minimal variation across videos". Channels with their own footage and clearly different videos are on firmer ground than channels that loop the same stock clip.

Sources

  1. YouTube Help: recommended upload encoding settings, uploading videos longer than 15 minutes, YouTube channel monetization policies and live encoder settings. Checked on October 27, 2026.
  2. ffmpeg filters documentation (xfade, acrossfade). Checked on October 27, 2026.
  3. Pexels License, Pixabay Content License summary and CC0 1.0 deed. Checked on October 27, 2026.
  4. Seamless loop and 10-hour repeat commands tested on our server with ffmpeg 7.0.2 on October 27, 2026.
  5. Loopcast: YouTube page and pricing. Checked on October 27, 2026.