ximagesrc performace issue
Stirling Westrup
swestrup at gmail.com
Mon Jan 21 08:35:00 PST 2013
On Mon, Jan 21, 2013 at 11:22 AM, vthothadri <thothadri at land.ufrj.br> wrote:
> I am building an application where it is essential to record my desktop. I
> decided to use gstreamer. I use ximagesrc to record my dekstop. this is how
> the line in the code looks
>
> gst_parse_launch("ximagesrc ! queue ! videoscale !
> video/x-raw-rgb,width=640,height=480,framerate=30/1 ! queue !
> ffmpegcolorspace ! theoraenc ! queue ! oggmux ! filesink
> location=test.ogg",&error);
>
> I am using dual core computer with 2 GB Ram . I am able to record the
> desktop. But the problem i have is , when i play the recorded video , at
> time it plays and at times, " it get stuck " . I am not able rely on this
> completely. Is there any solution ? or am I doing anything wrong here ?
>
> thanks in advance,
> thothadri
>
>
>
Try 'use-damage=0' for ximagesrc. That fixed a similar problem I was
having with it.
So, your command would be
gst_parse_launch("ximagesrc use-damge=0 ! queue ! videoscale !
video/x-raw-rgb,width=640,height=480,framerate=30/1 ! queue !
ffmpegcolorspace ! theoraenc ! queue ! oggmux ! filesink
location=test.ogg",&error);
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
More information about the gstreamer-devel
mailing list