Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all 1079 articles
Browse latest View live

error LNK2001: unresolved external symbol _IID_IDirectXVideoDecoderService

$
0
0

Hello,

I'm returning to Windows (and VS) from the linux world and a little rusty. Having a link issue...

I am trying to create a Win32 console app (i'm not drawing to any surface) that uses DirectX to query on a video decoder capabilities.
I have sample code of a windows app that calls "DXVA2CreateVideoService" that links without error, but i get below error when I try to link my new console app.
error LNK2001: unresolved external symbol _IID_IDirectXVideoDecoderService
The doc i've seen says this is defined in Dxva2api.h and the project should include dxva2.lib in the 'additional dependencies'. I have these, but no help. I found the library here "C:\Program Files %28x86%29\Microsoft SDKs\Windows\v7.0A\Lib", and included that in 'additional library directories', but also no help.

I finally tried coping dxva2.lib directly to my project, but still no good.

Can someone tell me what i'm doing wrong? Can these be called from console apps?

Thanks,
Doug


IMFCaptureEngine Preview

$
0
0

I have been struggling at getting audio into the preview sink portion of the capture engine class.   Without audio, everything works fine.  I add the audio stream, and I get an error event stating the request is invalid in the current state.  If I set up the program to only use audio, I get an invalid media type.  If anyone has gotten this to work, I would be interested in the steps taken.

		hr = pSource->SetCurrentDeviceMediaType((DWORD)MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_VIDEO_PREVIEW, pMediaType);
        hr = CloneVideoMediaType(pMediaType, MFVideoFormat_RGB32, &pMediaType2);
        if (FAILED(hr))
        {
            goto done;
        }

        hr = pMediaType2->SetUINT32(MF_MT_ALL_SAMPLES_INDEPENDENT, TRUE);
        if (FAILED(hr))
        {
            goto done;
        }

		// Connect the video stream to the preview sink.
        hr = m_pPreview->AddStream((DWORD)MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_VIDEO_PREVIEW,  pMediaType2, NULL, &dwSinkStreamIndex);
        if (FAILED(hr))
        {
            goto done;
        }

		hr = pSource->GetCurrentDeviceMediaType((DWORD)MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_AUDIO, &pMediaType);
		if (FAILED(hr))
		{
			goto done;
		}

		hr = m_pPreview->AddStream((DWORD)MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_AUDIO, pMediaType, NULL, &dwSinkStreamIndex);
	}

    hr = m_pEngine->StartPreview();


Martin Autry

Using Media Session with Source Reader and Sink Writer

$
0
0

Hello.

I'm new to Windows programming and WMF and am looking for some guidance on a topology to meet my applications requirements.  The core requirements are:

1: Win7+

2: Video stream/capture from UVC device. Stream type can be YUY2 or RAW. 

3: Preview YUY2 or RAW.  May require sub-sampling for certain frame sizes.

4: Zoom/Pan.

5: Save to file (ASF ?) (uncompressed) YUV or RAW from media source (Limited frames based on available RAM) .

2ndary requirement that could be added later:

6: Access to RAW frames from Media Source.

7: Save the RAW frames to file (ASF ?).

8: Process stream with user defined MFT.

9: Save output of MFT to file (ASF ?).

10: Playback captured files (ASF ?).

11: Determine pixel value from preview using mouse/cursor i.e. mouse coords vs RGB value.

From various information and samples studied so far, my topology would require both Media Session and Source Reader/Sink Writer i.e.:

Media Session:

- Req 2,3: MFT for 'YUV->RGB' or 'RAW->RGB' to EVR

- Req 4: EVR source/destination rectangles. 

- Req 11: 

- Req 5,9: Stream (limited amount of frames) to Archive Sink. 

- Req 8: MFT

- Req 10:

Source Reader:

- Req 6:

Sink Writer:

- Req 7:

My main questions are:

- Can Media Session and Source Reader be used together i.e. can a frame (starting from frame 0) be acquired/pulled by both Media Session and Source Reader? It would seem two copies of the frame would be required?

- Would I need to create two Media Sources (if possible) i.e. one to feed Media Session and one for Source Reader?

- Does the proposal above seem reasonable or even possible i.e. preview + save frames to two files (this assumes frame rate is configured to avoid dropped frames for a given frame size)?

Thanks for taking time to read this and hopefully some feedback will help start me down the write path.

Cheers,

Steve

MKV Byte Stream Handler Crash

$
0
0
Hi,

I've been having issues with the MKV Byte Stream Handler.

Using the MFCreateSourceReaderFromByteStream which, from what I've understand, iterates (not deterministic) through all registered Byte Stream handler until a valid one is found.
I've implemented a custom ByteStream as the media source, since my media are packaged together.
If by any chance, the data returned by the ByteStream is invalid, the MKV Byte Stream Handler will crash (memory access violation 0xFFFFFFF8).
All other Byte Stream Handlers (ASF, MP4, MPEG2, etc) will simply fail to resolve the media source.

An easy way to reproduce the problem is to simply create a ByteStream which returns a length (IMFByteStream::GetLength()) less than the actual file length.

For now, I've managed to get around the problem by using the IMFSourceResolver and specifying the file name extension of the URL when calling CreateObjectFromByteStream.
This will prevent the SourceResolver from iterating through all handlers and just returned MF_E_UNSUPPORTED_BYTESTREAM_TYPE upon failure.

Is this a known issue?

Thank you,

Native playback rate using Media Engine

$
0
0

How can the native playback rate (i.e. frames/sec, etc.) be determined for a file/stream played back with Media Engine (IMFMediaEngine or IMFMediaEngineEx)?

I'm not asking about scaled rate (IMFMediaEngine::GetPlaybackRate or IMFMediaEngine::GetDefaultPlaybackRate).


Larry

Recording using Media Engine

$
0
0
Is it possible to record content being played back with Media Engine (IMFMediaEngine, IMFMediaEngineEx, etc.)?

Larry

Windows Media Foundation Bug.. dmp analysis/dmp

$
0
0
Dump File kalaria_2017-01-26_1816_4630da28-94f7-41ec-8e98-7f2fad7a3ffe.dmp

Windows 10 Version 14393 MP (8 procs) Free x86 compatible
Built by: 10.0.14393.206 (rs1_release.160915-0644)
Thu Jan 26 18:16:58.000 2017 (UTC + 0:00)
Process Uptime: 0 days 0:00:02.000
................................................................

0:000> .ecxr
eax=00000000 ebx=00000000 ecx=053b0b97 edx=00000000 esi=00000000 edi=6c351678
eip=5f64346b esp=007ce280 ebp=007ce320 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
CompPkgSup+0x346b:
5f64346b 8b3e            mov     edi,dword ptr [esi]  ds:002b:00000000=????????

DUMP_CLASS: 2
DUMP_QUALIFIER: 400

CONTEXT:  (.ecxr)
eax=00000000 ebx=00000000 ecx=053b0b97 edx=00000000 esi=00000000 edi=6c351678
eip=5f64346b esp=007ce280 ebp=007ce320 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
CompPkgSup+0x346b:
5f64346b 8b3e            mov     edi,dword ptr [esi]  ds:002b:00000000=????????
Resetting default scope

FAULTING_IP:
CompPkgSup+346b
5f64346b 8b3e            mov     edi,dword ptr [esi]

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 5f64346b (CompPkgSup+0x0000346b)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 00000000
Attempt to read from address 00000000

PROCESS_NAME:  Plex Media Server.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR:  c0000005
EXCEPTION_PARAMETER1:  00000000
EXCEPTION_PARAMETER2:  00000000
READ_ADDRESS:  00000000

