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
  • The Rule of Thirds.
    Use the Rule of Thirds Effect to Create Camera Motion Data in MMD! ARIZONA
  • Weight Painting MMD models in Blender with MMD Tools Bandages
  • Blackout Effect offers Fade-to-Black and fade-to-white!
    MME Blackout Effect offers Fade-to-Black and Fade-to-White Blackout Effect
  • VDE-4 Champion: Reona Video Dojo Champions
  • Making MMD Models Complicated Task with much to know! Making Models
  • Beamman's WEater Effect can be very realistic.
    BeamMan’s Water Effects really look wet! Beamman's Water v5
  • Make your own stage for MikuMikuDance using SketchUp Models Google SketchUp and MMD
  • No Diamonds Appear in Frame Chart in MMD and How to Fix It Mae Blythe
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 15 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...

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

2023: Hatsune Miku is 16 Years Old by design and in reality!

Finally, in 2023, Hatsune Miku is 16 years old! When did Miku make her first ...read more

SEARCH LearnMMD.com... it's Easy!

Search LearnMMD.com to find your answers! With the posting of this article, LearnMMD.com has 758 tutorials ...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

  • Get the LearnMMDMmetronome. It is a real help!
    LearnMMD’s METRONOME is Ready to Download! Animation Lag
  • RAY-MMD: Creating your own custom sky box MMD Tutorials
  • MME FunyaFunya Effect adds wavy psychedelia to your MMD scene! FunyaFunya Effect
  • Make your own MMD Accessory Objects in Google Sketchup Google SketchUp and MMD
  • MMD ballet Poses Download on LearnMMD
    Download MMD Ballet Poses created by ctrlaltdelete999 "the making of" my video
  • MMD CameraSmoother Tool smooths camera motions! CameraSmoother Tool

More Related Articles

The Audacity Generate Menu lets you add silent breaks to you WAV file. WAV Files Make Your Music Play on MMD MikuMikuDance Music and WAV Files
Copy and Paste for Repetitive Motion in MikuMikuDance Functions-Copy-Paste-Expand
Download your free Metronome PMM dance file with accessories. Find MMD Tempo using Metronome with AVI Video Background Metronome
MMD Theater Seats Don’t Have to Sit on the Floor Animation Shortcuts
Dummy Bones allow you to customize your accessory manipulations! Using The Dummy Bone for MikuMikuDance Accessory Manipulation/Adjust
MMD Cell Phone Screen Video MMD Cell Phone Screen Video Creation… just for that vertical screen! Cell-Phone Video

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

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  • Posing MMD Models Using Reference Images Animation Shortcuts
  • MMD Outside Parent Setting Enables Bone Connecting Animation Shortcuts
  • MMD has an EXPAND function that lets you adjust a motion's speed.
    EXPAND function modifies MMD motion tempo EXPAND a motion
  • MMD Smooth Criminal video project download "the making of" my video
  • How To Recolor MikuMikuDance Models Without PMDE! Keep the Faith-MMD Credits/Sharing
  • An MMD town stage: Making Kerorin Town Great Again – Part1 MMD Stages
  • Using Beamman’s SoftSmoke Effect Beamman's Soft Smoke
  • Learnmmd.com hosts MMD Panel at San Japan 8 bit. ARIZONA

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

Powered by PressBook Premium theme

Go to mobile version