How can i use hardware accelerator Encode and Decode x.264?


(Hassan Panahi) #1

Hi, I recently bought a banana pi bpi-m64 and want to use hardware accelerator encode and decode.
Install Ubuntu 16.04 with kernel version 3.10.105 on my board.
My goal is encode and decode raw data with this hardware.
How can i do this?
also need to change kernel modules and enable hardware?
ffmpeg library is a good things? Or Banana Org has a library for this?
tnx


#2

Try this: https://github.com/avafinger/ffmpeg-3.3.4_cedrus264


(Hassan Panahi) #3

Useful, thanks,
What about hardware decoding h265/HEVC ?
I want some references to decoding h265 to YUV or another formats.


#4

Hardware decoding: https://github.com/avafinger/cedrusH264_vdpau_A64


#5

(Hassan Panahi) #6

I try to encode rawdata to h264 and decode again to rawdata. After Install the .deb in this link:

Searching in Google and find some command but not works!!!
Which command i must to use?