-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFmpeg with vaapi hardware decoder on Allwinner H3 #23
Comments
@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 |
|
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
|
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
The text was updated successfully, but these errors were encountered: