Pin It

Q: Every time I try to Render it says - An error occurred while creating the media file - the reason could not be determined

Answer: When Movie Studio or Vegas Pro stops processing in the middle of rendering a new video, and gives you an error message like this: "An error occurred while creating the media file - the reason could not be determined", there are a couple of reasons why this has happened.

Here is my check list

1. Re-boot your Computer !

If you have been doing a lot of editing over many hours, then it is often a good idea to SAVE As and then do a RE-BOOT of your computer before you attempt to Render a Video. This will clean out your memory and give you a clean slate.

2. Try a Clean Re-Boot of your Computer

Try a clean boot to start Windows with a minimal set of startup programs. Here is a Windows article on how to perform a clean boot:

3. Reset the software back to default values

Sometimes mysterious alien artefacts and corrupt files can build up inside the temporary files cache and cause bizarre behaviour. Resetting the program and deleting the temporary files cache, can often fix weird behaviour and will make your program look like it was just freshly installed. It is safe to do and will not delete any of your saved projects, if you have been remembering to always do regular saves while working on a project.

IMPORTANT - Please read this before attempting a program reset!

If the program crashed while editing your project and you have not been doing regular saves, you can end up losing all your work! However Movie Studio and Vegas Pro may have done an auto-save of your project file, which can be recovered and re-saved if you're lucky. Auto-saved project files are saved to the Temporary Files Cache, so it is important to first inspect this folder before your do a full program reset and delete of the cache.

The folder address will be different for everyone, but normally looks something like either one of these:
C:\Users\UserName\AppData\Local\VEGAS Pro\14.0\
C:\Users\UserName\AppData\Local\Movie Studio Platinum\13.0\

To find out where the temporary files cache is located on your computer, open Movie Studio or Vegas Pro and go to Options/Preferences/General. Highlight and copy the Temporary Files Folder location using CTRL + C and then open up a Windows Explorer window in Documents. In the address bar located at top of window, press CTRL + V to paste the address.

You are now in the temporary files folder/cache. If any projects were auto-saved, they will normally look something like 00000000.restored.veg. Copy every single .veg or .vf file you can find and then paste them back into a safe folder location on your computer, like Documents/Vegas Projects. Now open each one up in Movie Studio or Vegas Pro and see if you have been lucky enough to find a crashed or missing project. If you want to keep it, make sure to re-save immediately with a new project file name that makes sense to you.

Once you have retrieved anything important from the temporary files cache, you can now perform a full program reset by doing this following:

Hold down the CTRL and SHIFT keys on your keyboard, and at the same time double click the program icon on your desktop to boot the program.

Select Delete Cache and Yes 

The cache is now cleaned. After a reset, you will have to reconfigure your favourite settings in Options/Preferences and the Project Properties window!

If you can't get the reset function to work correctly, please read this FAQ here:

4. Remove unused Media

Remove unused media to help free up resources. You can purge unused media from your Project Media Window in Vegas and Movie Studio. To do this, go to the Project Media tab and you will see a button that looks like a lightning bolt. Clicking on that will remove any unused media from your project and help to free up system resources. Movie Studio 13 Platinum has this feature in Tools -> Clean Project Media.

5. Try working on your project in pieces

Try working on your project in pieces. For example if your timeline is 30 minutes long, save three ten minute sections into three project files using File -> Save As. Edit each section separately, render, and re-import into a new master project to stitch them together into a final audio and video stream.

6. Try replacing the media in your project

If it always hangs at the same frame or place, try deleting the files at that point in your timeline and then replace those with newly transcoded or recaptured clips.

7. Try to avoid any customisation with your rendering templates

If you are using custom settings for rendering, try rendering without any customization applied. If that works, then you can guess that your custom settings are not compatible with your rendering format.

8. File locations

If you're working in an environment where files are scattered across multiple drives, try placing your media on your local disk drive.

9. Virus Protection program is too aggressive

Try adding the .exe file for the program to the exception list for any anti-virus software you are running on the system.

10. Do you have Apple Quicktime installed ?

You must have the latest version of Apple Quicktime installed if working with .mp4 style formats. There really is no choice with this, please have Quicktime installed at all times for Vegas to work correctly.

11. OLDER VERSIONS OF MOVIE STUDIO HAD PROBLEMS - Which version of Vegas Pro or Movie Studio are you using ?

Older versions of Vegas Movie Studio were susceptible to a Low Memory Error in particular situations. Specifically, Vegas can have a problem accessing enough RAM (memory) for users who had Movie Studio HD Platinum 32bit version installed on Windows 64bit Operating System.