FOLLOWUP_IP:
CompPkgSup+346b
5f64346b 8b3e            mov     edi,dword ptr [esi]

WATSON_BKT_PROCSTAMP:  585c4427
WATSON_BKT_PROCVER:  1.2.0.3167
PROCESS_VER_PRODUCT:  Plex Media Server

WATSON_BKT_MODULE:  CompPkgSup.DLL
WATSON_BKT_MODSTAMP:  58785a02
WATSON_BKT_MODOFFSET:  346b

WATSON_BKT_MODVER:  10.0.14393.726
BUILD_VERSION_STRING:  10.0.14393.0 (rs1_release.160715-1616)

MODLIST_WITH_TSCHKSUM_HASH:  de97f7c0bafba37291a2eab1ad6b0e27e17fa2fa
MODLIST_SHA1_HASH:  c3ba2ec10aab5aba9750985ec9cc441a7fd61fd7
DUMP_FLAGS:  0
DUMP_TYPE:  2

APP:  plex media server.exe

THREAD_ATTRIBUTES:
PROBLEM_CLASSES:

NULL_POINTER_READ
    Tid    [0x5240]
    Frame  [0x00]: comppkgsup

AFTER_CALL
    Tid    [0x5240]
    Frame  [0x00]: comppkgsup
    Failure Bucketing

BUGCHECK_STR:  NULL_POINTER_READ_AFTER_CALL
DEFAULT_BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL

LAST_CONTROL_TRANSFER:  from 5f64417a to 5f64346b

STACK_TEXT:
007ce320 5f64417a 007ce358 5f6418e6 0205efa8 CompPkgSup+0x346b
007ce328 5f6418e6 0205efa8 0205efa8 0205efa8 CompPkgSup+0x417a
007ce358 5f643aa3 00005240 053b0b97 0205efa8 CompPkgSup+0x18e6
007ce460 77cc92e9 0000778b 0000618d 00006155 CompPkgSup+0x3aa3
007ce484 77046fa5 000036b7 fdfa1774 0205e688 ntdll!RtlSetLastWin32Error+0x39
007ce494 77046f2c 0205e688 7703cae5 5740ff5f msvcrt!_getptd_noexit+0x62
007ce49c 7703cae5 5740ff5f 0205e600 77ceed95 msvcrt!_getptd+0x8
007ce4a0 5740ff5f 0205e600 77ceed95 007ce4d0 msvcrt!rand+0x5
007ce4d0 7706a62c 0205ec00 67708029 000001fc msmpeg2vdec+0x7ff5f
007ce4e4 77cf6be2 0205e9ac b165fd42 007ce51c msvcrt!_VEC_memzero+0x82
007ce578 7604c90b 0205e350 00000000 007cf020 ntdll!RtlInitializeCriticalSection+0x12
007ce5f8 76056dfa 761a7260 00000000 007cec44 combase!CServerContextActivator::CreateInstance+0x19b
007ce644 7604cef2 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0xba
007ce69c 76051575 761a7264 00000000 007cec44 combase!CApartmentActivator::CreateInstance+0xa2
007ce6cc 76051640 761a725c 00000001 00000000 combase!CProcessActivator::CCICallback+0x65
007ce6f0 760516d7 761a725c 007cea70 00000000 combase!CProcessActivator::AttemptActivation+0x40
007ce730 760518f7 761a725c 007cea70 00000000 combase!CProcessActivator::ActivateByContext+0x77
007ce760 76056ddb 761a725c 00000000 007cec44 combase!CProcessActivator::CreateInstance+0x67
007ce7ac 76052e7d 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0x9b
007cea10 76056de2 761a7258 00000000 007cec44 combase!CClientContextActivator::CreateInstance+0xfd
007cea5c 760977a0 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0xa2
007cf3d0 76096ba2 00000001 00000000 00000001 combase!ICoCreateInstanceEx+0xae0
007cf484 76098209 00000001 00000000 00000001 combase!CComActivator::DoCreateInstance+0x162
007cf4c4 57602c3d 007cf518 00000000 00000001 combase!CoCreateInstance+0xa9
007cf584 57602d38 0205c2e0 0205c2e0 57602d00 mfplat+0x22c3d
007cf5a0 57602e60 0205c2e0 57602e10 00000000 mfplat+0x22d38
007cf5bc 57602f4f 61d61e20 007cf670 007cf670 mfplat+0x22e60
007cf5dc 61b97b43 0205c2e0 61d61e20 007cf670 mfplat+0x22f4f
007cfa8c 011505fb 7f85531f 0157738c 01850000 avcodec_57+0xd7b43
007cfb30 00e582af 00850000 00000000 01be56ee Plex_Media_Server!WinMain+0x34b
007cfb7c 75e462c4 01850000 75e462a0 7615a599 Plex_Media_Server!__scrt_common_main_seh+0xf6
007cfb90 77d00fd9 01850000 67709f41 00000000 kernel32!BaseThreadInitThunk+0x24
007cfbd8 77d00fa4 ffffffff 77d22ef6 00000000 ntdll!__RtlUserThreadStart+0x2f
007cfbe8 00000000 00e58346 01850000 00000000 ntdll!_RtlUserThreadStart+0x1b


THREAD_SHA1_HASH_MOD_FUNC:  cf525116c753a09a54a0ad01b4530938b7e7e25d
THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  18dc6ca59ca4ddf0553488a3bac5c16f3e7fad5e
THREAD_SHA1_HASH_MOD:  07bdbfc88bbdaa78f87c0bd0fbb65d0ac4726c87

FAULT_INSTR_CODE:  448d3e8b

SYMBOL_STACK_INDEX:  0
SYMBOL_NAME:  comppkgsup+346b
FOLLOWUP_NAME:  MachineOwner
MODULE_NAME: CompPkgSup
IMAGE_NAME:  CompPkgSup.DLL
DEBUG_FLR_IMAGE_TIMESTAMP:  58785a02

STACK_COMMAND:  .ecxr ; kb
BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL_comppkgsup+346b

PRIMARY_PROBLEM_CLASS:  NULL_POINTER_READ_AFTER_CALL_comppkgsup+346b
BUCKET_ID_OFFSET:  346b
BUCKET_ID_MODULE_STR:  CompPkgSup
BUCKET_ID_MODTIMEDATESTAMP:  58785a02
BUCKET_ID_MODCHECKSUM:  d5ce

BUCKET_ID_MODVER_STR:  10.0.14393.726

BUCKET_ID_PREFIX_STR:  NULL_POINTER_READ_AFTER_CALL_
FAILURE_PROBLEM_CLASS:  NULL_POINTER_READ_AFTER_CALL
FAILURE_EXCEPTION_CODE:  c0000005
FAILURE_IMAGE_NAME:  CompPkgSup.DLL
FAILURE_FUNCTION_NAME:  Unknown
BUCKET_ID_FUNCTION_STR:  Unknown

FAILURE_SYMBOL_NAME:  CompPkgSup.DLL!Unknown
FAILURE_BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL_c0000005_CompPkgSup.DLL!Unknown
WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/Plex Media Server.exe/1.2.0.3167/585c4427/CompPkgSup.DLL/10.0.14393.726/58785a02/c0000005/0000346b.htm?Retriage=1
TARGET_TIME:  2017-01-26T18:16:58.000Z

OSBUILD:  14393
OSSERVICEPACK:  0
SERVICEPACK_NUMBER: 0
OS_REVISION: 0

SUITE_MASK:  256
PRODUCT_TYPE:  1

OSPLATFORM_TYPE:  x86
OSNAME:  Windows 10
OSEDITION:  Windows 10 WinNt SingleUserTS

