ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
561 stars 98 forks source link

h264 encoder broken on 64b, works 32b #357

Open jonsmirl opened 5 years ago

jonsmirl commented 5 years ago

Test command: gst-launch-1.0 videotestsrc pattern=bar ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! mpph264enc ! filesink location=1920.h264

This works on 32b and fails on 64b.

Looks like mismatch between kernel and user space packages on 64b? [ 324.146442] mpp_dev_ioctl:542: unknown mpp ioctl cmd 40086c04

I am using: bionic-minimal-rock64-0.7.9-1067-arm64.img then apt to install gstreamer, tools, mpph264enc

Tested: bionic-minimal-rock64-0.8.0rc10-1125-arm64.img This does not fall over from the ioctl error, but it also does not produce the correct output. The system is unstable and crashes.

ibrainventures commented 5 years ago

hi, i am also preparing a device for encoding and found a thread inside the offical pine forum:

https://forum.pine64.org/showthread.php?tid=6022

on the end of the thread :

` I just installed the arm7hf bionic image from Ayufan and it works perfectly. That for me is perfect for now.

` Maybe this is also the solution for you ? If yes , please report also for me .. :-)