OBS Studio Guides

Playing video and audio files with the OBS media source

The OBS media source plays a video or audio file in a scene. What Loop, Restart playback and Close file when inactive do, network input, silent or blank clips.

Published November 5, 2026Updated November 18, 20267 minute readBy WaveSync Staff
Illustration of a row of scene thumbnails with colored tabs on a dark control deck, beside a portrait preview screen, a large dial and a stylus pad
In this guide

By default, an OBS media source plays its file once, from the start, each time the source appears; looping takes one tick. The media source, listed in OBS as Media, plays a video or audio file inside a scene: an intro clip, a looping background, a sound. Choose the file under Local File. Then decide whether it loops, whether it starts again each time it becomes active, and whether it shows nothing when it ends. It can also play a network input instead of a file.

Defaults and descriptions are from the OBS Knowledge Base media sources page, dated January 2022. They were checked against OBS Studio 33.0.1's media source code and locale file on GitHub, read on 15 November 2026. More sources are covered in the OBS Studio guides.

Add a file

  1. In the Sources dock, choose + and then Media.
  2. Under Local File, browse to the video or audio file.
  3. Set the playback options below, then choose OK.
  4. Size and place it in the preview like any source.

The file browser filters by All Media Files, Video Files or Audio Files. In OBS 33.0.1 the video filter lists .mp4, .m4v, .ts, .mov, .mxf, .flv, .mkv, .avi, .gif and .webm, and the audio filter .mp3, .aac, .ogg and .wav. All Files lets you pick something else; whether it plays depends on the codec inside. For still images, see the image slideshow guide.

Media source playback options

OptionDefaultWhat it does
LoopOffPlays the file again when it ends
Restart playback when source becomes activeOnStarts from the beginning when the source is in the current scene and visible
Show nothing when playback endsOnHides the source when the file finishes
Close file when inactiveOffOBS's tooltip: closes the file when the source is not being displayed on the stream or recording, so the file can be changed. Expect a possible delay when it reactivates
Use hardware decoding when availableOffHas the GPU decode certain file types, if it has the hardware decoder for them
Speed100%Playback speed, from 1% to 200%
YUV Color RangeAuto in 33.0.1Auto, Limited or Full
Apply alpha in linear spaceOffNot described by OBS

OBS's guide gives Partial as the color range default. In 33.0.1's code there's no default set, which leaves it on Auto, so OBS reads the range from the file. Change it only if a clip's blacks look grey or crushed next to your other sources.

Common setups

  • An intro clip or a sound effect you trigger by showing the source: the defaults already do this. Restart playback when source becomes active and Show nothing when playback ends are on, and Loop is off.
  • A looping background: tick Loop. Restart playback when source becomes active is still on, so the loop starts over each time you return to its scene.
  • A clip that should carry on where it left off across scene changes: untick Restart playback when source becomes active.
  • A file you want to swap mid-stream: tick Close file when inactive, at the cost of a possible delay when the source comes back.

The audio from a media source appears in the Audio Mixer like any other; the Audio Mixer explainer covers setting its level. An intro or countdown video can live on a holding screen; starting soon and BRB scenes covers building one. OBS has no presets for these setups, so each combines the options above. Most of them hinge on Restart playback when source becomes active. It decides whether a clip starts fresh each time it appears.

Controlling playback while live

Select the media source and the source toolbar under the preview shows Play Media, Pause Media, Stop Media and Restart Media buttons, with a seek bar.

For keys instead of clicks, OBS 33.0.1 registers Play, Pause, Restart and Stop hotkeys for every media source, listed under the source's name in Settings, Hotkeys. A Restart key is the cleanest way to fire a sound effect on demand. Leave the source visible with Show nothing when playback ends on, and press the key each time.

When the clip is silent

A media source's audio goes to your stream and recording, not to your headphones. If viewers hear it but you don't, that's the default. Turn on audio monitoring for that source in Advanced Audio Properties to hear it yourself.

  • No meter moves in the Audio Mixer: the file may have no audio track, or one in a codec FFmpeg can't decode. Play it in another app to check.
  • The meter moves but the stream is silent: the source may be muted, its fader at zero, or assigned to no track. Advanced Audio Properties shows all three.
  • Audio plays once and never again: Loop is off and Restart playback when source becomes active is on, so it only replays when you show the source again.