OS_LOCALE:
USER_LCID:  0
OSBUILD_TIMESTAMP:  2016-07-16 02:33:42
BUILDDATESTAMP_STR:  160715-1616

BUILDLAB_STR:  rs1_release
BUILDOSVER_STR:  10.0.14393.0

ANALYSIS_SESSION_ELAPSED_TIME: f4cc

ANALYSIS_SOURCE:  UM
FAILURE_ID_HASH_STRING:  um:null_pointer_read_after_call_c0000005_comppkgsup.dll!unknown

FAILURE_ID_HASH:  {d68115e0-721f-024d-2277-6a7d81fe8ef7}

0:000> lm f
start    end        module name
00850000 01665000   Plex_Media_Server C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe
0f1f0000 0f275000   StateRepository_Core C:\Windows\System32\StateRepository.Core.dll
0f6a0000 0f9db000   Windows_StateRepository C:\Windows\System32\Windows.StateRepository.dll
1e000000 1e297000   python27 C:\Program Files (x86)\Plex\Plex Media Server\python27.dll
516c0000 516d9000   MP3DMOD  C:\Windows\System32\MP3DMOD.DLL
57280000 57389000   mfperfhelper C:\Windows\System32\mfperfhelper.dll
57390000 575ae000   msmpeg2vdec C:\Windows\System32\msmpeg2vdec.dll
575b0000 575da000   RTWorkQ  C:\Windows\System32\RTWorkQ.dll
575e0000 576f3000   mfplat   C:\Windows\System32\mfplat.dll
5f640000 5f64a000   CompPkgSup C:\Windows\System32\CompPkgSup.DLL
5f650000 5fa20000   mfcore   C:\Windows\System32\mfcore.dll
5fa20000 5fc00000   hevcdecoder C:\Windows\System32\hevcdecoder.dll
5fc00000 5fe20000   mfh264enc C:\Windows\System32\mfh264enc.dll
5fe70000 5fe7c000   msgsm32  C:\Windows\System32\msgsm32.acm
5fe80000 5fe88000   msg711   C:\Windows\System32\msg711.acm
5fe90000 5ff75000   mfh265enc C:\Windows\System32\mfh265enc.dll
5ff80000 5fff0000   DolbyDecMFT C:\Windows\System32\DolbyDecMFT.dll
5fff0000 60060000   MSAudDecMFT C:\Windows\System32\MSAudDecMFT.dll
60570000 60586000   l3codeca C:\Windows\System32\l3codeca.acm
60590000 605c7000   MSAC3ENC C:\Windows\System32\MSAC3ENC.DLL
60660000 60669000   msadp32  C:\Windows\System32\msadp32.acm
60670000 60687000   mfmjpegdec C:\Windows\System32\mfmjpegdec.dll
60690000 606ac000   mfAACEnc C:\Windows\System32\mfAACEnc.dll
606b0000 606e4000   GNSDK_VIDEO C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_VIDEO.DLL
606f0000 60794000   GNSDK_STORAGE_SQLITE C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_STORAGE_SQLITE.DLL
60910000 6091a000   imaadp32 C:\Windows\System32\imaadp32.acm
60930000 6096b000   CONCRT140 C:\Windows\System32\CONCRT140.dll
60970000 60991000   GNSDK_RHYTHM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_RHYTHM.DLL
609a0000 609e6000   GNSDK_SUBMIT C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_SUBMIT.DLL
609f0000 60a42000   GNSDK_PLAYLIST C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_PLAYLIST.DLL
60a50000 60a79000   GNSDK_MUSICID_STREAM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_STREAM.DLL
60a80000 60aa9000   GNSDK_MUSICID_MATCH C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_MATCH.DLL
60ab0000 60b37000   GNSDK_MUSICID C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID.DLL
60b40000 60ba5000   GNSDK_LOOKUP_LOCALSTREAM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LOOKUP_LOCALSTREAM.DLL
60bb0000 60bd3000   GNSDK_MOODGRID C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MOODGRID.DLL
60be0000 60ee2000   GNSDK_DSP C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_DSP.DLL
60ef0000 60fb3000   GNSDK_LOOKUP_LOCAL C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LOOKUP_LOCAL.DLL
60fc0000 60fe7000   GNSDK_LINK C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LINK.DLL
60ff0000 6108b000   GNSDK_MUSICID_FILE C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_FILE.DLL
61090000 6121d000   GNSDK_MANAGER C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MANAGER.DLL
61220000 61229000   lyric_lite C:\Program Files (x86)\Plex\Plex Media Server\lyric_lite.dll
61230000 61415000   opencv_core2411 C:\Program Files (x86)\Plex\Plex Media Server\opencv_core2411.dll
61420000 61663000   opencv_imgproc2411 C:\Program Files (x86)\Plex\Plex Media Server\opencv_imgproc2411.dll
61670000 61700000   swscale_4 C:\Program Files (x86)\Plex\Plex Media Server\swscale-4.dll
61700000 617c1000   tag      C:\Program Files (x86)\Plex\Plex Media Server\tag.dll
617d0000 61ab5000   avformat_57 C:\Program Files (x86)\Plex\Plex Media Server\avformat-57.dll
61ac0000 61e9d000   avcodec_57 C:\Program Files (x86)\Plex\Plex Media Server\avcodec-57.dll
61ea0000 61f46000   avutil_55 C:\Program Files (x86)\Plex\Plex Media Server\avutil-55.dll
61f50000 621d6000   FreeImage C:\Program Files (x86)\Plex\Plex Media Server\FreeImage.dll
621e0000 622eb000   libxml2  C:\Program Files (x86)\Plex\Plex Media Server\libxml2.dll
64b40000 64b58000   libwinpthread_1 C:\Program Files (x86)\Plex\Plex Media Server\libwinpthread-1.dll
67610000 6783f000   d3d11    C:\Windows\System32\d3d11.dll
68c40000 68cc4000   dxgi     C:\Windows\System32\dxgi.dll
68cd0000 69075000   nvapi    C:\Windows\System32\nvapi.dll
69390000 693a2000   soci_sqlite3_vc80_3_0 C:\Program Files (x86)\Plex\Plex Media Server\soci_sqlite3-vc80-3_0.dll
69860000 699c7000   nvspcap  C:\Windows\System32\nvspcap.dll
699d0000 699ef000   soci_core_vc80_3_0 C:\Program Files (x86)\Plex\Plex Media Server\soci_core-vc80-3_0.dll
69ef0000 69f15000   dbgcore  C:\Windows\System32\dbgcore.dll
69f20000 6a065000   dbghelp  C:\Windows\System32\dbghelp.dll
6c340000 6c40f000   WinTypes C:\Windows\System32\WinTypes.dll
6ede0000 6edf3000   cryptsp  C:\Windows\System32\cryptsp.dll
6f2f0000 6f33e000   mswsock  C:\Windows\System32\mswsock.dll
70670000 70679000   msdmo    C:\Windows\System32\msdmo.dll
70b10000 70b32000   devobj   C:\Windows\System32\devobj.dll
70ca0000 70caa000   secur32  C:\Windows\System32\secur32.dll
70e20000 70e38000   msacm32  C:\Windows\System32\msacm32.dll
70e60000 70e67000   ksuser   C:\Windows\System32\ksuser.dll
71520000 71555000   libidn   C:\Program Files (x86)\Plex\Plex Media Server\libidn.dll
715a0000 715bf000   dwmapi   C:\Windows\System32\dwmapi.dll
715c0000 716ef000   libeay32 C:\Program Files (x86)\Plex\Plex Media Server\libeay32.dll
716f0000 71739000   ssleay32 C:\Program Files (x86)\Plex\Plex Media Server\ssleay32.dll
71740000 71758000   zlib     C:\Program Files (x86)\Plex\Plex Media Server\zlib.dll
71860000 71875000   VCRUNTIME140 C:\Windows\System32\VCRUNTIME140.dll
71880000 718ed000   msvcp140 C:\Windows\System32\msvcp140.dll
71a50000 71b33000   iconv    C:\Program Files (x86)\Plex\Plex Media Server\iconv.dll
71b40000 71bfb000   sqlite3  C:\Program Files (x86)\Plex\Plex Media Server\sqlite3.dll
71c00000 71c4f000   libcurl  C:\Program Files (x86)\Plex\Plex Media Server\libcurl.dll
725b0000 725c6000   mpr      C:\Windows\System32\mpr.dll
73b20000 73b2f000   wtsapi32 C:\Windows\System32\wtsapi32.dll
73b30000 73ba5000   uxtheme  C:\Windows\System32\uxtheme.dll
73e50000 73e6b000   bcrypt   C:\Windows\System32\bcrypt.dll
73e80000 73f20000   winhttp  C:\Windows\System32\winhttp.dll
73f40000 73f63000   winmmbase C:\Windows\System32\winmmbase.dll
74300000 7432f000   IPHLPAPI C:\Windows\System32\IPHLPAPI.DLL
74360000 7456a000   comctl32 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.726_none_89c552d8daff8235\comctl32.dll
74580000 74588000   version  C:\Windows\System32\version.dll
746a0000 746b5000   win32u   C:\Windows\System32\win32u.dll
74770000 7477a000   CRYPTBASE C:\Windows\System32\CRYPTBASE.dll
74780000 7479e000   sspicli  C:\Windows\System32\sspicli.dll
747a0000 75b79000   shell32  C:\Windows\System32\shell32.dll
75be0000 75c74000   oleaut32 C:\Windows\System32\oleaut32.dll
75c80000 75e21000   KERNELBASE C:\Windows\System32\KERNELBASE.dll
75e30000 75f10000   kernel32 C:\Windows\System32\kernel32.dll
75f10000 75f1f000   profapi  C:\Windows\System32\profapi.dll
75fd0000 761e1000   combase  C:\Windows\System32\combase.dll
761f0000 7626b000   msvcp_win C:\Windows\System32\msvcp_win.dll
762d0000 762dd000   kernel_appcore C:\Windows\System32\kernel.appcore.dll
762e0000 76324000   wintrust C:\Windows\System32\wintrust.dll
76330000 764ad000   crypt32  C:\Windows\System32\crypt32.dll
764b0000 7650a000   bcryptPrimitives C:\Windows\System32\bcryptPrimitives.dll
76510000 76516000   psapi    C:\Windows\System32\psapi.dll
76520000 76a8e000   windows_storage C:\Windows\System32\windows.storage.dll
76a90000 76a9e000   msasn1   C:\Windows\System32\msasn1.dll
76c10000 76c51000   sechost  C:\Windows\System32\sechost.dll
76c60000 76d40000   ucrtbase C:\Windows\System32\ucrtbase.dll
76d40000 76da3000   ws2_32   C:\Windows\System32\ws2_32.dll
76ec0000 76f37000   advapi32 C:\Windows\System32\advapi32.dll
76f50000 76fd8000   SHCore   C:\Windows\System32\SHCore.dll
76fe0000 7709e000   msvcrt   C:\Windows\System32\msvcrt.dll
770a0000 77161000   rpcrt4   C:\Windows\System32\rpcrt4.dll
77170000 771a6000   cfgmgr32 C:\Windows\System32\cfgmgr32.dll
771b0000 7729a000   ole32    C:\Windows\System32\ole32.dll
772a0000 77324000   clbcatq  C:\Windows\System32\clbcatq.dll
77330000 77465000   msctf    C:\Windows\System32\msctf.dll
77470000 77495000   imm32    C:\Windows\System32\imm32.dll
774a0000 778ab000   setupapi C:\Windows\System32\setupapi.dll
778b0000 778db000   gdi32    C:\Windows\System32\gdi32.dll
778e0000 77a3b000   gdi32full C:\Windows\System32\gdi32full.dll
77a40000 77a91000   Wldap32  C:\Windows\System32\Wldap32.dll
77aa0000 77bff000   user32   C:\Windows\System32\user32.dll
77c00000 77c45000   powrprof C:\Windows\System32\powrprof.dll
77c50000 77c96000   shlwapi  C:\Windows\System32\shlwapi.dll
77ca0000 77e23000   ntdll    C:\Windows\System32\ntdll.dll
It seems like there a bug that in windows that's causing Plex to crash.. Please see DMP file

