Description

Error message:

Access violation - code c0000005 (first/second chance not available)

Source Context:

  224       
  225       		hr = Graph->AddFilter(CaptureFilter, L"Capture"); 
  226       		if (FAILED(hr)) 
  227       		{
  228       			UE_LOG(LogAVIWriter, Error, TEXT( "ERROR - Could not add CaptureSource filter!" ));
  229       			CaptureFilter->Release();
  230       			Graph->Release();
  231       			FWindowsPlatformMisc::CoUninitialize(); 
  232       			return;
  233       		}
  234       
  235       		if (!Options.CodecName.IsEmpty())
  236       		{
  237       			EncodingFilter = FindEncodingFilter(Options.CodecName);
  238 ***** 			EncodingFilter->AddRef();
  239       			if (EncodingFilter)
  240       			{
  241       				Graph->AddFilter( EncodingFilter, TEXT("Encoder") );
  242       			}
  243       		}
  244       
  245       		if (Options.CompressionQuality.IsSet())
  246       		{
  247       			if (!EncodingFilter)
  248       			{
  249       				// Attempt to use a default encoder
  250       				CoCreateInstance(CLSID_MJPGEnc, NULL, CLSCTX_INPROC, IID_IBaseFilter, (void**)&EncodingFilter);
  251       				Graph->AddFilter( EncodingFilter, TEXT("Encoder") );
  252       			}
  253       

Most recent user affected CL: 2986880

Logs:
[Link Removed]


CrashReporter User Descriptions:

  • EUS Matt.Williams - Render Movie in Separate Process
Steps to Reproduce

1. Create a matinee or sequence in any level
2. Enable Auto-play on the matinee/sequence
3. Launch Matinee/Sequencer
4. Select the Movie option
5. Enter "avi" into the Video Codec section and enable
6. Select "Capture"

Result: Crash
Expected: A message telling the user that "avi" is the default. Then run it as if there was nothing in the Video Codec field

Callstack
UE4Editor_Engine!FAVIWriterWin::Initialize() [aviwriter.cpp:239]
UE4Editor_MovieSceneCapture!FVideoCaptureProtocol::Initialize() [videocaptureprotocol.cpp:46]
UE4Editor_MovieSceneCapture!UMovieSceneCapture::StartCapture() [moviescenecapture.cpp:184]
UE4Editor_MovieSceneCapture!UAutomatedLevelSequenceCapture::Tick() [automatedlevelsequencecapture.cpp:256]
UE4Editor_MovieSceneCapture!FActiveMovieSceneCaptures::Tick() [activemoviescenecaptures.cpp:41]
UE4Editor_Engine!UWorld::Tick() [leveltick.cpp:1261]
UE4Editor_Engine!UGameEngine::Tick() [gameengine.cpp:1041]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2774]
UE4Editor!GuardedMain() [launch.cpp:148]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.12
Target Fix4.12
Fix Commit2988834
Main Commit3023490
Release Commit2988834
CreatedMay 24, 2016
ResolvedMay 24, 2016
UpdatedMay 2, 2018
View Jira Issue