Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:12:22+00:00 2026-06-17T20:12:22+00:00

I am building an application where it is essential to record my desktop. I

  • 0

I am building an application where it is essential to record my desktop. I decided to use gstreamer since i m using c++ to develop my application .
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 able to record the desktop. I am using dual core computer with 2 GB Ram . But the problem i have is , when i play the recorded video , at time it plays and at times, it hangs . I am not able rely on this completely. Is there any solution ? or am I doing anything wrong here ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:12:22+00:00Added an answer on June 17, 2026 at 8:12 pm

    I posted the same question in the forum for gstreamer and i got some good responses.
    One of them mentioned to use “use-damage=0” with ximagesrc. And i reduced the frame rate as well. Its looks like this.

    gst_parse_launch("ximagesrc use-damage=0 ! queue ! videoscale ! video/x-raw-rgb,width=640,height=480,framerate=10/1 ! queue ! ffmpegcolorspace ! theoraenc ! queue ! oggmux ! filesink location=test.ogg",&error);
    

    This worked well and the machine didnt hang after this. The main reason i think its because, when you use use-damage=0, it sends the updates of the screen rather than sending the whole screen. Hence, it reduces the cpu as well and better the performance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building this application using PHP, MySQL and jQuery. Essentially it's a checklist management
Unlike this question: Linker Error while building application using Boost Asio in Visual Studio
I'm building application with GWT + GAE on my MAC. In this app i
I'm building an application with a domain model using CQRS and domain events concepts
I'm building an application for iPhone(iOS 5) using Phonegap(Html + Javascript + Css), and
I'm building my application using PhoneGap Build and all builds are ok with the
I am using the Model-View-ViewModel architecture in a WPF application I am building, and
I'm building a Zend-based Web app that will permit third-party extensions. Essentially, this application's
I currently have a Maven application within Netbeans. Since I need to use regular
I am building an application that makes heavy use of Enum s for custom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.