Windows Media Foundation Bug in Cumulative update KB3216755 windows 10

$
0
0
Dump File kalaria_2017-01-26_1816_4630da28-94f7-41ec-8e98-7f2fad7a3ffe.dmp

Windows 10 Version 14393 MP (8 procs) Free x86 compatible
Built by: 10.0.14393.206 (rs1_release.160915-0644)
Thu Jan 26 18:16:58.000 2017 (UTC + 0:00)
Process Uptime: 0 days 0:00:02.000
................................................................

0:000> .ecxr
eax=00000000 ebx=00000000 ecx=053b0b97 edx=00000000 esi=00000000 edi=6c351678
eip=5f64346b esp=007ce280 ebp=007ce320 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
CompPkgSup+0x346b:
5f64346b 8b3e            mov     edi,dword ptr [esi]  ds:002b:00000000=????????

DUMP_CLASS: 2
DUMP_QUALIFIER: 400

CONTEXT:  (.ecxr)
eax=00000000 ebx=00000000 ecx=053b0b97 edx=00000000 esi=00000000 edi=6c351678
eip=5f64346b esp=007ce280 ebp=007ce320 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
CompPkgSup+0x346b:
5f64346b 8b3e            mov     edi,dword ptr [esi]  ds:002b:00000000=????????
Resetting default scope

FAULTING_IP:
CompPkgSup+346b
5f64346b 8b3e            mov     edi,dword ptr [esi]

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 5f64346b (CompPkgSup+0x0000346b)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 00000000
Attempt to read from address 00000000

PROCESS_NAME:  Plex Media Server.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR:  c0000005
EXCEPTION_PARAMETER1:  00000000
EXCEPTION_PARAMETER2:  00000000
READ_ADDRESS:  00000000

FOLLOWUP_IP:
CompPkgSup+346b
5f64346b 8b3e            mov     edi,dword ptr [esi]

WATSON_BKT_PROCSTAMP:  585c4427
WATSON_BKT_PROCVER:  1.2.0.3167
PROCESS_VER_PRODUCT:  Plex Media Server

WATSON_BKT_MODULE:  CompPkgSup.DLL
WATSON_BKT_MODSTAMP:  58785a02
WATSON_BKT_MODOFFSET:  346b

WATSON_BKT_MODVER:  10.0.14393.726
BUILD_VERSION_STRING:  10.0.14393.0 (rs1_release.160715-1616)

MODLIST_WITH_TSCHKSUM_HASH:  de97f7c0bafba37291a2eab1ad6b0e27e17fa2fa
MODLIST_SHA1_HASH:  c3ba2ec10aab5aba9750985ec9cc441a7fd61fd7
DUMP_FLAGS:  0
DUMP_TYPE:  2

APP:  plex media server.exe

THREAD_ATTRIBUTES:
PROBLEM_CLASSES:

NULL_POINTER_READ
    Tid    [0x5240]
    Frame  [0x00]: comppkgsup

AFTER_CALL
    Tid    [0x5240]
    Frame  [0x00]: comppkgsup
    Failure Bucketing

