<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">As pointed out by someone else the encode can be expensive, so if you can reduce the amount of data to be encoded you can save CPU.<div><br></div><div>Generally this could mean using the videorate element to reduce the frame rate or videoscale element to reduce the resolution. &nbsp;Also can you set the bitrate with the H263 encoder? &nbsp; By default the h264 bitrate is reasonably high - nothing wrong with that, but if you want to reduce the size of the video and save on CPU I would suggest picking something a bit lower.</div><div><br></div><div><br><div><div>On 2 Feb 2011, at 05:39, Umakant Goyal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<br><br>Are there elements that can help to increase the performance of pipeline if i would insert them into the pipeline.<br>Actually, i am using gstreamer to transcode video file from one format to another format. What i found that this process is taking lot of CPU.<br>
Now i want to optimize the pipeline to make it eats less CPU. I am using following pipeline to transcode data:<br><br><b>filesrc -&gt; decodebin2 -&gt; queue -&gt; ffmpegcolorspace -&gt; videoscale -&gt; capsfilter -&gt; ffenc_h263 -&gt; filesink</b><br>
<br>Any help/pointer/ will be appreciated. Can any one also share which element is eating lot of CPU in above given pipeline?<br><br>Thanks in Advance<br><br><br>
------------------------------------------------------------------------------<br>Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>Finally, a world-class log management solution at an even better price-free!<br>Download using promo code Free_Logger_4_Dev2Dev. Offer expires <br>February 28th, so secure your free ArcSight Logger TODAY! <br><a href="http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________">http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________</a><br>gstreamer-devel mailing list<br>gstreamer-devel@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br></blockquote></div><br></div></body></html>