hi all,<br><br>I got a problem when I am using the theora, but fortunately I was able to solve the problem. So I just wanted to mention it for others who will get the same type of problem.<br><br>I just wanted to see what is going on the &quot;<span style="color: rgb(0, 102, 0);">theora_encode_init</span>&quot; function.<br>
But I was unable to go into this function with debugging the encoder_example<br>So I just insert a &quot;<span style="color: rgb(0, 102, 0);">printf()</span>&quot; in to theora_encode_init function (to get a visible output).<br clear="all">
<br>Then I got the output video file which can not play with a normal player (the file type of this abnormal file is <span style="color: rgb(0, 102, 0);">Ogg multimedia<font color="#000000">, while the type of the playable file is</font></span> <span style="color: rgb(0, 102, 0);">Ogg Theora video</span>).<br>
<br>The given error from the <span style="color: rgb(0, 102, 0);">Totem Movie Player</span> was <span style="color: rgb(204, 0, 0);">Could not determine type of stream.</span><br><br><br>Finally it was found that the output of the <span style="color: rgb(0, 102, 0);">printf()</span> which was added by me is also written in to the encoded video file.<br>
So the players can not understand the file header..<br><br>So I recommend that if anyone want to get a printed output from the encoder, do not use the <span style="color: rgb(0, 102, 0);">printf(&quot;&quot;)</span>, instead of that use <span style="color: rgb(0, 102, 0);">fprintf(stderr, &quot;&quot;)</span><br>
<br>-- <br>-----------<br>Regards,<br>Janaka Priyadarshana