BUGCHECK_STR:  NULL_POINTER_READ_AFTER_CALL
DEFAULT_BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL

LAST_CONTROL_TRANSFER:  from 5f64417a to 5f64346b

STACK_TEXT:
007ce320 5f64417a 007ce358 5f6418e6 0205efa8 CompPkgSup+0x346b
007ce328 5f6418e6 0205efa8 0205efa8 0205efa8 CompPkgSup+0x417a
007ce358 5f643aa3 00005240 053b0b97 0205efa8 CompPkgSup+0x18e6
007ce460 77cc92e9 0000778b 0000618d 00006155 CompPkgSup+0x3aa3
007ce484 77046fa5 000036b7 fdfa1774 0205e688 ntdll!RtlSetLastWin32Error+0x39
007ce494 77046f2c 0205e688 7703cae5 5740ff5f msvcrt!_getptd_noexit+0x62
007ce49c 7703cae5 5740ff5f 0205e600 77ceed95 msvcrt!_getptd+0x8
007ce4a0 5740ff5f 0205e600 77ceed95 007ce4d0 msvcrt!rand+0x5
007ce4d0 7706a62c 0205ec00 67708029 000001fc msmpeg2vdec+0x7ff5f
007ce4e4 77cf6be2 0205e9ac b165fd42 007ce51c msvcrt!_VEC_memzero+0x82
007ce578 7604c90b 0205e350 00000000 007cf020 ntdll!RtlInitializeCriticalSection+0x12
007ce5f8 76056dfa 761a7260 00000000 007cec44 combase!CServerContextActivator::CreateInstance+0x19b
007ce644 7604cef2 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0xba
007ce69c 76051575 761a7264 00000000 007cec44 combase!CApartmentActivator::CreateInstance+0xa2
007ce6cc 76051640 761a725c 00000001 00000000 combase!CProcessActivator::CCICallback+0x65
007ce6f0 760516d7 761a725c 007cea70 00000000 combase!CProcessActivator::AttemptActivation+0x40
007ce730 760518f7 761a725c 007cea70 00000000 combase!CProcessActivator::ActivateByContext+0x77
007ce760 76056ddb 761a725c 00000000 007cec44 combase!CProcessActivator::CreateInstance+0x67
007ce7ac 76052e7d 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0x9b
007cea10 76056de2 761a7258 00000000 007cec44 combase!CClientContextActivator::CreateInstance+0xfd
007cea5c 760977a0 007cec44 00000000 007cf2f8 combase!ActivationPropertiesIn::DelegateCreateInstance+0xa2
007cf3d0 76096ba2 00000001 00000000 00000001 combase!ICoCreateInstanceEx+0xae0
007cf484 76098209 00000001 00000000 00000001 combase!CComActivator::DoCreateInstance+0x162
007cf4c4 57602c3d 007cf518 00000000 00000001 combase!CoCreateInstance+0xa9
007cf584 57602d38 0205c2e0 0205c2e0 57602d00 mfplat+0x22c3d
007cf5a0 57602e60 0205c2e0 57602e10 00000000 mfplat+0x22d38
007cf5bc 57602f4f 61d61e20 007cf670 007cf670 mfplat+0x22e60
007cf5dc 61b97b43 0205c2e0 61d61e20 007cf670 mfplat+0x22f4f
007cfa8c 011505fb 7f85531f 0157738c 01850000 avcodec_57+0xd7b43
007cfb30 00e582af 00850000 00000000 01be56ee Plex_Media_Server!WinMain+0x34b
007cfb7c 75e462c4 01850000 75e462a0 7615a599 Plex_Media_Server!__scrt_common_main_seh+0xf6
007cfb90 77d00fd9 01850000 67709f41 00000000 kernel32!BaseThreadInitThunk+0x24
007cfbd8 77d00fa4 ffffffff 77d22ef6 00000000 ntdll!__RtlUserThreadStart+0x2f
007cfbe8 00000000 00e58346 01850000 00000000 ntdll!_RtlUserThreadStart+0x1b


THREAD_SHA1_HASH_MOD_FUNC:  cf525116c753a09a54a0ad01b4530938b7e7e25d
THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  18dc6ca59ca4ddf0553488a3bac5c16f3e7fad5e
THREAD_SHA1_HASH_MOD:  07bdbfc88bbdaa78f87c0bd0fbb65d0ac4726c87

FAULT_INSTR_CODE:  448d3e8b

SYMBOL_STACK_INDEX:  0
SYMBOL_NAME:  comppkgsup+346b
FOLLOWUP_NAME:  MachineOwner
MODULE_NAME: CompPkgSup
IMAGE_NAME:  CompPkgSup.DLL
DEBUG_FLR_IMAGE_TIMESTAMP:  58785a02

STACK_COMMAND:  .ecxr ; kb
BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL_comppkgsup+346b

PRIMARY_PROBLEM_CLASS:  NULL_POINTER_READ_AFTER_CALL_comppkgsup+346b
BUCKET_ID_OFFSET:  346b
BUCKET_ID_MODULE_STR:  CompPkgSup
BUCKET_ID_MODTIMEDATESTAMP:  58785a02
BUCKET_ID_MODCHECKSUM:  d5ce

BUCKET_ID_MODVER_STR:  10.0.14393.726

BUCKET_ID_PREFIX_STR:  NULL_POINTER_READ_AFTER_CALL_
FAILURE_PROBLEM_CLASS:  NULL_POINTER_READ_AFTER_CALL
FAILURE_EXCEPTION_CODE:  c0000005
FAILURE_IMAGE_NAME:  CompPkgSup.DLL
FAILURE_FUNCTION_NAME:  Unknown
BUCKET_ID_FUNCTION_STR:  Unknown

FAILURE_SYMBOL_NAME:  CompPkgSup.DLL!Unknown
FAILURE_BUCKET_ID:  NULL_POINTER_READ_AFTER_CALL_c0000005_CompPkgSup.DLL!Unknown
WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/Plex Media Server.exe/1.2.0.3167/585c4427/CompPkgSup.DLL/10.0.14393.726/58785a02/c0000005/0000346b.htm?Retriage=1
TARGET_TIME:  2017-01-26T18:16:58.000Z

OSBUILD:  14393
OSSERVICEPACK:  0
SERVICEPACK_NUMBER: 0
OS_REVISION: 0

SUITE_MASK:  256
PRODUCT_TYPE:  1

OSPLATFORM_TYPE:  x86
OSNAME:  Windows 10
OSEDITION:  Windows 10 WinNt SingleUserTS

OS_LOCALE:
USER_LCID:  0
OSBUILD_TIMESTAMP:  2016-07-16 02:33:42
BUILDDATESTAMP_STR:  160715-1616

BUILDLAB_STR:  rs1_release
BUILDOSVER_STR:  10.0.14393.0

ANALYSIS_SESSION_ELAPSED_TIME: f4cc

ANALYSIS_SOURCE:  UM
FAILURE_ID_HASH_STRING:  um:null_pointer_read_after_call_c0000005_comppkgsup.dll!unknown

FAILURE_ID_HASH:  {d68115e0-721f-024d-2277-6a7d81fe8ef7}

