问题描述
当我用ffmpeg构建ndk时,它不会为libavresample和libpostproc创建.so和.a文件.
When I build ndk with ffmpeg it does not create .so and .a files for libavresample and libpostproc .
我使用文件来构建ffmpeg.
但是,它不会为libavresample和libpostproc创建.so和.a文件.
But , it does not create .so and .a files for libavresample and libpostproc .
如何为libavresample和libpostproc构建.so和.a文件?
How can I build .so and .a files for libavresample and libpostproc ?
推荐答案
您真的需要libavresample和libpostproc吗?
我对此表示怀疑.
Do you really need libavresample and libpostproc?
I doubt it.
-
libavresample -不推荐使用的替代本机libswresample(音频重采样库)的方法.默认情况下未启用.如果需要,请添加
--enable-avresample
配置选项,但是我建议您不要这样做,除非您确定需要它.
libavresample - a deprecated alternative to the native libswresample, an audio resampling library. It is not enabled by default. If you want it then add the
--enable-avresample
configure option, but I advise against it unless you know for sure you need it.
libpostproc -一个古老的,几乎被遗忘的库,用于在视频糟糕时进行视频后期处理.不幸的是, pp过滤器(我从未见过有人使用)必需.要启用这个几乎没有用的库,您需要包括--enable-gpl
configure选项. 但是,这会将FFmpeg许可从LGPL更改为GPL ,因此,如果您打算从FFmpeg分发任何内容,请注意此含义.
libpostproc - a legacy, almost forgotten library used for video post processing back when video was crappy looking. Required for the unfortunately named pp filter (which I've never seen anyone use). To enable this almost useless library you need to include the --enable-gpl
configure option. However, this will change the FFmpeg license from LGPL to GPL, so be aware of the implications of this if you intend on distributing anything from FFmpeg.
这篇关于当我使用ndk构建ffmpeg时,它不会为libavresample和libpostproc创建.so和.a文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!