Skip to content
Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Download Free Animation Software – Let's Learn How to Do Everything!

  • Step-by-Step MMD instructions
  • DOWNLOADS
  • Troubleshoot, Fix MMD
  • Site Contents
  • Reggie Replies Q&A
  • Homework!
  • What IS MMD?
    • Download MikuMikuDance Newest Latest Version of MMD
  • “HOW TO”
    • Raycast RAY-MMD Effect Tutorials
  • BONUS PAGES
    • Why convert PMD models to PMX?
  • HALL of CHAMPIONS
  • Tutorial Categories
  • About
    • Privacy Policy
  • Toggle search form
  • PMDE Parts Links help you create your MMD Selfie NOKO2
  • See LearnMMD’s New Crop-Transition Panel Video Google SketchUp and MMD
  • You can download new rio carnival models by shiro nekovocaloid
    Download new Rio Carnival models by shiro-nekovocaloid, Miku, Haku and Luka! "the making of" my video
  • MMD Animation Project Resource Ushimitsu Toki Animation Resource
  • Easily Transfer an Accessory to a Dummy Bone from Model’s Hand in MMD Accessory Manipulation/Adjust
  • MMD Model Noodle smiles while carrying the weight of the modern world on her shoulders!
    Download MMD Model NOODLE by vasilnatalie Downloading New Models
  • Tesagure! Bukatsu-mono Animated
    Tesagure! Bukatsu-mono. An anime associated with MikuMikuDance. ARIZONA
  • Uploading MikuMikuDance YouTube Videos MMD Making Videos - Rendering to AVI
When you add background AVI files, you can motion trace!

Loading Background AVI Files into MMD (2021 Edition)

Posted on January 25, 2021July 8, 2024 By Kazumi 17 Comments on Loading Background AVI Files into MMD (2021 Edition)

An article by our Featuerd Author: Kazumi. Click to see her other tutorials.How do I load background AVI files into MMD?  What does it mean when MMD cannot open background AVI file?  How can I make my background AVI files work in MMD?  Is it easy to load background AVI files into MMD?

When it comes to loading background AVI files, MMD is very particular!

See an easy way to convert your video into one that MMD can use as background AVI video.

See how to create MMD Background AVI using Movie Maker and AviUtl.

FFMPEG is the most powerful video converter available... Check out NordGeit's tutorial on LearnMMD.com

–

After looking through different guides on loading background AVI files into MMD and constantly running into barriers of outdated or incomplete tutorials, or even tutorials that recommend software of questionable repute, I decided to see if I could find my answers on the Japanese side of the MMD community.  Lo and behold, I found exactly what I was looking for, finally solving my three(?) or so year struggle of figuring out how to load background AVI files into MMD!!  Before we get started, let me give credit where credit is due; this tutorial covers a method found in a blog post by Kourin over on NicoNico!  Kourin, thank you very much for this incredibly useful blog post!

Loading Background AVI Files into MMD…
… the 2021 Edition

Prerequisites

Before we begin, you’ll want to make sure you’ve done the following:

  • Set your locale to Japan
  • Install FFdshow, LAVFilters,
  • Download YouTube-dl (optional–this is only needed if the video you want needs to be downloaded from YouTube)(Also, remember to “Keep the Faith”; do not reupload or use footage from videos without the owner’s permission!)
  • Install Ut Video Codec Suite
  • Download and unzip Kourin’s MP4 (and such like) to AVI converter

Onto the tutorial!

First things first; now that you’ve got all your shiny new codecs and applications setup, it’s time to download the video you want to convert to a background AVI file for use in MMD!  (Or maybe you already have the video you want to convert to AVI and use, but for simplicity’s sake, this tutorial assumes you will need to download your video.)

Let’s say I want to motion trace the choreography from one of the PVs from Project Diva… to do that, I’ll need to run YouTube-dl.  But how do I run it?  When I click the EXE file, it doesn’t open!  Well, that’s because YouTube-dl is a command line application.  While there are GUI front-ends for it, I haven’t used any of them so I can’t verify how well they work.

What you’ll want to do is right-click the windows icon at the corner of the screen and select Windows Powershell, then you’ll want to change directory (cd) to the folder you want the file to save in; in my case I’ll be saving the video in the “videos” folder, but you can save it wherever you want.

So I would type the following:

cd videos

And then hit the “enter” key.

Now Windows Powershell has changed to the videos folder/directory.  Now that we’re in the right directory, we’ll want to drag YouTube-dl EXE into Windows Powershell so we can download that shiny new video we’ll convert to AVI later.

Your Powershell window should now look like this:

Windows PowerShell screen-shot...

Now that you’ve dragged in the YouTube-dl EXE, paste the video URL into Powershell and hit the “enter” key.  YouTube-DL will begin downloading your video. The format it downloads in shouldn’t matter, but if you run into issues later, you can try re-downloading it in a different format.  The YouTube-dl Github page gives a list of commands and, if I recall correctly, formats that a video can be downloaded in/converted to.