0:000> lm f
start    end        module name
00850000 01665000   Plex_Media_Server C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe
0f1f0000 0f275000   StateRepository_Core C:\Windows\System32\StateRepository.Core.dll
0f6a0000 0f9db000   Windows_StateRepository C:\Windows\System32\Windows.StateRepository.dll
1e000000 1e297000   python27 C:\Program Files (x86)\Plex\Plex Media Server\python27.dll
516c0000 516d9000   MP3DMOD  C:\Windows\System32\MP3DMOD.DLL
57280000 57389000   mfperfhelper C:\Windows\System32\mfperfhelper.dll
57390000 575ae000   msmpeg2vdec C:\Windows\System32\msmpeg2vdec.dll
575b0000 575da000   RTWorkQ  C:\Windows\System32\RTWorkQ.dll
575e0000 576f3000   mfplat   C:\Windows\System32\mfplat.dll
5f640000 5f64a000   CompPkgSup C:\Windows\System32\CompPkgSup.DLL
5f650000 5fa20000   mfcore   C:\Windows\System32\mfcore.dll
5fa20000 5fc00000   hevcdecoder C:\Windows\System32\hevcdecoder.dll
5fc00000 5fe20000   mfh264enc C:\Windows\System32\mfh264enc.dll
5fe70000 5fe7c000   msgsm32  C:\Windows\System32\msgsm32.acm
5fe80000 5fe88000   msg711   C:\Windows\System32\msg711.acm
5fe90000 5ff75000   mfh265enc C:\Windows\System32\mfh265enc.dll
5ff80000 5fff0000   DolbyDecMFT C:\Windows\System32\DolbyDecMFT.dll
5fff0000 60060000   MSAudDecMFT C:\Windows\System32\MSAudDecMFT.dll
60570000 60586000   l3codeca C:\Windows\System32\l3codeca.acm
60590000 605c7000   MSAC3ENC C:\Windows\System32\MSAC3ENC.DLL
60660000 60669000   msadp32  C:\Windows\System32\msadp32.acm
60670000 60687000   mfmjpegdec C:\Windows\System32\mfmjpegdec.dll
60690000 606ac000   mfAACEnc C:\Windows\System32\mfAACEnc.dll
606b0000 606e4000   GNSDK_VIDEO C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_VIDEO.DLL
606f0000 60794000   GNSDK_STORAGE_SQLITE C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_STORAGE_SQLITE.DLL
60910000 6091a000   imaadp32 C:\Windows\System32\imaadp32.acm
60930000 6096b000   CONCRT140 C:\Windows\System32\CONCRT140.dll
60970000 60991000   GNSDK_RHYTHM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_RHYTHM.DLL
609a0000 609e6000   GNSDK_SUBMIT C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_SUBMIT.DLL
609f0000 60a42000   GNSDK_PLAYLIST C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_PLAYLIST.DLL
60a50000 60a79000   GNSDK_MUSICID_STREAM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_STREAM.DLL
60a80000 60aa9000   GNSDK_MUSICID_MATCH C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_MATCH.DLL
60ab0000 60b37000   GNSDK_MUSICID C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID.DLL
60b40000 60ba5000   GNSDK_LOOKUP_LOCALSTREAM C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LOOKUP_LOCALSTREAM.DLL
60bb0000 60bd3000   GNSDK_MOODGRID C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MOODGRID.DLL
60be0000 60ee2000   GNSDK_DSP C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_DSP.DLL
60ef0000 60fb3000   GNSDK_LOOKUP_LOCAL C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LOOKUP_LOCAL.DLL
60fc0000 60fe7000   GNSDK_LINK C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_LINK.DLL
60ff0000 6108b000   GNSDK_MUSICID_FILE C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MUSICID_FILE.DLL
61090000 6121d000   GNSDK_MANAGER C:\Program Files (x86)\Plex\Plex Media Server\GNSDK_MANAGER.DLL
61220000 61229000   lyric_lite C:\Program Files (x86)\Plex\Plex Media Server\lyric_lite.dll
61230000 61415000   opencv_core2411 C:\Program Files (x86)\Plex\Plex Media Server\opencv_core2411.dll
61420000 61663000   opencv_imgproc2411 C:\Program Files (x86)\Plex\Plex Media Server\opencv_imgproc2411.dll
61670000 61700000   swscale_4 C:\Program Files (x86)\Plex\Plex Media Server\swscale-4.dll
61700000 617c1000   tag      C:\Program Files (x86)\Plex\Plex Media Server\tag.dll
617d0000 61ab5000   avformat_57 C:\Program Files (x86)\Plex\Plex Media Server\avformat-57.dll
61ac0000 61e9d000   avcodec_57 C:\Program Files (x86)\Plex\Plex Media Server\avcodec-57.dll
61ea0000 61f46000   avutil_55 C:\Program Files (x86)\Plex\Plex Media Server\avutil-55.dll
61f50000 621d6000   FreeImage C:\Program Files (x86)\Plex\Plex Media Server\FreeImage.dll
621e0000 622eb000   libxml2  C:\Program Files (x86)\Plex\Plex Media Server\libxml2.dll
64b40000 64b58000   libwinpthread_1 C:\Program Files (x86)\Plex\Plex Media Server\libwinpthread-1.dll
67610000 6783f000   d3d11    C:\Windows\System32\d3d11.dll
68c40000 68cc4000   dxgi     C:\Windows\System32\dxgi.dll
68cd0000 69075000   nvapi    C:\Windows\System32\nvapi.dll
69390000 693a2000   soci_sqlite3_vc80_3_0 C:\Program Files (x86)\Plex\Plex Media Server\soci_sqlite3-vc80-3_0.dll
69860000 699c7000   nvspcap  C:\Windows\System32\nvspcap.dll
699d0000 699ef000   soci_core_vc80_3_0 C:\Program Files (x86)\Plex\Plex Media Server\soci_core-vc80-3_0.dll
69ef0000 69f15000   dbgcore  C:\Windows\System32\dbgcore.dll
69f20000 6a065000   dbghelp  C:\Windows\System32\dbghelp.dll
6c340000 6c40f000   WinTypes C:\Windows\System32\WinTypes.dll
6ede0000 6edf3000   cryptsp  C:\Windows\System32\cryptsp.dll
6f2f0000 6f33e000   mswsock  C:\Windows\System32\mswsock.dll
70670000 70679000   msdmo    C:\Windows\System32\msdmo.dll
70b10000 70b32000   devobj   C:\Windows\System32\devobj.dll
70ca0000 70caa000   secur32  C:\Windows\System32\secur32.dll
70e20000 70e38000   msacm32  C:\Windows\System32\msacm32.dll
70e60000 70e67000   ksuser   C:\Windows\System32\ksuser.dll
71520000 71555000   libidn   C:\Program Files (x86)\Plex\Plex Media Server\libidn.dll
715a0000 715bf000   dwmapi   C:\Windows\System32\dwmapi.dll
715c0000 716ef000   libeay32 C:\Program Files (x86)\Plex\Plex Media Server\libeay32.dll
716f0000 71739000   ssleay32 C:\Program Files (x86)\Plex\Plex Media Server\ssleay32.dll
71740000 71758000   zlib     C:\Program Files (x86)\Plex\Plex Media Server\zlib.dll
71860000 71875000   VCRUNTIME140 C:\Windows\System32\VCRUNTIME140.dll
71880000 718ed000   msvcp140 C:\Windows\System32\msvcp140.dll
71a50000 71b33000   iconv    C:\Program Files (x86)\Plex\Plex Media Server\iconv.dll
71b40000 71bfb000   sqlite3  C:\Program Files (x86)\Plex\Plex Media Server\sqlite3.dll
71c00000 71c4f000   libcurl  C:\Program Files (x86)\Plex\Plex Media Server\libcurl.dll
725b0000 725c6000   mpr      C:\Windows\System32\mpr.dll
73b20000 73b2f000   wtsapi32 C:\Windows\System32\wtsapi32.dll
73b30000 73ba5000   uxtheme  C:\Windows\System32\uxtheme.dll
73e50000 73e6b000   bcrypt   C:\Windows\System32\bcrypt.dll
73e80000 73f20000   winhttp  C:\Windows\System32\winhttp.dll
73f40000 73f63000   winmmbase C:\Windows\System32\winmmbase.dll
74300000 7432f000   IPHLPAPI C:\Windows\System32\IPHLPAPI.DLL
74360000 7456a000   comctl32 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.726_none_89c552d8daff8235\comctl32.dll
74580000 74588000   version  C:\Windows\System32\version.dll
746a0000 746b5000   win32u   C:\Windows\System32\win32u.dll
74770000 7477a000   CRYPTBASE C:\Windows\System32\CRYPTBASE.dll
74780000 7479e000   sspicli  C:\Windows\System32\sspicli.dll
747a0000 75b79000   shell32  C:\Windows\System32\shell32.dll
75be0000 75c74000   oleaut32 C:\Windows\System32\oleaut32.dll
75c80000 75e21000   KERNELBASE C:\Windows\System32\KERNELBASE.dll
75e30000 75f10000   kernel32 C:\Windows\System32\kernel32.dll
75f10000 75f1f000   profapi  C:\Windows\System32\profapi.dll
75fd0000 761e1000   combase  C:\Windows\System32\combase.dll
761f0000 7626b000   msvcp_win C:\Windows\System32\msvcp_win.dll
762d0000 762dd000   kernel_appcore C:\Windows\System32\kernel.appcore.dll
762e0000 76324000   wintrust C:\Windows\System32\wintrust.dll
76330000 764ad000   crypt32  C:\Windows\System32\crypt32.dll
764b0000 7650a000   bcryptPrimitives C:\Windows\System32\bcryptPrimitives.dll
76510000 76516000   psapi    C:\Windows\System32\psapi.dll
76520000 76a8e000   windows_storage C:\Windows\System32\windows.storage.dll
76a90000 76a9e000   msasn1   C:\Windows\System32\msasn1.dll
76c10000 76c51000   sechost  C:\Windows\System32\sechost.dll
76c60000 76d40000   ucrtbase C:\Windows\System32\ucrtbase.dll
76d40000 76da3000   ws2_32   C:\Windows\System32\ws2_32.dll
76ec0000 76f37000   advapi32 C:\Windows\System32\advapi32.dll
76f50000 76fd8000   SHCore   C:\Windows\System32\SHCore.dll
76fe0000 7709e000   msvcrt   C:\Windows\System32\msvcrt.dll
770a0000 77161000   rpcrt4   C:\Windows\System32\rpcrt4.dll
77170000 771a6000   cfgmgr32 C:\Windows\System32\cfgmgr32.dll
771b0000 7729a000   ole32    C:\Windows\System32\ole32.dll
772a0000 77324000   clbcatq  C:\Windows\System32\clbcatq.dll
77330000 77465000   msctf    C:\Windows\System32\msctf.dll
77470000 77495000   imm32    C:\Windows\System32\imm32.dll
774a0000 778ab000   setupapi C:\Windows\System32\setupapi.dll
778b0000 778db000   gdi32    C:\Windows\System32\gdi32.dll
778e0000 77a3b000   gdi32full C:\Windows\System32\gdi32full.dll
77a40000 77a91000   Wldap32  C:\Windows\System32\Wldap32.dll
77aa0000 77bff000   user32   C:\Windows\System32\user32.dll
77c00000 77c45000   powrprof C:\Windows\System32\powrprof.dll
77c50000 77c96000   shlwapi  C:\Windows\System32\shlwapi.dll
77ca0000 77e23000   ntdll    C:\Windows\System32\ntdll.dll

