Linux command
recordmydesktop 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Record full screen
recordmydesktop -o [output.ogv]
Record specific window
recordmydesktop --windowid $(xdotool selectwindow) -o [output.ogv]
Record area
recordmydesktop -x [100] -y [100] --width [800] --height [600] -o [output.ogv]
Record without sound
recordmydesktop --no-sound -o [output.ogv]
说明
recordmydesktop is a lightweight screen recorder for Linux X11 sessions that captures desktop video and audio to Ogg Theora/Vorbis format. It can record the full screen, a specific window selected by ID, or a rectangular region defined by position and dimensions. Audio is captured from the default ALSA or OSS input device and can be disabled with --no-sound. Recording is stopped with Ctrl+C, after which the tool encodes the captured frames into the final output file. The --on-the-fly-encoding option encodes during recording to reduce post-processing time at the cost of higher CPU usage.
参数
- -o _file_
- Output file.
- --windowid _id_
- Record specific window.
- -x, -y
- Starting position.
- --width, --height
- Recording dimensions.
- --no-sound
- Disable audio.
- --fps _n_
- Frames per second.
- --delay _n_
- Delay before start.
- --on-the-fly-encoding
- Encode while recording.
FAQ
What is the recordmydesktop command used for?
recordmydesktop is a lightweight screen recorder for Linux X11 sessions that captures desktop video and audio to Ogg Theora/Vorbis format. It can record the full screen, a specific window selected by ID, or a rectangular region defined by position and dimensions. Audio is captured from the default ALSA or OSS input device and can be disabled with --no-sound. Recording is stopped with Ctrl+C, after which the tool encodes the captured frames into the final output file. The --on-the-fly-encoding option encodes during recording to reduce post-processing time at the cost of higher CPU usage.
How do I run a basic recordmydesktop example?
Run `recordmydesktop -o [output.ogv]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _file_ do in recordmydesktop?
Output file.