[Theora-dev] Directshow filters 0.64.7878

Robert Huitl theora-dev at huitl.de
Wed Sep 29 05:54:57 PDT 2004


Hi again :)

> P.S.: The MediaTypes have some weird values, but I got them by dumping the
> Theora/Speex-Encoders MediaTypes. So I guess this should be ok.

Well... it isn't okay at all. These are the format blocks I got from the 
encoders' output pins and/or from the sample grabbers:

Video Media Type:
-> bFixedSizeSamples = yes
-> bTemporalCompression = no
-> lSampleSize = 1
-> THEORA FORMAT BLOCK
---> sizeof = 48
---> theoraVersion = 3131961357
---> width = 3131961357
---> height = 3131961357
---> frameWidth = 3131961357
---> frameHeight = 3131961357
---> frameRateNumerator = 5
---> frameRateDenominator = 1
---> aspectNumerator = 3131961357
---> aspectDenominator = 3131961357
---> maxKeyframeInterval = 6
---> targetBitrate = 3131961357
---> targetQuality = 13
---> xOffset = 240
---> yOffset = 173
---> colourSpace = 186

Audio Media Type:
-> bFixedSizeSamples = yes
-> bTemporalCompression = no
-> lSampleSize = 1
-> SPEEX FORMAT BLOCK
---> sizeof = 24
---> speexVersion = 3131961357
---> samplesPerSec = 8000
---> minBitsPerSec = 3131961357
---> avgBitsPerSec = 3131961357
---> maxBitsPerSec = 3131961357
---> numChannels = 1

As soon as I replace the bogus values (3131961357 == 0xBAADF00D) in the video 
block with reasonable ones, the crash disappears and my source filter works. 
Correct format blocks would be very handy, though ;-)

Bye,
  Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040929/deee794b/attachment.pgp


More information about the Theora-dev mailing list