It seems like there a bug that in windows that's causing Plex to crash. Please see DMP file

Other links with user experiencing similar issues: Reddit Plex Forum





AECSdkDemo Surface Mic Array problems

$
0
0

Just wondering if anyone has successfully made the v7.1\Samples\Multimedia\Audio\AECMicArray demonstration program to work in a MicrosoftSurface(Windows 8.1).  Specifically, the following invocation:

AECSdkDemo.exe -out mic_out.pcm -mod 4

Will always fail with "AllocateStreamingResources failed".

Thanks,

Qinghuan


清扬视频会议-1080p全高清,追逐电影版的画质,www.qycx.com

Major bug in latest Windows 10 media players for fragmented mp4 files

$
0
0

My Windows 10 machine updated itself and since the new update, it cannot play fragmented mp4 files properly. 

Here is an example file:

https://drive.google.com/file/d/0Bxyb9Iftjh4DUWdfV2JvMEs1OEU/view?usp=sharing

After you start the player, you need to seek it a few times for it to play properly. It was fine before the update.

This file plays fine in Windows 10. Please check this.

Listing webcam resolutions in native C++ code.

$
0
0

Hi there,

I'm trying to get the available resolutions supported by the webcam using Media Device Controller. The code looks like this:

// device control to get resolutions

IMediaDeviceController mediaDeviceController; videoDeviceController.As(&mediaDeviceController); // get list of source resolutions IMediaEncodingProperties* encProperties; mediaDeviceController->GetAvailableMediaStreamProperties( MediaStreamType::MediaStreamType_VideoRecord, &encProperties); UINT32 uSize = 0; encProperties->get_Size(&uSize)); for (UINT32 uIndex = 0; uIndex < uSize; uIndex++) { IMediaEncodingProperties spProperties; IVideoEncodingProperties spVideoProperties; UINT32 uWidth = 0; UINT32 uHeight = 0; encProperties->GetAt(uIndex, &spProperties)); if (SUCCEEDED(spProperties.As(&spVideoProperties))) { spVideoProperties->get_Width(&uWidth)); spVideoProperties->get_Height(&uHeight)); } }

The problem here is about the resolutions i get (I output them into a file):

640:360
544:288
640:480
352:288
176:144
160:120
432:240
960:720
320:176
320:240
752:416
800:448
800:600
864:480
960:544
1024:576
1184:656
1280:720
1280:960

There are multiple resolutions that do not like anything standard (apparently just dependent on the 4:3 / 16/9 format). The webcam specification are here:

http://support.logitech.com/en_us/article/17556

Video Capture (4:3 SD) 320x240, 640x480, 800x600
Video Capture (16:9 W) 360p, 480p, 720p,

I would like to figure out how to get the correct supported resolutions so that when i start recording there is no more operation of resizing the video from the webcam to the encoding? For instance if i want to record at 240p I'm looking for the closest supported resolution and it should find 320*240, but instead, it finds first the 432:240 (which is the 16:9 format of 240p), leading to resizing the real supported frame size, encoding with black on the sides of the video since it actually can not record at 432*240.

Any help would be appreciated as i wasn't able to find the proper resolutions using media foundation.

Thank you for your help and have a nice day,

Tagh.   

 PS: It appears that when i force the resolution to 720p (1280*720, so, it is in 16:9 format), there is anyway the black on the sides, as it is probably recording at 960*720 (4:3 format). I've found nothing in the encoding properties of Media Foundation that could set the video aspect ratio or format from the webcam.



Why this ASF can be played by WMP but failed to be rendered by GraphEdit

$
0
0

Hi, 

My program uses Windows Media Foundation WMV/WMA MFTs to encode to ASF format (mux is done by ffmpeg). Generated file can be played perfectly by Windows Media Player on Win10 but failed to be rendered by GraphEdit, error code == NS_E_INVALID_DATA (0xC00D002FL). Same error happens when IWMSyncReader->GetNextSample is used to read audio sample. 

A sample broken video is here: https://dl.dropboxusercontent.com/u/89678527/big_buck_bunny.asf

