<br><br><div class="gmail_quote">2010/6/18 Andoni Morales <span dir="ltr">&lt;<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">As you see (and as I told you in the first reply) width and height are</div>
not a range and you need a videoscale before the encoder. Your<br>
pipeline should look like:<br>
<div class="im">$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace !<br>
</div>video/x-raw-yuv,width=320,height=240 ! videoscale ! ffenc_h263 !<br>
fakesink<br></blockquote><div><br></div><div>No, I can&#39;t see... gst-inspect says that, as src element, it accepts x/video-raw (no size specified). As a src to other elements I see that it only support several sizes.</div>
<div><br></div><div>I think that the documentation of this element is &quot;bad&quot; in this aspect, but it&#39;s only my opinion :P I&#39;m a complete dummy with gstreamer :D</div><div><br></div><div>I tried, as you suggested, using videoscale, and it worked perfectly for me. I was able to use several different formats for the stream (mpeg4, theora, h263...).</div>
<div><br></div><div>Thanks for all!!</div></div>