ffmpeg started on 2019-11-03 at 10:41:42 Report written to "/tmp/1572748901.mp4.log" Command line: ffmpeg -report -hide_banner -loglevel quiet -f pulse -i default -c:a aac -crtc_id 48 -framerate 30 -f kmsgrab -i - -vaapi_device /dev/dri/renderD128 -filter:v "hwmap,scale_vaapi=w=2560:h=1440:format=nv12" -c:v h264_vaapi /home/hendry/recordmydesktop2.0/2019-11-03/1572748901.mp4 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'quiet'. Reading option '-f' ... matched as option 'f' (force format) with argument 'pulse'. Reading option '-i' ... matched as input url with argument 'default'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'. Reading option '-crtc_id' ... matched as AVOption 'crtc_id' with argument '48'. Reading option '-framerate' ... matched as AVOption 'framerate' with argument '30'. Reading option '-f' ... matched as option 'f' (force format) with argument 'kmsgrab'. Reading option '-i' ... matched as input url with argument '-'. Reading option '-vaapi_device' ... matched as option 'vaapi_device' (set VAAPI hardware device (DRM path or X11 display name)) with argument '/dev/dri/renderD128'. Reading option '-filter:v' ... matched as option 'filter' (set stream filtergraph) with argument 'hwmap,scale_vaapi=w=2560:h=1440:format=nv12'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_vaapi'. Reading option '/home/hendry/recordmydesktop2.0/2019-11-03/1572748901.mp4' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option hide_banner (do not show program banner) with argument 1. Applying option loglevel (set logging level) with argument quiet. Applying option vaapi_device (set VAAPI hardware device (DRM path or X11 display name)) with argument /dev/dri/renderD128. [AVHWDeviceContext @ 0x555d00fa8a00] libva: VA-API version 1.5.0 [AVHWDeviceContext @ 0x555d00fa8a00] libva: va_getDriverName() returns 0 [AVHWDeviceContext @ 0x555d00fa8a00] libva: Trying to open /usr/lib/dri/i965_drv_video.so [AVHWDeviceContext @ 0x555d00fa8a00] libva: Found init function __vaDriverInit_1_3 [AVHWDeviceContext @ 0x555d00fa8a00] libva: va_openDriver() returns 0 [AVHWDeviceContext @ 0x555d00fa8a00] Initialised VAAPI connection: version 1.5 [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x32315659 -> yuv420p. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x30323449 -> yuv420p. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x3231564e -> nv12. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x32595559 -> yuyv422. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x59565955 -> uyvy422. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x48323234 -> yuv422p. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x58424752 -> rgb0. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x58524742 -> bgr0. [AVHWDeviceContext @ 0x555d00fa8a00] Format 0x30313050 -> p010le. [AVHWDeviceContext @ 0x555d00fa8a00] VAAPI driver: Intel i965 driver for Intel(R) Kaby Lake - 2.3.0. [AVHWDeviceContext @ 0x555d00fa8a00] Driver not found in known nonstandard list, using standard behaviour. Successfully parsed a group of options. Parsing a group of options: input url default. Applying option f (force format) with argument pulse. Successfully parsed a group of options. Opening an input file: default. [pulse @ 0x555d00fba880] All info found Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, pulse, from 'default': Duration: N/A, start: 1572748902.019224, bitrate: 1536 kb/s Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Successfully opened the file. Parsing a group of options: input url -. Applying option c:a (codec name) with argument aac. Applying option f (force format) with argument kmsgrab. Successfully parsed a group of options. Opening an input file: -. [AVHWDeviceContext @ 0x555d00ff58c0] Opened DRM device /dev/dri/card0: driver i915 version 1.6.0. [kmsgrab @ 0x555d00ff4b00] Plane 31: CRTC 48 FB 113. [kmsgrab @ 0x555d00ff4b00] Using plane 31 to locate framebuffers. [kmsgrab @ 0x555d00ff4b00] Template framebuffer is 113: 2560x1440 32bpp 24b depth. [kmsgrab @ 0x555d00ff4b00] No handle set on framebuffer: maybe you need some additional capabilities? pipe:: Invalid argument