Converting the file

Alright.  Now that your video has finished downloading, make sure the file name only contains alphanumeric characters (e.g. a, b, c, d, e, f… 1, 2, 3, 4…); if it does: great!  If it doesn’t, rename it!

Once you’ve verified your video only contain alphanumeric characters, open up a new file explorer window (but make sure you leave open the folder you saved your video in) and navigate to where you unzipped Kourin’s movie to AVI folder.  Now drag your video onto the movie2avi.bat program.

It’ll pull up a terminal window with some Japanese asking if you want to resize the file.  I don’t know how to resize the file, so just type “n” and then press the “enter” key.  It will begin converting your file which may take a while (it only takes about a minute or two for me, but it may be dependent on your computer’s hardware).  Once it finishes converting, you’ll have two new files; (yourvideoname).avi and (yourvideoname).wav.

Moment of truth

Now it’s time to load up MMD and see if your new background AVI file works!  For simplicity’s sake, you can just drag the new AVI file and the wav into MMD as opposed to having to load them in through the menu.  If all goes well, your background AVI file will now be loaded into MMD!  Your background AVI file won’t play unless you playback your MMD, but that’s not really a problem at all.  You can scroll through the frames on MMD and click one to view that frame of your background AVI file–useful for if you want to motion trace!

If it doesn’t load, then it’s possible you may need to download and install the AVC(h264)/x264vfw codec.  You can do so here: https://sourceforge.net/projects/x264vfw/

Hopefully it will work for you then.  If not, try going through the whole tutorial again, step-by-step, or attempt to follow the guide in Kourin’s blog (in Japanese).

Other useful guides!

Now that you can load background AVI files, you probably want to start motion tracing, right?  Arizona and Zazi have both written some guides on this subject–I highly recommend you give them a look.

Animation Inspiration: Motion Trace but Do your own thing!

Use The Background AVI to Make Realistic Animations in MMD

Well, that’s all from me.  This is Kazumi, signing off.  Until next time~!

Credits

LAT Sukone Tei by Makoto Ohba

Poses by me, juurenka, and Snorlaxin (respectively)


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


Visit the LearnMMD.com Homepage! Plenty of Mikumikudance instruction and info!

More MMD Tutorials...

Enjoy the "camera Angles WEIRD in Anime" meme...

Enjoy the "camera Angles WEIRD in Anime" meme... This image is from The Slayers - NEXT, ...read more

Reader asks how to create MMD artwork... stuff like posing, camerawork?

A reader asks... Is there a tutorial on how to create MMD artwork, like those you ...read more

Learn MikuMikuDance in Small Steps! New LearnMMD Video Series

Learn MikuMikuDance in Small Steps. Where can I find easy-to-follow MMD instructions on YouTube? How ...read more

Apply Multiple Effects on an Entire MMD Model Using M4Layer Effect

How can I apply multiple effects to an MMD model? Can I use more than ...read more

MMD Plugin Manager... I Found a Treasure!

What sorts of MMD Plugins are there? MMD Plugin Manager? MMD Plugins. Plugin MMD. More ...read more

2025: Hatsune Miku is 18... but she is designed to be always 16 Years. Old by design and in reality!

Finally, in 2023, Hatsune Miku is 16 years old! but in August of 2025, she ...read more

Add Background Pictures and AVI, Kazumi, MMD Tutorials, Nuts & Bolts

Post navigation

Previous Post: Running MikuMikuDance in Linux using Wine and DXVK
Next Post: MME FireintheSkiesEffect gives floating flame and embers!

Related Posts

  • Select the Center Bone if your MMD Model Doesn’t Feel the Floor Bones
  • Older MME Shaders rival Ray-MMD Raycast results and are easy to use! Material Shader
  • Raycast Ray-MMD Toon Shader
    Ray-MMD Toon Shading Basics MMD Tutorials
  • Good MMD videos require Inspiration, Vision, Planning: The Lament of Okada’s Ghost MMD Basics
  • Easily Make Realistic Hair Texture for MMD Models Mae Blythe
  • An MMD town stage: Making Kerorin Town Great Again – Part1 MMD Stages

More Related Articles

Optimise computer assets by culling unseen MMD model parts Chestnutscoop
Close Up of Sph File with Text Create Sph Files in Blender Without Drawing Anything! Blender
MMD Animation Project Where My Demons Hide "the making of" my video
Free Download MikuMikuDance MMD Download MikuMikuDance Easily make YouTube MMD Music Videos MMD Basics
Try Reggie’s Evil Eye Effect for an Anime-style effect MMD Tutorials
Make Smooth Animation Using Interpolation Curves Making Smooth Motions

