Thanks very much,
<br><br><br>Thanks to you I have understood some more things and it is working now 
<br>much better. The CPU load is suspiciously low (65%), I would expect it 
<br>to be higher. I will do some more tests regarding that.
<br><br><br>My project is quiet big and I am now during my first steps so ... much 
<br>more questions are due to come.
<br><br><br>and the next one is ... how do I stream it so that it will be opened by 
<br>VLC or windows media player. If I use:
<br><br>... ffenc_flv ! udpsink port=5000
<br><br><br>and then open the VLC for streaming at : &nbsp;udp://localhost:5000
<br><br><br>I would expect it to be shown yet I don't.
<br><br><br>Any suggestions?
<br><br><br>Thanks,
<br><br>Regards
<br><br><br>Michael Joachimiak [via GStreamer-devel] wrote:
<br><div class='shrinkable-quote'><br>&gt; This string:
<br>&gt; 'video/x-raw-yuv,width=640,height=480,framerate=30/1'
<br>&gt; is a capabilities string (caps).
<br>&gt; You can change the width and height there to whatever the camera supports.
<br>&gt; call gst-inspect v4l2src to set what options you have.
<br>&gt;
<br>&gt; Same for ffenc_flv. Call gst-inspect ffenc_flv to see what properties 
<br>&gt; you can set when calling gst-launch.
<br>&gt; You can try to change minimal quntaizer values.
<br>&gt;
<br>&gt; Squares are coming because of aliasing, thus changing the quantization 
<br>&gt; parameter might help.
<br>&gt;
<br>&gt;
<br>&gt; 2010/5/26 Yuval Yohai &lt;[hidden email] 
<br>&gt; &lt;/user/SendEmail.jtp?type=node&node=2246904&i=0&gt;&gt;
<br>&gt;
<br>&gt;
<br>&gt; &nbsp; &nbsp; Hello all,
<br>&gt;
<br>&gt; &nbsp; &nbsp; I am very new to Gstreamer.
<br>&gt; &nbsp; &nbsp; I need to stream a video source from a firewire HD camera to a
<br>&gt; &nbsp; &nbsp; remote site
<br>&gt; &nbsp; &nbsp; using cellular modem. The picture quality should be as good as
<br>&gt; &nbsp; &nbsp; possible. Its
<br>&gt; &nbsp; &nbsp; size, though, could be around 640X480 or a little bigger (or
<br>&gt; &nbsp; &nbsp; wider). As of
<br>&gt; &nbsp; &nbsp; now I am doing my first steps using my web cam.
<br>&gt;
<br>&gt; &nbsp; &nbsp; I do this:
<br>&gt; &nbsp; &nbsp; gst-launch-0.10 -v v4l2src device=/dev/video0 !
<br>&gt; &nbsp; &nbsp; 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! ffenc_flv
<br>&gt; &nbsp; &nbsp; ! udpsink
<br>&gt; &nbsp; &nbsp; port=5000
<br>&gt;
<br>&gt; &nbsp; &nbsp; My output video picture is very low in quality. It seem as if the
<br>&gt; &nbsp; &nbsp; encoding
<br>&gt; &nbsp; &nbsp; is very rough (picture has small squares on it).
<br>&gt;
<br>&gt; &nbsp; &nbsp; If I do:
<br>&gt; &nbsp; &nbsp; gst-launch-0.10 -v v4l2src device=/dev/video0 ! ffenc_flv ! udpsink
<br>&gt; &nbsp; &nbsp; port=5000
<br>&gt;
<br>&gt; &nbsp; &nbsp; I get a 1600 X 1400 picture but then I don't know how to resize it
<br>&gt; &nbsp; &nbsp; to a
<br>&gt; &nbsp; &nbsp; smaller format.
<br>&gt;
<br>&gt; &nbsp; &nbsp; Any suggestions?
<br>&gt; &nbsp; &nbsp; Am I on the right track?
<br>&gt;
<br>&gt; &nbsp; &nbsp; Thanks,
<br>&gt; &nbsp; &nbsp; Yuval Yohai
<br>&gt; &nbsp; &nbsp; --
<br>&gt; &nbsp; &nbsp; View this message in context:
<br>&gt; &nbsp; &nbsp; <a href="http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2231076.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2231076.html</a><br>&gt; &nbsp; &nbsp; Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br>&gt;
<br>&gt; &nbsp; &nbsp; ------------------------------------------------------------------------------
<br>&gt; &nbsp; &nbsp; ThinkGeek and WIRED's GeekDad team up for the Ultimate
<br>&gt; &nbsp; &nbsp; GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
<br>&gt; &nbsp; &nbsp; lucky parental unit. &nbsp;See the prize list and enter to win:
<br>&gt; &nbsp; &nbsp; <a href="http://p.sf.net/sfu/thinkgeek-promo" target="_top" rel="nofollow" link="external">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; &nbsp; &nbsp; _______________________________________________
<br>&gt; &nbsp; &nbsp; gstreamer-devel mailing list
<br>&gt; &nbsp; &nbsp; [hidden email] &lt;/user/SendEmail.jtp?type=node&node=2246904&i=1&gt;
<br>&gt; &nbsp; &nbsp; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; -- 
<br>&gt; Your Sincerely
<br>&gt; Michael Joachimiak
<br>&gt;
<br>&gt; ------------------------------------------------------------------------------ 
<br>&gt;
<br>&gt; ThinkGeek and WIRED's GeekDad team up for the Ultimate
<br>&gt; GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
<br>&gt; lucky parental unit. &nbsp;See the prize list and enter to win:
<br>&gt; <a href="http://p.sf.net/sfu/thinkgeek-promo" target="_top" rel="nofollow" link="external">http://p.sf.net/sfu/thinkgeek-promo</a><br>&gt; _______________________________________________
<br>&gt; gstreamer-devel mailing list
<br>&gt; [hidden email] &lt;/user/SendEmail.jtp?type=node&node=2246904&i=2&gt;
<br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;
<br>&gt;
<br>&gt; ------------------------------------------------------------------------
<br>&gt; View message @ 
<br>&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2246904.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2246904.html</a>&nbsp;
<br>&gt;
<br>&gt; To unsubscribe from How do I optimize my encoding and streaming?, 
<br>&gt; click here 
<br>&gt; &lt;<a target="_top" rel="nofollow" link="external">&lt;Link Removed&gt;</a>&gt;. 
<br>&gt;
<br>&gt;
</div><br><br>-- 
<br>Yuval Yohai,
<br>LabTunes
<br><a href="http://www.lab-tunes.com" target="_top" rel="nofollow" link="external">http://www.lab-tunes.com</a><br>E-mail: <a href="/user/SendEmail.jtp?type=node&node=2248713&i=0" target="_top" rel="nofollow">[hidden email]</a>
<br>Tel: 972-(0)54-5613724
<br><br><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2248713.html">Re: How do I optimize my encoding and streaming?</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br>