Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Video duration inconsistent with Capture duration

Reply
Thread Tools Display Modes

Video duration inconsistent with Capture duration

 
 
Mini UVC UAC
Guest
Posts: n/a

 
      12-03-2009
Hi, All:
our device is an USB Video Device compliant with USB Video Class V1.0.
After loaded the Microsoft InBox UVC driver, the video preview function is OK.
But when capture video, then playback it, the capture duration is
inconsisten with video duaration.
for the UVC descriptor, he uncompressed YUY2 frame type decriptor
report the each frame interval is 30fps, and our device acturally output
25fps.

But When capture the video using AMCAP or Ulead, there are no any
dropped counts reported by the software/uvc driver. I think it is the main
reason which lead to inconsistence.
So whether there are some bugs about MS Inbox UVC 1.0 Driver? Who can
give me some suggestion about how to compute the dropped counts?

Thanks in advance.

attached the UVC descriptor.

BR
Zhihua
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      12-03-2009
Mini UVC UAC <> wrote:
>
> our device is an USB Video Device compliant with USB Video Class V1.0.
>After loaded the Microsoft InBox UVC driver, the video preview function is OK.
>But when capture video, then playback it, the capture duration is
>inconsisten with video duaration.
> for the UVC descriptor, he uncompressed YUY2 frame type decriptor
>report the each frame interval is 30fps, and our device acturally output
>25fps.


That's a problem, don't you think? Do you report actual timestamps in your
headers?

> But When capture the video using AMCAP or Ulead, there are no any
>dropped counts reported by the software/uvc driver. I think it is the main
>reason which lead to inconsistence.
> So whether there are some bugs about MS Inbox UVC 1.0 Driver? Who can
>give me some suggestion about how to compute the dropped counts?


Why do you think there are bugs? No frames were dropped. You are just
delivering frames late.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Mini UVC UAC
Guest
Posts: n/a

 
      12-03-2009
Hi, Tim Roberts:

Thanks very much for your soon reply.

First, I have reported the actually timestamps(25fps) in the video frame
header, even though uncompressed YUY2 frame type decriptor defined the each
frame interval is 30fps.
Second, we also develop ourself device driver, and report the 5 frame
drop count per second in the reqeust KSPROPERTY_DROPPEDFRAMES_CURRENT, then
the same problem is not produced.
But for MS Windows inbox UVC driver, I can't see any dropped frame
counts, and the problem happened.
Does it mean that there are some bugs ?

in other way, we have do the following experiment:
if our device output the fixed frame rate 15fps, and also report the actuall
timestamps(15fps) in the header, MS Windows inbox uvc driver will report the
correct dropped frame counts(15 frame per second), and of course, the problem
is also not happned.

Thanks;

BR
Hardys

"Tim Roberts" wrote:

> Mini UVC UAC <> wrote:
> >
> > our device is an USB Video Device compliant with USB Video Class V1.0.
> >After loaded the Microsoft InBox UVC driver, the video preview function is OK.
> >But when capture video, then playback it, the capture duration is
> >inconsisten with video duaration.
> > for the UVC descriptor, he uncompressed YUY2 frame type decriptor
> >report the each frame interval is 30fps, and our device acturally output
> >25fps.

>
> That's a problem, don't you think? Do you report actual timestamps in your
> headers?
>
> > But When capture the video using AMCAP or Ulead, there are no any
> >dropped counts reported by the software/uvc driver. I think it is the main
> >reason which lead to inconsistence.
> > So whether there are some bugs about MS Inbox UVC 1.0 Driver? Who can
> >give me some suggestion about how to compute the dropped counts?

>
> Why do you think there are bugs? No frames were dropped. You are just
> delivering frames late.
> --
> Tim Roberts,
> Providenza & Boekelheide, Inc.
> .
>

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      12-06-2009
Mini UVC UAC <> wrote:
>
> First, I have reported the actually timestamps(25fps) in the video frame
>header, even though uncompressed YUY2 frame type decriptor defined the each
>frame interval is 30fps.


Why is the actual frame rate different than what you reported in the
descriptor? When do you know the actual frame rate? Maybe you need to
report a frame range in the descriptor, then report the actual rate during
the probe and commit process.

> Second, we also develop ourself device driver, and report the 5 frame
>drop count per second in the reqeust KSPROPERTY_DROPPEDFRAMES_CURRENT, then
>the same problem is not produced.
> But for MS Windows inbox UVC driver, I can't see any dropped frame
>counts, and the problem happened.
> Does it mean that there are some bugs ?


I doubt it. Technically speaking, no frames are being dropped. The driver
has delivered every frame that was sent. You hardware is lying: it is
delivering frames at a rate different from the rate you promised.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Mini UVC UAC
Guest
Posts: n/a

 
      12-07-2009
Hi, Tim:
The case which actually frame rate is different with the rate reported
in the descritor table is very polular. and most parts of other usb cameras
vary the frame rate according to the light exposure, in order to get better
image quality.
For describe the question simply and clearly, I just select the fixed
rate 25fps as the example.

"Tim Roberts" wrote:

> Mini UVC UAC <> wrote:
> >
> > First, I have reported the actually timestamps(25fps) in the video frame
> >header, even though uncompressed YUY2 frame type decriptor defined the each
> >frame interval is 30fps.

>
> Why is the actual frame rate different than what you reported in the
> descriptor? When do you know the actual frame rate? Maybe you need to
> report a frame range in the descriptor, then report the actual rate during
> the probe and commit process.
>
> > Second, we also develop ourself device driver, and report the 5 frame
> >drop count per second in the reqeust KSPROPERTY_DROPPEDFRAMES_CURRENT, then
> >the same problem is not produced.
> > But for MS Windows inbox UVC driver, I can't see any dropped frame
> >counts, and the problem happened.
> > Does it mean that there are some bugs ?

>
> I doubt it. Technically speaking, no frames are being dropped. The driver
> has delivered every frame that was sent. You hardware is lying: it is
> delivering frames at a rate different from the rate you promised.
> --
> Tim Roberts,
> Providenza & Boekelheide, Inc.
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert MTS, TS, M2TS Video to HD video, MP4, WMV, AVI... kankan ll Windows Media Player 17 07-27-2011 07:25 AM
How to convert MTS, TS, M2TS Video to HD video, MP4, WMV, AVI... angle009 Windows Vista Music, Pictures and Video 2 12-21-2009 12:35 PM
How to convert DVD and video to iPhone,iPod touch, iPod classic, iPod video, iPod nano, Zune, PSP, mobile phones... kenger Windows Vista Music, Pictures and Video 0 11-19-2009 01:54 AM
How to convert MTS, TS, M2TS Video to HD video, MP4, WMV, AVI... angle009 Windows Vista Music, Pictures and Video 0 11-06-2009 04:15 AM
RE: Convert video for your Archos player dvdmm Windows Vista Music, Pictures and Video 0 11-05-2009 03:14 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59