Comments (17) on “Loading Background AVI Files into MMD (2021 Edition)”

  1. yang says:
    October 24, 2025 at 6:04 am

    my mmd download came with an avi file already, but its 1gb and causing errors when i try to put it into mmd. how do i compress it?

    Reply
    1. Reggie_Dentmore says:
      October 24, 2025 at 9:51 am

      Where did you get your MMD download? No file like that is included in the file we offer for download.

      Reply
  2. Cifria says:
    April 18, 2022 at 5:05 am

    Is there anyway to compress the AVI file converted by movie2avi? My video files’ sizes usually ended up becoming very large and causes errors when used as background.

    Reply
  3. MadyCase says:
    February 17, 2022 at 9:19 pm

    Hi I have the avi files and the required codec. Every time i try to open a file it says “cannot open avi file” how do i fix this?

    Reply
    1. Reggie_Dentmore says:
      February 18, 2022 at 7:46 am

      Yes… I know that MMD needs the most basic of AVI files. … I recently wrote a new article about using an online service to create that basic AVI file. I hope that helps.

      Reply
  4. NanisWolfgamer says:
    December 22, 2021 at 12:34 pm

    Um…is there a video on how to do all this -w- I just understand stuff by seeing what other people do step by step sorry if what I’m saying is rude.

    Reply
    1. Reggie_Dentmore says:
      December 22, 2021 at 4:01 pm

      I don’t know of a video for this. … Most of MMD is learn by doing… leasrn by experimenting… hang in there… keep reading, keep trying.

      Reply
  5. fur says:
    September 27, 2021 at 1:11 am

    is it so important to change the location to Japan? or is it possible not to do this?

    Reply
    1. KillerBeer says:
      September 27, 2021 at 9:46 am

      Well, practically all MMD related programs were written by Japanese programmers for using at home, and not all of them cared whether and how their stuff will work on gaijins’ rigs. It *is* usually possible to make it work, but it requires you to know your way around computer stuff. One general hint is always use Bandizip for unpacking archives with Japanese named files and folders inside. If that’s not enough… well, you’ll have to analyze each detail of the problem individually.

      Reply
  6. yes says:
    July 16, 2021 at 5:29 pm

    So what if I already have an AVI file but it just wont load what do I do?

    Reply
    1. Reggie_Dentmore says:
      July 16, 2021 at 6:55 pm

      There are different flavors of AVI… and MMD needs the most primitive kind. “Prism Video File Converter” outputs an AVI in what it terms H264 (native)… and my MMD can read that AVI for a background video. I really don’t know… but I just successfully used Prism 5.28 (an older Free version) to convert an Mp4 video into an AVI and then I opened that AVI as a background video in MMD. It worked. … The newest version of the NCH Software “Prism” is 7.something… and it has a price. My older 5.28 was a free version that gave you basic features and then asked you to buy it if you wanted “more”. 5.28 may still be available to download… you will have to search for it.
      — Reggie

      Reply
  7. evan says:
    February 18, 2021 at 6:36 am

    i converted the video, but the only output file was a .wav file. how do i fix this?

    Reply
    1. Reggie_Dentmore says:
      February 18, 2021 at 7:12 pm

      I see that the tutorial says you will get TWO files…

      “Once it finishes converting, you’ll have two new files; (yourvideoname).avi and (yourvideoname).wav.”

      … did that not happen? .. only the one?

      Reply
      1. Jagi says:
        May 22, 2021 at 12:28 pm

        Same happened to me TVT

        Reply
        1. Reggie_Dentmore says:
          May 23, 2021 at 8:15 am

          Since you have the UTvideo codec available… you might want to try THIS METHOD of creating a background video.
          — Reggie

          Reply
    2. starry says:
      April 2, 2025 at 10:02 pm

      same problem :( ever find a solution?

      Reply
      1. Reggie_Dentmore says:
        April 4, 2025 at 12:15 am

        Hello! “same Problem”… please describe it. Unable to create a file that will play as a background video?

        — Reggie

        Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Download the latest version of MikuMikuDance!
See the MMD Step-by-Step instructions page!
Learn how to make your own MMD motions!
LearnMMD.com
  • Delete Miku and Learn About the Sample Dance Stage Lights Dummy Bones
  • Animate MMD ballet pirouette motion Creating Motions
  • Audacity® 2.0 Audio Editor easily converts mp3 to WAV files for MMD Music and WAV Files
  • UV Unwrapping MMD Models in Blender with MMD Tools Bandages
  • Making Smooth Motions with MMD Making Smooth Motions
  • Learn How to Navigate Japanese MikuMikuDance Pages Downloading New Models
  • Creating Spooky Scenes with MMD Animation Shortcuts
  • How to Add Multiple Effects on a Model. Adult Shader effect

Copyright © 2022 Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software and Instructions..

Powered by PressBook Premium theme

Go to mobile version