Skip to content

Win7Samples\multimedia\mediafoundation\SimpleCapture, plugin usb/uvc camera, open the camera inmediant, pActivate->ActivateObject take long time(4.6s) #398

@tplusy

Description

@tplusy

mftrace log

5228,4360 12:13:25.33645 CMFExportDetours::MFEnumDeviceSources @ MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID
5228,4360 12:13:25.33647 CMFAttributesDetours::GetGUID @0000024012BC9410 attribute not found guidKey = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY
5228,4360 12:13:25.33648 CMFPlatExportDetours::MFTEnumEx @ Category: CLSID_VideoInputDeviceCategory, Flags: 0x10000004, input MT: , output MT:
5228,4360 12:13:25.34047 CMFPlatExportDetours::MFTEnumEx @ Activate 00 @000002400D4B04B0, MFT_ENUM_HARDWARE_URL_Attribute=\?\usb#vid_a108&pid_2240&mi_00#9&29803591&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global;MFT_FRIENDLY_NAME_Attribute=Ingenic HD Web Camera;MFT_TRANSFORM_CLSID_Attribute=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MFT_OUTPUT_TYPES_Attributes=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 ...;MF_TRANSFORM_FLAGS_Attribute=4;MF_TRANSFORM_CATEGORY_Attribute=CLSID_VideoInputDeviceCategory
5228,4360 12:13:25.34059 CMFPlatExportDetours::MFTEnumEx @ Activate 01 @000002400D4B0D30, MFT_ENUM_HARDWARE_URL_Attribute=\?\usb#vid_a108&pid_2240&mi_02#9&29803591&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global;MFT_FRIENDLY_NAME_Attribute=Ingenic Video2 Camera;MFT_TRANSFORM_CLSID_Attribute=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MFT_OUTPUT_TYPES_Attributes=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 ...;MF_TRANSFORM_FLAGS_Attribute=4;MF_TRANSFORM_CATEGORY_Attribute=CLSID_VideoInputDeviceCategory
5228,4360 12:13:25.34060 CMFPlatExportDetours::MFTEnumEx @ Category: (null), Flags: 0x10000004, input MT: , output MT:
5228,4360 12:13:25.34292 CMFPlatExportDetours::MFTEnumEx @ Activate 00 @000002400D4B07B0, MFT_ENUM_HARDWARE_URL_Attribute=\?\usb#vid_a108&pid_2240&mi_00#9&29803591&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\global;MFT_FRIENDLY_NAME_Attribute=Ingenic HD Web Camera;MFT_TRANSFORM_CLSID_Attribute=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MFT_OUTPUT_TYPES_Attributes=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 ...;MF_TRANSFORM_FLAGS_Attribute=4;MF_TRANSFORM_CATEGORY_Attribute={E5323777-F976-4F5B-9B55-B94699C46E44}
5228,4360 12:13:25.34296 CMFPlatExportDetours::MFTEnumEx @ Activate 01 @000002400D4AFF30, MFT_ENUM_HARDWARE_URL_Attribute=\?\usb#vid_a108&pid_2240&mi_02#9&29803591&0&0002#{e5323777-f976-4f5b-9b55-b94699c46e44}\global;MFT_FRIENDLY_NAME_Attribute=Ingenic Video2 Camera;MFT_TRANSFORM_CLSID_Attribute=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MFT_OUTPUT_TYPES_Attributes=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 76 69 ...;MF_TRANSFORM_FLAGS_Attribute=4;MF_TRANSFORM_CATEGORY_Attribute={E5323777-F976-4F5B-9B55-B94699C46E44}
5228,4360 12:13:25.34327 CMFExportDetours::MFEnumDeviceSources @ Source activate 00 @000002400D4B13B0, MF_DEVSOURCE_ATTRIBUTE_MEDIA_TYPE=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 ;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK=\?\usb#vid_a108&pid_2240&mi_00#9&29803591&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\global;MF_DEVSOURCE_ATTRIBUTE_FRIENDLY_NAME=Ingenic HD Web Camera;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY={E5323777-F976-4F5B-9B55-B94699C46E44};MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_HW_SOURCE=4
5228,4360 12:13:25.34333 CMFExportDetours::MFEnumDeviceSources @ Source activate 01 @000002400D4AFAB0, MF_DEVSOURCE_ATTRIBUTE_MEDIA_TYPE=76 69 64 73 00 00 10 00 80 00 00 aa 00 38 9b 71 4d 4a 50 47 00 00 10 00 80 00 00 aa 00 38 9b 71 ;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK=\?\usb#vid_a108&pid_2240&mi_02#9&29803591&0&0002#{e5323777-f976-4f5b-9b55-b94699c46e44}\global;MF_DEVSOURCE_ATTRIBUTE_FRIENDLY_NAME=Ingenic Video2 Camera;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY={E5323777-F976-4F5B-9B55-B94699C46E44};MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE=MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID;MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_HW_SOURCE=4
5228,66EC 12:13:25.34434 CMFAttributesDetours::GetGUID @0000024012BC89F0 attribute not found guidKey = {2ACF1917-3743-41DF-A564-E727A80EA33D}
5228,66EC 12:13:25.34872 COle32ExportDetours::CoCreateInstance @ Created {366F6FDF-839D-4ED5-BFC6-7301A42A2F20} FSClientFactory (C:\Windows\System32\FrameServerClient.dll) @0000024012BE41C0 - traced interfaces:
5228,66EC 12:13:25.34882 CMFPlatExportDetours::MFStartup @ Version=0x00020070, dwFlags=0x00000000
5228,66EC 12:13:25.34954 CMFAttributesDetours::GetUnknown @0000024012BC89F0 attribute not found guidKey = {76E25E7B-D595-4283-962C-C594AFD78DDF}
5228,66EC 12:13:25.34956 CMFAttributesDetours::GetUnknown @0000024012BC89F0 attribute not found guidKey = {7E3D0B9D-C643-483B-9607-1B5969814C7F}
5228,66EC 12:13:25.36992 CMFAttributesDetours::GetUINT32 @0000024012BC9230 attribute not found guidKey = {646B2774-D245-4BDB-90E9-2CED310E37B2}
5228,66EC 12:13:25.37031 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = {44D1A9BC-2999-4238-AE43-0730CEB2AB1B}
5228,66EC 12:13:30.26540 CMFAttributesDetours::GetUINT32 @0000024012BC91D0 attribute not found guidKey = {1236F239-0A12-48AD-83A9-06EBB7E8D5BB}
5228,66EC 12:13:30.26557 CMFAttributesDetours::GetGUID @0000024012BC91D0 attribute not found guidKey = {0E71407A-5282-4291-B896-D612CE96CBD7}
5228,66EC 12:13:30.26598 CMFAttributesDetours::GetUINT32 @0000024012BC88D0 attribute not found guidKey = {1236F239-0A12-48AD-83A9-06EBB7E8D5BB}
5228,66EC 12:13:30.26614 CMFAttributesDetours::GetGUID @0000024012BC88D0 attribute not found guidKey = {0E71407A-5282-4291-B896-D612CE96CBD7}
5228,66EC 12:13:30.26637 CMFAttributesDetours::GetItem @0000024012BC91D0 attribute not found guidKey = {6EA542B0-281F-4231-A464-FE2F5022501C}
5228,66EC 12:13:30.26638 CMFAttributesDetours::GetItem @0000024012BC88D0 attribute not found guidKey = {6EA542B0-281F-4231-A464-FE2F5022501C}
5228,66EC 12:13:30.26639 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = {1FE2C163-8A52-474B-A55B-97932372486B}
5228,66EC 12:13:30.26694 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = {5B61B815-EBFA-4D06-AD16-B1F515032B79}
5228,66EC 12:13:30.26695 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = {44D1A9BC-2999-4238-AE43-0730CEB2AB1B}
5228,66EC 12:13:30.26714 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS
5228,66EC 12:13:30.26717 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS
5228,66EC 12:13:30.27057 COle32ExportDetours::CoCreateInstance @ Created {00000323-0000-0000-C000-000000000046} - ignored
5228,66EC 12:13:30.27088 CMFAttributesDetours::GetUnknown @0000024012BC9410 attribute not found guidKey = {627D2CA6-E1CD-4898-999D-101308F1D431}
5228,66EC 12:13:30.27089 CMFAttributesDetours::GetGUID @0000024012BC9410 attribute not found guidKey = {2ACF1917-3743-41DF-A564-E727A80EA33D}
5228,66EC 12:13:30.27089 CMFAttributesDetours::GetUINT32 @0000024012BC9410 attribute not found guidKey = {B1BEA77F-99BA-4AF5-AF20-76D209550E73}
5228,66EC 12:13:30.27091 CMFAttributesDetours::GetBlobSize @0000024012BC9410 attribute not found guidKey = {8B1034CF-AE42-4A7C-A0A6-BFD7EE052CCB}
5228,66EC 12:13:30.27091 CMFAttributesDetours::GetGUID @0000024012BC9410 attribute not found guidKey = MF_SESSION_TOPOLOADER
5228,66EC 12:13:30.27092 CMFAttributesDetours::GetUINT32 @0000024012BC9410 attribute not found guidKey = {09A7FF3E-F62A-465E-B1F9-E63D190B1A10}
5228,66EC 12:13:30.27099 CMFAttributesDetours::GetUINT32 @0000024012BC9410 attribute not found guidKey = MF_SESSION_GLOBAL_TIME
5228,66EC 12:13:30.27100 CMFAttributesDetours::GetGUID @0000024012BC9410 attribute not found guidKey = MF_SESSION_QUALITY_MANAGER
5228,66EC 12:13:30.27102 CMFMediaSessionDetours::Attach @0000024012C1D840 Presentation clock @0000024012C23210
5228,66EC 12:13:30.27103 CMFMediaSessionDetours::Attach @0000024012C1D840 Rate control @0000024012C1D850
5228,66EC 12:13:30.27354 COle32ExportDetours::CoCreateInstance @ New MFT @0000024012C23F60, {093F81B1-4F2E-4631-8168-7934032A01D3}=1;{206B4FC8-FCF9-4C51-AFE3-9764369E33A0}=1
5228,66EC 12:13:30.27360 COle32ExportDetours::CoCreateInstance @ Created {88753B26-5B24-49BD-B2E7-0C445C78C982} (C:\WINDOWS\System32\msvproc.dll) @0000024012C23F60 - traced interfaces: IMFTransform @0000024012C23F60,
5228,66EC 12:13:30.27397 CMFTopologyNodeDetours::GetGUID @000002400D49A780 attribute not found guidKey = MF_TOPONODE_TRANSFORM_OBJECTID
5228,66EC 12:13:30.27404 CMFActivateDetours::GetGUID @000002400D496770 attribute not found guidKey = MF_ACTIVATE_CUSTOM_VIDEO_MIXER_CLSID
5228,66EC 12:13:30.27404 CMFActivateDetours::GetGUID @000002400D496770 attribute not found guidKey = MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_CLSID
5228,66EC 12:13:30.27685 COle32ExportDetours::CoCreateInstance @ New MFT @0000024012C30BA0, VIDEO_ZOOM_RECT=00 00 00 00 00 00 00 00 00 00 80 3f 00 00 80 3f
5228,66EC 12:13:30.27692 COle32ExportDetours::CoCreateInstance @ Created {E474E05A-AB65-4F6A-827C-218B1BAAF31F} MF Video Mixer (C:\Windows\System32\evr.dll) @0000024012C30BA0 - traced interfaces: IMFTransform @0000024012C30BA0,
5228,66EC 12:13:30.36935 COle32ExportDetours::CoCreateInstance @ Created {A0A7A57B-59B2-4919-A694-ADD0A526C373} Tearless Window Presenter (C:\Windows\System32\evr.dll) @0000024012C18F78 - traced interfaces:
5228,66EC 12:13:30.36943 COle32ExportDetours::CoCreateInstance @ Created {98455561-5136-4D28-AB08-4CEE40EA2781} MF Video Presenter (C:\Windows\System32\evr.dll) @0000024012C29B80 - traced interfaces:
5228,66EC 12:13:30.36955 CMFTransformDetours::ProcessMessage @0000024012C30BA0 Message type=0x00000002 MFT_MESSAGE_SET_D3D_MANAGER, param=12C2A880
5228,66EC 12:13:30.43144 CMFActivateDetours::ActivateObject @000002400D496770 New sink @00000240119F9470
5228,66EC 12:13:30.43145 CMFMediaSinkDetours::Attach @00000240119F9470 Clock state @00000240119F9490
5228,66EC 12:13:30.43164 CMFTopologyNodeDetours::GetGUID @000002400F5CAFC0 attribute not found guidKey = MF_TOPONODE_TRANSFORM_OBJECTID

5228,66EC 12:13:25.37031 CMFAttributesDetours::GetUINT32 @0000024012BC89F0 attribute not found guidKey = {44D1A9BC-2999-4238-AE43-0730CEB2AB1B}
5228,66EC 12:13:30.26540 CMFAttributesDetours::GetUINT32 @0000024012BC91D0 attribute not found guidKey = {1236F239-0A12-48AD-83A9-06EBB7E8D5BB}
4.6s does not printf any logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions