Windows 10 Pro N - Laptop camera crashes when tries to save video using nvEncMFTH264.dll

M

Marino Šimić

The problem:


The device driver installed by Windows for the webcam on the laptop makes it so that it is unable to save video.

Taking a picture works well and puts an image into the Camera Roll folder.

The video preview from the camera works fine, and shows the video stream. Tweaking the options for resolution or image stabilization works fine as well in the video preview.

When trying to actually record the video the Camera app crashes silently (just vanishes).

In the Camera Roll folder an MP4 file appears but the file size is 0 bytes.

A similar situation happens when trying to use the camera through Skype.

It seems some kind of video encoding error.

In such cases an EventViewer log application error is found mentioning "Faulting module path: C:\Windows\System32\nvEncMFTH264.dll" which suggests nVidia, but I cannot understand why nVidia would be doing anything with the Camera.

If anything it should be using the Intel GPU to do something since the system is running in Balanced power mode and the GPU priority configuration is at Auto, which on the plain Windows desktop means the Intel GPU is active instead, since it is not a game.

As far as I understand it this dll is part of a registered Media Foundation Transform that could be perhaps tried by the camera.

As this blog post suggests this seems to be broken: NVIDIA H.264 Encoder Media Foundation Transform’s REGDB_E_CLASSNOTREG – Fooling Around


How can this be removed so that the system does not use it?


Or how can it be fixed so that Media Foundation skips broken Transforms?


Please suggest what can be done.


