更新时间:2023-10-17 15:34:04
您可以尝试以下操作: https://github.com/lightsofapollo/x-recorder
You could try this : https://github.com/lightsofapollo/x-recorder
它的作用非常简单:启动命令的xvfb运行,然后用ffmpeg记录X11输出.
What it does is pretty simple : start an xvfb-run of your command, then record the X11 output with ffmpeg.