<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h2
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:18.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:949583487;
        mso-list-template-ids:786333988;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:arabic-leading-zero;
        mso-level-text:%1;
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level2
        {mso-level-start-at:0;
        mso-level-number-format:arabic-leading-zero;
        mso-level-text:%1-%2;
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level3
        {mso-level-start-at:0;
        mso-level-number-format:arabic-leading-zero;
        mso-level-text:%1-%2-%3;
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level4
        {mso-level-start-at:0;
        mso-level-number-format:arabic-leading-zero;
        mso-level-text:%1-%2-%3-%4-0;
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level5
        {mso-level-number-format:arabic-leading-zero;
        mso-level-text:%1-%2-%3-%4-%5;
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level6
        {mso-level-text:"%1-%2-%3-%4-%5\.%6";
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level7
        {mso-level-text:"%1-%2-%3-%4-%5\.%6\.%7";
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level8
        {mso-level-text:"%1-%2-%3-%4-%5\.%6\.%7\.%8";
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
@list l0:level9
        {mso-level-text:"%1-%2-%3-%4-%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:183.0pt;
        mso-level-number-position:left;
        margin-left:183.0pt;
        text-indent:-183.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi everyone,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I face a problem trying to encode a mkv file into
theora using directshow filters<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have a mkv file containing only video encoded in
YUY2.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I use the DirectShowNet Lib V2.1 (<a
href="http://sourceforge.net/projects/directshownet/files/"><font color=black><span
style='color:windowtext;text-decoration:none'>http://sourceforge.net/projects/directshownet/files/</span></font></a>)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I use the matroska splitter directshow filter v1.0.2.9
(<a href="http://www.matroska.org/downloads/windows.html"><font color=black><span
style='color:windowtext;text-decoration:none'>http://www.matroska.org/downloads/windows.html</span></font></a>)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>And I use the xiph theroa encoder directshow filter version
0.82.16930 <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</span>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The graph I try to create looks like :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>fileReader -> Matroska Splitter ->
theoraEncoder.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>When I try to connect theora Encoder to the Matroska
splitter the ConnectDirect() method returns an error Code (0x80040207) which is
interpreted as <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>“There is no common media type between theses
two pins”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>And here is the issue : My guess is there should be a
common media type.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>When I inspect the different media type the matroska
splitter can return (using the EnumMediaTypes method of the pins) I can see :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>f72a76a0-eb0a-11d0-ace4-0000c0cc16ba
73646976-0000-0010-8000-00aa00389b71 32595559-0000-0010-8000-00aa00389b71 <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>VIDEOINFO2 Video YUY2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>05589f80-c356-11ce-bf01-00aa0055595a
73646976-0000-0010-8000-00aa00389b71 32595559-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>VIDEOINFO Video YUY2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>And when I inspect the different media types the
theora encoder should accept I retrieve <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 32315659-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 32315659-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 32595559-0000-0010-8000-00aa00389b71 ****<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 32595559-0000-0010-8000-00aa00389b71 *****<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 56555941-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 56555941-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 e436eb7d-524f-11ce-9f53-0020af0ba770<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 e436eb7d-524f-11ce-9f53-0020af0ba770<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 e436eb7e-524f-11ce-9f53-0020af0ba770<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 e436eb7e-524f-11ce-9f53-0020af0ba770<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 59565955-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 59565955-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 55595659-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 55595659-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>00000000-0000-0000-0000-000000000000
73646976-0000-0010-8000-00aa00389b71 56555949-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:183.0pt;text-indent:-183.0pt;mso-list:
l0 level4 lfo1'><![if !supportLists]><font size=2 face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'><span style='mso-list:Ignore'>00-00-00-00-0<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>73646976-0000-0010-8000-00aa00389b71
56555949-0000-0010-8000-00aa00389b71<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Lines with **** shows that there should be a match no
?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have do the same test using another matroska filter
(Haali media splitter) and the result is the same.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>If someone could have any idea<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanx<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Mathieu<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>