VP8 config FPS, Width and Height with DirectShow

290 views
Skip to first unread message

FastRidingZebra

unread,
May 4, 2012, 11:46:52 AM5/4/12
to WebM Discussion
Hy,

I´m using the vp8encoderidl.h with its IVP8Encoder Interface to
configure my
VP8 Encoder in my DirectShow Application.
SetTargetBitrate I found, but I cant find the Settings for FPS, Width
and Height.

What am I missing?
Thanks for help

Matthew Heaney

unread,
May 4, 2012, 11:58:03 AM5/4/12
to webm-d...@webmproject.org
On Fri, May 4, 2012 at 11:46 AM, FastRidingZebra
<fastrid...@googlemail.com> wrote:
>
> I´m using the vp8encoderidl.h with its IVP8Encoder Interface to
> configure my
> VP8 Encoder in my DirectShow Application.

OK


> SetTargetBitrate I found, but I cant find the Settings for FPS, Width
> and Height.

Width and Height are determined by the upstream filter.

FPS is determined by the upstream source filter.


> What am I missing?

You haven't told us about the rest of your graph. What is the VP8
encoder filter connected to?

-Matt

FastRidingZebra

unread,
May 5, 2012, 9:35:02 AM5/5/12
to WebM Discussion


On 4 Mai, 17:58, Matthew Heaney <matthewjhea...@google.com> wrote:
> On Fri, May 4, 2012 at 11:46 AM, FastRidingZebra
>
> <fastridingze...@googlemail.com> wrote:
>
> > I´m using the vp8encoderidl.h with its IVP8Encoder Interface to
> > configure my
> > VP8 Encoder in my DirectShow Application.
>
> OK
>
> > SetTargetBitrate I found, but I cant find the Settings for FPS, Width
> > and Height.
>
> Width and Height are determined by the upstream filter.
>
> FPS is determined by the upstream source filter.
>
> > What am I missing?
>
> You haven't told us about the rest of your graph.  What is the VP8
> encoder filter connected to?
>
> -Matt

Thanks for your answer.

My Graph is:

Capture Device Filter -> Vp8 Encoder -> WebM Mux -> Filesink.

So I have to configure my fps in the Capture Device Filter?

Matthew Heaney

unread,
May 5, 2012, 10:16:02 PM5/5/12
to webm-d...@webmproject.org
On Sat, May 5, 2012 at 9:35 AM, FastRidingZebra
<fastrid...@googlemail.com> wrote:
>
>
> So I have to configure my fps in the Capture Device Filter?

Yes

Pascal Laube

unread,
May 9, 2012, 6:52:16 AM5/9/12
to WebM Discussion
Hy,

after checking the framerate at my device I dont think this is the
problem.
The FrameRate is set to 30 fps but vp8 produces a very low framerate
video.
So I tried to test my capture setup in GraphEdit and same problem
there, vp8
is not producing fluid video.
So I think this is a vp8 settings problem this is the settings page in
GraphEdit
http://tinypic.com/r/1zl7xpi/6

How does vp8 has to be configured to get a fluid video?
(also I dont see any settings about quality or cpu-usage etc..)

Thanks for help

On May 6, 4:16 am, Matthew Heaney <matthewjhea...@google.com> wrote:
> On Sat, May 5, 2012 at 9:35 AM, FastRidingZebra
>

Matthew Heaney

unread,
May 9, 2012, 3:03:18 PM5/9/12
to webm-d...@webmproject.org
On Wed, May 9, 2012 at 6:52 AM, Pascal Laube
<pascal...@googlemail.com> wrote:
>

> So I think this is a vp8 settings problem this is the settings page in
> GraphEdit
> http://tinypic.com/r/1zl7xpi/6
>
> How does vp8 has to be configured to get a fluid video?
> (also I dont see any settings about quality or cpu-usage etc..)


Try setting the deadline value to 1 (real-time mode).

-Matt

Pascal Laube

unread,
May 11, 2012, 8:18:20 AM5/11/12
to WebM Discussion
Jap ... deadline it was. Thx

On May 9, 9:03 pm, Matthew Heaney <matthewjhea...@google.com> wrote:
> On Wed, May 9, 2012 at 6:52 AM, Pascal Laube
>
Reply all
Reply to author
Forward
0 new messages