What this guide sets up
MPEG-DASH (Dynamic Adaptive Streaming over HTTP) splits a video into short segments at several quality levels and lists them in a manifest file (.mpd). The player picks the quality that fits the viewer’s connection and switches as it changes. Because everything is plain HTTP, any web server can host it.
This guide sets up a DASH server on Windows 10/11 using IIS (the web server built into Windows) and FFmpeg. At the end you’ll stream a test video to VLC. If you need HLS instead, see my HLS server guide; the IIS steps are almost the same.
Step 1: Turn on IIS
- Press Windows Key + S and search for Turn Windows features on or off.
- Tick Internet Information Services and wait for it to install, then close the window.
- Open a browser and go to 127.0.0.1.
- You should see the IIS welcome page. If not, restart your computer.

Step 2: Change the web root (optional)
By default IIS serves files from C:\inetpub\wwwroot\. Skip this step if that’s fine.
- Open IIS Manager (Windows Key + S, type IIS).
- Right-click Default Web Site, then choose Manage Website > Advanced Settings.
- Click Physical Path and pick a different folder.
- Make sure IIS has permission to read that folder.

Step 3: Enable CORS
Browser-based players load the stream from another origin, so the server must allow cross-origin requests (CORS).
- Open IIS Manager.
- Select Default Web Site and double-click HTTP Response Headers.
- Click Add. Enter Access-Control-Allow-Origin as the name and * as the value.
- Click Add again. Enter Access-Control-Allow-Headers as the name and Range as the value.

Step 4: Add the DASH MIME types
IIS won’t serve file types it doesn’t recognize, and it doesn’t know the DASH extensions by default.
- In IIS Manager, click your server and double-click MIME Types.
- Add .mpd with MIME type application/dash+xml.
- Add .m4s with MIME type video/mp4.

Step 5: Install FFmpeg
- Download a Windows build of FFmpeg from ffmpeg.org.
- Extract it to C:\ffmpeg.
- Copy the path of the bin folder (C:\ffmpeg\bin).
- Open System Properties > Advanced System Settings > Environment Variables.
- Under System variables, select Path and click Edit.
- Click New, paste the path, and click OK.
To check, open a new Command Prompt and type ffmpeg. If it prints version information, it’s installed.
Step 6: Create the DASH segments
- Download the Big Buck Bunny sample video.
- Rename it to input.mp4.
- In that folder, run:
ffmpeg -re -i input.mp4 -map 0 -map 0 -c:a copy -c:v libx264 -b:v:0 800k -b:v:1 300k -s:v:1 320x170 -profile:v:1 baseline -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -ar:a:1 22050 -use_timeline 1 -use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash out.mpd
This creates two video qualities (800 kbps and 300 kbps), the audio, and the out.mpd manifest.
- Create a folder named bbb_dash in your web root (for example C:\inetpub\wwwroot\bbb_dash). Copy every generated file into it, but not input.mp4.
To convert several videos at once, use my script:
git clone https://github.com/iamgmujtaba/dash-server.git
Then run:
python .\main.py -i .\input\ -o .\output\
Step 7: Test playback
Find your IP address
Open Command Prompt and run ipconfig. Note the IPv4 Address (something like 192.168.x.x).
Play in VLC
- Install VLC.
- Press Ctrl+N to open a network stream.
- Enter http://192.XXX.XXX.XXX/bbb_dash/out.mpd, using your own IP address.
- Press Play.
If the video plays, your DASH server works.
Play in a browser (Ubuntu, Jetson, or any device)
For a web player, use dash.js and follow its getting started instructions.
The code is on GitHub. Open an issue there if you run into problems.