[theora] Cannot connect matroska splitter to theora encoder

ZEDER Mathieu BU IT&L@bs mathieu.zeder at orange-ftgroup.com
Wed Apr 14 02:20:25 PDT 2010


Hi everyone,

 

I face a problem trying to encode a mkv file into theora using directshow
filters

 

I have a mkv file containing only video encoded in YUY2.

 

 

I use the DirectShowNet  Lib V2.1 (
<http://sourceforge.net/projects/directshownet/files/>
http://sourceforge.net/projects/directshownet/files/)

 

I use the matroska splitter directshow filter v1.0.2.9 (
<http://www.matroska.org/downloads/windows.html>
http://www.matroska.org/downloads/windows.html)

 

And I use the xiph theroa encoder directshow filter version  0.82.16930 

 

The graph I try to create looks like :

 

fileReader -> Matroska Splitter -> theoraEncoder.

 

When I try to connect theora Encoder to the Matroska splitter the
ConnectDirect() method returns an error Code (0x80040207) which is
interpreted as 

"There is no common media type between theses two pins"

 

And here is the issue : My guess is there should be a common media type.

 

When I inspect the different media type the matroska splitter can return
(using the EnumMediaTypes method of the pins) I can see :

 

f72a76a0-eb0a-11d0-ace4-0000c0cc16ba 73646976-0000-0010-8000-00aa00389b71
32595559-0000-0010-8000-00aa00389b71 

VIDEOINFO2                                                   Video
YUY2

 

05589f80-c356-11ce-bf01-00aa0055595a 73646976-0000-0010-8000-00aa00389b71
32595559-0000-0010-8000-00aa00389b71

VIDEOINFO                                                     Video
YUY2

 

 

And when I inspect the different media types the theora encoder should
accept I retrieve 

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
32315659-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
32315659-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
32595559-0000-0010-8000-00aa00389b71 ****

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
32595559-0000-0010-8000-00aa00389b71 *****

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
56555941-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
56555941-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
e436eb7d-524f-11ce-9f53-0020af0ba770

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
e436eb7d-524f-11ce-9f53-0020af0ba770

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
e436eb7e-524f-11ce-9f53-0020af0ba770

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
e436eb7e-524f-11ce-9f53-0020af0ba770

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
59565955-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
59565955-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
55595659-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
55595659-0000-0010-8000-00aa00389b71

00000000-0000-0000-0000-000000000000 73646976-0000-0010-8000-00aa00389b71
56555949-0000-0010-8000-00aa00389b71

00-00-00-00-0
73646976-0000-0010-8000-00aa00389b71 56555949-0000-0010-8000-00aa00389b71

 

 

Lines with **** shows that there should be a match no ?

 

I have do the same test using another matroska filter (Haali media splitter)
and the result is the same.

 

 

If someone could have any idea

 

Thanx

 

Mathieu

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20100414/b79d15c8/attachment-0001.htm 


More information about the theora mailing list