I was wondering if anyone has had any luck with recording screen captures in 
Qubes. I tried the following FFmpeg line, which worked fine except it's only 
capturing a 640x480 corner of the screen. I'm not sure if this is Qubes-related 
or if I'm just not using it correctly. Note, I'm running this inside a Fedora 
VM, meaning other VMs' windows seem to be invisible (which is what I want in 
this case). Also, window borders and anything else drawn by dom0 seems to be 
invisible, but window content appears to be captured fine apart from the 
capture area being too small.

$ ffmpeg -f x11grab -i :0.0 -vcodec libvpx -s 1920x1080 /tmp/ffout.webm
[...]
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1579388031.870036, bitrate: N/A
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 640x480, 29.97 fps, 
29.97 tbr, 1000k tbn, 1000k tbc
File '/tmp/ffout.webm' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[libvpx @ 0x56c7902a5900] v1.8.1
Output #0, webm, to '/tmp/ffout.webm':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: vp8 (libvpx), yuv420p, 1920x1080, q=-1--1, 200 kb/s, 
29.97 fps, 1k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.35.100 libvpx
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[...]

Even though I'm setting the output resolution to my screen size, it seems to be 
detecting the input resolution at 640x480, and I haven't found any way to 
specify input resolution. I've tried with several different codec/container 
combinations but it still only captures the upper left corner.

I was wondering if it could have something to do with Qubes because of the way 
the desktop is shared by different VMs.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e6656cf4c1a92e5766aad253a0fc252a%40disroot.org.

Reply via email to