But I had no luck in making it work. The problem is that I don't know on which kernel it is supposed to run , and with what kernel drivers (vpu, gpu) it is supposed to work with.
If you want to give it a look, here is what I've tried to do :
- Follow the Readme from the git deposit to build ffmpeg and copy the libraries in libvpu/ folder to /usr/lib
- Install ffmpeg libraries generated in the "out" folder in /usr/local/lib and /usr/lib (by copying everything located in the "out" folder to these paths) - I don't know whether the libraries need to be in /usr/local/lib or /usr/lib, though only one is needed
- Run the Makefile in rk_ffmpeg_2.6.2/ffmpeg-decode-example/. Thad didn't work for me : the compilator complains about some member of a struct that does not exist. I had to checkout an older version of ffmpegexample.c, the version just before the RGA support addition commit :
Author: isle Time: 6/21/2016 16:43
hi Asuuage
this version of FFMPEG need a exclusive kernel version .It definitely not the same as firefly's.
so, You can't get it working on this firefly's firmware!Author: Asuuga Time: 6/23/2016 17:07
Hmm ok, too bad...
That would be good to know on which kernel this would work, just to test it !
Thanks for your reply Isle !
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)