Closed ghost closed 4 years ago
you build 5.7.2 with hwaccel support? the linux kernel with hwaccel patch is required to build ffmpeg with v4l2request support. also, vaapi is NOT required to build ffmpeg.
Okay!! Gotcha! So the patch it's unofficial and will not be merged on mainline?
it is currently WIP, which is why the hwaccel patch is needed.
HI! It seems to me than on my kernel 5.7.2 I have all the requirements meet to enable the VPU acceleration.
pi@arm-64:/media/pi/DATOS/pbp-tools$ vainfo libva info: VA-API version 1.8.0 libva info: User environment variable requested driver 'v4l2_request' libva info: Trying to open /usr/local/lib/aarch64-linux-gnu/dri/v4l2_request_drv_video.so libva info: Found init function __vaDriverInit_1_8 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.8 (libva 2.8.0.1) vainfo: Driver version: v4l2-request vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointVLD
but I fail on compiling ffmpeg
hope you can help me here.