Question / Help Can't Import OBS local .mp4s into Vegas Pro 12

Blupenguin71

New Member
I want to use OBS for recording local files alongside streaming. I followed this tutorial for doing so, but afterwards I try importing the mp4s into Sony Vegas Pro 12 and it crashes immediately. I check the "show problem details" box and it says this:

Problem Description
Application Name: Vegas Pro
Application Version: Version 12.0 (Build 726) 64-bit
Problem: Unmanaged Exception (0xc0000005)
Fault Module: C:\Program Files\Sony\Vegas Pro 12.0\FileIO Plug-Ins\compoundplug\mc_dec_avc.dll
Fault Address: 0x00007FFFEFF8160F
Fault Offset: 0x000000000009160F

Fault Process Details
Process Path: C:\Program Files\Sony\Vegas Pro 12.0\vegas120.exe
Process Version: Version 12.0 (Build 726) 64-bit
Process Description: Vegas Pro
Process Image Date: 2013-10-01 (Tue Oct 01) 17:54:02

===
Can anyone help me figure out what's causing the crash?
 

Jack0r

The Helping Squad
You might want to check if you used mp3 or aac format for your audio in OBS. I know of problems with both in some cases. So I would recommend to try recording with the other format and then loading it into vegas again.
Oh, and in OBS, CFR should be activated in the advanced settings as most video editors dont like variable framerates.
 

Blupenguin71

New Member
You might want to check if you used mp3 or aac format for your audio in OBS. I know of problems with both in some cases. So I would recommend to try recording with the other format and then loading it into vegas again.
Oh, and in OBS, CFR should be activated in the advanced settings as most video editors dont like variable framerates.

CFR is enabled and was for my current recordings. I tried changing the audio to mp3 under encoding, and after a test video I got a different message: "None of the files dropped on Vegas Pro could be opened". So hooray for not crashing! But I still can't import anything from OBS :/
 

Boildown

Active Member
I'd definitely stick to AAC audio.

Its gotta be something else if you have CFR enabled. What bitrate or quality setting are you using? I've seen things like this happen when people attempt a constant rate factor that's too low, like CRF=0 or CRF=1.

Post a log file and make a small sample .mp4 (maybe one minute long) that you verify crashes Vegas and upload it to a file sharing site so we can download it and see for ourselves.
 

Blupenguin71

New Member
I'd definitely stick to AAC audio.

Its gotta be something else if you have CFR enabled. What bitrate or quality setting are you using? I've seen things like this happen when people attempt a constant rate factor that's too low, like CRF=0 or CRF=1.

Post a log file and make a small sample .mp4 (maybe one minute long) that you verify crashes Vegas and upload it to a file sharing site so we can download it and see for ourselves.

Okay, I changed it back to AAC. I have "Custom x264 Encoder Settings" checked and (without quotes) "crf=15" in the box. Here's the sample clip, I figured Mediafire will do the job: https://www.mediafire.com/?0u2uw4hbic2g6nx

Below is the log:


