Re: Problem with changing video frame rate in capturing
From: Thore Karlsen [MVP DX] (sid_at_6581.com)
Date: 09/13/04
- Next message: Thore Karlsen [MVP DX]: "Re: Got them allocator blues..."
- Previous message: Daniele: "Re: MPEG2 - MPEG1 Cutter"
- In reply to: boyskim: "Problem with changing video frame rate in capturing"
- Next in thread: boyskim: "Thanks a lot for your reply"
- Reply: boyskim: "Thanks a lot for your reply"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 10:37:14 -0500
On Mon, 13 Sep 2004 17:16:28 +0900, "boyskim" <boyskim@packetway.com>
wrote:
>Hi,
>
>I have a problem changing video frame-rate in capturing.
>
>I had changed AvgTimePerFrame field in VIDEOINFOHEADER structure using
>IMediaStreamConfig::SetFormat funtion.
>But, some PC cameras don't change their frame rate.
>
>furthermore, using AMCap program in DirectX SDK sample, cannot change
>captured video frame rate.
>please check saved AVI file using AMCap.
>
>Or, Using GraphEdit,
>
>[Video Capture Source] - [Video Renderer] filters
>and link "Capture" pin in Video Capture Source to "Input" pin in Video
>Renderer
>and at the Pin Properites Dialog in "Capture" pin, change frame-rate.
>
>Some PC camera doesn't change change its frame-rate.
>
>Does anybody know how to change frame-rate in capturing?
If you can't do it in AmCap then the camera might not support it. What
you could do is write a CTransInPlace-derived filter that drops the
frames you don't need. It's pretty simple, you only need to decide which
frames you want to drop and return S_FALSE from the transform function.
-- New to newsgroups? Read: http://dev.6581.com/newsgroups.html
- Next message: Thore Karlsen [MVP DX]: "Re: Got them allocator blues..."
- Previous message: Daniele: "Re: MPEG2 - MPEG1 Cutter"
- In reply to: boyskim: "Problem with changing video frame rate in capturing"
- Next in thread: boyskim: "Thanks a lot for your reply"
- Reply: boyskim: "Thanks a lot for your reply"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|