Vegas Movie Studio HD Platinum 11 and all older versions of Movie Studio are only 32bit programs, which means they can only use a Maximum of 4GBs of RAM, even on a 64bit Computer that may a much higher amount of RAM installed. Not only is there a 4GB limit, 64bit users could also experience a glitch which limited there available access to RAM, to just a mere 2GBs. Movie Studio Platinum 12 and 13 now come with a 64bit and 32bit version of the program.

In a project with 720p or 1080p HD Video, this results in Vegas just freezing up. Fortunately this problem for 64bit users was fixed during one of the free Build Updates for Vegas Movie Studio HD Platinum 11 - Build 283.

12. Check for Free Updates and New Build Versions of your Program

Always make sure you are using the latest Build Version of the program you are using. Bugs and updates are continually been fixed and added to the programs. Many times a simple program update may fix your problem.

Please note that in 2016 Sony has sold all their Vegas software to Magix software. If you try an use the function search for updates in any Sony programs now, it will no longer work.

To download old "Sony" versions of Vegas Movie Studio, Vegas Pro and DVD Architect, go to this special download link on the Magix website and enter your Serial Number. If it is a valid number, you will be able to download a fresh copy of your old programs.

Any Vegas programs released during or after 2016, will now be Magix versions and can be re-downloaded directly from your Magix Account or from the Update Links here at Movie Studio Zen.

13. Did you add a Large Number of Video Fx ?

Sometimes if you add too many Video FX into a chain, it can cause an immediate crash.

First step to diagnose this problem is to temporarily TURN OFF all the Video Fx and then try to render again. If it works, then you know one of the Video Fx is causing the problem. Try next to turn ON one Video Fx at a time and do more test renders until you can narrow down the problem child.

14. Are you using the New Blue Fx Titler Pro ?

Older versions of the Titler Pro were very buggy in Vegas Pro and could cause Vegas Pro to freeze or crash. Check updates for the Titler Pro and then do another render.

15. Are you using GPU Acceleration ?

Try turning OFF GPU Acceleartion in the Vegas Pro or Movie Studio Platinum Preferences, which are found in the Video tab.
Go to Options - Preferences - Video

16. How much RAM do you have installed ?

Version 11 and older versions of Vegas Movie Studio can only access a maximum of 4GBs of Memory (RAM). Even though this is the case, please make sure that you DO actually have 4GBs of RAM installed. I have seen time and time again some people on Laptops only having 2GBs of RAM installed. This is just way too low for any Video Editing program to work with properly. Once you throw a couple of HD Video files into Vegas, it's going to completely freak out.

RAM is cheap, so make sure you have the full 4GBs installled.

17. What type of Video are you trying to Render/Create ?

If you are attempting to Render a 1080p Video from your project with too HIGH a bit rate (on 32bit versions of Vegas Movie Studio) it will crash older and slower computers with low RAM capacity and/or low powered CPUs.

A solution to get around this problem is obviously to lower the Bit Rate you are Rendering to. Anything under 10MBps should be more than enough to create a nice looking video. Trying to render to 20, 30, 40MBps is just silly.

Another solution for people on low powered machines is to switch to 720p settings instead.

18. What type of CPU do you have ?

To have a great experience with Vegas Movie Studio when editing and creating full 1080p HD Video projects, you must have a modern 4x Core CPU (Central Processing Unit) as the "Brain" of your computer. Older Duo Core CPUs just can't handle processing HD Video files, and can be a reason for Rendering to crash and produce errors.

19. Which format are you rendering to ?

Avoid Windows Media Video .wmv if you don't have much RAM and very low CPU power, when working with 1080p Video. Windows Media Media will suck up ALL your CPU resources while rendering - it's just how the codec behaves.

Sony AVC .mp4 or Mainconcept AVC .mp4 are the best formats to render to, on older/slower computers.

If rendering any AVC templates, make sure to use CPU only encoding.

20. What is the condition of your Hard Drive ?

HD Video files are very large, so you need plenty of Hard Disc space for them to be written to. If your Hard Drive is almost full and never been de-fragmented, it can slow up rendering times and in worse case scenarios create a crash.

21. Dynamic RAM Preview amount in the Vegas Preference Settings

Open Vegas and go to Options/Preferences/Video

The first setting says: Dynamic RAM Preview max (MB):
The default value is 200 MB and for most people it is best to leave this at the default 200 MB value.
If you set this too high and don't have enough RAM (memory) installed, there won't be enough RAM left to process your videos when you are rendering your final video and this may cause a render freeze or crash.

