Asked By Rameshchandra
19-Nov-09 01:11 AM

Hi all,
I am using a usb based webcamera (ov0345), with my target running wince 6.0.
The driver used is usbcam.dll, and i am using cameradshowapp.exe for the
user interface.
I ran the cameradshowapp.exe, and it has detected the usb camera attached to
the target as CAM1: and i have enabled the and "VideoCapture", "Video
Renderer". Now, i could see that the camera images are streaming in the
application. Now, i planned to take a still image of the camera.
So, again, i restarted the application with "Video Capture", "Video
Renderer", "Still Image sink", "FileMux" options checked.
Now, i get a crash as shown below,
--------------------------------------------------------------------------------
Filter 00002
Pin(INPUT) Mux Audio Input Pin - Unconnected
Pin(INPUT) Mux Video Input Pin - Connected
Filter VideoRenderer
Pin(INPUT) Input - Connected
Filter Image Sink Filter
Pin(INPUT) ImageSink Input Pin - Connected
Filter Color Space Converter 00012
Pin(INPUT) Input - Connected
Pin(OUTPUT) XForm Out - Connected
Filter Buffering Filter
Pin(INPUT) Buffering Filter Input Pin - Connected
Pin(OUTPUT) Buffering Filter Output Pin - Connected
Filter Color Space Converter
Pin(INPUT) Input - Connected
Pin(OUTPUT) XForm Out - Connected
Filter SmartTee
Pin(INPUT) Smart Tee Input pin - Connected
Pin(OUTPUT) Smart Tee Preview pin - Connected
Pin(OUTPUT) Smart Tee Capture pin - Connected
Filter VideoCapture
Pin(OUTPUT) Capture - Connected
Pin(OUTPUT) Still - Connected
Exception 'Access Violation' (3): Thread-Id=04100012(pth=86091918),
Proc-Id=040f0012(pprc=860916b8) 'CameraDshowApp.exe',
VM-active=040f0012(pprc=860916b8) 'CameraDshowApp.exe'
PC=4007cd54(coredll.dll+0x0006cd54) RA=41830dd8(quartz.dll+0x000d0dd8)
SP=0004fa98, BVA=00000000
Exception 'Raised Exception' (-1): Thread-Id=04100012(pth=86091918),
Proc-Id=00400002(pprc=83eb830c) 'NK.EXE', VM-active=040f0012(pprc=860916b8)
'CameraDshowApp.exe'
PC=c003fdd0(k.coredll.dll+0x0001fdd0) RA=81a12b8c(kernel.dll+0x00005b8c)
SP=d1a4f298, BVA=ffffffff
--------------------------------------------------------------------------------
So, i restarted the application with the options "Video Render", "Video
Capture" and "Still image sink"(without File mux), no i get the following
error,
---------------------------------------------------------------------------------
Filter VideoRenderer
Pin(INPUT) Input - Connected
Filter Image Sink Filter
Pin(INPUT) ImageSink Input Pin - Connected
Filter Color Space Converter 00004
Pin(INPUT) Input - Connected
Pin(OUTPUT) XForm Out - Connected
Filter Color Space Converter
Pin(INPUT) Input - Connected
Pin(OUTPUT) XForm Out - Connected
Filter SmartTee
Pin(INPUT) Smart Tee Input pin - Connected
Pin(OUTPUT) Smart Tee Preview pin - Connected
Pin(OUTPUT) Smart Tee Capture pin - Unconnected
Filter VideoCapture
Pin(OUTPUT) Capture - Connected
Pin(OUTPUT) Still - Connected
CCaptureFramework: Starting the graph failed.
CameraDShowApp: Starting the capture graph failed.
-------------------------------------------------------------------------------
Again, restarting the applicaion only with VideoCapture and Video Render, i
can see the camera images streaming, bu when i click on still button, i get
the following error,
------------------------------------------------------------------------------
No still image pin available to trigger
------------------------------------------------------------------------------
I just started to dig in to the code...Meanwhile, it will be very helpful
for me to proceed in the right direction , with all of your suggestions on
this...
--
Ramesh.c
Tvara tech solutions.
Bangalore.