Robotics StackExchange | Archived questions

Record Gazebo Simulation

Hi, Can anyone tell me how to record the simulation that I run on Gazebo and rviz? I am unable to find any documents suggesting the solution.

Ubuntu - 120.4 precise ROS - Groovy

Asked by Ros_newbie on 2014-04-27 20:13:08 UTC

Comments

Answers

You can use screen grabber utilities or run command line tool s like ffmpeg. Maximise the output you want to capture as these tool grab complete screen. I use following command:

ffmpeg  -f x11 grab -s <screen resolution> -r 25 -i 0.0 <output file name>

Screen resolution parameter  is display dependent e.g. xvga . Use ffmpeg man page for more information.

Prince.

Asked by prince on 2014-04-27 23:26:03 UTC

Comments

I am trying to install this - RecordingOpenGLAppsWithGLC. But I am not able to follow the instructions. https://github.com/nullkey/glc/wiki/Install

It says After Building.. Now how do I build it?

Asked by Ros_newbie on 2014-04-28 13:54:35 UTC

I have not used it earlier. I use ffmpeg. Simply use the command which I mentioned. I have tested it a number of times.

Asked by prince on 2014-05-04 22:16:27 UTC

ffmpeg can grab a specific area of the screen, not just the entire screen. It's quite a complex and long command line, though. I created an alias for it. I'm away from my Linux box or I'd paste it here.

Asked by Kurt Leucht on 2014-05-05 16:50:54 UTC

I use package recordMyDesktop to record a simulation. If you check it on Ubuntu Software Center, you can find it out. Please look at this web.

https://apps.ubuntu.com/cat/applications/gtk-recordmydesktop/

https://www.youtube.com/watch?v=ExleT8uAdFc

As it is easy to download and install it, please try it!

Asked by Ken_in_JAPAN on 2014-05-04 05:19:29 UTC

Comments

Try Filmora Scrn or Joyoshare Screen Recorder. They can record almost all desktop activities in high quality. OBS is good as well, but sometimes I got black capture window issue.

Asked by Ambernie on 2020-09-02 21:14:34 UTC

Comments