Build FFmpeg

In the JH7110 software SDK, FFmpeg is built buildroot, you can download the source code by referring to Source Code Location.

But in Debian, FFmpeg is compiled independently, StarFive may provide a Debian installation binary, or enable users to run the following command for installation.
apt install ffmpeg 
The following procedure introduces how to build FFmpeg in buildroot.
  1. Enable the related macros (which are enabled by default).
    BR2_PACKAGE_FFMPEG_GPL=y
    BR2_PACKAGE_FFMPEG_FFPROBE=y
    BR2_PACKAGE_FFMPEG_AVRESAMPLE=y
    BR2_PACKAGE_FFMPEG_POSTPROC=y
    BR2_PACKAGE_WAVE511=y
    BR2_PACKAGE_WAVE420L=y
    BR2_PACKAGE_CODAJ12=y
    BR2_PACKAGE_SF_OMX_IL=y
    

    The complete list of plug-ins can be found in menuconfig > Target packages > Audio and video applications > ffmpeg and menuconfig > Target packages > starfive packages.

  2. Build them in the SDK root directory directly with the following commands.
    $ make buildroot_initramfs-menuconfig
    $ make buildroot_rootfs-menuconfig