00:01:59: =====Stream Start: 2015-01-13, 00:01:59===============================================
00:01:59: Multithreaded optimizations: On
00:01:59: Base resolution: 1366x768
00:01:59: Output resolution: 1364x768
00:01:59: ------------------------------------------
00:01:59: Loading up D3D10 on NVIDIA GeForce GT 635M (Adapter 1)...
00:01:59: ------------------------------------------
00:01:59: Audio Format: 48000 Hz
00:01:59: ------------------------------------------
00:01:59: Audio Channels: 2 Ch
00:01:59: Playback device {0.0.0.00000000}.{753b5d74-3450-498b-ab63-2cc82e319ecd}
00:01:59: ------------------------------------------
00:01:59: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:01:59: Global Audio time adjust: 0
00:01:59: ------------------------------------------
00:01:59: Using auxilary audio input: Microphone (4- AT2020 USB )
00:01:59: Mic time offset: 0
00:01:59: ------------------------------------------
00:01:59: Audio Encoding: AAC
00:01:59: bitrate: 192
00:01:59: Using graphics capture
00:01:59: Trying to hook process: javaw.exe
00:01:59: Scene buffering time set to 700
00:01:59: Using custom x264 settings: "crf=15"
00:01:59: x264: VBV maxrate specified, but no bufsize, ignored
00:01:59: ------------------------------------------
00:01:59: Video Encoding: x264
00:01:59: fps: 60
00:01:59: width: 1364, height: 768
00:01:59: preset: ultrafast
00:01:59: profile: high
00:01:59: keyint: 250
00:01:59: CBR: no
00:01:59: CFR: yes
00:01:59: max bitrate: 1000
00:01:59: buffer size: 0
00:01:59: quality: 17
00:01:59: ------------------------------------------
00:01:59: using memory capture
00:03:42: FlushBufferedVideo: Flushing 34 packets over 550 ms
00:03:43: Total frames encoded: 6175, total frames duplicated: 16 (0.26%)
00:03:43: Total frames rendered: 6190, number of late frames: 2 (0.03%) (it's okay for some frames to be late)
00:03:43:
00:03:43: Profiler time results:
00:03:43:
00:03:43: ==============================================================
00:03:43: video thread frame - [100%] [avg time: 1.036 ms] [children: 13.9%] [unaccounted: 86.1%]
00:03:43: | scene->Preprocess - [0.0965%] [avg time: 0.001 ms]
00:03:43: | GPU download and conversion - [13.8%] [avg time: 0.143 ms] [children: 10%] [unaccounted: 3.76%]
00:03:43: | | flush - [7.63%] [avg time: 0.079 ms]
00:03:43: | | CopyResource - [2.22%] [avg time: 0.023 ms]
00:03:43: | | conversion to 4:2:0 - [0.193%] [avg time: 0.002 ms]
00:03:43: Convert444Threads - [100%] [avg time: 0.504 ms] [children: 99.2%] [unaccounted: 0.794%]
00:03:43: | Convert444toNV12 - [99.2%] [avg time: 0.5 ms]
00:03:43: encoder thread frame - [100%] [avg time: 0.845 ms] [children: 13%] [unaccounted: 87%]
00:03:43: | sending stuff out - [13%] [avg time: 0.11 ms]
00:03:43: ==============================================================
00:03:43:
00:03:43:
00:03:43: Profiler CPU results:
00:03:43:
00:03:43: ==============================================================
00:03:43: video thread frame - [cpu time: avg 0.451 ms, total 2796.88 ms] [avg calls per frame: 1]
00:03:43: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:03:43: | GPU download and conversion - [cpu time: avg 0.131 ms, total 812.5 ms] [avg calls per frame: 1]
00:03:43: | | flush - [cpu time: avg 0.093 ms, total 578.125 ms] [avg calls per frame: 1]
00:03:43: | | CopyResource - [cpu time: avg 0.015 ms, total 93.75 ms] [avg calls per frame: 1]
00:03:43: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 46.875 ms] [avg calls per frame: 1]
00:03:43: Convert444Threads - [cpu time: avg 0.651 ms, total 8000 ms] [avg calls per frame: 2]
00:03:43: | Convert444toNV12 - [cpu time: avg 0.651 ms, total 8000 ms] [avg calls per frame: 2]
00:03:43: encoder thread frame - [cpu time: avg 0.211 ms, total 1296.88 ms] [avg calls per frame: 1]
00:03:43: | sending stuff out - [cpu time: avg 0.078 ms, total 484.375 ms] [avg calls per frame: 1]
00:03:43: ==============================================================
00:03:43:
00:03:43: =====Stream End: 2015-01-13, 00:03:43=================================================
00:03:51: Terminating 0x8160
00:03:51: Terminating 0x8ae4
00:03:51: Terminating 0x7f28


