The PocketGo/Bittboy use an F1C100S (ARMv5) with only 32MB of RAM. So i couldn't allocate 32MB for the CMA.
Tried 8MB at first but didn't work. 16MB wouldn't work and 20MB would error out.
So i set it to 12MB right now but it still makes no difference.
The cedar_dev kernel module does appear in /dev. However, i am unable to use it for either encoding or decoding.
dmesg.txt
I then tried ffmpeg with omx enabled as you suggested. I tried a very small video (2s) but it seems to hang on an error.
ffmpeg -i ex.mp4 -codec:v h264_omx -b:v 2048k final.mp4 &> ./final.txt
Hello, i had managed to compile your cedar kernel drivers in my own branch here for the bittboy/pocketgo kernel (4.14) : https://github.com/gameblabla/kernel/commits/master
The PocketGo/Bittboy use an F1C100S (ARMv5) with only 32MB of RAM. So i couldn't allocate 32MB for the CMA. Tried 8MB at first but didn't work. 16MB wouldn't work and 20MB would error out. So i set it to 12MB right now but it still makes no difference.
The cedar_dev kernel module does appear in /dev. However, i am unable to use it for either encoding or decoding. dmesg.txt
I tried with CedarX Player found here : https://github.com/iainb/CedarXPlayerTest Unfortunately, no luck here. It's possible it tries to allocate too much memory... cdx_player_log.txt
I then tried ffmpeg with omx enabled as you suggested. I tried a very small video (2s) but it seems to hang on an error.
ffmpeg -i ex.mp4 -codec:v h264_omx -b:v 2048k final.mp4 &> ./final.txt
omx_errors.txt
Not sure what's going on... I'm using the "toolchain-sunxi-arm9-glibc" libraries for my architecture. https://github.com/bittboy/rootfs/commit/c888612414092f20922d7da9721cd73d252e2167
Any ideas ? Thank you.