arm RK3588 交叉编译FFmpeg

FFmpeg版本:

root@RK3588:/userdata/obj# ./ffmpeg -version
ffmpeg version N-113445-ge0da916b8f Copyright (c) 2000-2024 the FFmpeg 

下载地址:

https://ffmpeg.org//download.html

编译配置参数:

./configure --enable-cross-compile --target-os=linux --cc=/mnt/sda2/rk3588_sdk/other/rk3566_gcc_tool/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc  --strip=/mnt/sda2/rk3588_sdk/other/rk3566_gcc_tool/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-strip --arch=arm64 --prefix=/home/rog/my_file/other_LIB/myffmpeg/FFmpeg/my_lib --enable-ffmpeg --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-shared --disable-static --enable-pic

以下3个参数是开启动态库的,去掉生成静态库:

--enable-shared --disable-static --enable-pic
make
make install

你可能感兴趣的:(linux,arm开发,ffmpeg)