You are not logged in.

#1 2020-12-23 14:04:58

lucasmsoares96
Member
Registered: 2020-05-29
Posts: 29

Can't record my screen with ffmpeg and using vaapi.

I can't record my screen with ffmpeg and using vaapi.
When I run the command:

ffmpeg -vaapi_device /dev/dri/renderD128 -f x11grab -video_size 1440x900 -i :0 -vf 'hwupload,scale_vaapi=format=nv12' -c:v h264_vaapi -qp 24 output.mp4

And start recording, this message appears:

The driver does not support some desired compressed headers (desired 0xd, found 0x1).

And when it ends it takes a long time to process and the video is super slow.

How do I know if this is a problem on my Arch on ffmpeg?
How fix it?

My GPU: AMD Radeon R9 m370x
My drivers:

xf86-video-amdgpu 19.1.0-2
xf86-video-ati 1:19.1.0-2
xf86-video-fbdev 0.5.0-2
xf86-video-vesa 2.5.0-1
libva-mesa-driver 20.3.1-1
mesa 20.3.1-1
opencl-mesa 20.3.1-1

vainfo:

vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.1 for AMD VERDE (DRM 2.50.0, 5.9.14-arch1-1, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileNone                   :	VAEntrypointVideoProc

Offline

#2 2021-04-02 02:26:34

Roboron
Member
Registered: 2019-08-20
Posts: 3

Re: Can't record my screen with ffmpeg and using vaapi.

I'm also having this issue with a 5500 XT card.

Offline

Board footer

Powered by FluxBB