<div class="gmail_quote">2010/2/10 <a href="mailto:katarina.balac@usi.ch">katarina.balac@usi.ch</a> <span dir="ltr">&lt;<a href="mailto:katarina.balac@usi.ch">katarina.balac@usi.ch</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Thank you very much for your answer. Unfortunately, this returns the error<br>
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind: Could not determine type of stream<br>
Is there anything else I can try?<br>
<br></blockquote><div><br>I would focus on just trying to play it first. I tried the first file, akiyo.yuv with a few different programs to no avail. It doesn&#39;t have any header info as it appears to just be raw video data. You could try setting a capsfilter with different caps, i.e.<br>
gst-launch -v filesrc ! video/x-raw-yuv, .... ! decodebin ! xvimagesink<br>but i&#39;m not sure how this will work since I don&#39;t think the files have a fourcc.<br><br>Good luck,<br>Tristan<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Thanks,<br>
Katarina<br>
<div class="im"><br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am trying to read raw video data from a file and then encode it using<br>
&gt; theora encoder. I would like to use standard test videos such as these:<br>
&gt; <a href="http://media.xiph.org/video/derf/" target="_blank">http://media.xiph.org/video/derf/</a>  (uncompressed YUV4MPEG, says it is the<br>
&gt; format accepted by the Theora encoder tools)<br>
&gt; <a href="http://trace.eas.asu.edu/yuv/" target="_blank">http://trace.eas.asu.edu/yuv/</a><br>
&gt;<br>
&gt; I have tried with a pipeline like this: filesrc | ffmpegcolorspace |<br>
&gt; theoraenc | oggmux | filesink and the videos from the links above but I am<br>
&gt; getting the Error: not negotiated.<br>
&gt;<br>
&gt;<br>
Try:<br>
filesrc ! decodebin | ffmpegcolorspace | theoraenc | oggmux | filesink<br>
<br>
decodebin is an element to &quot;Autoplug and decode to raw media&quot;<br>
<br>
-Tristan<br>
<br>
</div>------------------------------------------------------------------------------<br>
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,<br>
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW<br>
<a href="http://p.sf.net/sfu/solaris-dev2dev" target="_blank">http://p.sf.net/sfu/solaris-dev2dev</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tristan Matthews<br>email: <a href="mailto:tristan@sat.qc.ca">tristan@sat.qc.ca</a><br>web: <a href="http://tristanswork.blogspot.com">http://tristanswork.blogspot.com</a><br>