Export with higher resolution
EdJoPaTo opened this issue · 1 comments
EdJoPaTo commented
I tried to export a recording with higher resolution as some fonts can be quite small in screen sharings. Simply adapting the width/height variables and xvfb args (as seen below) change the resolution internally (elements are larger/smaller) but the final video resolution seems to stay the same.
Lines 12 to 15 in 7f3ef44
I haven't found out where or how I might be able to change that. I assume that might be easy when knowing where to look and I just looked at the wrong places.
For someone else looking into it: I changed the linked source code towards the following as its nicer to edit but it does technically the same.
+var width = 1280;
+var height = 720;
var xvfb = new Xvfb({
silent: true,
- xvfb_args: ["-screen", "0", "1280x800x24", "-ac", "-nolisten", "tcp", "-dpi", "96", "+extension", "RANDR"]
+ xvfb_args: ["-screen", "0", `${width}x${height + 80}x24`, "-ac", "-nolisten", "tcp", "-dpi", "96", "+extension", "RANDR"]
});
-var width = 1280;
-var height = 720;