Docs Show & output

MediaPlayer

A media player for a folder of images and movies: timed or stepped with next and previous, in order or random, moving on when a movie ends, with a crossfade between items and a fitted output resolution.

▶ Show & output ◆ Patreon · Base

Why use it

A folder of images on a loop sounds like the simplest job in TouchDesigner until you build it: a Folder DAT to list the files, a Movie File In TOP to load them, a timer to step through, a second Movie File In and a Cross TOP for the fade, and a Fit TOP so every picture lands at the same size. Movies bring their own rules on top: start from the beginning, move on when they end.

MediaPlayer is all of that in one node. Point it at a folder of images and movies and it plays them, timed or stepped, in order or shuffled, with a crossfade between slides. It is a quick way to fill a lobby screen, a backdrop between sets, or the second output while you work on the first.

Features

How to use it

  1. Create it from the FNS tab of the OP Create dialog, as Media Player. It starts on TouchDesigner's own sample movies, so it shows something the moment it is placed.
  2. Set Folder to your own folder. Every slide is fitted to Res, 1920 by 1080 unless you set it.
  3. Choose how it moves on:
    • Timed: Period is the number of seconds per slide.
    • Stepped: set Period to 0 and step with Next and Prev, from a button, a key or a MIDI note. Next and Prev also work while a Period runs; they restart the count, so the slide you step to gets its full time.
    • Straight to a slide: set Select.
  4. Switch on Random for a shuffled order. A new shuffle is drawn each time the folder has played through, and it never starts on the slide just shown. Switching Random off carries on in order from the slide on screen.
  5. Set the fade with Crossfade Opacity: the higher it is, the longer the previous slide lingers.

Movies

A movie plays from its start each time it comes up, and only the slide on screen plays. With Auto-Skip on Done on, the show moves to the next slide as soon as the movie reaches its end, so a folder of clips plays through at their own lengths. Period still applies to stills and to movies longer than it.

Output

  • out1 (TOP): the current slide, crossfading into the next.

Reading what it plays

Another component can ask a Media Player what it plays without reaching inside it:

  • Number of Files (Numfiles): how many images and movies Folder holds. It follows the folder, so an expression or a Parameter Execute DAT that reads it hears every change.
  • Files(): the full paths of those files, in the order Select counts them, so Files()[n] is what shows when Select is n.
player = op('mediaPlayer1')
print(player.par.Numfiles.eval(), player.Files())
player.par.Select = 2      # show the third file

Formerly SlideShow

Until November 2026 this tool was called SlideShow. Its parameters kept their names, so a project that drives a SlideShow by parameter drives a Media Player the same way. A SlideShow already placed in a saved project keeps working as it is.

Get it

This tool unlocks with Patreon. It installs through the same picker as everything else and unlocks with the Patreon Base tier or higher, connected from inside TouchDesigner. Everything else in the toolkit stays free and MIT, and the membership is what keeps that work moving.

Join on Patreon → How unlocking works →

Parameters

Custom

ControlType / defaultWhat it does
ResRes xyzw0 The output resolution. 1920 by 1080 unless you set it.
FolderFolder folder pathempty The folder of images to play.
SelectSelect number0 The slide shown now. Next, Prev and the timer set it; set it yourself to jump to a slide.
PeriodPeriod number10 Seconds per slide. 0 stops the timer, so slides change only on Next and Prev.
Auto-Skip on DoneAutoskipondone on / offoff For movies: go to the next slide when the current movie reaches its end, without waiting for Period. Stills are unaffected.
Crossfade OpacityOpacity number0.9 How strongly the previous slide lingers through the crossfade: higher is a longer fade.
RandomRandom on / offoff Shuffle the order, with a new shuffle each time the folder has played through.
NextNext button Step to the next slide.
PrevPrev button Step back to the previous slide.
Number of FilesNumfiles number0 How many images and movies Folder holds, the count Files() lists and Select steps through. Derived from the folder listing; typing a number here breaks the link.