Last game capture log:
2015-01-13, 00:01:12: we're booting up:
00:01:12: CaptureThread: attached to process javaw.exe
00:01:12: GL Present
00:01:12: DirectDraw capture: Windows 8 not supported yet
00:01:12: (half life scientist) everything.. seems to be in order
00:01:19: SwapBuffers(3405846223) Called
00:01:19: NV Capture available
00:01:19: FBO available
00:01:19: setting up gl data
00:01:19: DoGLGPUHook: wglDXOpenDeviceNV failed
00:01:19: ---------------------- Cleared OpenGL Capture ----------------------
00:01:19: DoGLCPUHook: success
00:01:19: wglSwapBuffers(3405846223) Called
00:01:19: setting up gl data
00:01:19: SwapBuffers(3405846223) Called
00:01:19: successfully capturing gl frames via RAM
00:01:20: DirectDraw capture: Windows 8 not supported yet
00:01:37: stop requested, terminating gl capture
00:01:37: ---------------------- Cleared OpenGL Capture ----------------------
00:01:37: DoGLGPUHook: wglDXOpenDeviceNV failed
00:01:37: ---------------------- Cleared OpenGL Capture ----------------------
00:01:37: DoGLCPUHook: success
00:01:37: wglSwapBuffers(3405846223) Called
00:01:37: setting up gl data
00:01:37: SwapBuffers(3405846223) Called
00:01:40: DirectDraw capture: Windows 8 not supported yet
00:01:53: successfully capturing gl frames via RAM
00:01:58: stop requested, terminating gl capture
00:01:58: ---------------------- Cleared OpenGL Capture ----------------------
00:01:58: DoGLGPUHook: wglDXOpenDeviceNV failed
00:01:58: ---------------------- Cleared OpenGL Capture ----------------------
00:01:58: DoGLCPUHook: success
00:01:58: SwapBuffers(3405846223) Called
00:01:58: setting up gl data
00:01:58: wglSwapBuffers(3405846223) Called
00:01:59: successfully capturing gl frames via RAM
00:02:00: DirectDraw capture: Windows 8 not supported yet
00:03:43: stop requested, terminating gl capture
00:03:43: ---------------------- Cleared OpenGL Capture ----------------------
00:03:43: DoGLGPUHook: wglDXOpenDeviceNV failed
00:03:43: ---------------------- Cleared OpenGL Capture ----------------------
00:03:43: DoGLCPUHook: success
00:03:43: wglSwapBuffers(3405846223) Called
00:03:43: setting up gl data
00:03:43: SwapBuffers(3405846223) Called
00:03:46: DirectDraw capture: Windows 8 not supported yet
00:03:47: wglDeleteContext Called
00:03:47: ---------------------- Cleared OpenGL Capture ----------------------
 

Boildown

Active Member
You confirmed that file has the problem? I downloaded it and loaded it into Vegas Movie Studio HD Platinum 11 without any issues. Did some messing around like cropping and reverse video. You said it crashed immediately, so maybe there's some problem with Vegas Pro 12. Maybe if someone else has Vegas Pro 12 they can try it out. But for me the file seems fine.
 

Blupenguin71

New Member
You confirmed that file has the problem? I downloaded it and loaded it into Vegas Movie Studio HD Platinum 11 without any issues. Did some messing around like cropping and reverse video. You said it crashed immediately, so maybe there's some problem with Vegas Pro 12. Maybe if someone else has Vegas Pro 12 they can try it out. But for me the file seems fine.

Definitely sure. It crashed about two seconds after I imported the video, and the crash report shows up asking me if I want to send the report or not. I don't think it's my computer or anything, because I can run Vegas Pro 12 just fine, and I've heard of a couple other people with this problem, but no one seems to be able to fix it.
 

Blupenguin71

New Member
A new thing occurred. I tried the demo of Vegas Pro 13 and I was able to import the video without it crashing. Everything works except the video is green. Audio still works, and I can fully edit all the footage, but the video is just...green.
5HQdPj7.png

I guess in a way this is progress, but I think the only way to solve it is to figure out the problem with the video in Pro 12, and I'm guessing it'll work in 13 if that gets fixed.
 

achmetha

Member
you could try downloading an external codec, like x264vfw. ull prob need the 32 & 64 bit versions installed, but i believe the installer includes both now. install it, restart, then give it a shot. if that doesnt work, then id recommend running the files through handbrake. (ive gotten in the habit of doing this with every file to avoid compatibility and sync issues in NLEs).

i have/do both of these things and have had no issues for a very long time. if u need help, pm me or msg me on twitter.

(ive gotten my hand smacked a couple times for recommending unofficial fixes and id like to avoid that)
 
Last edited:

Blupenguin71

New Member
you could try downloading an external codec, like x264vfw. ull prob need the 32 & 64 bit versions installed, but i believe the installer includes both now. install it, restart, then give it a shot. if that doesnt work, then id recommend running the files through handbrake. (ive gotten in the habit of doing this with every file to avoid compatibility and sync issues in NLEs).

i have/do both of these things and have had no issues for a very long time. if u need help, pm me or msg me on twitter.

(ive gotten my hand smacked a couple times for recommending unofficial fixes and id like to avoid that)

so the codec is for OBS? I have both versions (32-bit and 64-bit). how exactly do i download this external codec (from where)? i'm pretty new to all of this.
 

Boildown

Active Member
He's talking about a general H.264 video codec. A google search for the term he mentioned (x264vfw) takes you to the place he wanted you to go. As he explained, he was hesitant to directly link it.
 

Jack0r

The Helping Squad
The Video in Short:
Check which plugin Vegas uses.
Go to vegas folder and rename the plugin folder.
See if Vegas now uses another plugin that works with your mp4.
 
Top