What I tried:

  • Before trying anything with the camera the System was installed with latest drivers from the manufacturer and then updated with the latest from Intel, nVidia and the latest Windows updates were installed, BIOS is also updated to the latest
  • Before even being able to do anything with the camera I got the message that I need to install Media Feature Pack, which I did from here, and it worked fine. (https://support.microsoft.com/en-us/help/4057437/media-feature-pack-for-windows-10-n-april-2018)
  • Tried to search for a driver for the camera but oddly the driver is from Microsoft and there is no other driver
  • Tried to remove and reinstall the driver via Device Manager - did not help
  • Tried to change Camera settings - did not help
  • Reset the Camera app through Windows Settings - did not help
  • Tried to create a new user profile and test there - did not help
  • Tried Windows Update again - did not help



System summary:

OS Name: Microsoft Windows 10 Pro N
Version: 10.0.17134 Build 17134
System Manufacturer: ASUSTeK COMPUTER INC.
System Model: TUF GAMING FX504GD_FX80GD
System Type: x64-based PC
Processor: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2201 Mhz, 6 Core(s), 12 Logical Processor(s)
BIOS Version/Date: American Megatrends Inc. FX504GD.311, 6/8/2018
Installed Physical Memory (RAM): 16.0 GB
GPU Adapter 1: NVIDIA GeForce GTX 1050
GPU Adapter 2: Intel(R) UHD Graphics 630


Event Viewer application error:

Faulting application name: WindowsCamera.exe, version: 2018.426.70.0, time stamp: 0x5b326e7a
Faulting module name: nvEncMFTH264.dll, version: 24.21.13.9811, time stamp: 0x5b1100d2
Exception code: 0xc0000005
Fault offset: 0x000000000001c1f8
Faulting process id: 0x2658
Faulting application start time: 0x01d41e1c316271b6
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\WindowsCamera.exe
Faulting module path: C:\Windows\System32\nvEncMFTH264.dll
Report Id: aef671b1-e419-4c4d-aac2-ef9645bdb8ec
Faulting package full name: Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App


Report of the error:

Version=1
EventType=MoAppCrash
EventTime=131763395570077950
ReportType=2
Consent=1
UploadTime=131763395572823524
ReportStatus=268435456
ReportIdentifier=52d7df73-5714-407d-aba3-93657e233062
IntegratorReportIdentifier=aef671b1-e419-4c4d-aac2-ef9645bdb8ec
Wow64Host=34404
NsAppName=praid:App
OriginalFilename=WindowsCamera.exe
AppSessionGuid=00002658-0001-003e-b671-62311c1ed401
TargetAppId=U:Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe!App
TargetAppVer=2018.426.70.0_x64_!2018//06//26:16:48:58!0!WindowsCamera.exe
BootId=4294967295
TargetAsId=322
UserImpactVector=808465200
IsFatal=1
Response.BucketId=e99257e78ddbcf65999a3400c1231e09
Response.BucketTable=5
Response.LegacyBucketId=1844844175206587913
Response.type=4
Sig[0].Name=Package Full Name
Sig[0].Value=Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe
Sig[1].Name=Application Name
Sig[1].Value=praid:App
Sig[2].Name=Application Version
Sig[2].Value=2018.426.70.0
Sig[3].Name=Application Timestamp
Sig[3].Value=5b326e7a
Sig[4].Name=Fault Module Name
Sig[4].Value=nvEncMFTH264.dll
Sig[5].Name=Fault Module Version
Sig[5].Value=24.21.13.9811
Sig[6].Name=Fault Module Timestamp
Sig[6].Value=5b1100d2
Sig[7].Name=Exception Code
Sig[7].Value=c0000005
Sig[8].Name=Exception Offset
Sig[8].Value=000000000001c1f8
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.17134.2.0.0.256.49
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=7009
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=70092e3fd0c25cc3a87f0185241d3709
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=ca72
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=ca72eb415168f83d3d354a6d51e61122
UI[2]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\WindowsCamera.exe
LoadedModule[0]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\WindowsCamera.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\System32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\System32\KERNELBASE.dll
LoadedModule[4]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\WindowsCamera.dll
LoadedModule[5]=C:\Windows\System32\combase.dll
LoadedModule[6]=C:\Windows\System32\ucrtbase.dll
LoadedModule[7]=C:\Windows\System32\RPCRT4.dll
LoadedModule[8]=C:\Windows\System32\bcryptPrimitives.dll
LoadedModule[9]=C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.7_1.7.25531.0_x64__8wekyb3d8bbwe\SharedLibrary.dll
LoadedModule[10]=C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.7_1.7.25531.0_x64__8wekyb3d8bbwe\mrt100_app.dll
LoadedModule[11]=C:\Windows\System32\OleAut32.dll
LoadedModule[12]=C:\Windows\System32\msvcp_win.dll
LoadedModule[13]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe\VCRUNTIME140_APP.dll
LoadedModule[14]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\clrcompression.dll
LoadedModule[15]=C:\Windows\SYSTEM32\wintypes.dll
LoadedModule[16]=C:\Windows\SYSTEM32\mrt100.dll
LoadedModule[17]=C:\Windows\System32\msvcrt.dll
LoadedModule[18]=C:\Windows\System32\kernel.appcore.dll
LoadedModule[19]=C:\Windows\System32\rmclient.dll
LoadedModule[20]=C:\Windows\System32\user32.dll
LoadedModule[21]=C:\Windows\System32\win32u.dll
LoadedModule[22]=C:\Windows\System32\GDI32.dll
LoadedModule[23]=C:\Windows\System32\gdi32full.dll
LoadedModule[24]=C:\Windows\System32\IMM32.DLL
LoadedModule[25]=C:\Windows\SYSTEM32\twinapi.appcore.dll
LoadedModule[26]=C:\Windows\System32\sechost.dll
LoadedModule[27]=C:\Windows\System32\Windows.UI.Xaml.dll
LoadedModule[28]=C:\Windows\System32\shcore.dll
LoadedModule[29]=C:\Windows\SYSTEM32\iertutil.dll
LoadedModule[30]=C:\Windows\SYSTEM32\Bcp47Langs.dll
LoadedModule[31]=C:\Windows\SYSTEM32\dcomp.dll
LoadedModule[32]=C:\Windows\SYSTEM32\CoreMessaging.dll
LoadedModule[33]=C:\Windows\System32\advapi32.dll
LoadedModule[34]=C:\Windows\SYSTEM32\dxgi.dll
LoadedModule[35]=C:\Windows\System32\Windows.UI.dll
LoadedModule[36]=C:\Windows\SYSTEM32\TextInputFramework.dll
LoadedModule[37]=C:\Windows\SYSTEM32\InputHost.dll
LoadedModule[38]=C:\Windows\SYSTEM32\CoreUIComponents.dll
LoadedModule[39]=C:\Windows\SYSTEM32\ntmarta.dll
LoadedModule[40]=C:\Windows\system32\uxtheme.dll
LoadedModule[41]=C:\Windows\SYSTEM32\dwmapi.dll
LoadedModule[42]=C:\Windows\System32\OneCoreUAPCommonProxyStub.dll
LoadedModule[43]=C:\Windows\SYSTEM32\urlmon.dll
LoadedModule[44]=C:\Windows\System32\windows.storage.dll
LoadedModule[45]=C:\Windows\System32\shlwapi.dll
LoadedModule[46]=C:\Windows\System32\profapi.dll
LoadedModule[47]=C:\Windows\System32\powrprof.dll
LoadedModule[48]=C:\Windows\System32\FLTLIB.DLL
LoadedModule[49]=C:\Windows\SYSTEM32\CRYPTBASE.DLL
LoadedModule[50]=C:\Windows\System32\threadpoolwinrt.dll
LoadedModule[51]=C:\Windows\SYSTEM32\d3d11.dll
LoadedModule[52]=C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_9929e26743d53831\igd10iumd64.dll
LoadedModule[53]=C:\Windows\SYSTEM32\ncrypt.dll
LoadedModule[54]=C:\Windows\SYSTEM32\bcrypt.dll
LoadedModule[55]=C:\Windows\SYSTEM32\NTASN1.dll
LoadedModule[56]=C:\Windows\System32\Windows.Storage.ApplicationData.dll
LoadedModule[57]=C:\Windows\System32\Windows.Devices.Enumeration.dll
LoadedModule[58]=C:\Windows\System32\cfgmgr32.dll
LoadedModule[59]=C:\Windows\SYSTEM32\BiWinrt.dll
LoadedModule[60]=C:\Windows\SYSTEM32\deviceassociation.dll
LoadedModule[61]=C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_9929e26743d53831\igc64.dll
LoadedModule[62]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\CameraApp.Native.dll
LoadedModule[63]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe\vccorlib140_app.DLL
LoadedModule[64]=C:\Windows\SYSTEM32\MFPlat.DLL
LoadedModule[65]=C:\Windows\SYSTEM32\MFReadWrite.dll
LoadedModule[66]=C:\Windows\SYSTEM32\XAudio2_9.dll
LoadedModule[67]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe\MSVCP140_APP.dll
LoadedModule[68]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe\CONCRT140_APP.dll
LoadedModule[69]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe\VCOMP140_app.DLL
LoadedModule[70]=C:\Windows\SYSTEM32\MMDevAPI.DLL
LoadedModule[71]=C:\Windows\SYSTEM32\AVRT.dll
LoadedModule[72]=C:\Windows\SYSTEM32\DEVOBJ.dll
LoadedModule[73]=C:\Windows\SYSTEM32\PROPSYS.dll
LoadedModule[74]=C:\Windows\SYSTEM32\RTWorkQ.DLL
LoadedModule[75]=C:\Windows\SYSTEM32\d2d1.dll
LoadedModule[76]=C:\Windows\System32\Windows.ApplicationModel.dll
LoadedModule[77]=C:\Windows\System32\Geolocation.dll
LoadedModule[78]=C:\Windows\SYSTEM32\USERENV.dll
LoadedModule[79]=C:\Windows\SYSTEM32\msvcp110_win.dll
LoadedModule[80]=C:\Windows\SYSTEM32\dwrite.dll
LoadedModule[81]=C:\Windows\System32\MrmCoreR.dll
LoadedModule[82]=C:\Windows\SYSTEM32\bcp47mrm.dll
LoadedModule[83]=C:\Windows\System32\msctf.dll
LoadedModule[84]=C:\Windows\System32\UiaManager.dll
LoadedModule[85]=C:\Windows\SYSTEM32\windows.ui.core.textinput.dll
LoadedModule[86]=C:\Windows\System32\DevDispItemProvider.dll
LoadedModule[87]=C:\Windows\System32\Windows.UI.Immersive.dll
LoadedModule[88]=C:\Windows\System32\DDORes.dll
LoadedModule[89]=C:\Windows\system32\DataExchange.dll
LoadedModule[90]=C:\Windows\System32\DefaultDeviceManager.dll
LoadedModule[91]=C:\Windows\System32\CryptoWinRT.dll
LoadedModule[92]=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\RuntimeConfiguration.dll
LoadedModule[93]=C:\Windows\System32\Windows.Web.Http.dll
LoadedModule[94]=C:\Windows\System32\Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings.dll
LoadedModule[95]=C:\Windows\SYSTEM32\rometadata.dll
LoadedModule[96]=C:\Windows\System32\Windows.System.Profile.RetailInfo.dll
LoadedModule[97]=C:\Windows\System32\Windows.Graphics.dll
LoadedModule[98]=C:\Windows\System32\Windows.Globalization.dll
LoadedModule[99]=C:\Windows\SYSTEM32\NInput.dll
LoadedModule[100]=C:\Windows\SYSTEM32\Windows.UI.Xaml.Controls.dll
LoadedModule[101]=C:\Windows\System32\Windows.Energy.dll
LoadedModule[102]=C:\Windows\SYSTEM32\AUDIOSES.DLL
LoadedModule[103]=C:\Windows\system32\directmanipulation.dll
LoadedModule[104]=C:\Windows\system32\twinapi.dll
LoadedModule[105]=C:\Windows\System32\Windows.Media.dll
LoadedModule[106]=C:\Windows\System32\WS2_32.dll
LoadedModule[107]=C:\Windows\system32\windowscodecs.dll
LoadedModule[108]=C:\Windows\SYSTEM32\wuceffects.dll
LoadedModule[109]=C:\Windows\System32\deviceaccess.dll
LoadedModule[110]=C:\Windows\System32\MFCaptureEngine.dll
LoadedModule[111]=C:\Windows\SYSTEM32\MFCORE.dll
LoadedModule[112]=C:\Windows\System32\CRYPT32.dll
LoadedModule[113]=C:\Windows\System32\MSASN1.dll
LoadedModule[114]=C:\Windows\SYSTEM32\ksuser.dll
LoadedModule[115]=C:\Windows\SYSTEM32\CompPkgSup.DLL
LoadedModule[116]=C:\Windows\System32\FSClient.dll
LoadedModule[117]=C:\Windows\SYSTEM32\MFSENSORGROUP.dll
LoadedModule[118]=C:\Windows\System32\Windows.Media.MediaControl.dll
LoadedModule[119]=C:\Windows\System32\Windows.Media.Devices.dll
LoadedModule[120]=C:\Windows\System32\vidcap.ax
LoadedModule[121]=C:\Windows\System32\kswdmcap.ax
LoadedModule[122]=C:\Windows\System32\ole32.dll
LoadedModule[123]=C:\Windows\SYSTEM32\MFC42.dll
LoadedModule[124]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17134.167_none_f954190b30942a17\COMCTL32.dll
LoadedModule[125]=C:\Windows\SYSTEM32\policymanager.dll
LoadedModule[126]=C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_9929e26743d53831\igd11dxva64.dll
LoadedModule[127]=C:\Windows\SYSTEM32\CoreMmRes.dll
LoadedModule[128]=C:\Windows\System32\mfps.dll
LoadedModule[129]=C:\Windows\System32\MFMediaEngine.dll
LoadedModule[130]=C:\Windows\SYSTEM32\XmlLite.dll
LoadedModule[131]=C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll
LoadedModule[132]=C:\Windows\System32\mfsvr.dll
LoadedModule[133]=C:\Windows\System32\Windows.StateRepositoryPS.dll
LoadedModule[134]=C:\Windows\System32\msvproc.dll
LoadedModule[135]=C:\Windows\System32\Windows.Graphics.Display.BrightnessOverride.dll
LoadedModule[136]=C:\Windows\System32\Windows.Graphics.Display.DisplayEnhancementOverride.dll
LoadedModule[137]=C:\Windows\System32\AppContracts.dll
LoadedModule[138]=C:\Windows\System32\CapabilityAccessManagerClient.dll
LoadedModule[139]=C:\Windows\SYSTEM32\MFTranscode.dll
LoadedModule[140]=C:\Windows\System32\mfAACEnc.dll
LoadedModule[141]=C:\Windows\System32\nvEncMFTH264.dll
LoadedModule[142]=C:\Windows\System32\WINTRUST.dll
LoadedModule[143]=C:\Windows\System32\Setupapi.dll
LoadedModule[144]=C:\Windows\System32\Shell32.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=17134
OsInfo[3].Key=ubr
OsInfo[3].Value=167
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=1033
OsInfo[7].Key=geoid
OsInfo[7].Value=108
OsInfo[8].Key=sku
OsInfo[8].Value=49
OsInfo[9].Key=domain
OsInfo[9].Value=0
OsInfo[10].Key=prodsuite
OsInfo[10].Value=256
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=1
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=34550
OsInfo[15].Key=osinsty
OsInfo[15].Value=2
OsInfo[16].Key=iever
OsInfo[16].Value=11.165.17134.0-11.0.75
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=16239
OsInfo[19].Key=svolsz
OsInfo[19].Value=238
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=180410
OsInfo[22].Key=bldtm
OsInfo[22].Value=1804
OsInfo[23].Key=bldbrch
OsInfo[23].Value=rs4_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.17134.167.amd64fre.rs4_release.180410-1804
OsInfo[30].Key=buildflightid
OsInfo[31].Key=edition
OsInfo[31].Value=ProfessionalN
OsInfo[32].Key=ring
OsInfo[32].Value=Retail
OsInfo[33].Key=expid
OsInfo[34].Key=containerid
OsInfo[35].Key=containertype
OsInfo[36].Key=edu
OsInfo[36].Value=0
FriendlyEventName=Stopped working
ConsentKey=MoAppCrash
AppName=Windows Camera
AppPath=C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2018.426.70.0_x64__8wekyb3d8bbwe\WindowsCamera.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=0367B9795948F9744C9E92DEFC0FB0F1
MetadataHash=-894210109

Continue reading...
 
Back
Top Bottom