Sometimes another weird problem may occur, which I call a Vegas X-file. If Vegas crashes and reports an exception error, sometimes setting the Dynamic RAM Preview value to 0 MB (that is zero megabytes) will fix the render crash. However, as I have previously said, 200 MB is normally the safest setting.

22. If none of the above solutions work, you need to pull out the big guns and perform a clean uninstall and reinstall of all your sony programs

Please read one of the following articles for in-depth instructions on what to do:

How to Clean Uninstall and Reinstall Vegas Pro/Movie Studio for Windows 7

How to Clean Uninstall and Reinstall Vegas Pro/Movie Studio for Windows 8/8.1

How to Clean Uninstall and Reinstall Vegas Pro/Movie Studio for Windows 10


Pin It
Say something here...
symbols left.
You are a guest ( Sign Up ? )
or post as a guest
Loading comment... The comment will be refreshed after 00:00.
  • Your comment will be reviewed by a moderator before it is published on the site.
    Joseph · 17:36 14/03/2020
    So, I use Sony Vegas 12. Up until now, for certain projects not recorded with Fraps and/or emulators, I rendered my main projects as an m2t file. No problem. Tried to render something like that today, told me an error occurred and I couldn't create the file. Not sure what that is about.
  • Your comment will be reviewed by a moderator before it is published on the site.
    Dan · 03:25 11/09/2019
    Hi I am trying to render a 28 minute video, three things have happened... it gets to 30% and is stuck yet the timer still keeps going. When its gone to zero it should have been rendered but its still at 30%. Its within the last few weeks suddenly started doing this. I have deleted the cache and done other things but still nothing works. I am using Vegas Pro 13, on Windows 7 and my computer is speedy.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 21:42 11/09/2019
      It will probably take a few steps to trouble shoot this problem. Because of that, can you please copy and paste your question into the MSZ Forum instead. It's free to join and easy to use. You will also have access to the "brains trust" as well on the forum, instead of only myself, which often helps speed up the process.
  • Your comment will be reviewed by a moderator before it is published on the site.
    Dewando · 20:56 10/10/2018
    It Fixed To Me.... Just Install Apple Quick Time.... And It Can Render Normally....
  • Your comment will be reviewed by a moderator before it is published on the site.
    Alex Vine · 19:08 07/07/2018
    I record game footage from OBS and edit it in Vegas Movie Studio HD plat 10.0, i can edit normal videos and render them fine but if i put two videos i have edited onto one board it fails to render at the end of the rendering, which is becoming very annoying, is there a reason for this? i have to send the files onto my friends computer so they can render it, i can render both separate videos easily but together it fails every time.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 10:42 08/07/2018
      What do you mean by "one board" ?
      Version 10 was not a very good version of Movie Studio. It never received any build updates during it's lifetime, to fix some of the bugs.
      Which output format have you been rendering to ?
      Sony AVC, Mainconcept AVC or Windows Media Video .wmv ?
      There is one thing I recommend you try.
      Do a full program reset, which will clean the Temporary Files Cache.
      This can sometimes fix weird errors.
      Instructions here:
  • Your comment will be reviewed by a moderator before it is published on the site.
    apples · 15:56 03/10/2017
    Hi, I'm currently using Vegas Pro 15 on Parallels Desktop for my Mac, and I'm having the same problem with the render. I click files, then render as, and then the same pop-up always appears. There isn't more detail I can provide you with because there isn't much that happens other than that. Is there anything you can help me on? Oh, by the way, I render files on Vegas Pro 13 (which is also on Parallels) but it renders just fine.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 22:48 03/10/2017
      I have no experience working on a Mac.
      Make sure you are not running out of Hard Drive space inside of the Windows partition. Over time a large amount of temporary files will build up inside of Windows. If you have never done a clean up of temp files, I recommend you install CCleaner which is free to use. Go to the Cleaner/Windows tab you can select what you want to clean. I recommend cleaning ALL of the [b]System[/b] items. The only item you should [b]NOT[/b] touch, is [b]Wipe Free Space[/b] in [b]Advanced[/b].

      I also recommend you check the Temp Files Caches for each install of Vegas you have on your computer.
      Open each version of Vegas and go to Options/Preferences/General.
      Copy [b]Temp Files Folder[/b] location at bottom of screen.
      Open a regular Windows Explorer tab (like in Documents) and paste folder location.
      Select all files inside of here and Delete everything.
      Then re-boot Vegas.

      Which [b]Render As[/b] profile/template have you been trying to render to ?
      Vegas Pro 15 uses a new encoder called [b]Magix AVC[/b]
      Depending on what type of files you are working with, this can cause problems for some users.
      Read this on the official Vegas Forums:
  • Your comment will be reviewed by a moderator before it is published on the site.
    Jesse · 00:38 27/09/2017
    Hi, i have a error that says (An error occured while creatig the media file ***.wmv. The template is invalid.)
    What should i do?
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 11:02 27/09/2017
      The first thing I recommend you do is STOP rendering to Windows Media Video .wmv
      This is an old format and extremely CPU intensive.
      Use Mainconcept AVC/AAC and select on of the Internet templates like Internet 1080p.
      If that does not fix your problem, let me know which exact program and version you are using.
  • Your comment will be reviewed by a moderator before it is published on the site.
    Lilian · 03:21 06/06/2017
    Hi! One of my friends have a problem with sony vegas (and with every version of sony vegas) now, when he try to register his project to a .veg project, sony vegas says that he can't create a file, sometimes it works but it's really really rare. He can render the video but he can't save it as a .veg file, please help he has got a 28.000 subs channel to feed :/
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 17:08 06/06/2017
      Hello Lilian
      Tell your friend to post a message on the MSZ Forum. Make sure to let us know which program and exact version they are using.
      It sounds like there is a Windows permissions problem going on.
      I would recommend they reset the program which is at #3.
      They could also try running the program [b]As the Administrator[/b].
      Right-click program shortcut for Vegas on the Windows desktop and select [b]Run As Administrator[/b].
  • Your comment will be reviewed by a moderator before it is published on the site.
    Dan · 18:37 13/05/2017
    I found out my problem rather easily by using one of the built in rendering templates, which didn't show an error. My custom template was completely blank after updating from vegas 12, seems like the vegas 12 custom templates are not cross compatible. I set up my new template and now it's rendering just fine.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 22:21 13/05/2017
      Which exact program version did you update to, because there was a bug in Vegas that affected custom templates, that has just been fixed?
  • Your comment will be reviewed by a moderator before it is published on the site.
    JB · 20:40 31/01/2017
    my problem with vegas 14 is that whenever i save a captured video, a box appears saying that there is an unknown error, then the program hangs, then closes. how can i save a video from my laptop camera straight to vegas pro? thank you.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 00:42 01/02/2017
      You cannot record from a laptop camera directly into Vegas Pro, if that's what you mean?
      If you have been trying to record from a webcam, using the software that came with webcam, many webcams record to non-standard video codecs which don't work in Vegas.
      I recommend you use a free program called Open Broadcaster Software (OBS). You can set that up to record directly from a webcam and save to .mp4, and then import into Vegas.
  • Your comment will be reviewed by a moderator before it is published on the site.
    angry · 13:54 09/01/2017
    Please be careful and do not follow the idiotic advice in this stupid article it cost me my entire project. I saved my project as two different file names tried to render and vegas kept crashing saying not enough memory. So I found this article rebooted my pc cleared the project files and the vegas cache now my entire project is gone except the first 5 seconds. I am soo angry I could cry I have my original footage but I lost soo much time and effort and It will never be the same.
    • Your comment will be reviewed by a moderator before it is published on the site.
      • Member
      • Moderator
      · 15:50 09/01/2017
      Hello angry
      I am the person who wrote this FAQ which contains 21 different things to try, none of which are stupid or idiotic. I could have easily deleted your comment, but instead have chosen to publish it and see if I can actually help you. All you have to do is ask if you need help.
      [b]You said:[/b] "I [i]saved my project as two different file names..."[/i]
      Resetting the program and cleaning the temporary files cache, [b]cannot delete[/b] any of your saved projects. I would never tell anyone to do something as stupid as that.
      After you do a reset, quick access to saved projects under the Project or File Menu, will not be there be because the temp files cache has been cleared. This did not however delete any of your .vf or .veg project files.
      Simply go to Project/Open or File/Open to find the project file that [b]you said[/b] you had saved.
      If you never did regular Save As's while working on your project, that would explain why the project is gone.
      Quite often I see people do actually do regular saves, but they forget to first set the Output Folder Location correctly, so the project actually ends up being saved in a totally different folder to what you expected. If this is what happened to you, you may think the project is gone, but it is actually sitting inside a different folder to what you thought.
      The easiest way to find missing .vf (Movie Studi or .veg (Vegas Pr files, is to use your Windows Search function. Open Windows search above or next to Windows Start Button and search for just .vf or .veg - now you will be shown every single project on your computer and will be able to find it.
      Derek (Owner of Movie Studio Zen)

Make a Donation

Movie Studio Zen is a fully independent site and all our content is free. You can help support this site by making a PayPal donation.

MSZ Social Media

youtube  facebook  twitter

Copyright © 2021
All rights reserved.

Back to top