2010/2/11 Stefan Kost <span dir="ltr">&lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><a href="mailto:katarina.balac@usi.ch">katarina.balac@usi.ch</a> wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am trying to read raw video data from a file and then encode it using 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 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 | theoraenc | oggmux | filesink and the videos from the links above but I am getting the Error: not negotiated.<br>
&gt;<br>
<br>
</div>Use videoparse for raw files.<br>
<br></blockquote><div><br>Great tip, I wish I&#39;d known about that element before. Here&#39;s the working launch line:<br><br> gst-launch -v filesrc location=akiyo_qcif.yuv ! videoparse width=176 height=144 !  xvimagesink<br>
<br>You can also set the format property as needed (for other colorspaces).<br>-Tristan<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Stefan<br>
<div class="im"><br>
&gt; Everything works if I substitute the file source with the test source videotestsrc or a webcam v4l2src but this does not allow me to use standard test videos.<br>
&gt; Is something missing in my pipeline or am I using the wrong format?<br>
&gt; Any suggestions will be appreciated.<br>
&gt;<br>
&gt; Thank you in advance,<br>
&gt; Katarina<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; The Planet: dedicated and managed hosting, cloud storage, colocation<br>
&gt; Stay online with enterprise data centers and the best network in the business<br>
&gt; Choose flexible plans and management services without long-term contracts<br>
&gt; Personal 24x7 support from experience hosting pros just a phone call away.<br>
&gt; <a href="http://p.sf.net/sfu/theplanet-com" target="_blank">http://p.sf.net/sfu/theplanet-com</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
<br>
</div><div class="im">------------------------------------------------------------------------------<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>
</div><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>