When the clip is black or missing

  • It shows briefly, then disappears: that's Show nothing when playback ends. Untick it to leave the last frame on screen.
  • It's blank after a scene change with Close file when inactive on: OBS reopens the file when the source comes back. The tooltip warns of a startup delay.
  • Black with sound: if Use hardware decoding when available is ticked, untick it to rule out the GPU's decoder, then try the file again.
  • Nothing at all after you moved the file: the source still points at the old path. File, Check for Missing Files can reconnect it.

Network input

To play a network feed instead of a file, untick Local File. The file path then gives way to Input and Input Format, and Speed disappears. A network feed is one of the ways OBS can receive SRT; see the SRT guide.

Network settingDefault in 33.0.1Range or note
Network Buffering2 MB0 to 16 MB; more smooths a shaky feed but adds delay
Reconnect Delay10 seconds1 to 60 seconds before OBS tries the feed again
SeekableOffLets you scrub through a network file that supports it
FFmpeg OptionsEmptyShown for files too; option=value pairs separated by spaces, such as OBS's example rtsp_transport=tcp rtsp_flags=prefer_tcp

Our view: leave Network Buffering at 2 MB unless the feed stutters. Every extra megabyte is more video held back before it plays, which is the opposite of what you want for a live camera.

Media source questions

How do I make a video play from the start every time in OBS?

Make sure Restart playback when source becomes active is ticked; OBS's guide lists it as on by default. The video then starts from the beginning whenever its source becomes active, meaning it's in the current scene and visible on the stream or recording.

How do I loop a video in OBS?

Tick Loop in the media source's properties, and the file plays again each time it ends. Restart playback when source becomes active stays on by default, so the loop also starts over whenever you return to its scene. Untick that as well if the loop should carry on from where it was.

Why can't I hear my OBS media source?

Media source audio goes to the stream and recording, not your headphones, unless you turn on audio monitoring for it in Advanced Audio Properties. If the Audio Mixer meter doesn't move at all, the file may have no audio or an unsupported audio codec. If it moves but viewers hear nothing, check the source's mute, fader and track boxes.

What does Network Buffering do in an OBS media source?

It sets how much of a network feed OBS holds before playing it, from 0 to 16 MB, with 2 MB as the default in OBS 33.0.1. More buffering rides out a shaky connection but adds delay. The setting only appears when Local File is unticked, alongside Input, Input Format and Reconnect Delay.

What file types can an OBS media source play?

Video such as .mp4, .mov, .mkv, .webm and .gif, and audio such as .mp3, .aac, .ogg and .wav. Other files depend on their codec.

How do I play a sound effect on demand in OBS?

Leave the media source visible with Show nothing when playback ends on, and press a Restart hotkey for it each time.

Why does my OBS video disappear when it ends?

Show nothing when playback ends is on by default. Turn it off and the final frame stays up.

Can I change OBS media playback speed?

Yes, from 1% to 200% with the Speed setting, for local files.

How do I swap a video file mid-stream in OBS?

Tick Close file when inactive so OBS releases the file while it's off screen, at the cost of a short delay when it returns.

Why is my OBS video black with sound?

Untick Use hardware decoding when available to rule out the GPU's decoder, then try the file again.

Sources and checks

6 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

WaveSync app and source checks cited on this page:

  • OBS Studio 32.2.2 media source labels and tooltip (Media, Local File, Loop, Restart playback when source becomes active, Show nothing when playback ends, Close file when inactive, Use hardware decoding when available, YUV Color Range, Apply alpha in linear space, Speed, Input, Input Format, Network Buffering, Reconnect Delay, file filters), read from the installed app on the WaveSync test Mac on 5 November 2026.
  • OBS Studio 33.0.1 source read on 15 November 2026: ffmpeg_source_defaults (local file on, loop off, clear on media end on, restart on activate on, reconnect delay 10 s, buffering 2 MB, speed 100%); no color_range default, so Auto; buffering 0 to 16 MB and reconnect 1 to 60 s; Speed hidden and Seekable, buffering and reconnect shown for network input; file filters; Restart, Play, Pause and Stop source hotkeys; FFmpeg Options tooltip; context bar media control labels from the frontend locale.
If you also stream on TikTok LIVE

WaveSync makes the interactive side easy

WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.

See how WaveSync works →