My project is based on imx535+wince7(2011_05_smd_bsp). There are three main problems: 1、How to get Handle of the device "CAM1:" which loaded by IFileSourceFilter->Load(L"CAM1:",&Media_Type) ? 2、Where can i find the Interfaces of FSL base filter , CLSID_FSLVPUENC、 CLSID_FSLAVIMUX 、 CLSID_FSLFILEWRITER and so on .... 3、In FSL capture filter Graph, which filter can split two pins,One for preview,the other for capture.
Hi,Prabu Kumar, Thanks for your answer! Could you help me to test your Samples on IMX53 SMD platform ?
I remove "FSL_MMF_MUXER_AVI" and "FSL_MMF_VIDEO_CAPTURE", but the DDrawTest still fail at Line " CHK( pVideoRenderer.CoCreateInstance( CLSID_VideoMixingRenderer ));" 。
I also remove item " FSL_MMF_VIDEO_CAPTURE" .
Thanks.The following is the VMR content in my reginit.ini .Next i try to remove the FLS_MM from the OS as you tell me . I don't how many catalog items would be removed ! FSL_MMF_AVI_MUX_TEST & FSL_MMF_APP_AUDIO_CAPTURE, and so on ...
; @CESYSGEN IF QUARTZ_VMRRENDERER
; Video Mixing Renderer Filter
[HKEY_CLASSES_ROOT\Filter\{B87BEB7B-8D29-423f-AE4D-6582C10175AC}]
@="VideoMixingRenderer"
[HKEY_CLASSES_ROOT\CLSID\{B87BEB7B-8D29-423f-AE4D-6582C10175AC}]
@="VideoMixingRenderer"
"Merit"=dword:00800000
[HKEY_CLASSES_ROOT\CLSID\{B87BEB7B-8D29-423f-AE4D-6582C10175AC}\InprocServer32]
@="quartz.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{B87BEB7B-8D29-423f-AE4D-6582C10175AC}\InprocServer32\Pins\Input]
;"Direction"=dword:00000000
;"IsRendered"=dword:00000001
;"AllowedZero"=dword:00000000
;"AllowedMany"=dword:00000001
[HKEY_CLASSES_ROOT\CLSID\{B87BEB7B-8D29-423f-AE4D-6582C10175AC}\Pins\Input\Types\{73646976-0000-0010-8000-00AA00389B71}\{00000000-0000-0000-0000-000000000000}]
; ImageSynchronization component
[HKEY_CLASSES_ROOT\CLSID\{7D8AA343-6E63-4663-BE90-6B80F66540A3}]
@="ImageSynchronization"
"Merit"=dword:00000000
[HKEY_CLASSES_ROOT\CLSID\{7D8AA343-6E63-4663-BE90-6B80F66540A3}\InprocServer32]
@="quartz.dll"
"ThreadingModel"="Both"
; AllocatorPresenter component
[HKEY_CLASSES_ROOT\CLSID\{99d54f63-1a69-41ae-aa4d-c976eb3f0713}]
@="ImageSynchronization"
"Merit"=dword:00000000
[HKEY_CLASSES_ROOT\CLSID\{99d54f63-1a69-41ae-aa4d-c976eb3f0713}\InprocServer32]
@="quartz.dll"
"ThreadingModel"="Both"
; VideoMixer component
[HKEY_CLASSES_ROOT\CLSID\{06b32aee-77da-484b-973b-5d64f47201b0}]
@="ImageSynchronization"
"Merit"=dword:00000000
[HKEY_CLASSES_ROOT\CLSID\{06b32aee-77da-484b-973b-5d64f47201b0}\InprocServer32]
@="quartz.dll"
"ThreadingModel"="Both"
; We disable ColorKey usage on smartfons (RenderingPrefs = 8) since the compositor doesn't know how to deal with color keyed overlays
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\VMR]
"RenderingPrefs"=dword:0
"UseScanLine"=dword:0
"MaxBackBuffers"=dword:1
"KeyColor"=hex:09,09,09,00
It looks like Freescale Multimedia framework removes the VMR from the registry.So try removing the FSL_MM from the OS and test the camera application.
Wince7.
Thanks for your answer . I have added SYSGEN_DSHOW_VMR in my catalog item. Are there others renderer components ?https://community.nxp.com/discussions/83-render.PNG" target="_self
Sorry, I can't run your sample. Debug Port msg is "Builing the graph failed hr=0x01 ". I find out It fail at Line "CHK( pVideoRenderer.CoCreateInstance( CLSID_VideoMixingRenderer ));" ? what's wrong with it? Thanks.
Here is the link to download source.
hi, i couldn't open the link ,could you send it to 11r1002@mail.ultra-view.com or zzato@163.com . Thanks !
If you had developed DirectShow camera driver for your camera sensor,then you can use the following sample application to test the same.
Regards,
Prabu