Open yateya opened 5 years ago
@yateya Please tell me which version (branch) of libva you used? I will not help you solve the problem, but it is important for me
@yateya Please tell me which version (branch) of libva you used? I will not help you solve the problem, but it is important for me
libva 2.4.1
thank you! In the end, did you manage to get it to work (ffmpeg or somethink like this +libva-v4l2-request)?
Worked for me with libva 2.5.0, but only got output of first 5 seconds of the video (Arch Linux & Orange Pi Zero, mainline kernel linux-armv7
)
libva-v4l2-request-git 2019.03.r7.g7f359be-1
log.txt
uname -a
Linux orangepi 5.3.1-1-ARCH #1 SMP PREEMPT Sat Sep 21 15:09:42 UTC 2019 armv7l GNU/Linux
vainfo
error: can't connect to X server!
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: v4l2-request
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointVLD
I am trying to make the hardware decoder work with ffmpeg on orangepipcplus (allwinner H3). Operating system in Ubuntu 16.04.3 from Armbian.
Following these Sunxi-cedrus steps I built bootlin cedrus kernel and I have /dev/video0, /dev/media0 and /dev/dri/card0 all in the built kernel.
Also cloned and built both libva-utils, libva and libva-v4l2-request. Test application v4l2-request-test works fine.
Downloaded and build FFmpeg-4.1.3 with this flags
./configure --enable-vaapi
. Then ran ffmpeg with commandffmpeg -hwaccel vaapi -vaapi_device /dev/dri/card0 -i /root/big_buck_bunny_480p_H264_AAC_25fps_1800K.MP4 -an output.mp4 -loglevel debug
The important part in the log