Hello all,

We are developing a Windows WDM Kernel Streaming (capture) mini
driver.This driver receives data from a usb device (web cam) and
decodes and submits to the Kernel Streaming Framework for further
processing.

-->We have configured video properties for 15 fps.

We receive the data from the usb device is bursts. (30 frames in 1 sec
and a
1 sec gap and 30 frames and so on). As soon as we receive the data we
submit
it to the KEF.

Here are the cases in which confusion lies..

--->1) When we play using the "GRAPH Edit" tool we are getting the 15
fps. No issues.

--->2)When we use some other tool "AMCap"(Comes with XP DDK) which is
on the same machine where we successfully run Graph edit with 15fps ,
the frame rate is
very high. (i.e.) the video is played very fast. and there is a gap in
rendering till we receive the next burst of data.



--->3) When we play using "Graph Edit" on a "different XP machine" it
plays fast.!!!

NOTE:minidriver is loaded on Windows XP machine, with direct X 9.0c.

Any pointers to solve this problem would be appreciated.
Thanks & Rgds,
Darshan

Re: Difference in rendering rate..between two applications by Maxim

Maxim
Fri May 19 11:16:59 CDT 2006

Dunno on KS, but user-mode DirectShow would require you to split the data
logically to 30 media samples and to properly fill the media timestamp in each.

You can fire 30 frames at once, but please each with a proper header with
proper media time in it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<darshan.tapdia@gmail.com> wrote in message
news:1148031678.506371.245040@i39g2000cwa.googlegroups.com...
> Hello all,
>
> We are developing a Windows WDM Kernel Streaming (capture) mini
> driver.This driver receives data from a usb device (web cam) and
> decodes and submits to the Kernel Streaming Framework for further
> processing.
>
> -->We have configured video properties for 15 fps.
>
> We receive the data from the usb device is bursts. (30 frames in 1 sec
> and a
> 1 sec gap and 30 frames and so on). As soon as we receive the data we
> submit
> it to the KEF.
>
> Here are the cases in which confusion lies..
>
> --->1) When we play using the "GRAPH Edit" tool we are getting the 15
> fps. No issues.
>
> --->2)When we use some other tool "AMCap"(Comes with XP DDK) which is
> on the same machine where we successfully run Graph edit with 15fps ,
> the frame rate is
> very high. (i.e.) the video is played very fast. and there is a gap in
> rendering till we receive the next burst of data.
>
>
>
> --->3) When we play using "Graph Edit" on a "different XP machine" it
> plays fast.!!!
>
> NOTE:minidriver is loaded on Windows XP machine, with direct X 9.0c.
>
> Any pointers to solve this problem would be appreciated.
> Thanks & Rgds,
> Darshan
>


Re: Difference in rendering rate..between two applications by Max

Max
Tue May 23 16:38:23 CDT 2006

Same for KS.
Most likely reason for the is incorrect time stamping.


"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:uBy0k%231eGHA.3888@TK2MSFTNGP04.phx.gbl...
> Dunno on KS, but user-mode DirectShow would require you to split the
> data
> logically to 30 media samples and to properly fill the media timestamp in
> each.
>
> You can fire 30 frames at once, but please each with a proper header
> with
> proper media time in it.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> <darshan.tapdia@gmail.com> wrote in message
> news:1148031678.506371.245040@i39g2000cwa.googlegroups.com...
>> Hello all,
>>
>> We are developing a Windows WDM Kernel Streaming (capture) mini
>> driver.This driver receives data from a usb device (web cam) and
>> decodes and submits to the Kernel Streaming Framework for further
>> processing.
>>
>> -->We have configured video properties for 15 fps.
>>
>> We receive the data from the usb device is bursts. (30 frames in 1 sec
>> and a
>> 1 sec gap and 30 frames and so on). As soon as we receive the data we
>> submit
>> it to the KEF.
>>
>> Here are the cases in which confusion lies..
>>
>> --->1) When we play using the "GRAPH Edit" tool we are getting the 15
>> fps. No issues.
>>
>> --->2)When we use some other tool "AMCap"(Comes with XP DDK) which is
>> on the same machine where we successfully run Graph edit with 15fps ,
>> the frame rate is
>> very high. (i.e.) the video is played very fast. and there is a gap in
>> rendering till we receive the next burst of data.
>>
>>
>>
>> --->3) When we play using "Graph Edit" on a "different XP machine" it
>> plays fast.!!!
>>
>> NOTE:minidriver is loaded on Windows XP machine, with direct X 9.0c.
>>
>> Any pointers to solve this problem would be appreciated.
>> Thanks & Rgds,
>> Darshan
>>
>