• Immediate error when trying to render in Sony Vegas 12 - An error occurred while creating the media
    1 replies, posted
Today something weird started happening with Vegas 12. I was mucking about in my recent project and when I finished I pressed "Render As" and then this error came up: [B]An error occurred while creating the media file . Exception thrown by method called[/B] [img]http://i.imgur.com/HaCj3.jpg[/img] It's been around 2 months since I installed Windows 8. Vegas has been working flawlessly until now. I tried rendering different projects (both empty and with media files), restarting and reinstalling Vegas but the error still came up. Then I tried Ctrl + M (which means Render To New Track) and then this error came up: [B]An error occurred during the current operation. An exception was thrown by a type's initializer (.cctor). [/B] [img]http://i.imgur.com/qfAU4.jpg[/img] I also Googled on the first error (the second one didn't give any good results) and came to the conclusion that it might be the K-Lite Codec pack I had installed MONTHS ago. I tried uninstalling the pack and removing it from the registry as well but no dice. Some users had said that only reinstalling Windows helped. So I tried Windows 8's Refresh; and it worked! I carefully selected programs I wanted to install using ninite.com - and I accidentally selected MPC with decoders (included were MPC). After installing everything Vegas no longer worked, same error. So I did a second reformat, went to MPC's website and installed it without K-Lite (I presume the installer doesn't install codecs, since it didn't give any information on it or anything). Vegas 12 still worked. I preceded to install various Adobe software (Photoshop, Audition, Premiere, After Effects, Media Encoder, Illustrator, Lightroom), DayZ Commander, Mumble (1.2.4 beta), Fraps and other software I'm not completely sure of. I rendered my project again. I opened the file and then I noticed there were some black frames in the clip. I re-rendered everything but it got worse. Blacks frames to and fro, glitching and other shit. Then I tried a third time. The error came back. Now, to recap, [B]I have not installed any codecs[/B]; only drivers and various software (there's a full list below). What the HELL is going on? I'm beginning to speculate it's Windows Update doing some hidden updates, but I doubt that's even possible. List of installed programs as of 2013-01-11 (in the time span of 6 hours or so) [code]Start Menu\Programs\Adobe Master Collection CS6 Public:Start Menu\Programs\Adobe Master Collection CS6 Public Start Menu\Programs\ASUS Xonar D1 Audio Public:Start Menu\Programs\ASUS Xonar D1 Audio Public Start Menu\Programs\Dropbox David\David:Start Menu\Programs\Dropbox David\David Start Menu\Programs\Foxit Reader Public:Start Menu\Programs\Foxit Reader Public Start Menu\Programs\Fraps Public:Start Menu\Programs\Fraps Public Start Menu\Programs\Maintenance Default:Start Menu\Programs\Maintenance Default Start Menu\Programs\Maintenance Public:Start Menu\Programs\Maintenance Public Start Menu\Programs\Maintenance David\David:Start Menu\Programs\Maintenance David\David Start Menu\Programs\MPC-HC x64 Public:Start Menu\Programs\MPC-HC x64 Public Start Menu\Programs\Mumble Public:Start Menu\Programs\Mumble Public Start Menu\Programs\Notepad++ Public:Start Menu\Programs\Notepad++ Public Start Menu\Programs\Notepad++ David\David:Start Menu\Programs\Notepad++ David\David Start Menu\Programs\NVIDIA Corporation Public:Start Menu\Programs\NVIDIA Corporation Public Start Menu\Programs\NVIDIA Corporation\3D Vision Public:Start Menu\Programs\NVIDIA Corporation\3D Vision Public Start Menu\Programs\Sony Public:Start Menu\Programs\Sony Public Start Menu\Programs\Sony\Vegas Pro 12.0 Public:Start Menu\Programs\Sony\Vegas Pro 12.0 Public Start Menu\Programs\Stardock Public:Start Menu\Programs\Stardock Public Start Menu\Programs\Stardock\Fences Public:Start Menu\Programs\Stardock\Fences Public Start Menu\Programs\StartUp Public:Start Menu\Programs\StartUp Public Start Menu\Programs\Startup David\David:Start Menu\Programs\Startup David\David Start Menu\Programs\Steam Public:Start Menu\Programs\Steam Public Start Menu\Programs\System Tools Default:Start Menu\Programs\System Tools Default Start Menu\Programs\System Tools Public:Start Menu\Programs\System Tools Public Start Menu\Programs\System Tools David\David:Start Menu\Programs\System Tools David\David Start Menu\Programs\Tablet PC Public:Start Menu\Programs\Tablet PC Public Start Menu\Programs\WinRAR Public:Start Menu\Programs\WinRAR Public Start Menu\Programs\WinRAR David\David:Start Menu\Programs\WinRAR David\David[/code] [img_thumb]http://i.imgur.com/coekm.jpg[/img_thumb] (List is in no particular order I presume since Windows only dates programs by Year/Month/Day and not hours/minutes) And inside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32 I presume this is were codecs which are installed are located. Addiotional information: [quote] ##### System Information ##### OS: Windows 8 Pro (6.02.9200) DirectX: 9.0c + 10 + 10.1 + 11 CPU name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz CPU speed: 3293MHz Memory: 4096MB Screen size: 1920x1200 (32bits) Video card: NVIDIA GeForce GTX 460 VendorID: 10de, DeviceID: 0e22 Video mem: 768MB Video driver: nvd3dumx,nvwgf2umx,nvwgf2umx (Version 9.18.13.697) (10-2-2012) Audio device: High Definition Audio Device Audio driver: HdAudio.sys (Version 6.2.9200.16384) (7-25-2012)[/quote] [url]http://pastebin.com/6NF46VBp[/url] (Codec tweak tool) [img_thumb]http://i.imgur.com/MhxfD.jpg[/img_thumb] Threads and other stuff for more reference: [url]http://forums.creativecow.net/thread/24/935487[/url] [url]http://www.designstudioschool.com/render-exception-thrown-method-called-t208526.html[/url] [url]http://www.sonycreativesoftware.com/Forums/ShowMessage.asp?Forum=12&MessageID=797693[/url] [url]http://madison.thewikies.com/messages.html?message=804801[/url] [media]http://www.youtube.com/watch?v=YO8MlCfMysk[/media]
I found a temporary workaround for this issue. Options>Customize Keyboard >> Find the key which is called 'Batch Render', and bind it to a key. Use that key combo and you'll be able to render video, this worked for me.
Sorry, you need to Log In to post a reply to this thread.