Could anyone take a look to check the cause?

Thanks

Finding a registry entry

$
0
0

Hello all,

I have a toolbar in the taskbar, that's my quicklaunch-menu (I am old school). Actually I have even two. And now I need to find the registry entries for the second toolbar.

There is a folder on my harddrive where to find the toolbar entries and the toolbar has a name. Those two (The toolbars name and the adress on the harddrive) are things I searched for in the registry, but without success.

I googled for it and found that it has to be somewhere here: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop

But there is nothing. How do I find the registry entry for my custom toolbar in the taskbar.


Sink Writer Audio Streams Limit

$
0
0

Hi,

I have a question regarding the streams limits of the Sink Writer.
I'm trying to add multiple audio streams to the Sink Writer and it fails after the first one.
I'm using MFCreateSinkWriterFromURL and passing a mp4 file path.
I'm guessing that function creates a mp4 Media sink and I've tried creating a MP4 Media Sink using MFCreateMPEG4MediaSink() but the number of streams are fixed.
The doc says The MP4 media sink supports a maximum of one video stream and one audio stream.

Is there a way to easily achieve this?
How come this does not support multiple audio streams?

Thank you,

Francis


SPS/PPS of hardware encoder

$
0
0

Hi,

I'm using a Nvidia QUADRO P400 graphics card to do h.264 hardware encoding. Windows Media Foundation can find the encoder and set up/encode frames correctly. But I found there's no way to get SPS/PPS which are needed by muxer.

My sample code is here 

HRESULT hr = MFStartup(MF_VERSION, 0);

UINT32 nCount = 0; MFT_REGISTER_TYPE_INFO encoderInfo; encoderInfo.guidMajorType = MFMediaType_Video; encoderInfo.guidSubtype = MFVideoFormat_H264; IMFActivate **ppActivate = NULL; UINT32 nFlags = MFT_ENUM_FLAG_HARDWARE; hr = MFTEnumEx(MFT_CATEGORY_VIDEO_ENCODER, nFlags, NULL, &encoderInfo, &ppActivate, &nCount); WCHAR TempBuf[200]; for (UINT32 i = 0; i < nCount; i++) { ppActivate[i]->GetString(MFT_FRIENDLY_NAME_Attribute, TempBuf, sizeof(TempBuf) / sizeof(TempBuf[0]), NULL);

// nCount == 1 and TempBuf == L"NVIDIA H.264 Encoder MFT" } IMFTransform* pEncoder = nullptr; hr = ppActivate[0]->ActivateObject(IID_IMFTransform, (void**)&pEncoder);

IMFMediaType* ciOutputType = nullptr;  // Output media type of the encoder hr = MFCreateMediaType((IMFMediaType**)&ciOutputType); hr = ciOutputType->SetGUID(MF_MT_MAJOR_TYPE, MFMediaType_Video); hr = ciOutputType->SetGUID(MF_MT_SUBTYPE, MFVideoFormat_H264); hr = ciOutputType->SetUINT32(MF_MT_INTERLACE_MODE, 2); // Non-interlace 2 == MFVideoInterlace_Progressive hr = ciOutputType->SetUINT32(MF_MT_MPEG2_PROFILE, 77); // Main profile hr = ciOutputType->SetUINT32(MF_MT_MPEG2_PROFILE, 51); // Level 5.1 hr = MFSetAttributeRatio(ciOutputType, MF_MT_FRAME_RATE, 30, 1); // Frame rate hr = MFSetAttributeSize(ciOutputType, MF_MT_FRAME_SIZE, 1920, 1080); // Resolution hr = MFSetAttributeRatio(ciOutputType, MF_MT_PIXEL_ASPECT_RATIO, 1, 1); hr = pEncoder->SetOutputType(0, ciOutputType, 0); size_t iExtraDataSize = 0;

// here returned hr == 0xc00d36e6 : The requested attribute was not found. hr = ciOutputType->GetBlobSize(MF_MT_MPEG_SEQUENCE_HEADER, &iExtraDataSize); return 0;

Anyone know how to get SPS/PPS?

Thanks



Dolby Audio Decoder broken since Win10 Update 1803

$
0
0

The Media Foundation Dolby Decoder Codec is broken since Update 1803.

A call to

GetOutputStatus() delivers S_OK and MFT_OUTPUT_STATUS_SAMPLE_READY

but a follow up

ProcessOutput() has no output sample ready, but returns MF_E_TRANSFORM_NEED_MORE_INPUT.

This did not happen before update and does happen only if 2 channel audio is processed, working with 6 channels still works as expected.


AAC MediaType as input AND output to a SinkWriter causes corrupted audio

$
0
0

Hello,

I have a special case where I need to create a SinkWriter that takes MediaSamples that are of type Audio/AAC as input and then outputs the same exact MediaType of Audio/AAC to an mp4/m4a file. Basically, a "pass through" MediaSink that generates an mp4 file.

I've done this same example using MediaSamples of type Video/H264 as input and output and that works great.

The problem is that when I try to do this with AAC MediaSamples, the result is audio that sounds a bit corrupted. The speed/rate of playback is slower than the source, for one thing (but I can still make out the audio... barely). 

The MediaSink was created using MFCreateSinkWriterFromURL(). The MediaSink::AddStream() and MediaSink::SetInputMediaType() was called (in that order) using the same MediaType (of Audio/AAC).

To validate that my input AAC MediaSamples were good, I created an AAC-to-PCM decoder MFT and passed the source AAC MediaSamples through it. The result PCM results were fine; the audio sounded perfect.

Has anybody done something like this?

Am I going about this the right way?

Is there a correct way to create a "passthrough" MediaSink that works right?

Any help would be greatly appreciated!

- Chris

Dash streaming Sink

$
0
0

Hi,

I working in a below scenario.

1. Streaming of buffer receiving from the Source(RTSP/Capture Camera)

2. operation- Encode/Decode

3. Media Sink- the streaming buffer data will be write in different file in single MF sink.

My question is "is there any way to write multiple files in a single MF SINK"

Thanks & Regards

SN

SinkWriter->WriteSample() fails with MF_E_UNEXPECTED after 3rd sample when using hardware encoder

$
0
0

I have a sample application that creates an rgb24 sample, color converts it to nv12 using the ColorConvert transform, and then writes the sample 1000 times (same sample over and over) to a SinkWriter, to produce a valid h264 encoded mp4 file.

As long as I use a software encoder it works fine, when I enable hardware

swConf->SetUINT32(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS, TRUE);

it processes to first 3 samples ok, but the 4th sinkWriter->WriteSample() returns MF_E_UNEXPECTED.

Are there any additional steps/flags I have to watch when using hardware transforms?

I have an Windows 7, i7 with Intel QuickSync MFT.


DX11 Video Renderer sample code is incomplete.

$
0
0
Your ref : http://code.msdn.microsoft.com/windowsdesktop/DirectX-11-Video-Renderer-0e749100

Dear Sirs,

    So ... that project creates a DLL, which isn't a standard EVR so I have no clue how to fire it up.

Feeback states that the only way to test it is to use a closed source version of topedit in the Windows 8 SDK.

That isn't very helpful as that doesn't demonstrate how to use the thing.

Please provide sample code - the simpler the better that demonstrates how to use this DirectX11 Video Renderer or a derivative to throw a video texture on some simple geometry on the screen.

As a follow up, please demonstrate multiple video textures playing simultaneously to demonstrate the API supports this feature. If it doesn't, please add this support :)

Sorry to give you a hard time but I need a solid video API and if Windows doesn't provide one, it's time to look to other operating systems for a robust solution.

Regards,
Steve.
Viewing all 1079 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>