[theora-dev] Using the VP3 ENCODER in a DIRECTSHOW GRAPH wit defined quality and BANDWIDTH - HOW?

Thomas Tomiczek t.tomiczek at thona-consulting.com
Wed Aug 21 23:58:43 PDT 2002



Daniel,

This is not realy convincing. Good, I could use this (not really a
problem), but - well - the main problem is propably that I would have to
rewrite this key whenever the application starts, writing back the
original value when the application stops. That is not really nice.

Is there any plan to write a "real" DirectShow filter, one that
(a) complies fully iwth the DirectShow standards, such as:
        (1) implementing the interface for video compressors to set
quality in a "easy one number way"
        (2) implementing bandwidth configuration by the stupid and
ridiculous way Dx has decided to use (i.e. set it on the output pin's
media type)
        (3) implements a custom interface for the other configuration,
in case the application is allowed to "have knowledge" of the filer
(instead of being a generic application able to use any filter)
        (4) implements dialogs to configure the filter?

I must say that I might be willing to set up a price for the inclusion
of this functionality into DirectShow in the case that - well - the VP 3
codec is of at least the same quality as intel indeo (which I actually
and perfectly assume it will be). I do not feel too comfortable using
the Video Encoder that seems to be a VfW wrapper.

Just as an end note - bear with me that I just want to have a version
her ethat I can show:

(a) can you just send me a sample of how the registry line would have to
look for a 90kbit video stream, 10 frames per second? And what would be
the full key? I will try to find out, but I try to just use the filter
:-)

(b) is there any chance that an official MSM file will be released for
filter installation? Right now I have to ways to handle this, especially
with the upcoming LGPL:
        (1) include and slave the full official installation - that is
NOT really nice.
        (2) include the filter dll's in my own installer, explaining the
license etc.
Both are not good. I would prefer (3):
        (3) merge an official merge module for the filter that is
installing (or autoamtically upgrading) the filter on it's "official
location" etc.

Thanks in advance - I really hope that the VP3 codec is meeting the
demands of our application and will try inserting it today or tomorrow
:-)

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)

-----Original Message-----
From: Daniel B. Miller [mailto:dan at on2.com] 
Sent: Mittwoch, 21. August 2002 20:36
To: theora-dev at xiph.org
Cc: owner-theora-dev at xiph.org
Subject: Re: [theora-dev] Using the VP3 ENCODER in a DIRECTSHOW GRAPH
wit defined quality and BANDWIDTH - HOW?

<p>so you are using the VFW codec, right?

The codec presently looks in the registry to get the bandwidth
parameters.

I would suggest looking at this function (in vp31vfw.cpp):

void registry2settings(COMP_CONFIG &CompConfig)
{
        char vp3settings[120];
        unsigned long size;

<p>Registry_GetEntry(&vp3settings,REG_CSTRING,&size,"strSettings",REGACCESS
);

    sscanf( vp3settings,
                "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld ",
                &CompConfig.TargetBitRate,
                &CompConfig.Quality,
                &CompConfig.KeyFrameDataTarget,
                &CompConfig.AllowDF,
                &CompConfig.QuickCompress,
                &CompConfig.AutoKeyFrameEnabled,
                &CompConfig.AutoKeyFrameThreshold,
                &CompConfig.MinimumDistanceToKeyFrame,
                &CompConfig.ForceKeyFrameEvery,
                &CompConfig.NoiseSensitivity);
}

 ___  Dan Miller
(++,) CTO and founder, On2 Technologies

On Wed, 21 Aug 2002, Thomas Tomiczek wrote:

> Hello,
>
> Due to some licensing changes (and because I actually want to promote 
> this, too) I want to replace our usage of Intel Indeo 5 with VP3 in a 
> video conferencing pplication we are just developing (check: 
> http://www.stnadby24.no/ for infos (english language) on the 
> application).
>
> My problem is this: I need to define at least the bandwidth. I am 
> feeding full frames from the camera with a given maximum framerate 
> (10), and have a bandwidth of around 90kbit for the video stream.
>
> How? The codec seems to ignore any output side bandwidth setting I 
> have entered.
>
> Can anyone recommend, please?
>
> Regards
>
> Thomas Tomiczek
> THONA Consulting Ltd.
> (Microsoft MVP C#/.NET)
>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'theora-dev-request at xiph.org' containing only the word 'unsubscribe' in
the body.  No subject is needed. Unsubscribe messages sent to the list
will be ignored/filtered.
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Theora-dev mailing list