I'm trying to record a headless, xpra display. (I've attempted both the xvfb and Xdummy options).
The issue is with ffmpeg's "x11grab". The command being used is:
/usr/bin/ffmpeg -y -framerate 2 -video_size 1920x1080 -f x11grab -i :102 -vcodec libx264 -crf 0 -preset ultrafast /output.mkv
The problem is that this just records a blank display. It's complete white except for the black X that you'd recognize on a linux system.
Ffmpeg works fine for recording "real" displays, and I can attach to the xpra session and see that there are in fact windows in the display. Also, piping an xwd output into xwud shows those same windows.
I've wasted all day on this! Anybody know any hacks that I can do to make x11grab work?